Raised This Month: $51 Target: $400
 12% 

Solved Need help fixing plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
goodBEan
Senior Member
Join Date: Jul 2010
Location: St. Louis Mo USA
Old 12-14-2018 , 20:15   Need help fixing plugin
Reply With Quote #1

No idea why/how, but a plugin I need and use will not work on the lastest dev versions of sm/mm (so it will work with csgo). All the plugin does is just run a few commands and outputs to the console on boot so that another system can read it and see if everything is good. Think of it like a pre-flight checklist.

Here is how its suppost to look like. This log is dated.
Quote:
»» ============================================= ==================
»» ======================BEGIN SERVER STATUS======================
»» ============================================= ==================
»» HOSTNAME: Laclede's LAN CS:S
»» SERVER DATE: 11/04/2018
»» SERVER UPTIME: 0 days, 0 hours, 0 mins, 1 secs
»» IP ADDRESS: 172.17.0.2:27015
»» ---------------------------------------------------------------
»» [SM/MM Information]
»» ---------------------------------------------------------------
»» SourceMod Version Information:
»» SourceMod Version: 1.9.0.6226
»» SourcePawn Engine: 1.9.0.6226, jit-x86 (build 1.9.0.6226)
»» SourcePawn API: v1 = 4, v2 = 12
»» Compiled on: Feb 15 2018 1482
»» Built from: https://github.com/alliedmodders/sou...commit/2098a36
»» Build ID: 6226:2098a36
»» http://www.sourcemod.net/
»» Metamod:Source Version Information
»» Metamod:Source version 1.11.0-dev+1103
»» Plugin interface version: 16:14
»» SourceHook version: 5:5
»» Loaded As: Valve Server Plugin
»» Compiled on: Dec 19 2017 23:53:13
»» Built from: https://github.com/alliedmodders/met...commit/30c6e91
»» Build ID: 11030c6e91
»» http://www.metamodsource.net/
»» [SM] Listing 17 plugins:
»» 01 "Admin Help" (1.9.0.6226) by AlliedModders LLC
»» 02 "Basic Info Triggers" (1.9.0.6226) by AlliedModders LLC
»» 03 "Reserved Slots" (1.9.0.6226) by AlliedModders LLC
»» 04 "Basic Votes" (1.9.0.6206) by AlliedModders LLC
»» 05 "Sound Commands" (1.9.0.6226) by AlliedModders LLC
»» 06 "Basic Chat" (1.9.0.6226) by AlliedModders LLC
»» 07 "Admin File Reader" (1.9.0.6226) by AlliedModders LLC
»» 08 "Anti-Flood" (1.9.0.6226) by AlliedModders LLC
»» 09 "Basic Comm Control" (1.9.0.6226) by AlliedModders LLC
»» 10 "Admin Menu" (1.9.0.6226) by AlliedModders LLC
»» 11 "Client Preferences" (1.9.0.6226) by AlliedModders LLC
»» 12 "Basic Commands" (1.9.0.6226) by AlliedModders LLC
»» 13 "Player Commands" (1.9.0.6226) by AlliedModders LLC
»» 14 "Basic Ban Commands" (1.9.0.6226) by AlliedModders LLC
»» 15 "Extended Advertisements" (1.2.9) by Mini
»» 16 "Log Connections - LL Mod" (1.11) by Xander Player_1, goodBEan
»» 17 "Server Status-LL MOD" (1.1.1) by Maxximou5,goodBEan
»» ============================================= ==================
»» =======================END SERVER STATUS=======================
»» ============================================= ==================
Right now its not working at boot but does show its loaded in sourcemod.


Soucecode is hosted at (note v2 was never used) https://github.com/LacledesLAN/sourc...erver%20status



Versions of sm and mm tested on is sourcemod-1.10.0-git6363 and mmsource-1.11.0-git1116
Attached Files
File Type: sp Get Plugin or Get Source (serverstatus-ll.sp - 347 views - 3.2 KB)
File Type: smx serverstatus-ll.smx (5.1 KB, 117 views)

Last edited by goodBEan; 12-15-2018 at 09:40. Reason: Marked solved
goodBEan is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-14-2018 , 20:36   Re: Need help fixing plugin
Reply With Quote #2

It's most likely due to the fact that someone added their name as author when they didn't change anything.

No, but in all seriousness, it loaded just fine for me.
If you're having issues, it might be because of sv_hibernate_when_empty or that you haven't compiled the plugin recently using SM 1.10.
Spoiler
Maxximou5 is offline
goodBEan
Senior Member
Join Date: Jul 2010
Location: St. Louis Mo USA
Old 12-14-2018 , 21:41   Re: Need help fixing plugin
Reply With Quote #3

First off, I admit the changes I made where minor, didn't add anything major, but there were requested for the LL systems. I thin it was just the "»» [SM/MM Information]" line and few small things like. I just didn't want to accidently mix versions or get stuff confused. I am not a progammer

second it was sv_hibernate_when_empty, I thought it was set to 0 but that config file got lost. That did it



Thanks

Last edited by goodBEan; 12-14-2018 at 21:48.
goodBEan is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-15-2018 , 00:15   Re: Need help fixing plugin
Reply With Quote #4

No problem, and that's fine, just poking fun at it. Glad it was that easy.
Maxximou5 is offline
goodBEan
Senior Member
Join Date: Jul 2010
Location: St. Louis Mo USA
Old 12-15-2018 , 10:10   Re: Need help fixing plugin
Reply With Quote #5

Figured you might find this interesting, the script we use for testing. Its the other big chunk of our system.
https://github.com/LacledesLAN/games...sgo-tourney.sh
goodBEan is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-15-2018 , 11:16   Re: Need help fixing plugin
Reply With Quote #6

Oh it's a docker system too.

That's really cool, thank you for sharing!
Maxximou5 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode