![]() |
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) { |
Ban
UPDATE user_account SET block_flag = 1,block_flag2 = 1 WHERE account='dumbass' Unban UPDATE user_account SET block_flag = 0,block_flag2 = 0 WHERE account='dumbass' if you really really want to use cacheD commands try your cacheD command for 0 min. That's the only way i can get it to unban other than modifying the sql table. |
That works for me
PHP Code:
|
My function CacheDInteractive... is better than try to connect to the server in each function...
PHP Code:
|
These commands are only available when the character is offline right? If so, thats too bad.. I was about to create an auction site (php). Second, is it possible to check if a char is online?
|
Quote:
PHP Code:
But always you can kick him first and problem solved. PHP Code:
|
Can't get additem2 to work even. itemdata and cache are both in the cached script folder :-/ any other suggestions?
|
has anybody make php function to add skill to char?
|
Quote:
PHP Code:
|
tnx will try :)
|
Quote:
I have the same one, but it places in account_id unsigned -2 (somesing like 65K o_O). What is wrong???? |
ChangePledgeOwnerPacket
37 clan_id char_id unicode(admin) выдает 1 при подходящих данных, при неверных 024 но абсолютно ничего не происходит. |
Quote:
|
Quote:
|
what is format ?
#2 SetCharacterLocationPacket("dddddS") char_id, location_X, location_Y, Location_Z, ???????, admin who can help ???? Write sample please... |
Try: SetCharacterLocationPacket, char_id, 1, x, y, z, unicode(admin)
P.S. Look in cached 'system' and 'err' logs, it usually shows you what is wrong. |
test success.....
very THX! |
about #50 ManAnnouncePacket("ddSS")????
Why arsy-varsy code after I write chinese on announce? But english is well..... english 2byte = chinese 1byte |
about ChangePledgeOwnerPacket
37 clan_id char_id unicode(admin) ???? 37 to_char_id pledge_id is error.... 37 pledge_id to_char_id is error too.... then ..... ? |
cached 'system' and 'err' logs, it not shows me what is wrong.
|
ChangePledgeOwnerPacket is not working through cached :/
|
| All times are GMT. The time now is 16:45. |