ID:175368
![]() May 1 2003, 5:32 am
|
|
Whenever I run my game, it freezes. I'd paste the trace file, but opening it is kinda unatractive (26.0MB). Anyway, is there anything that could cause a crash like this?
|
Airjoe wrote:
you mean we can delete trace.txt every now and then?! mines like 50mb Yep. It's totally safe to delete your trace.txt file. Lummox JR |
Removed infinite loop - game still not working. There should be a check list on the website for this.
|
Hazman wrote:
Removed infinite loop - game still not working. There should be a check list on the website for this. Well, consider this part of it. Problem: Not working. Solution: Describe your problem in more detail. Duh. Lummox JR |
Problem: Game freezes on startup, usually before the hub even has a chance to load
Solution: If I knew that, this thread would never had happened. A checklist on the site, perhaps. Maybe a part of the site 'what to do if your game isn't working'. |
Just your game, or all games? If it's just your game, you still have an infinite loop.
A "what to do if your game isn't working" checklist might help in a few very common cases, but for most it's easier just to do something like this: 1. Check the reference. 2. Check the guide/Blue Book. 3. Check your code several times over. 4. If none of the above things solve your problem, come here. That's what Newbie Central is for, after all. =) |
Turn off bits of code until it opens up.
Hopefully you arn't just programming in one big .dm file. -Salarn |
Salarns post on the 'How does your garden grow' thread rang a few bells, and I realized I'd missed off a spawn(1) at an objects New().
So its not crashing outright now, but it's not loading properly. When I load up seeker to run it from DreamMaker, I get the following: Welcome BYOND! (Dream Seeker release 334) |
BTW, just found out that sometimes it decides to work, sometimes it doesn't. Doh...
Also, I see repeated calling() C:\WINDOWS\Desktop\dung.current\libdung\server\Sfile.cpp:1510 |
Is this just happening on this project or all projects?
If just this project, then try doing a Complete Build. If that doesn't resolve your problem, then delete all the build files, and do a complete build again. Sometimes files get corrupted and the only sure way to get rid of the problems if they keep happening is to delete the build files and do a new build. Also make sure your program has something to do. Put a client/Login() src << "This is a test!" LJR |
Yes. An infinite loop.
If you open your trace file in an editor worth its salt, and skip to the end, you'll find the same proc(s) being called over and over. That's where your infinite loop is.
Before you run the program again, though, delete trace.txt. Otherwise the file just keeps growing.
Lummox JR