SP crashing server No global pointer found for "Server"

All other Source.Python topics and issues.
User avatar
Doldol
Senior Member
Posts: 201
Joined: Sat Jul 07, 2012 7:09 pm
Location: Belgium

SP crashing server No global pointer found for "Server"

Postby Doldol » Sat Nov 21, 2015 9:43 pm

The error sadly didn't log to any script files, and I'm running on Win 8.1 (CSGO) so I only have a picture.

After this the server lists some more cvars and then crashed, all I did was update my SP install, it ran fine right before I did so. (When updating SP I delete everything in the addons folder except for SP's plugin directory.)

Image
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Sun Nov 22, 2015 12:35 am

This should fix the crash (build 140): https://github.com/Source-Python-Dev-Team/Source.Python/commit/89e576c055874c78b33db826358e8828155e80de

I changed that in my last commit due to the conversions update, but I forgot to remove the "!". Thanks for reporting! :)

Edit: The error you get has nothing to do with it. I guess it gets raised, because the server pointer wasn't set at that point and we are already trying to retrieve it. A bit later we can retrieve it and SP loads fine. Though, we should probably improve that. :D
User avatar
Doldol
Senior Member
Posts: 201
Joined: Sat Jul 07, 2012 7:09 pm
Location: Belgium

Postby Doldol » Sun Nov 22, 2015 6:04 am

Thanks! Build 140 works, however build 141 crashes again, I'd love to contribute & help you guys out on SP itself by at least fixing these things myself in an issue/pull rq but I don't have the time to do so. =/
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Sun Nov 22, 2015 11:50 am

Build 141 is working fine for me as well. What did you do to update from 140 to 141?
User avatar
Doldol
Senior Member
Posts: 201
Joined: Sat Jul 07, 2012 7:09 pm
Location: Belgium

Postby Doldol » Sun Nov 22, 2015 11:27 pm

I updated from an older build to 141. I deleted everything in /addons then extracted the addons folder from the archive into addons, saw a crash, repeated the same process for build 140, everything worked.

I'll try again to make sure I didn't mess something up.

Edit: Indeed my mistake, whoopsie. Build 141 works fine as does 144. :)

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests