Blockland Forums > Modification Help

RTB Development

Pages: << < (201/889) > >>

-Jetz-:

Alright, I started blockland with trace, opened the mod manager, waited for a second, clicked the "Your Mods" button, then closed it and exited.

Edit: Oh sweet, reply 1000.

Ephialtes:

Offending code (in RTBC_ModManager.cs):


--- Code: ---      %zip = getSubStr(%filepath,0,strPos(%filepath,"/description.txt"))@".zip";
--- End code ---

strPos is case sensitive and a bunch of your files have a Description.txt - I can't remember if there's a stripos function but if there is then this is your solution:


--- Code: ---      %zip = getSubStr(%filepath,0,striPos(%filepath,"/description.txt"))@".zip";
--- End code ---

Otherwise this:


--- Code: ---      %zip = getSubStr(%filepath,0,strPos(strlwr(%filepath),"/description.txt"))@".zip";
--- End code ---


-Jetz-:

Alright, I'll swap this out after school and see what happens.

-Jetz-:

I put in that bit and it works now. Yay!

Kalphiter:


--- Quote from: -Jetz- on March 02, 2010, 10:29:41 AM ---Alright, I started blockland with trace, opened the mod manager, waited for a second, clicked the "Your Mods" button, then closed it and exited.

Edit: Oh sweet, reply 1000.

--- End quote ---
1000th reply in this thread


--- Quote from: Ephialtes on March 02, 2010, 10:23:16 AM ---Yeah if you open blockland with -trace and send a console.log that'd help.

--- End quote ---
1000th post

Pages: << < (201/889) > >>

Go to full version