Couldn't Spawn Server Error Upon Loading Saved Game
What could cause this? It's happening with this map, and based on the first comment it got on Quaddicted, I'm not the only one. I'm really trying to understand why this is happening more than anything else.
The map loads and plays fine, but won't reload from a saved game:
Couldn't spawn server maps/_by_humankills:__0/_79____.bsp
Couldn't load map
It kind of looks to me as if the engine is unable to locate the .sav file, but I can locate it in my id1 directory. Besides, I always thought the "Couldn't spawn server" error happened if the engine can't find the .bsp in question, and not the .sav...?
It also looks as if it's trying to find the .sav in /maps instead of in id1. And why is it looking for the third line of the .sav file (as I saw when I opened the file with a text editor), instead of "s[some number].sav"?
And A Different Error When Trying To Load A Saved Game
With another map (retrojam6_danzadan), I get this error when trying to load from a saved game:
Host_Error: ED_ParseEntity: EOF without closing brace
I assumed this meant that the .sav file ends without a "}", and when I opened it in a text editor, that was indeed the case. Why would something like this happen?
Out of curiosity, I added a closing curly brace manually to see if that would let me load the saved game, but all that did was to give me a new error message:
Host_Error: ED_ParseEntity: closing brace without data
:D
I should note I can usually load from saved games without any trouble. This weirdness is just happening with two maps (that I've noticed).
#3668 posted by metlslime on 2020/09/03 21:12:06
Looks like a corrupt save file but I can’t explain why. Is it consistently happening with this map? Or does the save sometimes work?
The two errors I described in #3666 and #3667 both happen consistently with the respective maps: the "Couldn't spawn server" error always happens with autumn_sp and the "Host_Error: ED_ParseEntity: EOF without closing brace" error always happens with retrojam6_danzadan.
Other maps work fine.
Don't know if this is related, but I remember that back when the first retrojam was released, retrojam1_skacky had an issue where saved games wouldn't load. A subsequent Quakespasm update fixed that, though, so I'm guessing these two maps have a different problem...
#3670 posted by mh on 2020/09/05 12:51:12
Have you also been running these maps in Darkplaces, by any chance? Darkplaces has a nasty habit of putting things into save files that are incompatible with other engines.
#3671 posted by arkngt on 2020/09/05 15:55:38
I do get the same issue with Earlu Autumn, but retrojam6_danzadan loads fine from a save for me. Noticed that the autumn_sp saves don't have any kill counts, which I don't think I've ever seen before. Not much help otherwise.
#3672 posted by arkngt on 2020/09/05 15:56:02
*Early*
Have you also been running these maps in Darkplaces, by any chance?
Nope, just Quakespasm.
Noticed that the autumn_sp saves don't have any kill counts
You mean in the Save/Load menu? Heh, that's true; I hadn't noticed that before. When I open the .sav files in a text editor, though, they do have kill counts listed right at the beginning (third line from the top).
I Am Not The Creator Of The Map
I guess you mean human[rus] (the author of Early Autumn) put a newline in their level name. :)
Thanks for the response!
PS
Any idea what could be causing the "EOF without closing brace" error for me in retrojam6_danzadan?
(I'm not Danzadan either!)
Click on the "download snapshot" button here for the latest code.
https://sourceforge.net/p/quakespasm/quakespasm/ci/master/tree/
Sorry, but i don't know much about it. It's possible in some world editor CR/LFs can get inserted into level names ?? Oz said he's seen this bug/little idiocy before, but wasn't until yesterday he'd tracked it down.
Other Characters
#3678 posted by Preach on 2020/09/10 19:28:39
I think I've seen embedded " characters in strings cause the same error sometimes, but that's off the top of my head...
You Mean As Part Of The Map Title?
Because that seems to be the common theme in the case of retrojam1_skacky and autumn_sp.
Still wouldn't explain what's happening with retrojam6_danzadan on my end; I checked the source and there are no odd characters, hidden or otherwise, in the worldspawn message. Or did you mean something else?
Thanks for the link to the latest build, stevenaaus.
#3680 posted by mh on 2020/09/12 06:34:47
If you could share a copy of your save file somewhere it would help. At this stage it's not something obvious, nor is it easily guessable.
@mh
#3682 posted by mh on 2020/09/14 11:13:26
That save file is corrupted and missing most of the save data, so it'll never work.
@mh
Yeah, I gathered as much. What I was wondering was why Quakespasm consistently generates corrupted save files when I try to save while playing retrojam6_danzadan (whereas other maps save/load properly).
But never mind; I seem to be the only person experiencing this, so I'll just put it down to some weird anomaly on my system. It's definitely not a serious problem for me. Thank you taking a look and thanks again to everyone else who responded.
Thank you FOR taking a look, I meant to write.
#3685 posted by mh on 2020/09/14 16:39:59
No problem.
It's interesting that it failed at the "WAD" key in worldspawn - I wonder is that part of it consistent too?
Something
#3686 posted by Preach on 2020/09/15 21:56:39
The wad key for that file is
C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\quake.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\BlueQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\CopperQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\MedievalQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\MetalQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\RockQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\WizardQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\WoodQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\AncientQMP.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\BaseQ.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\rmq_darkmet.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\Repacked\ABrutTx.wad;C:\Program Files (x86)\Webteh\New folder\quack\Textures\AB\abEgypt.wad
So it's 983 character long - is it overflowing a buffer somewhere?
An Additional Thought
#3687 posted by Preach on 2020/09/15 21:58:30
Could it be the combination of a long string and needing to escape loads of backslashes? Perhaps the buffer overflow is in the string escaping part of the code?
#3688 posted by mh on 2020/09/15 22:16:23
That's probably it. Edict writing to a save file goes through PR_UglyValueString which is 512 chars by default but which QS at some point increased to 1024.
@preach
#3689 posted by madfox on 2020/09/16 01:21:03
I keep receiving a noreply.com on my email, even when using no addons. your email was bounced
You're having quiet a restriction on your box.
My Bad
#3690 posted by madfox on 2020/09/16 03:45:13
off topic
|