Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Enough
Enough
2002-11-13, 4:27 AM #1
##############

Can anyone explain me this, and what can i do.


1) I have something, that works fine.

2) Now i add some lines in the code. Level refuse to load (even thought i dont think there is any error in this lines)

3) I remove EVERYTHING i added, the file is 100% the same that at step1

=> CANT LOAD LEVEL.


What can i do ?


I ****ing can't work if each new line of code has a 90% chance to definitively make level crash


Can anyone Enumerate me ALL the reasons, ALL the known limits of cogs plz, or i will never achieve anything.

- ARE WE LIMITED IN LINES ? ex 50 lines max / function or stuffs like that ?
2002-11-13, 7:01 AM #2
Post the cog.
And when the moment is right, I'm gonna fly a kite.
2002-11-13, 11:54 AM #3
Read DataMaster's crash debugging section.

And as GBK said, post the cog. I often had similar problems when I first started out.
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2002-11-13, 12:57 PM #4
Is this one of the Rbots cogs, or one you've written yourself?

Some of the Rbots cogs are already at the limit of the number of 'if' statements. Any further work just makes them refuse to load. Just one of the many reason's why I recommend a complete rewrite.

If it's not one of the Rbots cogs, then by all means, please post it here.

Raynar
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2002-11-14, 12:48 AM #5
Well i dont need to post the code anymore, i finally made it work...and no, i am not directly working on rbot code


My conclusion :

Either JED can't compile a cog correcly after 1 crash (restart PC), either its because of forbidden characters in comments, or there a max number of comments, or max comment length, or you can't put comment anywhere (even if you respect basic comment syntax, of course i know that things like that = error
Code:
for(i=0;i<//hello 3000;i=i+//hello21)
).


I ve copy paste step-bystep with comments
After a few blocs, impossible to load level (although i was 100% sure there wasnt any syntaxic error).

I ve copy paste the whole code removing some comments, it worked
2002-11-16, 10:25 AM #6
Very interesting. I like it how people are still able to unravel some mysteries about JK.

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2002-11-17, 10:52 AM #7
Did you by any chance use a // instead of a # in the definition section of the cog?
Team Battle.

↑ Up to the top!