Digital Paint Discussion Board
Development => Bugs, Feature Requests, and Feedback => Topic started by: T3RR0R15T on January 02, 2011, 09:54:17 AM
-
A server will crash, if there are bugs in an ent file (like missing { for example). Make, that it will use the normal map entities instead of crashing the whole server.
-
Do you have an example of a crashing ent file? I don't really see this as something I need to fix - just don't put corrupt files on the server - test them out before uploading. :)
-
Yes, thats right. It's not really a bug, but it could prevent a crash. So i made it as a tweak.
The two files can make the errors "ERROR: Game Error: ED_ParseEntity: closing brace without data" and "ERROR: Game Error: ED_LoadFromFile: found gamemode when expecting {".
-
That's not a crash. That's an error. :)
-
Oh, but why do the clients get the wrong message "Server crashed: Game Error: ED_LoadFromFile: found gamemode when expecting {" then?
-
That's not really an accurate message, but I guess it depends on how you define "crash". I generally think of crashing in the sense that the program completely stops running due to a segfault or something. That's just an error that shuts the map down. I don't think it should be removed, because it lets you know the map (or ent file) is messed up. All you need to do is test your ent file before uploading it to the server. If it just loaded the map anyway, things wouldn't be correct, and it would be harder to tell why.
-
Ok, this can be closed then.