Rottenlivingdead
Initiate
Where can I add gold to new accounts shared bank?
Ok thank you. Now as far as adding it straight to their account from admin?Actually proper Syntax would be
newChar.BankBox.DropItem(ticket);
and you could add it to the if (young) check in CharacterCreation. Means each account will only get the gold on the first created character, and not all subsequent characters.
if (young)
{
NewPlayerTicket ticket = new NewPlayerTicket
{
Owner = newChar
};
newChar.BankBox.DropItem(ticket);
newChar.BankBox.DropItem(Gold(10000));
}
Would add 10k gold to a players bank, at the same time they get the new player ticket.
OkCan not be done. GoldBalance is statically stored, read-only value.
Can you still create checks? Like how as an admin could I give a player 1mil?
I'm just curious about larger amounts of goldYou could just give your players 10k gold coins...
[global addtopack gold 10000 where PlayerMobile
Would add 10k gold to the pack of every playermobile on your server. Includes offline characters.
Awesome thank youNo, checks were removed when gold was changed to virtual currency in the bank. You are able to trade players directly with money from your virtual storage.
If the admin really wants to give 1m, you could create a consumable item that gives 1 million gold.
Actually I just wrote the script quick. tmp.cs is a 1 million gold voucher. Can be added by admins using [add or [addtopack million
And when double clicked by a player adds 1 million coins to their virtual wallet.
PackItem(new BankCheck(100000)); // Starting gold can be customized here
PackItem(new Scissors());
PackItem(new Welcometotheshard());
PackItem(new SkillBallPlus());
PackItem(new StatBall());
Awesome! Thank youChecks are still available. There are a lot of player made quests that still give checks as well... I just added a check with [add bankcheck 1000000 You should be able to use a global command. (~Edit~ Yes I just test [global addtopack bankcheck 10000 where PlayerMobile and it works)
For new players you can add a check in the CharacterCreation.cs script.
C#:PackItem(new BankCheck(100000)); // Starting gold can be customized here PackItem(new Scissors()); PackItem(new Welcometotheshard()); PackItem(new SkillBallPlus()); PackItem(new StatBall());
We use essential cookies to make this site work, and optional cookies to enhance your experience.