How To Install "Completely Customizable Vendor" Script

Skyfly

Citizen
Look for the script: Token Vendor Stone.cs
it looks like this script already contains the VendorBall and VendorGump or might lead to the script that contains them

1617840099805.png
 

kenrobby

Citizen
Can you try adding the following in the script: (around line 26)
C#:
namespace Server.Items
{
    public class VendorBall : Item
    {
       //add this
        public static void Configure()
        {
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.WriteLine("VendorBall");
            Console.ReadLine();
        }
        //

then recompile the server and start it, it should stop and look like this when after you started it (if it doesn't print the message in cyan to the console i would guess the compile process is skipping/ignoring the file for some reason):

View attachment 17861
Ok I had to remove a few daat folders that were in the folder. Now I get no errors and i get something that looks exactly like this!
Post automatically merged:

OMG!! Thank you so much guys It was some old daat folders that were causing this issue
"Master Storage"
And
"Tokens"
I deleted those 2 folders and now Walla!!!
 

Attachments

  • vendorst.png
    vendorst.png
    381 KB · Views: 3

Erad

Citizen
Now I just get these errors
Post automatically merged:


This is the folder that i am adding the script to
Alright, so I got a word of advice for you, If you plan on adding Custom Scripts within your server, always create a folder within Scripts called Customs, and put them in that folder from now on. It makes it much cleaner.
 

kenrobby

Citizen
Alright, so I got a word of advice for you, If you plan on adding Custom Scripts within your server, always create a folder within Scripts called Customs, and put them in that folder from now on. It makes it much cleaner.
That's some good foolproof advice right there!
TYSM
One last question Now that The vendor stone is added in how would I add items to it?
 

Erad

Citizen
That's some good foolproof advice right there!
TYSM
One last question Now that The vendor stone is added in how would I add items to it?
Add the stone and double click it, it should let you edit whats inside it within the gump itself
 

kenrobby

Citizen
Add the stone and double click it, it should let you edit whats inside it within the gump itself
Is there some type of a targeting system?
Also i noticed that it wont take money from my bank I have to have the gold on me in order to purchase items.
Any work around?

This is incredible Such a breeze to work with compared to How I was doing it before.
Thank you again!
 

Erad

Citizen
Is there some type of a targeting system?
Also i noticed that it wont take money from my bank I have to have the gold on me in order to purchase items.
Any work around?
This is where you would have the gold ledger if I am corrected it's Alpha's, Gold Ledger. Its Holds the Gold and it's Blessed so you don't need to take it from the banks.

I'D recommend downloading this one from this link, as it has all the Distro information you need to edit and such for it to work properly Alphas Gold Ledger 2.0 rc1
 

Attachments

  • Alpha Gold Ledger 2.0.zip
    156.6 KB · Views: 2
Last edited:

kenrobby

Citizen
This is where you would have the gold ledger if I am corrected it's Alpha's, Gold Ledger. Its Holds the Gold and it's Blessed so you don't need to take it from the banks.

I'D recommend downloading this one from this link, as it has all the Distro information you need to edit and such for it to work properly Alphas Gold Led
Which file would I require for just the gold ledger?
 

Erad

Citizen
That you would have to look up on the main page, I haven't touched these scripts in a long as time, the last server that I had that installed on was back in 2015. I went on hiatus.