Crashing!!
Posted: December 5th, 2011, 12:49 am
Im still trying to learn to use RPG Mode
so i start a new game under PlatinumArtsSandbox2.7.1\data\rpg\games
my game`s .cfg file says
If i dont edit anything else it works fine and doesn`t crash when I select the game
But...
Everytime I add a new critter and a script for the critter, when i go to start my game it crashes and sandbox shuts down.
I have been given a patch for this, But i dont know how to install it.
If you can tell me how to install it or have a different fix THX
Patch
The patch was given to me by Hirato
and im using Sandbox 2.7.1
so i start a new game under PlatinumArtsSandbox2.7.1\data\rpg\games
my game`s .cfg file says
Code: Select all
r_preparemap "winter1" 0
firstmap winter1
gameversion 1
compatversion 1
exec data/rpg/hud_standard.cfg
But...
Everytime I add a new critter and a script for the critter, when i go to start my game it crashes and sandbox shuts down.
I have been given a patch for this, But i dont know how to install it.
If you can tell me how to install it or have a different fix THX
Patch
Code: Select all
Index: trunk/src/rpggame/rpgrender.cpp
===================================================================
--- src/rpggame/rpgrender.cpp (revision 3359)
+++ src/rpggame/rpgrender.cpp (revision 3360)
@@ -42,6 +42,7 @@
void rendergame(bool mainpass)
{
+ if(!curmap) return;
startmodelbatches();
if(editmode)
and im using Sandbox 2.7.1