ArcEmu: Opcodes / Packets - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Opcodes / Packets

#1 User is offline   schlumpf 

  • Newbie
  • Group: Members
  • Posts: 3
  • Joined: 07-June 09

Posted 29 July 2009 - 11:18 PM

Well, I took some of my time to have a look at EVERY opcode available in 3.0.9. (No, I won't do 3.1.1 now ._.)

I came up with a list of 1090 opcodes of which you guys didn't use 324 and about 125 only being available to the GM client. You had 607 opcodes implemented and 115 are not used by the client for any other reason.

But well, here we start:
First of all, you had some bad names in your list.
http://pastebin.com/f5bbb61eb

These opcodes are definately not used by the client:
http://pastebin.com/f2fec8d97
And these are only available to GMs or development clients:
http://pastebin.com/f75fb5256

These are the ones, I want to have another look at some other time (mostly movement packages, as I hate them.):
http://pastebin.com/d2f7eeae9

And finally: This is the list, I really would love to see you working on:
http://pastebin.com/f7cf821ad

Ah, btw: Why do you use packets for things they are not intended for? Like SMSG_AREA_TRIGGER_MESSAGE where you broadcasts things that have nothing to do with area triggers at all. And why do you let so many possiblities of nice little additions like "you're getting drunk" or other things like that out? These lines make the game look better. And if its "your pet .." instead of "..." its a little better again. And there is not much work in it as its just another opcode with the same enum behind it..

Just use the possibilities of localization, Blizzard gave you.

Oh well, I know that there are more or less important packets and I didn't order it at all, but .. You know how many packets I've looked at in the last few days? :) Well.. Here are 33651 characters of packet structures. Most of them marked as /// TODO: implement and /// TODO: investigate are in here.

http://pastebin.com/f155eb2b

Its ugly, I know. But whatever.. On my syntax:
{
a lot of data. of course not, if number is zero
} array[number]

{
only if condition is met
} condition

/* variable
result = value,
*/

And to have the full list of opcodes, commented; here's the diff:
http://pastebin.com/f76475702

I hope, that you will fix some things in the near future and that my worked helped in any way. If you've got questions, feel free to ask.
2

#2 User is offline   Maku 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 19-August 08
  • Gender:Male
  • Location:Lodz, PL

Posted 30 July 2009 - 04:55 PM

Great work! Nice to see people working on protocol documentation. I will take a look at it in near future :P
Posted Image
0

#3 User is offline   MesoX 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 15-June 08
  • Gender:Male
  • Location:Czech Republic
  • Interests:pc & girls & parties

Posted 30 July 2009 - 08:28 PM

Looks like a very hard work, thanks for it! :)
Posted Image
0

#4 User is offline   alleycat 

  • Helps so much & is so mature & gay
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 25-July 08
  • Gender:Male

Posted 30 July 2009 - 11:47 PM

Thats a hell of a lot of nice work! Keep it up.
I can haz cookie?
0

#5 User is offline   schlumpf 

  • Newbie
  • Group: Members
  • Posts: 3
  • Joined: 07-June 09

Posted 31 July 2009 - 12:47 PM

well, mostly I would suggest you to use all those "displays *" opcodes as they are so nice to have instead of using an SMSG_AREA_TRIGGER_MESSAGE to tell people that they are of the wrong faction or something like that. localization is one of the things that piss me off that much, you can't imagine. I know, that most people are english, but meeh .. its just nicer to provide a good gaming experience for everyone. i know that a lot of things are some work to be localized. I guess, a database and getting all strings from it would be nice for foreign servers. like a table you have for items, quests and npcs atm. Blizzard has those clientside too as you can see in all those dbcs, that only have strings in them.

and as said: i have no problem if you've got problems with any packet you already use. i've only documented those, aspire doesn't use (well, don't use by the name in the enum. I've seen some being referenced by the number instead of the name. (shame on you!)

so, well .. do your job! i tried to comment as much as I was able to. still, i didn't comment everything ... if you have questions on anything: just ask. like .. where they are used or whatever.
0

#6 User is offline   alleycat 

  • Helps so much & is so mature & gay
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 25-July 08
  • Gender:Male

Posted 09 September 2009 - 10:52 AM

In my little free time, I am going to start working on implementing these opcodes in to the core in their proper locations.
I can haz cookie?
0

#7 User is offline   stragen 

  • Member
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 02-September 09

Posted 17 September 2009 - 09:12 PM

"http://pastebin.com/d2f7eeae9"

is dead... something broke?
WhyDB r61 - WoW 2.3.0
0

#8 User is offline   alleycat 

  • Helps so much & is so mature & gay
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 25-July 08
  • Gender:Male

Posted 18 September 2009 - 08:52 AM

The first letter after pastbin.com/ represents the time period

d = Day

m = Month

f = Forever

That post only existed for a day.
I can haz cookie?
0

#9 User is offline   SB@L 

  • ArcEmu lover
  • PipPipPipPip
  • Group: Developers
  • Posts: 616
  • Joined: 12-June 08
  • Gender:Male
  • Location:Slovakia

Posted 19 November 2010 - 01:20 PM

There is a much hard work behind it, I know what it means decompile and define all the packets.
I suggest to upload the definition file to svn before it gets lost.
SQL scripts: To remove pet spells from player
CRASH REPORTING TUTORIAL
TIP: If your core crashes on startup, its probably an outdated DB, apply recent sql updates.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users