![]() |
|
|
#1 |
|
Архивный участник
Join Date: Sep 2005
Posts: 72
|
Hi, does anyone have working PledgeChangeOwnerPacket on admin socket in CacheD? I use the code below and although I'm getting a success code, nothing happens. Did I do anything wrong?
PHP Code:
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
//$command="37\t$pledge_name\t$owner\t0\t0\n";
//$command = pack( "c" , 37 ).pack( "i" , 1 ).pack( "i" , 304265 ).getUnicode( "zero" ); // $command = pack( "c" , 37 ).pack( "i" , $pledge_name ).pack( "i" , $char[char_id] ).getUnicode( "zero" ); |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Feb 2007
Posts: 139
|
PHP Code:
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Sep 2005
Posts: 72
|
Hm, all of them are equivalent with my code - return success code but nothing happened
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Sep 2006
Posts: 122
|
These functions don't work in C4 cached :
37 PledgeChangeOwnerPacket 38 PledgeDeletePacket |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Sep 2005
Posts: 72
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
//reset_clan_leader ingame xD
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Dec 2006
Posts: 252
|
or a mssql request, but you gotta wait a server reboot if you want the clan leader to be changed.
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
i use those and are working perfectly
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
How ? I just tried all permutations i can with char_name, char_id, pledge_id, pledge_name... nothing work, i always get error 24 or 04, encoding name as unicode even, nothing seens to work, i only get 01 response from cached using boths ids but have no effect...
|
|
|
|
|