Forums Index >> Modding >> ModWiz: Need help adding the lines of code to the ...
Page : <1> :
Make sure you copied the lines of code exactly. That error means the main.cs is screwed up.
Doesn't -virtual memory error- mean that your computer cannot load TT because of too less space on RAM? (not sure)
---
Nevertheless - Yark, try to copy the last piece of your main.cs here. (or e-mail it to someone)
I always have used 'copy and paste'. Could somebody e-mail me a copy of their 'main.cs' file?
I used to eat a lot of natural foods until I learned that most people die of natural causes.
Always make backups of files before changing them. Particularly important stuff. :)
However you can try a few things:
Erase the line you added. Save.
Start in dedicated server mode, see what those errors say, and post the error output here.
dowload the shockwave demo version and use their main.cs—I think it'd work without a problem (It might be the garagegames demo... I forget right off hand).
And are you using warfare's modwizard or -z-'s modwizard?
I was previously using -z-'s but I changed to Warfare's and removed -z-'s files. Regardless; neither worked, and they both gave me the same error.
I used to eat a lot of natural foods until I learned that most people die of natural causes.
Like ^^ said, start a dedicated server and see what you get.
If you get the same virtual memory error when starting a dedicated server then TT is basically screwed. If that happens you should reinstall.
Okay. You answered one question. That is a start
Could you PLEASE post the last... Say... 20 lines... Of your main.cs here?
OR/AND
you can post the dedicated console output when you try to start TT.
I would like to know what is wrong with it and help you fix it, but sadly PTT doesn't give me your IP so I can't find out for you :) (j/k). My point being that if you don't try what we tell you, we can't help you.
Last edited: Tuesday, June 20, 2006 at 8:51:25 PM
Here they are
ÿ¨ QDÿG PF :B % )¬,=$ )$ ) ÿ
ÿ× QG :QDÿŒ PF :QF :
ÿô QDÿº PF :QF :QG :
QE PF :
% 6 ? H ¬ Q Z ! C * t + } , † - . ˜ / ¡ 0 ª 1 ³ 2 ¼ : Í C Ó H ü K M N O / T = U F V L Y Z e [ k ^ { _ „ ` c d ¦ e ¬ h ¼ I Å j Ë m Û n ä o ê r ú s t w x " y ( | 8 } A ~ G W ‚ ` ƒ n „ s … ƒ † • ‰ Ÿ Á ‘ Ç ’ Ð — Þ ™ ç š í R ù C é ; ä 4 ã - Ø ï ( Ì » Ã D % ë © ç È â
O † c J +
í Î ¯ n É I h ½ : o ´ , u ¯
X 9 û Ü ½ ž | ] > £ ¬ — ± 5 ” ´ « ˜ ‹ f M. ð Ñ ² “ q R 2 $
Š ö þ „ ð ¤ ‰ } Ð ð Ä ÿ v É ö Ú ½ ø j Ç Ï [ n Q B 0 4 ) Ò
Á ¸ ¯ ¦ ” ‹ ‚ y h V M D ; * !
exec("common/editor/main.cs");
I'm supposed to add the line to the VERY bottom right? Or does it mean the bottom of the area in the file that is readable?
I used to eat a lot of natural foods until I learned that most people die of natural causes.
Last edited: Wednesday, June 21, 2006 at 10:44:20 AM
The file you edited had a.dso extension, didn't it? The name was "main.cs.dso", right? If so, then I know what you did wrong. Delete the line from main.cs.dso, and see if TT launches. If it does't, delete main.cs.dso.
If you did EITHER of those things, find main.cs (should be in your the root of your TT folder) and add the line to the bottom of that. Now see if TT starts.
Your problem was you edited a file that the compiler in TT had already converted to machine code. The machine code in DSO files is not meant to be read, written, or modified by intelligent lifeforms. One should not try to edit a DSO unless one knows exactly what one is doing and has several backups. The problem with messing with DSO's is that TT doesn't expect an error, and when it encounters one, it totally freaks out.
Good Luck!
Ah, I found it! Thank you very much!
I used to eat a lot of natural foods until I learned that most people die of natural causes.
No problem, happy modding!
Oh wait, it's still not working, I mean, I installed the Never End Dwonload Bar and that works fine, but modwiz is just not working at all.
I used to eat a lot of natural foods until I learned that most people die of natural causes.
At least TT works, right? :) Did you copy the exec line into the correct main.cs? If you did and it still isn't working, try reinstalling modwizard. If THAT doesn't work, post the exec line (and 4 lines around it in both directiosn) in main.cs here.
Yeah, I'm happy that TT can actually load now, I'll try reinstalling.
I used to eat a lot of natural foods until I learned that most people die of natural causes.
Go to the part of the site that says "Other Stuff" for the original download of main.cs
Located on bottom left of the little links.
I reinstalled it and it worked! Thank you all so much for the help!
I used to eat a lot of natural foods until I learned that most people die of natural causes.
Page : <1> :
I followed the directoins exactly how they were stated, but after I add the lines of coding to the bottom of 'main.cs' I try to open ThinkTanks and I get a "virtual memory error". It's really driving me crazy... :( so anybody with experience out there, your help would be appriciated.
I used to eat a lot of natural foods until I learned that most people die of natural causes.