| 08-09-2009, 06:02 PM | #1 |
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 |
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: |
| 08-09-2009, 06:10 PM | #3 |
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 |
It was automatic using a loop and the Cheat("String") output-to-file feature. |
| 08-09-2009, 06:13 PM | #5 | |
Quote:
|
| 08-09-2009, 06:15 PM | #6 |
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 |
Great. Cant' give you rep at the moment. |
| 08-10-2009, 03:59 PM | #8 |
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 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 |
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 | |
Quote:
Also i don't care about spam. |
| 08-10-2009, 05:02 PM | #11 |
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> |
| 08-10-2009, 05:09 PM | #12 | |
Quote:
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 | ||
Quote:
Replaced with the raw text file... its not that big anyway. Quote:
|
| 08-10-2009, 05:34 PM | #14 |
Cause I believe that's called reverse engineering? xD |
| 08-10-2009, 06:22 PM | #15 |
reverse engineering look around its everywhere. |
