EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Add money to the starting_items table (https://www.eqemulator.org/forums/showthread.php?t=27985)

reddogut 04-22-2009 06:44 PM

Add money to the starting_items table
 
Is there a way to add money to the starting_items table?

trevius 04-22-2009 07:21 PM

Not in any normal way that I am aware of. If you want players to start with money, you could either start them with an item that they can sell for some starting cash to a nearby merchant, or you could use a slightly more advanced technique with qglobals and have an invisible NPC with a proximity check waiting at the new player's spawn point to give them money when they log in for the first time.

reddogut 04-25-2009 04:00 PM

Ok, so I wrote a quest to give my players some money.... that was easy. Is there a way to ensure that players can only collect that money once?

trevius 04-25-2009 05:09 PM

You would just set a quest global (qglobal) on them when you give them the cash and have the quest check for that global when they log in before giving them the plat. If they have the global, it won't give it to them, so you only give it once.

KingMort 04-26-2009 02:48 PM

INSERT INTO `starting_items` (`id`, `race`, `class`, `deityid`, `zoneid`, `itemid`, `item_charges`, `gm`, `slot`) VALUES
(???, 0, 0, 0, 0, ????, 1, 0, -1);


Ok well this is one way to do what you want... The first ??? you replace with a free ID in this table... the Second set of ???? you replace with a GEM that you make...

Reddogut's Gem of Currency...

Make the sell price on that GEM Exactly what you want .. Then . setup a Player.pl quest in the zone to POP up a box or something and tell them to go and sell the Gem to a merchant....

It's not EXACTLY what you wanted... But it's probably going to be more fun for the players this way anyway..

King Mortenson
Owner - www.raidaddicts.org


All times are GMT -4. The time now is 06:56 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.