• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Fix exploits

Newbie Spellweaver
Joined
Oct 13, 2017
Messages
10
Reaction score
0
I started to fix some exploits to my repack
one of the is the pet chat handler map crush

somehow that I sent (with packet editor)
A8 00 02 00 00 00 00 00 00 00 01 09 01 00 31

explain:A8 00 pet handler02 00 00 00 pet id00 00 00 00 nothing01 nothing09 acct01 many words00 Space31 World at ASCII

it give me dc as same if the acct 6-7-8-9
the code is that already blocked it :
if ((pet < 0 || pet > 3) || (act < 0 || act > 9) || PetDataFactory.isValidAct(petIds, act)) { System.out.println("Return"); return; }
when the acct is ok for the rule
The player recived:
AB 00 12 00 00 00 00 00 09 01 00 31 00AB 00 recived pet handler12 00 00 00 char id00 pet index00 nothing09 acct01 00 31 00 string

I don't understand what is acct
what acct is?
Cause the pet god chat action
asaf12100 - Fix exploits - RaGEZONE Forums
 
Skilled Illusionist
Joined
Jul 17, 2010
Messages
333
Reaction score
165
Code:
A8 00 //[R] PET_ACTION
02 00 00 00 //petLockerSN
00 00 00 00 
01 //type
09 //action (should be x >= 9 if it's [I]custom action[/I] like  "alert", "angry")
01 00 31 //len: 1, "1"

AB 00 //[S] PET_ACTION
12 00 00 00 //characterId
00 //petId
00 //type (0: play sound by [I]custom action[/I])
09 //action (should be x >= 9 if it's [I]custom action[/I] like "alert", "angry")
01 00 31 //len: 1, "1"
00 //chatBalloon (1: use custom chat balloon?)

PETACT
Code:
PETACT_MOVE = 0x0,
PETACT_STAND0 = 0x1,
PETACT_STAND1 = 0x2,
PETACT_JUMP = 0x3,
PETACT_FLY = 0x4,
PETACT_HUNGRY = 0x5,
PETACT_REST0 = 0x6,
PETACT_REST1 = 0x7,
PETACT_HANG = 0x8,
[B]PETACT_CUSTOM = 0x9,[/B]

PETACT_NO = 0x22,//max action count 34 (9 basics + 25 customs)
*these names correspond to their action names, so almost all actions (=not in the list) will be 9++
 
Upvote 0
Newbie Spellweaver
Joined
Oct 13, 2017
Messages
10
Reaction score
0
Code:
A8 00 //[R] PET_ACTION
02 00 00 00 //petLockerSN
00 00 00 00 
01 //type
09 //action (should be x >= 9 if it's [I]custom action[/I] like  "alert", "angry")
01 00 31 //len: 1, "1"

AB 00 //[S] PET_ACTION
12 00 00 00 //characterId
00 //petId
00 //type (0: play sound by [I]custom action[/I])
09 //action (should be x >= 9 if it's [I]custom action[/I] like "alert", "angry")
01 00 31 //len: 1, "1"
00 //chatBalloon (1: use custom chat balloon?)

PETACT
Code:
PETACT_MOVE = 0x0,
PETACT_STAND0 = 0x1,
PETACT_STAND1 = 0x2,
PETACT_JUMP = 0x3,
PETACT_FLY = 0x4,
PETACT_HUNGRY = 0x5,
PETACT_REST0 = 0x6,
PETACT_REST1 = 0x7,
PETACT_HANG = 0x8,
[B]PETACT_CUSTOM = 0x9,[/B]

PETACT_NO = 0x22,//max action count 34 (9 basics + 25 customs)
*these names correspond to their action names, so almost all actions (=not in the list) will be 9++

where the pet act from? :)
and what it is type?
 
Last edited:
Upvote 0
Back
Top