Is there a limit? From what I can tell, I cannot add to my game without this illegal operation error showing up after 4 minutes (similar to what Foomer was addressing to Soccerguy13 below this post). It's not any specific piece of code that is causing this. For whatever reason, adding anything now seems to cause this error. Anyone know anything about this?
-Dagolar
ID:148244
May 12 2003, 5:20 pm
|
|
Reinstalling did nothing. This is what popped up on the illegal operation error message:
DREAMSEEKER caused an invalid page fault in module BYOND.DLL at 015f:0055f55a. Registers: EAX=018f7054 CS=015f EIP=0055f55a EFLGS=00010202 EBX=008eb3dc SS=0167 ESP=008eb3a0 EBP=018f6afc ECX=018f6afc DS=0167 ESI=018f7054 FS=5f47 EDX=01a4694e ES=0167 EDI=00000075 GS=0000 Bytes at CS:EIP: 8b 30 8b 01 8a 10 8a 1e 8a ca 3a d3 75 1f 84 c9 Stack dump: 018f7054 008eb3dc 0058a79b 018f6afc 018f7054 00000001 018f6ae4 70000000 0000e7b9 0058a8e3 018f6afc 008eb3dc 0000e7ba 0000e7ba 00508546 018f6af6 I'm losing faith in the dreammaker. :( -Dagolar |
There's no limit, I've seen games that had well over 20,000 lines of code (I even had one myself), and they rank without an issue.
|
In response to Dagolar
|
|
Until you post some code, nobody can help you. Clearly DS should not be crashing as it is, but whatever is putting it into a crashy state is in your code.
If there is a bug, then it should be possible to fix it based on your code by reproducing it on other systems, or by seeing the mechanisms involved. If your code is doing something terribly wrong that's merely crashing the wrong way, then we'd still need to see it. What's going on in world/New(), mob/Login(), or client/New() or similar procs that would set up the conditions for a crash consistently after 4 minutes? This you can answer by posting those procs and any related to them, or by simply e-mailing your code to [email protected]. Since Dantom are kind of busy right now anyway, I'll also gladly take a look if you send it to [email protected]. Lummox JR |
In response to Nadrew
|
|
I'm at 100,000+ lines and have no problems.
Can you download and say, run a demo or library since thouse often need to be compiled? Also I have had issues compiling on computers with funky write protection issues, so I often had to delete the dme dmb and rsc files and create a new environment. -Salarn |
In response to Lummox JR
|
|
Ah there are TONS of things that fall in line with world/New(), mob/Login(), or client/New(). I guess I could have a look at some of them, but isolating the problem has been a real hassle. I'll look it over and get back...
-Dagolar |
The problem is definitely somewhere in your existing code. Something in the version as it stands now is apparently just stable enough not to go berserk on you, but disturbing that without fixing the underlying bug is causing a crash. DS shouldn't be crashing, but whatever's triggering the situation that leads to the crash comes from your code.
Without showing us code, though, you'll get nowhere. The problem is obviously something that's set in motion in world/New(), mob/Login(), client/New(), or some similar startup procedure. Something is being spawned out, or sleeping, and after a set amount of time it causes the crash. Or, something is running over and over again (maybe on a short time delay) that's causing some internal problem to build up to the point of a crash.
Lummox JR