Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSGM plugin crashes when trying to add a chat command
SSGM plugin crashes when trying to add a chat command [message #449019] Wed, 22 June 2011 14:14 Go to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma:
General (4 Stars)
I'm working on a plugin for which I added a chat command. The chat command merely executes a Console_Input() statement. I copy-pasted the exact stuff from the SSGM Example Plugin Source, I can load up the server fine but as soon as I type something in-game with the first character being '!' the server crashes. I got 5 plugins loaded and this is the fifth one. If I configure it to only load this WIP plugin it'll will crash when the console outputs 'Load 0% Complete'. If I remove the ChatCommand blabla Reg stuff it works fine.

Are there any known issues with adding chat commands via the SSGM Plugin system? Here's the very WIP and messy code I got now:

plugin.cpp:

http://pastebin.com/8PpAS3cB

plugin.h:

http://pastebin.com/iSwn8WVY


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Wed, 22 June 2011 14:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: C&C Renegade Laser Security Model
Next Topic: AI Vehicles and Stealthing
Goto Forum:
  


Current Time: Thu Dec 19 07:57:37 MST 2024

Total time taken to generate the page: 0.00651 seconds