Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Script Sql gift items

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 21, 2008
Messages
10
Reaction score
0
hi , i want give some items with the creation of the first character..., but only once time, if delte the character and create again don't give nothing...

sorry my english
 
Newbie Spellweaver
Joined
Feb 25, 2007
Messages
36
Reaction score
0
Inventory is binary, it will be hard to edit. I think in enterprise manager you cannot change it, but didnt tried. So OK, only one time? You will need to create new variable, which will be global for account. It will be 0 at start, and when somebody create character, you will need to change it to 1. And in that script which gives item to inventory, you will need to write something like:
if var=0
ACCOUNT VARIABLES ARE STORED in table AccountCharacter in MuOnline database. Script procedure which calls function about creating new character is in same database and its called WZ_CreateCharacter. So you will need to define that table which contains global var and change it to 1. And give items to inventory only if that var is 0.
Hope it helps.
Good Luck

BTW: but what, if somebody just create another account? He will have that item(s) second time, and its easy to run MU twice and trade it from one character to another!
Sorry for my bad English.
 
Last edited:
Upvote 0
Status
Not open for further replies.
Back
Top