Thread: Modding SW3?
View Single Post
  #4  
Old 06-05-2010, 10:50 AM
sidius sidius is offline
Approved Member
 
Join Date: May 2010
Posts: 28
Default

lol I'm not doing anything and those scripts are breaking..

got 2 errors -> replaced damaged script with backup -> 1 old error, 1 fixed error, 5 new errors lol

I'm starting to think I have some virus..

Edit: I think I got it, I was missing 1 " in FloodTradeStations.script

Edit2: The game is working, but once again, I can't DOCK at any station, even Trader window is empty..

error: attempt to index local `_market' (a string value)
<string "DATA/Scripts/include/FloodTradeStations.scr...": line 294>

but there is just

function AddModules_Chance(_market, _good, Chance, maxn, _sell, _bye)
if (Chance > RAND(100)) and (maxn > 0) then
-- N=maxn; -- õÙ* Û¯Ý‗*¯Ù* þÓõÓÝݯү ýÓÛ±Þý¾ýÓ
N=RAND(maxn)+1;
_market:ModuleGoodsState(_good, N, _sell, _bye);
end;
end;

and I don't know what's wrong in it since I haven't changed it ...

EDIT3: restored backups, now I've got even more errors than before

Last edited by sidius; 06-05-2010 at 11:45 AM.
Reply With Quote