HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Where can i find a complet list of orderid ?

08-09-2009, 06:02 PM#1
Troll-Brain
I usually use orderids instead of strings because :

- if you do a typo it won't compile and show you the error instead of compile and don't work in game with an invalid string.
- sometimes there is not the string equivalent and constant integers make them fully friendly usable
- they are faster (even if dunno how many and i think it should be irrelevant)
- "easier" to store/link something with
- you don't "leak" a string (yes it should be also irrelevant since the order would be use more than one time during the game)

So have i to check the object editor to find all string orders or maybe there are somewhere in some mpq ?

Btw last time i checked this tool http://www.wc3c.net/showthread.php?t=85864 they were some errors.
08-09-2009, 06:06 PM#2
Rising_Dusk
Actually, this is convenient. I generated a list of order ids and their corresponding order strings in notepad with Grimoire earlier this year for working on LastOrder. If an order id doesn't have an orderstring, then it is just listed alone.

See attached:
Attached Files
File type: txtOrder ID List.txt (16.5 KB)
08-09-2009, 06:10 PM#3
Troll-Brain
Oh, thx.

How exactly did you generate them ?
I mean it was an automatic process or you have done it manually :S
08-09-2009, 06:12 PM#4
Rising_Dusk
It was automatic using a loop and the Cheat("String") output-to-file feature.
08-09-2009, 06:13 PM#5
Troll-Brain
Quote:
Originally Posted by Rising_Dusk
It was automatic using a loop and the Cheat("String") output-to-file feature.
Fine, so i guess it can't be have errors inside this file ?
08-09-2009, 06:15 PM#6
Rising_Dusk
Correct, this file is generated by WC3 itself. I've tested at least 33% of that list with LastOrder under stress-test-conditions and it has behaved as anticipated.
08-09-2009, 06:15 PM#7
Troll-Brain
Great.
Cant' give you rep at the moment.
08-10-2009, 03:59 PM#8
Troll-Brain
I don't understand how you can know all of these orderids are valid.
How you have done the list ?

There is not any native function like that

Collapse JASS:
function IsOrderId takes integer orderid returns boolean

So use a loop and increment an integer wouldn't help here.
08-10-2009, 04:29 PM#9
Karawasa
Why do you have the exaggerated text size in your first post? We don't care why you use them...
08-10-2009, 04:54 PM#10
Troll-Brain
Quote:
Originally Posted by Karawasa
Why do you have the exaggerated text size in your first post? We don't care why you use them...
Just because the reasons below these 2 sentences are irrelevant.
Also i don't care about spam.
08-10-2009, 05:02 PM#11
Earth-Fury
I'll just leave this here, even though Dusk seems to have an even better list.

<cya>I didn't do it, Blizzard! I have neither the tools, nor the skill! I BLAME MINDWORX!</cya>
Attached Files
File type: txtall orderids.txt (13.5 KB)
08-10-2009, 05:09 PM#12
Troll-Brain
Quote:
Originally Posted by Earth-Fury
I'll just leave this here, even though Dusk seems to have an even better list.

<cya>I didn't do it, Blizzard! I have neither the tools, nor the skill! I BLAME MINDWORX!</cya>
I can't open your text file in any way (with winrar 3.80)

Did you did that manually ?
And sorry but if it is worst than Dusk file why are you submitting it ?
08-10-2009, 05:14 PM#13
Earth-Fury
Quote:
Originally Posted by Troll-Brain
I can't open your text file in any way (with winrar 3.80)
Winrar really does suck. Go get 7zip.

Replaced with the raw text file... its not that big anyway.

Quote:
Originally Posted by Troll-Brain
And sorry but if it is worst than Dusk file why are you submitting it ?
Open it and find out.
08-10-2009, 05:34 PM#14
TotallyAwesome
Cause I believe that's called reverse engineering? xD
08-10-2009, 06:22 PM#15
DioD
reverse engineering

look around its everywhere.