Thread of relevant information.

Posts 115 of 118 · Page 1 of 8
Thread of relevant information.
Please do ONLY post relevant information in this thead ... no "thank you", "lol", etc. postings, ... cheers!


packet specs changes in 12.0.0

UPDATE && NEW_TICK

objects with <Pet> set in XML get a new PascalString field with id 82 that stores the pet's texture/skin ...

Code:
# 31=name
# 62=guild
# 82=petSkin
if($objectStatusType==31 || $objectStatusType==62 || $objectStatusType==82 ){ # name, guild or petSkin
  $objectStatusValue=readUTF($ref_data)
}else{
  $objectStatusValue=readInt($ref_data);
}
MAGE_SHOOT

the objectType of the spell has been added ... the format is now

Code:
my $bulletId=readUnsignedByte($ref_data);
my $ownerId=readInt($ref_data);
my $bulletType=readUnsignedByte($ref_data);
my $unknown=readUnsignedByte($ref_data);
my $spellObjectType=readUnsignedShort($ref_data);
my $startingPosX=readFloat($ref_data);
my $startingPosY=readFloat($ref_data);
my $angle=readFloat($ref_data);
my $damage=readShort($ref_data);
print '[MAGE_SHOOT] bulletId:' . $bulletId . ' ownerId:' . $ownerId . ' bulletType:' . $bulletType . ' unknown:' . $unknown . ' spellObjectType:' . $spellObjectType . ' startingPos:' . $startingPosX . '/' . $startingPosY . ' angle:' . $angle . ' damage:' . $damage . "\n";
objectStats

if you know about missing ids just post them in thread ...

Code:
my $objectStats = {
  0 => 'MAX_HEALTH', 
  1 => 'HEALTH',
  2 => 'SIZE',
  3 => 'MAX_MANA',
  4 => 'MANA',
  5 => 'XP_GOAL',
  6 => 'XP',
  7 => 'LEVEL',
  # 8..19 = INVENTROY
 20 => 'ATT',
 21 => 'DEF',
 22 => 'SPD',
 26 => 'VIT',
 27 => 'WIS',
 28 => 'DEX',
 29 => 'BOOL_PAUSED_OR_CLOAKED', # can not teleport to paused or cloaked players
 30 => 'STARS',
 31 => 'NAME', # PascalString
 32 => 'TEXTURE1',
 33 => 'TEXTURE2',
 35 => 'REALM_GOLD',
 37 => 'BOOL_CAN_ENTER_PORTAL', # set for portals
 39 => 'CURRENT_FAME',
 46 => 'HEALTH_BONUS',
 47 => 'MANA_BONUS',
 48 => 'ATT_BONUS',
 49 => 'DEF_BONUS',
 50 => 'SPD_BONUS',
 51 => 'VIT_BONUS',
 52 => 'WIS_BONUS',
 53 => 'DEX_BONUS',
 56 => 'BOOL_NAME_REGISTERED', # can not teleport to unregistered names
 57 => 'FAME',
 58 => 'FAME_GOAL',
 62 => 'GUILD', # PascalString
 63 => 'GUILD_RANK',
 # 71..78 = BACKPACK
 79 => 'BOOL_HAS_BACKPACK',
 80 => 'PET_SKIN_OBJECT_TYPE',
 82 => 'PET_SKIN', # PascalString
 87 => 'FOOD_SPENT_ON_SKILL1',
 88 => 'FOOD_SPENT_ON_SKILL2',
 89 => 'FOOD_SPENT_ON_SKILL3',
 90 => 'PET_SKILL1_LEVEL',
 91 => 'PET_SKILL2_LEVEL',
 92 => 'PET_SKILL3_LEVEL',
};
how does one implement such code into a client?
-n00b at making clients
by learning to program ...

Quote Originally Posted by FIRExFACTION View Post
how does one implement such code into a client?
-n00b at making clients
Quote Originally Posted by eth0nic View Post
by learning to program ...
im trying! ^_^
Is there a way to edit the packets to allow the use of previous hacks?
You're a god among men. I was wondering why on earth it stopped working completely.

Now, time to figure out what all the new STATDATA id's represent...
added changes for the "MAGE_SHOOT" packet to the initial posting ...

---------- Post added at 04:00 AM ---------- Previous post was at 02:35 AM ----------

added the first few pet specific objectStats ...
Oh, is MAGE_SHOOT a new packet?
Is it possible to update this client-side, or does it have to be updated at the oryx domination proxy-side?
Bump.
I've been trying to find where to put this code in the oryx domination .XML files inside the .jar, but I can't seem to find anything similar.
Do I edit the .SWF? It seems like that would have the right info already since it is the new client.
Do I have to edit the class files?
this is not code you put anywhere ... this is perl code which outlines the changes you need to make to your code in whatever language you are using. you really should be able to locate the packet parsing code in your own codebase?

but why can't i edit/extend my own initial posting any more? wtf? good way to configure a forum ... whatever ... someone delete this thread ... pointless in this forum anyway ... thanks
Thank you eth0nic!

Thanks for posting this information. I'm still trying to learn how to edit/play with Orxydom/clients as well as being able to sniff out packets and it's little tidbits of information (like this) that pop up on these forums that helps me out. I hardly post on forums, only bc i do my research first before asking a question that's already been answered. I don't have anything to contribute yet (still trying to gain an understanding), but hopefully I'll be able to contribute to this community in the near future.
Why would you "sniff out packets"? The packet spec and everything else is publically available. Google "rotmg packets". What kind of research are you referring to? :-)
eth0nic, have you fixed ODOM for yourself?
I really miss it and would appreciate it if you could share how you did it, or post your updated files.
i am only using my own proxy, client and bots. i don't fix anything and i don't care for any other code - sorry. if you got the source why not just fix it yourself? the initial postings shows all the changes ... aren't that many ...
Posts 115 of 118 · Page 1 of 8

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?