Game Development Community

Reload Giving Bad .dso's?(solved)

by rennie moffat · in iTorque 2D · 04/13/2011 (10:54 am) · 12 replies

Hi there,
just today an issue has popped up.
I continually, after every reload of my project in iTGB, after slight adjustments to various code, my game will not run. The solution is, each time I must trash all of my behavior .dso's. This works overtime but very inconvenient. Would anyone have any suggestions as to what the problem might be?


Thanks
Ren

About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
04/13/2011 (3:14 pm)
Here is a video,
You can see the action at about 1.oo minute.
My game will not run after any reload project, unless the dso's for the behaviors are trashed. No edits the behaviors nothing. Just trash them and then run game.


www.youtube.com/watch?v=v7AS5dl0GGU


:S peculiar.
#2
04/14/2011 (8:17 am)
This is strange, It is happening again today. I was hoping a fresh start would.. anyhow. The project loads, I hit run game, it runs. I close game. I literally make no changes, I hit run game and it does not load game until I trash all dso's? Has anyone heard of this? Seriously, plus I just loaded a new project, and transfered my game folder. Same thing.


:s.


#3
04/14/2011 (8:41 am)
Ok this is just wierd.
My apologies. Now, it seems that is simply the game.cs won't compile, no dso, being created. So I have a question. Since in iTGB it shows no errors from the game.cs, and I work on a MAc, can someone, would anyone, with Torsion, be willing to look at, run my file thru Torsion? Would Torsion make a difference? I have gone thru it multiple times but can not spot the error.

Thanks.




Ren
#4
04/14/2011 (9:06 am)
Please post a link to your console.log. Use pastebin.
#5
04/14/2011 (9:42 am)
pastebin is currently backed up.


What seems to be happening is that it stops (iTGB console) after compiling (I am not sure if all) behaviors. I have just removed all behaviors from folder. It now runs ok. If there is a simple syntax error in a behavior that is causing this. Why is there no report in the iTGB Console? Also, If there is no report, what type of error should I be looking for?


#6
04/14/2011 (9:51 am)
If it works without those scripts, I guarantee there is an error of some kind. I'll wait until you get a console log up.
#7
04/14/2011 (10:21 am)
Ok, bad news, this is still very odd.

Let me explain.

So I emptied all behaviors out of the folder then placed them back in one by one. About half way through I found one that when I placed it in, prevented loading. GREAT! I thought, but no. 1) The behavior itself, upon inspection contained no errors.....


Regardless of this fact I removed it, then the game loaded, great. Not so much. After a few I found another that prevented loading. Then another, then another. These are behaviors I have not touched for a while, contain no errors, there is no error report. The worst part is, sometimes I would remove the offending behavior, it would run, then I would run it again, just to be sure and it would not.

Totally not sure what is causing this. Or what to do.



Sorry for the stress.
#8
04/14/2011 (10:25 am)
Can't help until I see a console log.
#10
04/14/2011 (10:35 am)
Ok, so the pastebin makes any error more easily noticeable.


I was missing one "$" before a variable on line 76 of my homeBehavior.cs



YIKES.



Sorry for all the fuss. I hope this is it.
Thanks for the patience Michael.
#11
04/14/2011 (10:35 am)
Where is the rest of it? I can only see a portion of the log. Only the loading of the scripts is visible. You already have two errors:

/Applications/iTorque2D_1_4/MyProjects/Money Buckets/projectFiles/game/scripts/behaviors/homeManagerBehavior.cs (76): string always evaluates to 0.

CodeBlock::compile - precompile size mismatch, a precompile/compile function pair is probably mismatched.

Paste the FULL console log.
#12
04/14/2011 (10:59 am)
I resolved it. We must have posted at the same time. ^^^^^^^^