toggle starting money or items

01/18/2009 16:40 stratos93#1
i just wanted to know how can i toggle the starting money or the items on my server , because i want the players to start with 10kk silvers and 10k cps

thanks
01/18/2009 17:28 IAmHawtness#2
Are you completely sure that you wont tell what server source you are using? - 'cause that would really make it a hell of a lot easier to answer your question.
01/18/2009 18:01 stratos93#3
PowerSource CO
01/18/2009 22:14 kinshi88#4
Find CreateCharacter in the database, and where it adds all the starting variables into the Sql, change the Silvers one.
01/18/2009 22:27 stratos93#5
i dont know what to change
01/19/2009 00:37 kinshi88#6
Then don't make a fucking server.
01/19/2009 15:08 rwjvh1220#7
Quote:
Originally Posted by kinshi88 View Post
Find CreateCharacter in the database, and where it adds all the starting variables into the Sql, change the Silvers one.
Okay this is really helpful if you would explain where the CreateCharacter is in the database. Because if I am correct you mean the CreateCharacter program file which you would need to have something to modify C# to change. Just because people don't understand your simplified directions does not mean they deserve to be told off.
01/19/2009 23:19 kinshi88#8
Ctrl + F -> CreateCharacter
01/20/2009 18:36 stratos93#9
i have to change sth here?

"Command = new MySqlCommand("INSERT INTO characters (CharName,Account,Level,Exp,Strength,Agility,Vital ity,Spirit,Job,Model,Money,CPs,CurrentHP,StatPoint s,LocationMap,LocationX,LocationY,UID,Hair,Equipme nt,Inventory,PKPoints,Skills,Profs,RBCount,Avatar, WHMoney,Warehouses,VP,Friends,Enemies,GuildDonatio n,MyGuild,GuildPos,PrevMap) VALUES ('" + Name + "','" + UClient.Account + "',1,0," + str + "," + agi + "," + vit + "," + spi + "," + Class + "," + Model + ",100,0," + hp + ",0,1010,61,109," + uid + ",410,'','',0,'','',0," + Avatar + ",0,'',0,'','',0,0,0,1010)", Connection);"
01/21/2009 16:19 Alexisppp12345#10
Quote:
Originally Posted by stratos93 View Post
i have to change sth here?

"Command = new MySqlCommand("INSERT INTO characters (CharName,Account,Level,Exp,Strength,Agility,Vital ity,Spirit,Job,Model,Money,CPs,CurrentHP,StatPoint s,LocationMap,LocationX,LocationY,UID,Hair,Equipme nt,Inventory,PKPoints,Skills,Profs,RBCount,Avatar, WHMoney,Warehouses,VP,Friends,Enemies,GuildDonatio n,MyGuild,GuildPos,PrevMap) VALUES ('" + Name + "','" + UClient.Account + "',1,0," + str + "," + agi + "," + vit + "," + spi + "," + Class + "," + Model + ",100,0," + hp + ",0,1010,61,109," + uid + ",410,'','',0,'','',0," + Avatar + ",0,'',0,'','',0,0,0,1010)", Connection);"
I think that you must change that I bolded, but I am not sure. If you try it make a back-up of the file first for safe.
01/21/2009 17:43 rwjvh1220#11
Quote:
Originally Posted by stratos93 View Post
i have to change sth here?

"Command = new MySqlCommand("INSERT INTO characters (CharName,Account,Level,Exp,Strength,Agility,Vital ity,Spirit,Job,Model,Money,CPs,CurrentHP,StatPoint s,LocationMap,LocationX,LocationY,UID,Hair,Equipme nt,Inventory,PKPoints,Skills,Profs,RBCount,Avatar, WHMoney,Warehouses,VP,Friends,Enemies,GuildDonatio n,MyGuild,GuildPos,PrevMap) VALUES ('" + Name + "','" + UClient.Account + "',1,0," + str + "," + agi + "," + vit + "," + spi + "," + Class + "," + Model + ",100,0," + hp + ",0,1010,61,109," + uid + ",410,'','',0,'','',0," + Avatar + ",0,'',0,'','',0,0,0,1010)", Connection);"
Okay this is how this works....

First Bolded Selection:
This is the starting Silvers

Second Bolded Selection:
This is the starting CPS

Third Bolded Selection:
This is the Equiped Items
Still working on proper listing for this but i beleive it goes
ItemID-0-0-0-0-0~REPEAT
Problem is were it places the item on the charater i have not tested yet.

Fourth Bolded Selection:
This is the inventory items.
works as follows
ItemID-0-0-0-0-0~REPEAT

Now in both the Third and Fourth area the syntax is
itemID-"0-12"-"0-7"-"0-255"-GemID-GemID
Expample 710258-12-7-255-13-13~

P.S. the ~ in the Third and Fourth Area is only needed if another item following.

If you need any more help PM me.
Also Thanks if this was useful.
01/22/2009 18:55 stratos93#12
thanks for your answer but if i want to make them super, refined etc.. i have to put Super 710258-12-7-255-13-13 for example right? (the same as the cmd)
01/22/2009 19:04 rwjvh1220#13
No in the ItemID's there would be different ID's for each ranking. so for normal it may be 710258 refined would be like 710358. These are examples.
01/22/2009 19:25 stratos93#14
yes i found it :) but... i change the amount of money and cps and i put some items but i see no changes....:( im sure i put them correct..
01/22/2009 19:44 rwjvh1220#15
did u recomple the source? and restart the server?