help with loading a halo2 map in vb

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
modder4321





Posts: 118
Joined: Wed Mar 30, 2005 5:35 pm

help with loading a halo2 map in vb

Post by modder4321 »

ok i got a problem on this code

Code: Select all

j = 0 
For i = RealTagOff To EndTagOff Step 16 
 j = j + 1 
 TagTag(j) = Load4String(i + 0, True) 
 TagID(j) = Load4Hex(i + 4, True) 
 TagOffset(j) = Load4Hex(i + 8, True) - MapMagic 
 TagMetaSize(j) = Load4Hex(i + 12, True) 
Next i
it works when j = 1 and displays mtag but doesnt work once j = 2+
wats wrong or can somebody post a source to the tut done and working?
TfAv1228




Miner Logistician Droplet

Posts: 276
Joined: Sun Sep 05, 2004 4:40 pm

Post by TfAv1228 »

did u redim the variable to the realtagcount?
Sig breaks rules, read the rules before reposting.
Post Reply