View Single Post
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 11-14-2008 , 21:05   Re: AFK Manager
Reply With Quote #21

Plugin wont load up on SM 1.1.0.2419 windows server.

Error: [SM] Unable to load plugin "afk_manager.smx": Native "VerifyCoreVersion" was not found.

Also have bunch of compile errors.



//// afk_manager.sp
// \addons\sourcemod\scripting\include\sdktools_ stocks.inc(57) : error 001: expected token: ";", but found "for"
// afk_manager.sp(7 : error 017: undefined symbol "MaxClients"
// afk_manager.sp(102) : error 017: undefined symbol "MaxClients"
// afk_manager.sp(317) : error 017: undefined symbol "MaxClients"



ALSO..........I notice you clearly got this idea or copied alot of the code from Liam.... If you notice his directions for the cvars are to go into cfg\sourcemod\afk_manager.cfg. You have the exact same config and cvars used on yours lol... You shouldnt be using the same config file if thats even where the cvars are supposed to go. You should also change the cvars so they are different from his. I suppose in this case it doesnt matter since nobody would be loading 2 afk managers at the same time but....

Furthermore, both of you should have the custom config auto-created with default cvars in the first place, instead of forcing admins to go make the config file and copy/paste the cvars in.

If youre going to do it that way, its a bit nicer for people if you at least list the cvars in the same format as the config files so at least we can just copy/paste them in.

Last edited by retsam; 11-14-2008 at 21:35.
retsam is offline