Unable to Spawn
-
Boris
- Posts: 223
- Joined: 2006-11-11 22:18
Unable to Spawn
Not sure what I've changed here since yesterday the last time it worked, but I'm no longer able to spawn into a singleplayer coop game, or local server. It's at the initial spawn screen, desired spawn point is selected, no countdown to wait for, just says "Instant Spawn" - "No Medics around? You can GIVE UP in the map screen" - but it just won't let me.
I've tried removing the Documents\ProjectReality\Profiles\*\ServerSettings.con files to reset them to default (though PR crashed when I removed \0001\ServerSettings.con (EDIT: turns out it needs at least a blank ServerSettings.con file there in order to not CTD on startup)), editing aiDefault.ai, and reverting realityconfig_coop.py which I'd modified (but not since last night?), but it's still not having it.
What've I done? Something idiotic, no doubt...
I've tried removing the Documents\ProjectReality\Profiles\*\ServerSettings.con files to reset them to default (though PR crashed when I removed \0001\ServerSettings.con (EDIT: turns out it needs at least a blank ServerSettings.con file there in order to not CTD on startup)), editing aiDefault.ai, and reverting realityconfig_coop.py which I'd modified (but not since last night?), but it's still not having it.
What've I done? Something idiotic, no doubt...
Last edited by Boris on 2013-09-03 15:28, edited 3 times in total.
-
SnipeHunt
- Posts: 801
- Joined: 2009-02-02 15:35
Re: Unable to Spawn
I suppose the obvious answer is to reinstall..
Best line yet...
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
-
Boris
- Posts: 223
- Joined: 2006-11-11 22:18
Re: Unable to Spawn
I'm not going to do that just because a variable in a config is wrong.
-
MaSSive
- Posts: 4502
- Joined: 2011-02-19 15:02
Re: Unable to Spawn
Well dont think Im trying to make you look bad, but have you clicked DONE after selecting spawnpoint?
Also if kit selection is in red, select rifleman kit and it'll work.
Also if kit selection is in red, select rifleman kit and it'll work.
-
Boris
- Posts: 223
- Joined: 2006-11-11 22:18
Re: Unable to Spawn
Of course. I've played this mod for years...MaSSive wrote:Well dont think Im trying to make you look bad, but have you clicked DONE after selecting spawnpoint?
Also if kit selection is in red, select rifleman kit and it'll work.
I was hoping someone here would be knowledgeable about it and offer a quick answer, but I guess I'm going to have to just dig in there and figure it out.
-
Boris
- Posts: 223
- Joined: 2006-11-11 22:18
Re: Unable to Spawn
OK, so after much faffing about, I figured out what was wrong. It turns out "__init__.py" config in directory \mods\pr\python\game\ had gotten corrupted, the contents of which contained 455 bytes of nothing:
where it should be:
as in:
So, what corrupted it? PRLauncher maybe, given it states in the text there that it has a handle on modifying the file, possibly a consequence of a crash during either loading, or in-game. Who knows? But now you know...
Code: Select all
00000000h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000010h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000020h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000030h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000040h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000050h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000060h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000070h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000080h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000090h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000a0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000b0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000c0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000d0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000e0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000f0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000100h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000110h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000120h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000130h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000140h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000150h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000160h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000170h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000180h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000190h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000001a0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000001b0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000001c0h: 00 00 00 00 00 00 00 ; .......Code: Select all
00000000h: 23 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; #---------------
00000010h: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; ----------------
00000020h: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; ----------------
00000030h: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; ----------------
00000040h: 2D 2D 2D 0D 0A 23 0D 0A 23 20 50 52 4F 4A 45 43 ; ---..#..# PROJEC
00000050h: 54 20 52 45 41 4C 49 54 59 20 53 45 52 56 45 52 ; T REALITY SERVER
00000060h: 20 49 4E 49 54 0D 0A 23 0D 0A 23 20 54 68 69 73 ; INIT..#..# This
00000070h: 20 66 69 6C 65 20 63 61 6E 20 62 65 20 65 64 69 ; file can be edi
00000080h: 74 65 64 20 62 79 20 61 6E 79 20 73 65 72 76 65 ; ted by any serve
00000090h: 72 20 28 70 75 62 6C 69 63 20 6F 72 20 70 72 69 ; r (public or pri
000000a0h: 76 61 74 65 29 2E 0D 0A 23 20 0D 0A 0D 0A 69 6D ; vate)...# ....im
000000b0h: 70 6F 72 74 20 72 65 61 6C 69 74 79 69 6E 69 74 ; port realityinit
000000c0h: 0D 0A 72 65 61 6C 69 74 79 69 6E 69 74 2E 69 6E ; ..realityinit.in
000000d0h: 69 74 28 46 61 6C 73 65 29 20 23 20 53 77 69 74 ; it(False) # Swit
000000e0h: 63 68 20 74 6F 20 54 72 75 65 20 69 66 20 75 73 ; ch to True if us
000000f0h: 69 6E 67 20 64 65 62 75 67 67 65 72 20 65 78 65 ; ing debugger exe
00000100h: 63 75 74 61 62 6C 65 73 20 28 50 52 4C 61 75 6E ; cutables (PRLaun
00000110h: 63 68 65 72 2E 65 78 65 20 77 69 6C 6C 20 61 75 ; cher.exe will au
00000120h: 74 6F 6D 61 74 69 63 61 6C 6C 79 20 6D 6F 64 69 ; tomatically modi
00000130h: 66 79 20 74 68 69 73 20 76 61 6C 75 65 20 61 63 ; fy this value ac
00000140h: 63 6F 72 64 69 6E 67 6C 79 29 0D 0A 0D 0A 23 2D ; cordingly)....#-
00000150h: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; ----------------
00000160h: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; ----------------
00000170h: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; ----------------
00000180h: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ; ----------------
00000190h: 2D 0D 0A 23 20 41 64 64 20 79 6F 75 72 20 63 75 ; -..# Add your cu
000001a0h: 73 74 6F 6D 20 73 63 72 69 70 74 27 73 20 69 6E ; stom script's in
000001b0h: 69 74 69 6C 69 7A 61 74 69 6F 6E 20 62 65 6C 6C ; itilization bell
000001c0h: 6F 77 0D 0A 23 0D 0A ; ow..#..Code: Select all
#------------------------------------------------------------------
#
# PROJECT REALITY SERVER INIT
#
# This file can be edited by any server (public or private).
#
import realityinit
realityinit.init(False) # Switch to True if using debugger executables (PRLauncher.exe will automatically modify this value accordingly)
#------------------------------------------------------------------
# Add your custom script's initilization bellow
#
-
MaSSive
- Posts: 4502
- Joined: 2011-02-19 15:02
Re: Unable to Spawn
None of the exe files has anything to do with python files, or nothing is modifying them.
Probably virus or HDD/file system corruption.
Probably virus or HDD/file system corruption.
-
Boris
- Posts: 223
- Joined: 2006-11-11 22:18
Re: Unable to Spawn
Did you even read the file where it states "PRLauncher.exe will automatically modify this value accordingly"?MaSSive wrote:None of the exe files has anything to do with python files, or nothing is modifying them.
Probably virus or HDD/file system corruption.
There is no virus nor HDD corruption happening here.
-
MaSSive
- Posts: 4502
- Joined: 2011-02-19 15:02
Re: Unable to Spawn
Im not sure but there is no option for that in PRLauncher. Probably meant for testing or future features.
-
Cinnamonism
- Posts: 15
- Joined: 2013-09-01 12:58
Re: Unable to Spawn
Anyone confirm the fix for this?
Last edited by LITOralis.nMd on 2013-09-04 14:12, edited 2 times in total.
-
LITOralis.nMd
- Retired PR Developer
- Posts: 5658
- Joined: 2010-04-10 16:15
Re: Unable to Spawn
Cinnamonism wrote:Anyone confirm the fix for this?
https://www.dropbox.com/s/sw3swq0da20hthw/__init__.py
I can not confirm or deny, actually it's above my pay grade,
the link is a copy of my __init__.py file, place it in mods\pr\python\game
-
Cinnamonism
- Posts: 15
- Joined: 2013-09-01 12:58
Re: Unable to Spawn
Didn't work, still CTD, the interesting thing is.. there are two of these files, take a look in gamemodes folder there is another file named the same __init__ with 0kb of data..'[R-COM wrote:LITOralis.nMd;1945735']https://www.dropbox.com/s/sw3swq0da20hthw/__init__.py
I can not confirm or deny, actually it's above my pay grade,
the link is a copy of my __init__.py file, place it in mods\pr\python\game
Edit: took a complete new copy of my friends (working) Settings, Ai and Python folder, game still CTDs on creating local server so the issue has to be outside of those folders.. correct?
-
LITOralis.nMd
- Retired PR Developer
- Posts: 5658
- Joined: 2010-04-10 16:15
Re: Unable to Spawn
I don't know the inner workings of those files,
will now kick it upstairs for the python guys to review when they have the time.
Are the 'last modified' timestamps for those files changing?
in gamemodes folder, insurgency.pyc was updated on August 23rd, (maybe 22nd through 24th for you), everything else should ahve the date you installed the PR 1.0 mod. If you have any other files with changed timestamps, let me know.
will now kick it upstairs for the python guys to review when they have the time.
Are the 'last modified' timestamps for those files changing?
in gamemodes folder, insurgency.pyc was updated on August 23rd, (maybe 22nd through 24th for you), everything else should ahve the date you installed the PR 1.0 mod. If you have any other files with changed timestamps, let me know.
-
Cinnamonism
- Posts: 15
- Joined: 2013-09-01 12:58
Re: Unable to Spawn
I doubt it's got anything to do with python, I've had a complete replacement of Python, Ai and settings folders and now the clientarchives, gamelogicinit, init, mod.desc and serverarchives all those files have been replaced with known working new ones and I'm now getting a new fresh Bin folder hoping to fix it by replacing old folders with new ones, ultimately the problem came about from putting the Pr debugger.exe in the Bf2 folder and running that (with a separate account)
Edit: No fix when bin folder is replace *officially stumped*
Edit: No fix when bin folder is replace *officially stumped*
Last edited by Cinnamonism on 2013-09-04 15:00, edited 1 time in total.
-
MaSSive
- Posts: 4502
- Joined: 2011-02-19 15:02
Re: Unable to Spawn
Removing PR debugger and deleting that account helps or...?
Have you removed IE from WIndows? Install it back, install flash player, and activex for IE, reboot and try again.
If this isn't helping reinstall of PR is imminent.
Have you removed IE from WIndows? Install it back, install flash player, and activex for IE, reboot and try again.
If this isn't helping reinstall of PR is imminent.
-
Cinnamonism
- Posts: 15
- Joined: 2013-09-01 12:58
Re: Unable to Spawn
First thing I did was remove the debuggerMaSSive wrote:Removing PR debugger and deleting that account helps or...?
Have you removed IE from WIndows? Install it back, install flash player, and activex for IE, reboot and try again.
If this isn't helping reinstall of PR is imminent.
also checked the target in the PR launcher all pointing at the right place...
have deleted the debugging account yes, still no luck...
the funny thing is, I can play online just fine but creating a local server CTDs the second I hit 'create'
-
Boris
- Posts: 223
- Joined: 2006-11-11 22:18
Re: Unable to Spawn
As far as "\mods\pr\python\game\__init__.py" goes, on my system it appears to be automatically modified each time I exit the game. I haven't as yet payed close attention to whether this happens always, or only as a consequence of running a local server, or during startup, or exit. I did note it did it again though just recently though I don't know when it happened exactly. I've since played some online/offline games with a close eye on it but haven't seen it happen again.[R-COM]LITOralis.nMd wrote:Are the 'last modified' timestamps for those files changing?
I have one there too at 0KB, though I suspect that's normal as the last modified date is pretty old: 25 July 2013, 02:06:22.'Cinnamonism' wrote:there are two of these files, take a look in gamemodes folder there is another file named the same __init__ with 0kb of data.
Regarding your game issue, I don't think it's related, as I don't experience an inability to launch a local server here - no CTD issues - it's just that I couldn't spawn. In your case I think you should temporarily rename the "ProjectReality" profile folder located in your Documents folder to something else, then rerun PR to allow PRLauncher/etc to create a completely new one, creating a completely new account in the process if you need too (to avoid importing any bad config from a previous account).
-
Cinnamonism
- Posts: 15
- Joined: 2013-09-01 12:58
Re: Unable to Spawn
Sadly didn't work, no luck yet.
ops:
-
SnipeHunt
- Posts: 801
- Joined: 2009-02-02 15:35
Re: Unable to Spawn
I think you posted to the wrong thread. The OP is not having any CTD issues...Cinnamonism wrote:Anyone confirm the fix for this?
Best line yet...
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"

