razorace Posted January 17, 2005 Share Posted January 17, 2005 Has anyone encountered the "Your Ghoul2 Instance has no model!" on maps with vehicles? I'm running my OJP server in server side only mode and this problem is making all the clients crash. Link to comment Share on other sites More sharing options...
Wudan Posted January 17, 2005 Share Posted January 17, 2005 Sounds like maybe your ghoul2 instance has no model. Are you loading gla's server side for which no models are using? I'm pretty sure that I can be of no use here Link to comment Share on other sites More sharing options...
razorace Posted January 17, 2005 Author Share Posted January 17, 2005 No, it's just the vehicles and only vehicles that aren't being controlled by NPCs, (like an AI controlled ATST). I think it's due to differences between the default and OJP systems for the vehicles but I haven't locked it down yet. Link to comment Share on other sites More sharing options...
Scarlett Posted January 30, 2005 Share Posted January 30, 2005 That'll happen if you run the trap_G2API_InitGhoul2Model func with an invalid model path name, or if there's just something wrong with the model for some reason. In JA's codebase, the ghoul2 instance is still valid even if that happens for some dumbass reason.. it wasn't like that in JKII's. So it may be getting by some failsafe checks in your code. To keep that from happening, make sure to use the trap_G2_HaveWeGhoul2Models func in your checks - it'll return 'false' if the specified instance doesn't have any models (just incase the name doesn't make that apparent enough already ). Link to comment Share on other sites More sharing options...
razorace Posted January 30, 2005 Author Share Posted January 30, 2005 Thanks for the info Scarlet. I was already able to figure out the error but your comments are correct. It looks like some of the vehicle code doesn't have the failsafe checking that it should have. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.