Troll-Brain
You can change this now in User CP.
- Reaction score
- 85
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)
Btw last time i checked this tool http://www.wc3c.net/showthread.php?t=85864 they were some errors.
Actually i got this list, it should have not error at all inside it, since the list was built from this list
Then with a short program the list was built with constant integers (attached file)
Here is the source code, not made by myself (@Magus) :
So the point of this thread is to give a constant integer name and leave comment about the use of all 753 unknown orderids.
Next step will be to use scopes to range them like "item orders" , "immediate orders" and so one.
Feel free to contribute it and give your knowledge/personnels tests about them.
And if you want i will include you in credits.
Here the list of unknown orderids :
Here is a code to dispay orderids when a unit receive an order :
Create a trigger named "orderids", convert it to jass, and replace the whole thing with this code.
- 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)
Btw last time i checked this tool http://www.wc3c.net/showthread.php?t=85864 they were some errors.
Actually i got this list, it should have not error at all inside it, since the list was built from this list
Rising_Dusk said:
Then with a short program the list was built with constant integers (attached file)
Here is the source code, not made by myself (@Magus) :
Code:
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
public class Main {
final static String IN_FILE_PATH = "./datas/source.txt";
final static String OUT_FILE_PATH = "./datas/result.txt";
final static boolean DISPLAY_UNKNOWN = true;
final static boolean DISPLAY_KNOWN = true;
public final static void main(final String[] args) throws IOException {
final BufferedReader in = new BufferedReader(new FileReader(Main.IN_FILE_PATH));
final BufferedWriter out = new BufferedWriter(new FileWriter(OUT_FILE_PATH));
out.write("globals\n");
String line = in.readLine();
int unknownCounter = 0;
while (line != null) {
final String[] entries = line.split(" ");
final String value = entries[0];
if ((entries.length > 1) && DISPLAY_KNOWN) {
Main.printConstant(out, entries[1].toUpperCase(), value);
} else if (DISPLAY_UNKNOWN) {
++unknownCounter;
Main.printConstant(out, "UNKNOWN" + String.valueOf(unknownCounter), value);
}
line = in.readLine();
}
out.write("endglobals\n");
in.close();
out.close();
}
private final static void printConstant(BufferedWriter out, final String name, final String value) throws IOException {
out.write(" constant integer " + name + " = " + value + "\n");
}
}
So the point of this thread is to give a constant integer name and leave comment about the use of all 753 unknown orderids.
Next step will be to use scopes to range them like "item orders" , "immediate orders" and so one.
Feel free to contribute it and give your knowledge/personnels tests about them.
And if you want i will include you in credits.
Here the list of unknown orderids :
JASS:
globals
constant integer UNKNOWN1 = 851900
constant integer UNKNOWN2 = 851901
constant integer UNKNOWN3 = 851902
constant integer UNKNOWN4 = 851903
constant integer UNKNOWN5 = 851904
constant integer UNKNOWN6 = 851905
constant integer UNKNOWN7 = 851906
constant integer UNKNOWN8 = 851907
constant integer UNKNOWN9 = 851908
constant integer UNKNOWN10 = 851909
constant integer UNKNOWN11 = 851910
constant integer UNKNOWN12 = 851911
constant integer UNKNOWN13 = 851912
constant integer UNKNOWN14 = 851913
constant integer UNKNOWN15 = 851914
constant integer UNKNOWN16 = 851915
constant integer UNKNOWN17 = 851916
constant integer UNKNOWN18 = 851917
constant integer UNKNOWN19 = 851918
constant integer UNKNOWN20 = 851919
constant integer UNKNOWN21 = 851920
constant integer UNKNOWN22 = 851921
constant integer UNKNOWN23 = 851922
constant integer UNKNOWN24 = 851923
constant integer UNKNOWN25 = 851924
constant integer UNKNOWN26 = 851925
constant integer UNKNOWN27 = 851926
constant integer UNKNOWN28 = 851927
constant integer UNKNOWN29 = 851928
constant integer UNKNOWN30 = 851929
constant integer UNKNOWN31 = 851930
constant integer UNKNOWN32 = 851931
constant integer UNKNOWN33 = 851932
constant integer UNKNOWN34 = 851933
constant integer UNKNOWN35 = 851934
constant integer UNKNOWN36 = 851935
constant integer UNKNOWN37 = 851936
constant integer UNKNOWN38 = 851937
constant integer UNKNOWN39 = 851938
constant integer UNKNOWN40 = 851939
constant integer UNKNOWN41 = 851940
constant integer UNKNOWN42 = 851941
constant integer UNKNOWN43 = 851942
constant integer UNKNOWN44 = 851943
constant integer UNKNOWN45 = 851944
constant integer UNKNOWN46 = 851945
constant integer UNKNOWN47 = 851946
constant integer UNKNOWN48 = 851947
constant integer UNKNOWN49 = 851948
constant integer UNKNOWN50 = 851949
constant integer UNKNOWN51 = 851950
constant integer UNKNOWN52 = 851951
constant integer UNKNOWN53 = 851952
constant integer UNKNOWN54 = 851953
constant integer UNKNOWN55 = 851954
constant integer UNKNOWN56 = 851955
constant integer UNKNOWN57 = 851956
constant integer UNKNOWN58 = 851957
constant integer UNKNOWN59 = 851958
constant integer UNKNOWN60 = 851959
constant integer UNKNOWN61 = 851960
constant integer UNKNOWN62 = 851961
constant integer UNKNOWN63 = 851962
constant integer UNKNOWN64 = 851963
constant integer UNKNOWN65 = 851964
constant integer UNKNOWN66 = 851965
constant integer UNKNOWN67 = 851966
constant integer UNKNOWN68 = 851967
constant integer UNKNOWN69 = 851968
constant integer UNKNOWN70 = 851969
constant integer UNKNOWN71 = 851970
constant integer UNKNOWN72 = 851973
constant integer UNKNOWN73 = 851974
constant integer UNKNOWN74 = 851975
constant integer UNKNOWN76 = 851977
constant integer UNKNOWN77 = 851978
constant integer UNKNOWN78 = 851979
constant integer UNKNOWN79 = 851982
constant integer UNKNOWN80 = 851987
constant integer UNKNOWN81 = 851989
constant integer UNKNOWN82 = 851991
constant integer UNKNOWN83 = 851992
constant integer UNKNOWN84 = 852000
constant integer UNKNOWN85 = 852002
constant integer UNKNOWN86 = 852003
constant integer UNKNOWN87 = 852004
constant integer UNKNOWN88 = 852005
constant integer UNKNOWN89 = 852006
constant integer UNKNOWN90 = 852007
constant integer UNKNOWN91 = 852008
constant integer UNKNOWN92 = 852009
constant integer UNKNOWN93 = 852010
constant integer UNKNOWN94 = 852011
constant integer UNKNOWN95 = 852012
constant integer UNKNOWN96 = 852013
constant integer UNKNOWN97 = 852014
constant integer UNKNOWN98 = 852016
constant integer UNKNOWN99 = 852019
constant integer UNKNOWN100 = 852027
constant integer UNKNOWN101 = 852028
constant integer UNKNOWN102 = 852029
constant integer UNKNOWN103 = 852030
constant integer UNKNOWN104 = 852031
constant integer UNKNOWN105 = 852032
constant integer UNKNOWN106 = 852033
constant integer UNKNOWN107 = 852034
constant integer UNKNOWN108 = 852035
constant integer UNKNOWN109 = 852036
constant integer UNKNOWN110 = 852037
constant integer UNKNOWN111 = 852038
constant integer UNKNOWN112 = 852045
constant integer UNKNOWN113 = 852051
constant integer UNKNOWN114 = 852052
constant integer UNKNOWN115 = 852058
constant integer UNKNOWN116 = 852059
constant integer UNKNOWN117 = 852061
constant integer UNKNOWN118 = 852062
constant integer UNKNOWN119 = 852070
constant integer UNKNOWN120 = 852078
constant integer UNKNOWN121 = 852084
constant integer UNKNOWN122 = 852085
constant integer UNKNOWN123 = 852088
constant integer UNKNOWN124 = 852098
constant integer UNKNOWN125 = 852112
constant integer UNKNOWN126 = 852115
constant integer UNKNOWN127 = 852116
constant integer UNKNOWN128 = 852117
constant integer UNKNOWN129 = 852118
constant integer UNKNOWN130 = 852120
constant integer UNKNOWN131 = 852124
constant integer UNKNOWN132 = 852141
constant integer UNKNOWN133 = 852152
constant integer UNKNOWN134 = 852153
constant integer UNKNOWN135 = 852154
constant integer UNKNOWN136 = 852167
constant integer UNKNOWN137 = 852168
constant integer UNKNOWN138 = 852169
constant integer UNKNOWN139 = 852170
constant integer UNKNOWN140 = 852172
constant integer UNKNOWN141 = 852193
constant integer UNKNOWN142 = 852194
constant integer UNKNOWN143 = 852208
constant integer UNKNOWN144 = 852236
constant integer UNKNOWN145 = 852251
constant integer UNKNOWN146 = 852257
constant integer UNKNOWN147 = 852258
constant integer UNKNOWN148 = 852259
constant integer UNKNOWN149 = 852260
constant integer UNKNOWN150 = 852261
constant integer UNKNOWN151 = 852262
constant integer UNKNOWN152 = 852263
constant integer UNKNOWN153 = 852264
constant integer UNKNOWN154 = 852265
constant integer UNKNOWN155 = 852266
constant integer UNKNOWN156 = 852267
constant integer UNKNOWN157 = 852268
constant integer UNKNOWN158 = 852269
constant integer UNKNOWN159 = 852270
constant integer UNKNOWN160 = 852271
constant integer UNKNOWN161 = 852272
constant integer UNKNOWN162 = 852273
constant integer UNKNOWN163 = 852274
constant integer UNKNOWN164 = 852275
constant integer UNKNOWN165 = 852276
constant integer UNKNOWN166 = 852277
constant integer UNKNOWN167 = 852278
constant integer UNKNOWN168 = 852279
constant integer UNKNOWN169 = 852280
constant integer UNKNOWN170 = 852281
constant integer UNKNOWN171 = 852282
constant integer UNKNOWN172 = 852283
constant integer UNKNOWN173 = 852284
constant integer UNKNOWN174 = 852285
constant integer UNKNOWN175 = 852286
constant integer UNKNOWN176 = 852287
constant integer UNKNOWN177 = 852288
constant integer UNKNOWN178 = 852289
constant integer UNKNOWN179 = 852290
constant integer UNKNOWN180 = 852291
constant integer UNKNOWN181 = 852292
constant integer UNKNOWN182 = 852293
constant integer UNKNOWN183 = 852294
constant integer UNKNOWN184 = 852295
constant integer UNKNOWN185 = 852296
constant integer UNKNOWN186 = 852297
constant integer UNKNOWN187 = 852298
constant integer UNKNOWN188 = 852299
constant integer UNKNOWN189 = 852300
constant integer UNKNOWN190 = 852301
constant integer UNKNOWN191 = 852302
constant integer UNKNOWN192 = 852303
constant integer UNKNOWN193 = 852304
constant integer UNKNOWN194 = 852305
constant integer UNKNOWN195 = 852306
constant integer UNKNOWN196 = 852307
constant integer UNKNOWN197 = 852308
constant integer UNKNOWN198 = 852309
constant integer UNKNOWN199 = 852310
constant integer UNKNOWN200 = 852311
constant integer UNKNOWN201 = 852312
constant integer UNKNOWN202 = 852313
constant integer UNKNOWN203 = 852314
constant integer UNKNOWN204 = 852315
constant integer UNKNOWN205 = 852316
constant integer UNKNOWN206 = 852317
constant integer UNKNOWN207 = 852318
constant integer UNKNOWN208 = 852319
constant integer UNKNOWN209 = 852320
constant integer UNKNOWN210 = 852321
constant integer UNKNOWN211 = 852322
constant integer UNKNOWN212 = 852323
constant integer UNKNOWN213 = 852324
constant integer UNKNOWN214 = 852325
constant integer UNKNOWN215 = 852326
constant integer UNKNOWN216 = 852327
constant integer UNKNOWN217 = 852328
constant integer UNKNOWN218 = 852329
constant integer UNKNOWN219 = 852330
constant integer UNKNOWN220 = 852331
constant integer UNKNOWN221 = 852332
constant integer UNKNOWN222 = 852333
constant integer UNKNOWN223 = 852334
constant integer UNKNOWN224 = 852335
constant integer UNKNOWN225 = 852336
constant integer UNKNOWN226 = 852337
constant integer UNKNOWN227 = 852338
constant integer UNKNOWN228 = 852339
constant integer UNKNOWN229 = 852340
constant integer UNKNOWN230 = 852341
constant integer UNKNOWN231 = 852342
constant integer UNKNOWN232 = 852343
constant integer UNKNOWN233 = 852344
constant integer UNKNOWN234 = 852345
constant integer UNKNOWN235 = 852346
constant integer UNKNOWN236 = 852347
constant integer UNKNOWN237 = 852348
constant integer UNKNOWN238 = 852349
constant integer UNKNOWN239 = 852350
constant integer UNKNOWN240 = 852351
constant integer UNKNOWN241 = 852352
constant integer UNKNOWN242 = 852353
constant integer UNKNOWN243 = 852354
constant integer UNKNOWN244 = 852355
constant integer UNKNOWN245 = 852356
constant integer UNKNOWN246 = 852357
constant integer UNKNOWN247 = 852358
constant integer UNKNOWN248 = 852359
constant integer UNKNOWN249 = 852360
constant integer UNKNOWN250 = 852361
constant integer UNKNOWN251 = 852362
constant integer UNKNOWN252 = 852363
constant integer UNKNOWN253 = 852364
constant integer UNKNOWN254 = 852365
constant integer UNKNOWN255 = 852366
constant integer UNKNOWN256 = 852367
constant integer UNKNOWN257 = 852368
constant integer UNKNOWN258 = 852369
constant integer UNKNOWN259 = 852370
constant integer UNKNOWN260 = 852371
constant integer UNKNOWN261 = 852372
constant integer UNKNOWN262 = 852373
constant integer UNKNOWN263 = 852374
constant integer UNKNOWN264 = 852375
constant integer UNKNOWN265 = 852376
constant integer UNKNOWN266 = 852377
constant integer UNKNOWN267 = 852378
constant integer UNKNOWN268 = 852379
constant integer UNKNOWN269 = 852380
constant integer UNKNOWN270 = 852381
constant integer UNKNOWN271 = 852382
constant integer UNKNOWN272 = 852383
constant integer UNKNOWN273 = 852384
constant integer UNKNOWN274 = 852385
constant integer UNKNOWN275 = 852386
constant integer UNKNOWN276 = 852387
constant integer UNKNOWN277 = 852388
constant integer UNKNOWN278 = 852389
constant integer UNKNOWN279 = 852390
constant integer UNKNOWN280 = 852391
constant integer UNKNOWN281 = 852392
constant integer UNKNOWN282 = 852393
constant integer UNKNOWN283 = 852394
constant integer UNKNOWN284 = 852395
constant integer UNKNOWN285 = 852396
constant integer UNKNOWN286 = 852397
constant integer UNKNOWN287 = 852398
constant integer UNKNOWN288 = 852399
constant integer UNKNOWN289 = 852400
constant integer UNKNOWN290 = 852401
constant integer UNKNOWN291 = 852402
constant integer UNKNOWN292 = 852403
constant integer UNKNOWN293 = 852404
constant integer UNKNOWN294 = 852405
constant integer UNKNOWN295 = 852406
constant integer UNKNOWN296 = 852407
constant integer UNKNOWN297 = 852408
constant integer UNKNOWN298 = 852409
constant integer UNKNOWN299 = 852410
constant integer UNKNOWN300 = 852411
constant integer UNKNOWN301 = 852412
constant integer UNKNOWN302 = 852413
constant integer UNKNOWN303 = 852414
constant integer UNKNOWN304 = 852415
constant integer UNKNOWN305 = 852416
constant integer UNKNOWN306 = 852417
constant integer UNKNOWN307 = 852418
constant integer UNKNOWN308 = 852419
constant integer UNKNOWN309 = 852420
constant integer UNKNOWN310 = 852421
constant integer UNKNOWN311 = 852422
constant integer UNKNOWN312 = 852423
constant integer UNKNOWN313 = 852424
constant integer UNKNOWN314 = 852425
constant integer UNKNOWN315 = 852426
constant integer UNKNOWN316 = 852427
constant integer UNKNOWN317 = 852428
constant integer UNKNOWN318 = 852429
constant integer UNKNOWN319 = 852430
constant integer UNKNOWN320 = 852431
constant integer UNKNOWN321 = 852432
constant integer UNKNOWN322 = 852433
constant integer UNKNOWN323 = 852434
constant integer UNKNOWN324 = 852435
constant integer UNKNOWN325 = 852436
constant integer UNKNOWN326 = 852437
constant integer UNKNOWN327 = 852438
constant integer UNKNOWN328 = 852439
constant integer UNKNOWN329 = 852440
constant integer UNKNOWN330 = 852441
constant integer UNKNOWN331 = 852442
constant integer UNKNOWN332 = 852443
constant integer UNKNOWN333 = 852444
constant integer UNKNOWN334 = 852445
constant integer UNKNOWN335 = 852446
constant integer UNKNOWN336 = 852447
constant integer UNKNOWN337 = 852448
constant integer UNKNOWN338 = 852449
constant integer UNKNOWN339 = 852450
constant integer UNKNOWN340 = 852451
constant integer UNKNOWN341 = 852452
constant integer UNKNOWN342 = 852453
constant integer UNKNOWN343 = 852454
constant integer UNKNOWN344 = 852455
constant integer UNKNOWN345 = 852456
constant integer UNKNOWN346 = 852457
constant integer UNKNOWN347 = 852460
constant integer UNKNOWN348 = 852461
constant integer UNKNOWN349 = 852462
constant integer UNKNOWN350 = 852463
constant integer UNKNOWN351 = 852464
constant integer UNKNOWN352 = 852465
constant integer UNKNOWN353 = 852468
constant integer UNKNOWN354 = 852471
constant integer UNKNOWN355 = 852472
constant integer UNKNOWN356 = 852475
constant integer UNKNOWN357 = 852476
constant integer UNKNOWN358 = 852477
constant integer UNKNOWN359 = 852492
constant integer UNKNOWN360 = 852498
constant integer UNKNOWN361 = 852510
constant integer UNKNOWN362 = 852518
constant integer UNKNOWN363 = 852519
constant integer UNKNOWN364 = 852530
constant integer UNKNOWN365 = 852535
constant integer UNKNOWN366 = 852537
constant integer UNKNOWN367 = 852538
constant integer UNKNOWN368 = 852557
constant integer UNKNOWN369 = 852558
constant integer UNKNOWN370 = 852559
constant integer UNKNOWN371 = 852567
constant integer UNKNOWN372 = 852575
constant integer UNKNOWN373 = 852582
constant integer UNKNOWN374 = 852584
constant integer UNKNOWN375 = 852606
constant integer UNKNOWN376 = 852607
constant integer UNKNOWN377 = 852608
constant integer UNKNOWN378 = 852609
constant integer UNKNOWN379 = 852610
constant integer UNKNOWN380 = 852611
constant integer UNKNOWN381 = 852612
constant integer UNKNOWN382 = 852613
constant integer UNKNOWN383 = 852614
constant integer UNKNOWN384 = 852615
constant integer UNKNOWN385 = 852616
constant integer UNKNOWN386 = 852617
constant integer UNKNOWN387 = 852618
constant integer UNKNOWN388 = 852619
constant integer UNKNOWN389 = 852620
constant integer UNKNOWN390 = 852621
constant integer UNKNOWN391 = 852622
constant integer UNKNOWN392 = 852623
constant integer UNKNOWN393 = 852624
constant integer UNKNOWN394 = 852625
constant integer UNKNOWN395 = 852626
constant integer UNKNOWN396 = 852627
constant integer UNKNOWN397 = 852628
constant integer UNKNOWN398 = 852629
constant integer UNKNOWN399 = 852631
constant integer UNKNOWN400 = 852632
constant integer UNKNOWN401 = 852633
constant integer UNKNOWN402 = 852634
constant integer UNKNOWN403 = 852635
constant integer UNKNOWN404 = 852636
constant integer UNKNOWN405 = 852637
constant integer UNKNOWN406 = 852638
constant integer UNKNOWN407 = 852639
constant integer UNKNOWN408 = 852640
constant integer UNKNOWN409 = 852641
constant integer UNKNOWN410 = 852642
constant integer UNKNOWN411 = 852643
constant integer UNKNOWN412 = 852644
constant integer UNKNOWN413 = 852645
constant integer UNKNOWN414 = 852646
constant integer UNKNOWN415 = 852647
constant integer UNKNOWN416 = 852648
constant integer UNKNOWN417 = 852649
constant integer UNKNOWN418 = 852650
constant integer UNKNOWN419 = 852653
constant integer UNKNOWN420 = 852654
constant integer UNKNOWN421 = 852655
constant integer UNKNOWN422 = 852659
constant integer UNKNOWN423 = 852660
constant integer UNKNOWN424 = 852661
constant integer UNKNOWN425 = 852666
constant integer UNKNOWN426 = 852673
constant integer UNKNOWN427 = 852674
constant integer UNKNOWN428 = 852675
constant integer UNKNOWN429 = 852676
constant integer UNKNOWN430 = 852677
constant integer UNKNOWN431 = 852678
constant integer UNKNOWN432 = 852679
constant integer UNKNOWN433 = 852680
constant integer UNKNOWN434 = 852681
constant integer UNKNOWN435 = 852682
constant integer UNKNOWN436 = 852683
constant integer UNKNOWN437 = 852684
constant integer UNKNOWN438 = 852685
constant integer UNKNOWN439 = 852686
constant integer UNKNOWN440 = 852687
constant integer UNKNOWN441 = 852688
constant integer UNKNOWN442 = 852689
constant integer UNKNOWN443 = 852690
constant integer UNKNOWN444 = 852691
constant integer UNKNOWN445 = 852692
constant integer UNKNOWN446 = 852693
constant integer UNKNOWN447 = 852694
constant integer UNKNOWN448 = 852695
constant integer UNKNOWN449 = 852696
constant integer UNKNOWN450 = 852697
constant integer UNKNOWN451 = 852698
constant integer UNKNOWN452 = 852699
constant integer UNKNOWN453 = 852700
constant integer UNKNOWN454 = 852701
constant integer UNKNOWN455 = 852702
constant integer UNKNOWN456 = 852703
constant integer UNKNOWN457 = 852704
constant integer UNKNOWN458 = 852705
constant integer UNKNOWN459 = 852706
constant integer UNKNOWN460 = 852707
constant integer UNKNOWN461 = 852708
constant integer UNKNOWN462 = 852709
constant integer UNKNOWN463 = 852710
constant integer UNKNOWN464 = 852711
constant integer UNKNOWN465 = 852712
constant integer UNKNOWN466 = 852713
constant integer UNKNOWN467 = 852714
constant integer UNKNOWN468 = 852715
constant integer UNKNOWN469 = 852716
constant integer UNKNOWN470 = 852717
constant integer UNKNOWN471 = 852718
constant integer UNKNOWN472 = 852719
constant integer UNKNOWN473 = 852720
constant integer UNKNOWN474 = 852721
constant integer UNKNOWN475 = 852722
constant integer UNKNOWN476 = 852723
constant integer UNKNOWN477 = 852724
constant integer UNKNOWN478 = 852725
constant integer UNKNOWN479 = 852726
constant integer UNKNOWN480 = 852727
constant integer UNKNOWN481 = 852728
constant integer UNKNOWN482 = 852729
constant integer UNKNOWN483 = 852730
constant integer UNKNOWN484 = 852731
constant integer UNKNOWN485 = 852732
constant integer UNKNOWN486 = 852733
constant integer UNKNOWN487 = 852734
constant integer UNKNOWN488 = 852735
constant integer UNKNOWN489 = 852736
constant integer UNKNOWN490 = 852737
constant integer UNKNOWN491 = 852738
constant integer UNKNOWN492 = 852739
constant integer UNKNOWN493 = 852740
constant integer UNKNOWN494 = 852741
constant integer UNKNOWN495 = 852742
constant integer UNKNOWN496 = 852743
constant integer UNKNOWN497 = 852744
constant integer UNKNOWN498 = 852745
constant integer UNKNOWN499 = 852746
constant integer UNKNOWN500 = 852747
constant integer UNKNOWN501 = 852748
constant integer UNKNOWN502 = 852749
constant integer UNKNOWN503 = 852750
constant integer UNKNOWN504 = 852751
constant integer UNKNOWN505 = 852752
constant integer UNKNOWN506 = 852753
constant integer UNKNOWN507 = 852754
constant integer UNKNOWN508 = 852755
constant integer UNKNOWN509 = 852756
constant integer UNKNOWN510 = 852757
constant integer UNKNOWN511 = 852758
constant integer UNKNOWN512 = 852759
constant integer UNKNOWN513 = 852760
constant integer UNKNOWN514 = 852761
constant integer UNKNOWN515 = 852762
constant integer UNKNOWN516 = 852763
constant integer UNKNOWN517 = 852764
constant integer UNKNOWN518 = 852765
constant integer UNKNOWN519 = 852766
constant integer UNKNOWN520 = 852767
constant integer UNKNOWN521 = 852768
constant integer UNKNOWN522 = 852769
constant integer UNKNOWN523 = 852770
constant integer UNKNOWN524 = 852771
constant integer UNKNOWN525 = 852772
constant integer UNKNOWN526 = 852773
constant integer UNKNOWN527 = 852774
constant integer UNKNOWN528 = 852775
constant integer UNKNOWN529 = 852776
constant integer UNKNOWN530 = 852777
constant integer UNKNOWN531 = 852778
constant integer UNKNOWN532 = 852779
constant integer UNKNOWN533 = 852780
constant integer UNKNOWN534 = 852781
constant integer UNKNOWN535 = 852782
constant integer UNKNOWN536 = 852783
constant integer UNKNOWN537 = 852784
constant integer UNKNOWN538 = 852785
constant integer UNKNOWN539 = 852786
constant integer UNKNOWN540 = 852787
constant integer UNKNOWN541 = 852788
constant integer UNKNOWN542 = 852789
constant integer UNKNOWN543 = 852790
constant integer UNKNOWN544 = 852791
constant integer UNKNOWN545 = 852792
constant integer UNKNOWN546 = 852793
constant integer UNKNOWN547 = 852794
constant integer UNKNOWN548 = 852795
constant integer UNKNOWN549 = 852796
constant integer UNKNOWN550 = 852797
constant integer UNKNOWN551 = 852798
constant integer UNKNOWN552 = 852799
constant integer UNKNOWN553 = 852800
constant integer UNKNOWN554 = 852801
constant integer UNKNOWN555 = 852802
constant integer UNKNOWN556 = 852803
constant integer UNKNOWN557 = 852804
constant integer UNKNOWN558 = 852805
constant integer UNKNOWN559 = 852806
constant integer UNKNOWN560 = 852807
constant integer UNKNOWN561 = 852808
constant integer UNKNOWN562 = 852809
constant integer UNKNOWN563 = 852810
constant integer UNKNOWN564 = 852811
constant integer UNKNOWN565 = 852812
constant integer UNKNOWN566 = 852813
constant integer UNKNOWN567 = 852814
constant integer UNKNOWN568 = 852815
constant integer UNKNOWN569 = 852816
constant integer UNKNOWN570 = 852817
constant integer UNKNOWN571 = 852818
constant integer UNKNOWN572 = 852819
constant integer UNKNOWN573 = 852820
constant integer UNKNOWN574 = 852821
constant integer UNKNOWN575 = 852822
constant integer UNKNOWN576 = 852823
constant integer UNKNOWN577 = 852824
constant integer UNKNOWN578 = 852825
constant integer UNKNOWN579 = 852826
constant integer UNKNOWN580 = 852827
constant integer UNKNOWN581 = 852828
constant integer UNKNOWN582 = 852829
constant integer UNKNOWN583 = 852830
constant integer UNKNOWN584 = 852831
constant integer UNKNOWN585 = 852832
constant integer UNKNOWN586 = 852833
constant integer UNKNOWN587 = 852834
constant integer UNKNOWN588 = 852835
constant integer UNKNOWN589 = 852836
constant integer UNKNOWN590 = 852837
constant integer UNKNOWN591 = 852838
constant integer UNKNOWN592 = 852839
constant integer UNKNOWN593 = 852840
constant integer UNKNOWN594 = 852841
constant integer UNKNOWN595 = 852842
constant integer UNKNOWN596 = 852843
constant integer UNKNOWN597 = 852844
constant integer UNKNOWN598 = 852845
constant integer UNKNOWN599 = 852846
constant integer UNKNOWN600 = 852847
constant integer UNKNOWN601 = 852848
constant integer UNKNOWN602 = 852849
constant integer UNKNOWN603 = 852850
constant integer UNKNOWN604 = 852851
constant integer UNKNOWN605 = 852852
constant integer UNKNOWN606 = 852853
constant integer UNKNOWN607 = 852854
constant integer UNKNOWN608 = 852855
constant integer UNKNOWN609 = 852856
constant integer UNKNOWN610 = 852857
constant integer UNKNOWN611 = 852858
constant integer UNKNOWN612 = 852859
constant integer UNKNOWN613 = 852860
constant integer UNKNOWN614 = 852861
constant integer UNKNOWN615 = 852862
constant integer UNKNOWN616 = 852863
constant integer UNKNOWN617 = 852864
constant integer UNKNOWN618 = 852865
constant integer UNKNOWN619 = 852866
constant integer UNKNOWN620 = 852867
constant integer UNKNOWN621 = 852868
constant integer UNKNOWN622 = 852869
constant integer UNKNOWN623 = 852870
constant integer UNKNOWN624 = 852871
constant integer UNKNOWN625 = 852872
constant integer UNKNOWN626 = 852873
constant integer UNKNOWN627 = 852874
constant integer UNKNOWN628 = 852875
constant integer UNKNOWN629 = 852876
constant integer UNKNOWN630 = 852877
constant integer UNKNOWN631 = 852878
constant integer UNKNOWN632 = 852879
constant integer UNKNOWN633 = 852880
constant integer UNKNOWN634 = 852881
constant integer UNKNOWN635 = 852882
constant integer UNKNOWN636 = 852883
constant integer UNKNOWN637 = 852884
constant integer UNKNOWN638 = 852885
constant integer UNKNOWN639 = 852886
constant integer UNKNOWN640 = 852887
constant integer UNKNOWN641 = 852888
constant integer UNKNOWN642 = 852889
constant integer UNKNOWN643 = 852890
constant integer UNKNOWN644 = 852891
constant integer UNKNOWN645 = 852892
constant integer UNKNOWN646 = 852893
constant integer UNKNOWN647 = 852894
constant integer UNKNOWN648 = 852895
constant integer UNKNOWN649 = 852896
constant integer UNKNOWN650 = 852897
constant integer UNKNOWN651 = 852898
constant integer UNKNOWN652 = 852899
constant integer UNKNOWN653 = 852900
constant integer UNKNOWN654 = 852901
constant integer UNKNOWN655 = 852902
constant integer UNKNOWN656 = 852903
constant integer UNKNOWN657 = 852904
constant integer UNKNOWN658 = 852905
constant integer UNKNOWN659 = 852906
constant integer UNKNOWN660 = 852907
constant integer UNKNOWN661 = 852908
constant integer UNKNOWN662 = 852909
constant integer UNKNOWN663 = 852910
constant integer UNKNOWN664 = 852911
constant integer UNKNOWN665 = 852912
constant integer UNKNOWN666 = 852913
constant integer UNKNOWN667 = 852914
constant integer UNKNOWN668 = 852915
constant integer UNKNOWN669 = 852916
constant integer UNKNOWN670 = 852917
constant integer UNKNOWN671 = 852918
constant integer UNKNOWN672 = 852919
constant integer UNKNOWN673 = 852920
constant integer UNKNOWN674 = 852921
constant integer UNKNOWN675 = 852922
constant integer UNKNOWN676 = 852923
constant integer UNKNOWN677 = 852924
constant integer UNKNOWN678 = 852925
constant integer UNKNOWN679 = 852926
constant integer UNKNOWN680 = 852927
constant integer UNKNOWN681 = 852928
constant integer UNKNOWN682 = 852929
constant integer UNKNOWN683 = 852930
constant integer UNKNOWN684 = 852931
constant integer UNKNOWN685 = 852932
constant integer UNKNOWN686 = 852933
constant integer UNKNOWN687 = 852934
constant integer UNKNOWN688 = 852935
constant integer UNKNOWN689 = 852936
constant integer UNKNOWN690 = 852937
constant integer UNKNOWN691 = 852938
constant integer UNKNOWN692 = 852939
constant integer UNKNOWN693 = 852940
constant integer UNKNOWN694 = 852941
constant integer UNKNOWN695 = 852942
constant integer UNKNOWN696 = 852943
constant integer UNKNOWN697 = 852944
constant integer UNKNOWN698 = 852945
constant integer UNKNOWN699 = 852946
constant integer UNKNOWN700 = 852947
constant integer UNKNOWN701 = 852948
constant integer UNKNOWN702 = 852949
constant integer UNKNOWN703 = 852950
constant integer UNKNOWN704 = 852951
constant integer UNKNOWN705 = 852952
constant integer UNKNOWN706 = 852953
constant integer UNKNOWN707 = 852954
constant integer UNKNOWN708 = 852955
constant integer UNKNOWN709 = 852956
constant integer UNKNOWN710 = 852957
constant integer UNKNOWN711 = 852958
constant integer UNKNOWN712 = 852959
constant integer UNKNOWN713 = 852960
constant integer UNKNOWN714 = 852961
constant integer UNKNOWN715 = 852962
constant integer UNKNOWN716 = 852963
constant integer UNKNOWN717 = 852964
constant integer UNKNOWN718 = 852965
constant integer UNKNOWN719 = 852966
constant integer UNKNOWN720 = 852967
constant integer UNKNOWN721 = 852968
constant integer UNKNOWN722 = 852969
constant integer UNKNOWN723 = 852970
constant integer UNKNOWN724 = 852971
constant integer UNKNOWN725 = 852972
constant integer UNKNOWN726 = 852973
constant integer UNKNOWN727 = 852974
constant integer UNKNOWN728 = 852975
constant integer UNKNOWN729 = 852976
constant integer UNKNOWN730 = 852977
constant integer UNKNOWN731 = 852978
constant integer UNKNOWN732 = 852979
constant integer UNKNOWN733 = 852980
constant integer UNKNOWN734 = 852981
constant integer UNKNOWN735 = 852982
constant integer UNKNOWN736 = 852983
constant integer UNKNOWN737 = 852984
constant integer UNKNOWN738 = 852985
constant integer UNKNOWN739 = 852986
constant integer UNKNOWN740 = 852987
constant integer UNKNOWN741 = 852988
constant integer UNKNOWN742 = 852989
constant integer UNKNOWN743 = 852990
constant integer UNKNOWN744 = 852991
constant integer UNKNOWN745 = 852992
constant integer UNKNOWN746 = 852993
constant integer UNKNOWN747 = 852994
constant integer UNKNOWN748 = 852995
constant integer UNKNOWN749 = 852996
constant integer UNKNOWN750 = 852997
constant integer UNKNOWN751 = 852998
constant integer UNKNOWN752 = 852999
constant integer UNKNOWN753 = 853000
endglobals
Here is a code to dispay orderids when a unit receive an order :
JASS:
function Trig_orderids_Actions takes nothing returns nothing
local eventid evd = GetTriggerEventId()
local integer order = GetIssuedOrderId()
call BJDebugMsg(" ")
if evd == EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER then
call BJDebugMsg("target order")
elseif evd == EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER then
call BJDebugMsg("point order")
elseif evd == EVENT_PLAYER_UNIT_ISSUED_ORDER then
call BJDebugMsg("039;immediate039; order")
endif
call BJDebugMsg(OrderId2String(order) + " ( " + I2S(order) + " )" )
endfunction
//===========================================================================
function InitTrig_orderids takes nothing returns nothing
set gg_trg_orderids = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_orderids, EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER )
call TriggerRegisterAnyUnitEventBJ( gg_trg_orderids, EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER )
call TriggerRegisterAnyUnitEventBJ( gg_trg_orderids, EVENT_PLAYER_UNIT_ISSUED_ORDER )
call TriggerAddAction( gg_trg_orderids, function Trig_orderids_Actions )
endfunction
Create a trigger named "orderids", convert it to jass, and replace the whole thing with this code.