Tom Jones
N/A
- Reaction score
- 437
Did you remember to create a game cache variable named cscache, or whatever the name is of the variable the function CSCache returns:
The bolded part is the name of the variable you should create. This is taken from Vexorians original script, so I can't say with certainty that it's the name in the script you got, you'll have to check that out yourself. Then create a new game cache and assign that game cache to the game cache variable.
Code:
function CSCache takes nothing returns gamecache
if udg_cscache==null then
call FlushGameCache(InitGameCache("CasterSystem.vx"))
set udg_cscache=InitGameCache("CasterSystem.vx")
call StoreInteger(udg_cscache,"misc","TableMaxReleasedIndex",100)
endif
return udg_[B]cscache[/B]
endfunction