![]() |
Deleted ^)
|
Half of the funcions you say you use you dont even put up here. Thats why it doesn't work I guess. l2_cached_push ect. Please include these funcions.
Code:
|
Who can decode what means "ddddS" or ect? I mean NOT integer(4 bytes) or unicode format.
I mean: Packet 39 - character ban ("ddS") - ddS its CHAR_ID, HOUR_BAN and NAME. What about other packets? |
I also have additem2 working.
|
|
Quote:
|
Quote:
Code:
$cached_ip = "127.0.0.1";P.S. L2Z... looks nice... o.O |
And for a Permanent BAN? Only a very large value for "$hour" or a specific value?
Thanks |
m00
Quote:
In general it contains a php script allthough its adepted to be executed from a php shellscript. You can check the php script if you expect malware, aswell as get your own php.exe and php.ini and php5s.dll if you dont trust them. In general you only need to press the exec.bat And it will ask you what charid you want to target (I guess you know how to look up charids ;P) After that it will ask what itemid (Try 600 since thats avadon boots) After that it will ask for amount. If it returns a 1x. It should "most" likly have worked. Hopefully it will work for ya :P |
Quote:
|
Quote:
|
Can anybody help me in this situation:
I want to give SubJob's to players. like he had subjob's 10 15 -1 -1 (just example) and after that he will get: 20 15 -1 -1 (also, only example) If I use: ChangeSubJobPacket it only changes current profession. (like from subjob #1 to #2 ) If I modify subjobs via database - cache does not reload data from db next time players login. (only if I restart server). Any idea how to chage it ? :) May be there is some sort of "delete character from cache" packet ? |
Share ChangeSubJobPacket structure...
|
Hel, i give it to you yesterday. Take it again: #89 ChangeSubJob("ddS; ID char; Subjob ID ;") , where Subjob ID from 0 to 3
Also some other functions: #15 ModCharPacket("dddddddS; ID char; Set SP; Set EXP; Set Karma; Set PK; Set PK pardon; Set Duel; ;") #16 ModCharPacket2("dddddddS;ID char;gender;rase;class;face;hair_shape;hair_color; ;") #29 ModCharPacket3("dddddddS; ID char ; Add SP; Add Exp; Add Karma; Add PK; Add PK pardon; Add duel; ;") 2hel: вчера был занят сильно, неуспел записать все пакеты в таком формате. постучи мне в асю завтра. |
For add subjob to player need to use #96 AddSubjobsPacket("dSd"; ID char; String; id"), but for this moment i don't know what means String and last parameter.
|
Thanks. :)
|
hel
My structure is same as of barabashka: #89 ChangeSubJob($char_id,$sub_job_id) but it only changes active subjob :( barabashka Have you found anything about AddSubjobsPacket ? PS: Is there any "reload information about char packet" ? |
Has someone know about PledgeDeletePacket, how it works? I use this:
Code:
function l2_pledgedelete ( $pledge_id ) { |
add subjob
any news about addsubjobpacket?
it suposted to be something like addsubjobpacket($charid, $packetnumber, $class) but it doesn´t work :( |
I tried to use this one:
#96 AddSubjobsPacket("dSd") with list of parametres: $char_id,$new_class,$f['hp'],$f['mp'],$f['sp'],$f['exp'],$f['level'],$subjob_id, $f['henna_1'],$f['henna_2'],$f['henna_3'] but no success :( |
How about the StopChar packet? Anyone know the variables for this one? I would imagine one is the character ID, and the other?
Nevermind it's 90;<charid>;<min to freeze> Character must be offline |
Quote:
|
does anyone have ChangePledgeOwner packet works?
|
Quote:
|
Does Someone checked 20 and 21 packets?
Enable and Disable Char? I have written code below, but if Unban char seems to work (returns 1), BanChar returns 03 - wrong args o_O Code:
function ansi2unicode($string) { |
| All times are GMT. The time now is 17:00. |