hidden object game - lockups
Ok let me first say that my copy of MMF2DEV is in the mail, i just ordered it this week.. and i will be migrating my hidden object game project into it as soon as it arives.. that alone may solve my issue. but for now.. here is what is happening.
My game is your typical HO game... a 3d-rendered backgroung scene, with a bunch of active objects scattered around. The gui across the bottom includes a list of 12 items, and when the proper items are clicks on in the scene, then the text of the object name is set to strikeout. there is a working hint system etc.
The issue i am seeing is that for no reason the game lock sup a lot on me and i have yo use alt-f4 or end task on it. The system i am currently running on is a 64bit vista dual-core.. it is possible that TGF2 has issues on a 64bit playform?
I have run a lot of debugging.. in an attempt to find any loops that may be locking up etc.. and don't think it is a coding issue. the game may lock up in 30 secs.. on scene one.. or it may be 5 minutes later on scene 5.. there is nothing in particular i can do to cause it to be receated.. that what i believe it to be platform specific..
if anyone else has see this, let me know.
i am hoping once i am running MMF2Dev i won't see this issue any more..
thanks
- sam
Re: hidden object game - lockups
Have you tried restarting? I've had problems too with freezing and not even opening, giving an initialization error, and I find restarting clears it all up. If you have restarted then it's probably a Vista issue. Open task manager during your game and go to the processes window and see what programs are using what memory when. It may help very much to see if another program is restricting memory space.
Re: hidden object game - lockups
yes i have rebooted several times...
odd thing is i have not had it reocur since the origional posting..
but if it occurs again i will check out taskmanger to see what might be going on.
thanks.
Re: hidden object game - lockups
If it occurs again, could you send me your MFA file?
Also make sure you use the latest build of TGF2/MMF2 Dev (either latest official build, #248, or the current beta version, #39).
Re: hidden object game - lockups
ok, well i will be getting my copy of DEV this week.. it's in route as we speak.. once i install it, if it occurs again i will send you the file.
thanks for the responce.
Re: hidden object game - lockups
Quote:
Originally Posted by Yves
If it occurs again, could you send me your MFA file?
Also make sure you use the latest build of TGF2/MMF2 Dev (either latest official build, #248, or the current beta version, #39).
Since when have we had build #39!?
Re: hidden object game - lockups
got my copy of DEV in the mail yesterday.
and doing a little clean up on the porting from TGF2 into it.
for some reason every "push button" comes across without the text on it, and all the events with logical "OR"'s no longer have the "OR" in them. mind you, i have not read any docs on DEV yet, short of the install steps, so there may be signifigant differences that are well documented, that i have not made myself aware of yet.
Not sure if this is a known issue or working as intended or a bug. Either way, once i get the 200 or so events/buttons re-created as needed i will re run my testing and see if the lockups continue or not.
I did clean up one scenes events, to prove functionaly was working, and in that quick 1 scene test all was working well.
Re: hidden object game - lockups
Did you remember to update to the latest version of MMF2 Developer before you opened your project? It sounds like you didn't. The link is on the right side over there>>>>>>>
Re: hidden object game - lockups
nope i did not run the update.
i will do that and give it a shot.
thanks.
Re: hidden object game - lockups
ok i am currently upgraded to DEV R248
but the locks ups still occur, when i checked the task manager, it is my .exe that seems to be hanging the CPU (i am not currently compressing the runtime, so i can see my exe's name)
If you need the .mfa file.. it is 40+ meg so no sure i can attach that to an email and kinda don't want to post it on a public site.. bu email me at samleoncini@yahoo.com and we can place it somewhere for download.
thanks
- sam
Re: hidden object game - lockups
You should strip down the game to the minimum code and objects for the lockup to happen, then post it. It will take some time, I know, but it will help very much in the process.
Re: hidden object game - lockups
ok i was able to pull some of the additional scenes out, and got it down to a more reasonable size, you can get the file at:
http://www.dungeonlooter.com/ho/
thanks.
sam.
Re: hidden object game - lockups
OK I tested and so far no lockups, but I did notice the mouse would dissapear sometimes if I clicked on the wrong object. :/ I will look through your code to see if there is anything that could cause a luckup.
EDIT: OK I see the mouse disappearing is suppost to happen, but I cannot find anything that'd cause a lockup. Have you tried testing on other computers to see if it's your computer and not your game?
Re: hidden object game - lockups
no i have only tested it on the 64bit vista machine..
i have a 32bit amd XP and a 32bit core2duo MediaCenter i will have to test it on..
it may just be something with 64bit.. thanks for looking at it.
Re: hidden object game - lockups
ok been testing on non 64bit and so far so good.