Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   [CacheD Interactive] PledgeChangeOwnerPacket (https://postpacific.mmorpg-game.online/showthread.php?t=8016)

aralyon 08.07.2007 22:28

[CacheD Interactive] PledgeChangeOwnerPacket
 
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:

$data = pack('cVV',37,$clanid,$rulerid);
$data.=$this->tounicode($this->signature);
$data = pack("v",strlen($data)+2).$data;
fwrite($this->sock,$data); 


djvogans 09.07.2007 04:05

//$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" );

Ra1n0 09.07.2007 06:18

PHP Code:

$data = pack('cVV',37,$clanid,$rulerid).$this->tounicode($this->signature);
fwrite($this->sock,pack("s",(strlen($data)+2)).$data); 


aralyon 09.07.2007 11:29

Hm, all of them are equivalent with my code - return success code but nothing happened

_Untitled 09.07.2007 13:19

These functions don't work in C4 cached :
37 PledgeChangeOwnerPacket
38 PledgeDeletePacket

aralyon 09.07.2007 20:03

Quote:

Originally Posted by _Untitled (Post 91302)
These functions don't work in C4 cached :
37 PledgeChangeOwnerPacket
38 PledgeDeletePacket

Any equivalent functions to change clan leader?

m4rk 09.07.2007 22:23

//reset_clan_leader ingame xD

~Marquis~ 10.07.2007 09:01

or a mssql request, but you gotta wait a server reboot if you want the clan leader to be changed.

djvogans 10.07.2007 20:03

i use those and are working perfectly

FidoW 11.07.2007 00:04

Quote:

Originally Posted by djvogans (Post 91484)
i use those and are working perfectly

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...


All times are GMT. The time now is 21:40.