WT-Fakawi
2011-03-18 04:36:23
This is the Record I use for my new Ratz script, to identify objects in my inventory.
I wish to print these Records in the debug and use it as reference, by placing it back into my script. This would greatly help enlarge it's efficiency. But I can't seem to get it right in terms of syntax:
this wont work…syntax error:
anyone knows how to properly format this?
type
InvItem = record
w, h, z, s : Integer;
n : string;
C : Array of Integer;
Checksum: Integer;
end;
InvBase, LibBase: Array of InvItem;
I wish to print these Records in the debug and use it as reference, by placing it back into my script. This would greatly help enlarge it's efficiency. But I can't seem to get it right in terms of syntax:
this wont work…syntax error:
LibBase[0]:=[26, 25, 76, 0, 'Tinderbox',[(4013632), (5395285), (537146), (470581), (5395285), (4474439), (5198163), (604482), (5790300), (2105392), (4803148), (2960943), (2105392)], 43854188];
LibBase[1]:=[28, 25, 177, 0, 'Small fishing net',[(1581355), (2174522), (1317667), (1779248), (1251873), (592911), (2105392), (1317925), (1910835), (1515561)], 15547289);
LibBase[2]:=[27, 28, 73, 0, 'Water rune',[(10296087), (10296087), (10296087), (5658202), (11316660), (9079697), (8092544), (7434871), (6710891), (11447990), (9342612), (9342612)], 109314340);
LibBase[3]:=[25, 13, 62, 0, 'Coins',[(1606564), (1606564), (2141400), (1606564), (2276073), (2105392), (1606564), (1472662)], 14421783);
LibBase[4]:=[29, 22, 141, 0, 'Shrimps',[(1333640), (1262210), (1328264), (2105392), (1534624), (1195385), (2105392)], 10864907);
LibBase[5]:=[28, 30, 85, 0, 'Raw rat meat',[(11645369), (1318280), (10592937), (10329508), (10724266), (1318280), (1318280), (9539992), (7434871), (9671577), (9342612), (6974063), (2105392)], 92315427);
LibBase[6]:=[21, 26, 76, 0, '1ron hatchet',[(1202555), (2105392), (4144962), (3487032), (2105392)], 13045333);
LibBase[7]:=[18, 29, 72, 0, 'Iron full helm',[(3684410), (3289909), (3158066), (3803167), (4196642)], 18132194);
LibBase[8]:=[17, 28, 108, 0, 'Amulet of power',[(10066592), (11711419), (9211026), (2105392)], 33094429);
LibBase[9]:=[30, 22, 133, 0, 'Iron platebody',[(2368550), (3487032), (4013376), (4013376), (4013376), (526345), (1908255), (1710619), (3815997), (3289909), (2763308)], 31910143);
LibBase[10]:=[11, 28, 73, 0, 'Iron platelegs',[(3487032), (3289909), (3289909), (4144962), (4013376), (2105392), (2105392), (2105392), (2105392), (2105392)], 28752148);
LibBase[11]:=[26, 29, 78, 0, '1ron scimitar',[(6184546), (2105392), (2105392), (6052960), (2960687), (9868957), (3158066)], 32436000);
LibBase[12]:=[29, 28, 76, 0, 'Iron kiteshield',[(535098), (534584), (4144962), (4473927), (4473927), (4473927), (4473927), (601664), (601664), (601664)], 24915344);
LibBase[13]:=[28, 30, 85, 0, 'Cooked meat',[(3886980), (998503), (3557497), (3425909), (3623291), (998503), (998503), (3228013), (2503509), (3293807), (3162219), (2305870), (2105392)], 34087996);
anyone knows how to properly format this?