| 02-18-2010, 11:31 PM | #1 |
As part of Tinker, I want to have a complete listing of the first 64 order ids. There are only 16 left that I don't know. For example, you've probably seen that 'cancel' has an order id (851976). If you convert that number to hex, you get 0xD0008. You might notice that hex number looks awfully round, which is not a coincidence. All the orders are slightly above 0xD0000. They seem to start at 0xD0000 and each new order is one higher than the last. So cancel is the 8th or 9th order, depending on whether or not 0xD0000 is a valid order. Here's what I have so far. Anyone who knows a space speak up: JASS:
________ = 0xD0000
________ = 0xD0001
________ = 0xD0002
Smart = 0xD0003 'right-click
[Stop] = 0xD0004
Stunned = 0xD0005
________ = 0xD0006
________ = 0xD0007
Cancel = 0xD0008
________ = 0xD0009
________ = 0xD000A
________ = 0xD000B
SetRallyPoint = 0xD000C
GetItem = 0xD000D
________ = 0xD000E
Attack = 0xD000F
AttackGround = 0xD0010
AttackOnce = 0xD0011
Move = 0xD0012
________ = 0xD0013
AIMove = 0xD0014
________ = 0xD0015
Patrol = 0xD0016
________ = 0xD0017
________ = 0xD0018
HoldPosition = 0xD0019
Build = 0xD001A
HumanBuild = 0xD001B
OrcBuild = 0xD001C
NightElfBuild = 0xD001D
UndeadBuild = 0xD001E
ResumeBuild = 0xD001F
SkillMenu = 0xD0020
GiveOrDropItem = 0xD0021
SwapItemWithItemInSlot1 = 0xD0022
SwapItemWithItemInSlot2 = 0xD0023
SwapItemWithItemInSlot3 = 0xD0024
SwapItemWithItemInSlot4 = 0xD0025
SwapItemWithItemInSlot5 = 0xD0026
SwapItemWithItemInSlot6 = 0xD0027
UseItemInSlot1 = 0xD0028
UseItemInSlot2 = 0xD0029
UseItemInSlot3 = 0xD002A
UseItemInSlot4 = 0xD002B
UseItemInSlot5 = 0xD002C
UseItemInSlot6 = 0xD002D
________ = 0xD002E
DetectAOE = 0xD002F
________ = 0xD0030
ResumeHarvest = 0xD0031
Harvest = 0xD0032
________ = 0xD0033
ReturnResources = 0xD0034
AutoHarvestGold = 0xD0035
AutoHarvestLumber = 0xD0036
NeutralDetectAOE = 0xD0037
Repair = 0xD0038
RepairOn = 0xD0039
RepairOff = 0xD003A
|
| 02-19-2010, 08:40 AM | #2 |
game dll contains every orderstring in non encrypted form you will need hex editor for this. |
| 02-19-2010, 01:37 PM | #3 |
There is one thing what was really stupid I've found out a few days ago: When you order a hero stop the orderId is about 8k when you order a normal unit stop it is 0. Now, when you try to order a hero 0 nothing happens and the other way around neither ... |
| 02-19-2010, 03:10 PM | #4 | |
Ok, now I've got a whole bunch of order strings. How do I figure out their IDs? Running them through OrderId in Jass didn't give me any new ones. I also noticed the strings aren't all in the same place... smart wasn't in this group:
|
| 02-20-2010, 02:33 PM | #5 |
You are looking for this. |
| 02-20-2010, 05:10 PM | #6 |
I have a feeling you are going to find gaps in orders due to blizzard creating an order and then removing it later cause they could combine it with something else or figured out they didn't need it. Once they are removed, there is very little reason to squish the remainning orders into the empty slots. |
