READ the code you have just shown us, is 890 mentioned somewhere? THATS RIGHT IT IS, now change 890 to 990 FML YOU FIXED IT.
Honestly.......
Actually, I think he wants more than one promotion to do. If he is looking for that, he can just duplicate that one string and modify it a bit. But that source's packet doesn't support multiple strings at the moment so he needs to do some heavy modifying.
if that packet is what i think it is then that packet is totally wrong thought !
Promoting guild members is being done through the guld window/members/click on the member/ Promote button a window should pop up (if you are sending the available Promote positions packet
(position , currentmembers that is in the same position , total member that can be in that position depending on the guild level ,shared battle power , cps cost to Promote any member to that position))
and the whole positions are being sent in one string packet,
once you have picked the new Promotion position and clciked ok the client sends a packet of 1107 subtype 28 and it contains the new position .
position = data 8
Guildmember name = data 26
look for the member using the member name you got and if it found (Member.Position = Position ) and update the whole guild members/db
and about that it doesent show at the same time the spawn entity packet contains a 4 bytes value that should contain the player guild Position and a 4 bytes value that contains the guild uid
one you Promote the player send that spawn packet and its gonna show the changes .
string total = "";//final string to send by the packet
if u want to send more than one promotion at once, do:
total = "890 0 5 0 0";
total += ".990 0 5 0 0";
total += ".*** 0 5 0 0";// and from this on...
Packet.String = total;
the "." inside the string is needed, after the first promotion the others need the . before the promo id... (i don't remember if its a string list like you do on string packet or if its a single string with all then)
string total = "";//final string to send by the packet
if u want to send more than one promotion at once, do:
total = "890 0 5 0 0";
total += ".990 0 5 0 0";
total += ".*** 0 5 0 0";// and from this on...
Packet.String = total;
the "." inside the string is needed, after the first promotion the others need the . before the promo id... (i don't remember if its a string list like you do on string packet or if its a single string with all then)
string total = "";//final string to send by the packet
if u want to send more than one promotion at once, do:
total = "890 0 5 0 0";
total += ".990 0 5 0 0";
total += ".*** 0 5 0 0";// and from this on...
Packet.String = total;
the "." inside the string is needed, after the first promotion the others need the . before the promo id... (i don't remember if its a string list like you do on string packet or if its a single string with all then)
that well never show all positions as every position has its own length
like i said earlier bp/cps/etc
Simple Helpdesk NPC (12Tails) 06/13/2011 - CO2 PServer Guides & Releases - 9 Replies Hello, today am going to realese a Simple Account Management.
all you have to do is edit the links to your desire and add the npc into the database
#region Helpdesk
case 10060:
{
switch (npcRequest.OptionID)
{
case 0:
{
about 12tails source... 05/17/2011 - CO2 Private Server - 4 Replies i want add TeratoDragon in twincity ...how can i do
about 12tails source... Little Help 05/16/2011 - CO2 Private Server - 0 Replies How to add Frozen grrotto and how can i make guild war works fine and class pk envoy ? ?
PLs Hlep 10/11/2010 - Wolfteam - 5 Replies hab mir grad wolfteam gezogen und wenn ich es starten will geht die hp auf und unten in der task leiste steht game luncher. Aber auf desktop is kein luncher also ich kann das game nich starten! Need help