Raised This Month: $ Target: $400
 0% 

Basic Admin Tool


Post New Thread Reply   
 
Thread Tools Display Modes
kitch907
Junior Member
Join Date: Oct 2007
Old 10-29-2007 , 05:28   Re: Basic Admin Plugin
Reply With Quote #1311

I tried installing the latest beta BAT into my TF2 server (1.6.0 b5) and it had totally crashed my server. Is this build only for windows servers or is it Linux compatible as well? The guys at gameservers.com had recovered my server and told me this:

Is there any way you can un-do the changes you've made to the bat mod? I disabled BAT in your metaplugins.ini file and your server fired right up. The server was crashing with this error message:

[BAT] Loading Basic Admin tool Config file
BAT supports the following languages : e,de,nl,it,hu,pt,fr
./srcds_run: line 346: 2038 Segmentation fault $HL_CMD

I followed the instructions carefully, put the BAT folder into the /addons and change the metaplugins.ini to read the bat_mm.

I'm afraid to try it again because of it totally disabling my server.
kitch907 is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 10-30-2007 , 07:13   Re: Basic Admin Plugin
Reply With Quote #1312

Guessing from that message im it seems to be related to printing out the languages BAT support. Il check that later tonight, see if there is a problem there with linux.

@Freak-Sniper
@Novacane
Im going to update BAT and add a kick delay i think ( IE only kick 1 person pr second ).
Other then that another way the bug could posibly happen is if someone switches between resevedslots mode while the server is running. Also would you be willing to run a version that does extra logging, to make track down where the fault is.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Dual
Member
Join Date: Oct 2005
Old 10-30-2007 , 11:42   Re: Basic Admin Plugin
Reply With Quote #1313

same problem here with last beta in tf2 linux server. Is down when u try to load bat
Dual is offline
bombom
New Member
Join Date: Oct 2007
Location: UK, Cornwall
Old 10-30-2007 , 23:55   Re: Basic Admin Plugin
Reply With Quote #1314

Hey,

I have sourcebans and sourcemod setup on one of my gmod servers and its working but for some reason i just cant get bat working with it :/
not sure why :O

i keep getting this in the console when i start my server!

Code:
[BAT] Loading Basic Admin tool Config file
[BAT] Reloaded BAT settings and config files
10/31/2007 - 03:50:29 - ERROR: A critical error has happend, the cvar:'ip' returns localhost, BAT will now disable SQL support
10/31/2007 - 03:50:29 - ERROR: BAT has disabled SQL, and is reverting to users.ini for admin access
10/31/2007 - 03:50:29 - SQL Thread gracefully quit
10/31/2007 - 03:50:29 - Loaded a total of 3 admin accounts
10/31/2007 - 03:50:29 - Loaded a total of 1 maps from mapcycle
10/31/2007 - 03:50:29 - [JokerIce.Co.Uk] Test Server<Localhost> made the server reload settings and config files
[SM] Plugin Basic Ban Commands unloaded successfully.
and this is weird cause in the bat config file i have this

Code:
// MySQL System
bat_mysql "3"             // 1 will enable mysql system , 2 = Will use Amxbans system  , 3 = Will use sourcebans
bat_sqlusername "#####"        // The username to access the MySQL server
bat_sqlpassword "#####"    // The passord to to access the MySQL server
bat_sqldatabase "sourcebans"        // The Database that the admin/log table for BAT is located in
bat_sqlserverip "81.19.219.70"    // The IP address to the server
bat_sqladmintable "sb_admins"    // Change if you want BAT to check another table for the admin info
bat_sqllogtable "sb_log"        // Change if you want BAT to check another table for the log info
anyways i have checked the password and user over loads of times and everything seems correct and for sourcemod i have this in the databases section!

Code:
"Databases"
{
    "driver_default"        "mysql"
    
    "default"
    {
        "driver"            "default"
        "host"                "81.19.219.70"
        "database"            "sourcemod"
        "user"                "#####"
        "pass"                "#####"
        //"timeout"            "0"
        "port"            "3306"
    }
    
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }

    "sourcebans"
    {
        "driver"            "default"
        "host"                "81.19.219.70"
        "database"            "sourcebans"
        "user"                "#####"
        "pass"                "#####"
        //"timeout"            "0"
        "port"            "3306"
        }
}
i have no idea to why this dont work!
bombom is offline
Send a message via MSN to bombom
nutsie
New Member
Join Date: Oct 2007
Old 10-31-2007 , 02:52   Re: Basic Admin Plugin
Reply With Quote #1315

Hi all I try to install and configure bat on my linux server but it doesnt work
i have used metamod : metamod-orangebox-1.6.0-r533.gz
and bat : bat_mm_1.6.0_b5.zip

summary of server log:
L 10/31/2007 - 07:46:05: server cvars end
L 10/31/2007 - 07:46:05: Started map "ctf_2fort" (CRC "1343983946")
ConVarRef room_type doesn't point to an existing ConVar
exec: couldn't exec skill1.cfg
Executing dedicated server config file
10/31/2007 - 075:19 - ERROR: dlsym() failed for function "CommitSuicide" with error: "/home/hlds/orangebox/tf/bin/server_i486.so: undefined symbol: _ZN11CBasePlayer13CommitSuicideEv", plugin will not function properly.
10/31/2007 - 075:19 - Loaded a total of 1 admin accounts
10/31/2007 - 075:19 - Loaded a total of 6 maps from mapcycle
net.cpp (960) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cSendBufSize <= iVal
net.cpp (96 : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cRecvBufSize <= iVal



meta list shows :

meta list
Listing 1 plugin:
[01] Basic Admin Tool (1.6.0 B5) by EKS

But if you try a command server crashes :
admin
Segmentation fault (core dumped)
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Oct 31 07:45:54 CET 2007: Server restart in 10 seconds

any ideas ?

grtz Nutsie
nutsie is offline
Novacane
New Member
Join Date: Oct 2007
Old 10-31-2007 , 03:50   Re: Basic Admin Plugin
Reply With Quote #1316

Two more things, b5 crashes linux servers (as you can probably tell from above) and reservedslots 3 doesn't seem to be working correctly.

From what i understand, if an admin joins and the server then becomes max/max BAT is supposed to kick someone to make it max-1/max but, only show max-1/max-1, correct?
Well today, I watched my server stay at 24/23 (one max hidden by BAT) in HLSW while one admin was in it. It also wouldn't let admin join and would give them a server is full connection error.


And to answer your question above: sure I'll try a debug version for the sake of development.
Novacane is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 10-31-2007 , 20:27   Re: Basic Admin Plugin
Reply With Quote #1317

Quote:
Originally Posted by bombom View Post
Hey,

I have sourcebans and sourcemod setup on one of my gmod servers and its working but for some reason i just cant get bat working with it :/
not sure why :O

i keep getting this in the console when i start my server!

Code:
[BAT] Loading Basic Admin tool Config file
[BAT] Reloaded BAT settings and config files
10/31/2007 - 03:50:29 - ERROR: A critical error has happend, the cvar:'ip' returns localhost, BAT will now disable SQL support
10/31/2007 - 03:50:29 - ERROR: BAT has disabled SQL, and is reverting to users.ini for admin access
10/31/2007 - 03:50:29 - SQL Thread gracefully quit
10/31/2007 - 03:50:29 - Loaded a total of 3 admin accounts
10/31/2007 - 03:50:29 - Loaded a total of 1 maps from mapcycle
10/31/2007 - 03:50:29 - [JokerIce.Co.Uk] Test Server<Localhost> made the server reload settings and config files
[SM] Plugin Basic Ban Commands unloaded successfully.
and this is weird cause in the bat config file i have this

Code:
// MySQL System
bat_mysql "3"             // 1 will enable mysql system , 2 = Will use Amxbans system  , 3 = Will use sourcebans
bat_sqlusername "#####"        // The username to access the MySQL server
bat_sqlpassword "#####"    // The passord to to access the MySQL server
bat_sqldatabase "sourcebans"        // The Database that the admin/log table for BAT is located in
bat_sqlserverip "81.19.219.70"    // The IP address to the server
bat_sqladmintable "sb_admins"    // Change if you want BAT to check another table for the admin info
bat_sqllogtable "sb_log"        // Change if you want BAT to check another table for the log info
anyways i have checked the password and user over loads of times and everything seems correct and for sourcemod i have this in the databases section!

Code:
"Databases"
{
    "driver_default"        "mysql"
 
    "default"
    {
        "driver"            "default"
        "host"                "81.19.219.70"
        "database"            "sourcemod"
        "user"                "#####"
        "pass"                "#####"
        //"timeout"            "0"
        "port"            "3306"
    }
 
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }
 
    "sourcebans"
    {
        "driver"            "default"
        "host"                "81.19.219.70"
        "database"            "sourcebans"
        "user"                "#####"
        "pass"                "#####"
        //"timeout"            "0"
        "port"            "3306"
        }
}
i have no idea to why this dont work!
Look at the BAT logs, it clearly says why its not working. I belive critical error would be a clue.

Quote:
Originally Posted by Novacane View Post
Two more things, b5 crashes linux servers (as you can probably tell from above) and reservedslots 3 doesn't seem to be working correctly.

From what i understand, if an admin joins and the server then becomes max/max BAT is supposed to kick someone to make it max-1/max but, only show max-1/max-1, correct?
Well today, I watched my server stay at 24/23 (one max hidden by BAT) in HLSW while one admin was in it. It also wouldn't let admin join and would give them a server is full connection error.


And to answer your question above: sure I'll try a debug version for the sake of development.
if you have a 25 player server, it will show as 24 publicly. When a admin joins untill he has authed its gonna show as 25/24 ( IE until he gets a steamid ).
If you have redirect enabled you can add a 10 second delay extra for the user to get the redirect option.


For those that are willing to help test resevedslots ( and if nobody tests, it ever gets fixed that simple)
http://eks.steamfriends.com/SourceMM/Temp/bat_mm.zip

If the bug happens, contact me in pm or irc. Basicly i need to log file of where it happend and the time ( so i know where to look in the logs).
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
bombom
New Member
Join Date: Oct 2007
Location: UK, Cornwall
Old 11-01-2007 , 02:16   Re: Basic Admin Plugin
Reply With Quote #1318

Oh...
well i set ip to 81.19.219.70 after looking it over lol

but now i get this :/

Code:
[SourceBans] Loading configs/sourcebans.cfg config file
11/01/2007 - 06:12:55 - ERROR: This mod does not support Radio style menus, swit
ching to ESC based menus ( bat_menutype 2)
11/01/2007 - 06:12:55 - Loaded a total of 3 admin accounts
11/01/2007 - 06:12:55 - Loaded a total of 1 maps from mapcycle
[BAT] Loading Basic Admin tool Config file
[BAT] Reloaded BAT settings and config files
11/01/2007 - 06:12:56 - ERROR: The 'Sandbox' is not in the sourcebans list, perh
aps a update of sourcebans is in order
11/01/2007 - 06:12:56 - SQL ERROR: Query failed (MySQL server has gone away)

11/01/2007 - 06:12:56 - Loaded a total of 1 maps from mapcycle
11/01/2007 - 06:12:56 - [JokerIce.Co.Uk] Test Server<Localhost> made the server
reload settings and config files
[SM] Plugin Basic Ban Commands unloaded successfully.
bombom is offline
Send a message via MSN to bombom
nutsie
New Member
Join Date: Oct 2007
Old 11-01-2007 , 04:07   Re: Basic Admin Plugin
Reply With Quote #1319

wel installed complete fresh version of everything just to be sure

evrything seems to load up fine but after you you try a admin command server crashes :

server log with the - debug option:
Code:
ConVarRef room_type doesn't point to an existing ConVar
exec: couldn't exec skill1.cfg
Executing dedicated server config file
11/01/2007 - 09:04:00 - Reserved slots debug: Updated sv_VisibleMaxPlayers settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated sv_VisibleMaxPlayers settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated cvar settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated sv_VisibleMaxPlayers settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated cvar settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated sv_VisibleMaxPlayers settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated cvar settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated sv_VisibleMaxPlayers settings
11/01/2007 - 09:04:00 - Reserved slots debug: Updated cvar settings
11/01/2007 - 09:04:00 - Loaded a total of 1 admin accounts
11/01/2007 - 09:04:00 - Loaded a total of 6 maps from mapcycle
net.cpp (960) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cSendBufSize <= iVal
net.cpp (968) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cRecvBufSize <= iVal
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Server logging enabled.
L 11/01/2007 - 09:04:00: Log file closed
Server logging data to file logs/L1101137.log
L 11/01/2007 - 09:04:00: Log file started (file "logs/L1101137.log") (game "/home/hlds/orangebox/tf") (version "3279")
Unknown command "mp_autoteambalance_delay"
Unknown command "mp_autoteambalance_warning_delay"
[BAT] Loading Basic Admin tool Config file 
BAT supports the following languages : e,de,nl,it,hu,pt,fr 
Adding master server 69.28.151.162:27011
Adding master server 68.142.72.250:27011
Using 'steambeta1:27013' CSER server!
Connection to Steam servers successful.
   VAC secure mode is activated.
admin
Segmentation fault (core dumped)

warning: Can't read pathname for load map: Input/output error.

warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at ffffe0b4
email debug.log to [email protected]
Thu Nov  1 09:03:46 CET 2007: Server restart in 10 seconds
created debug .log
Code:
CRASH: Thu Nov  1 09:03:45 CET 2007
Start Line: ./srcds_i486 -console -game tf +ip 192.168.10.10 +maxplayers 14 +map ctf_2fort +exec server.cfg -debug
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./srcds_i486 -console -game tf +ip 192.168.10.10 +maxplayers 14 +map ctf_2fort'.
Program terminated with signal 11, Segmentation fault.
#0  0xf19a498a in Translation::GetTranslation () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#0  0xf19a498a in Translation::GetTranslation () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#1  0xf199112f in AdminMenu::Display () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#2  0xf1989661 in BATMenuMngr::ShowMenu () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#3  0xf198a490 in AdminCmd::CmdAdminMenu () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#4  0xf19a0274 in AdminCmdManager::CheckCmd () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#5  0xf19a0554 in AdminCmdManager::CheckSrvCmd () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#6  0xf19adc05 in ConCommand::Dispatch () from /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
#7  0xf65fa297 in Cmd_Dispatch () from /home/hlds/orangebox/bin/engine_i486.so
#8  0xf65fae0a in Cmd_ExecuteCommand () from /home/hlds/orangebox/bin/engine_i486.so
#9  0xf65fb2af in Cbuf_Execute () from /home/hlds/orangebox/bin/engine_i486.so
#10 0xf66704cc in _Host_RunFrame () from /home/hlds/orangebox/bin/engine_i486.so
#11 0xf6670c58 in Host_RunFrame () from /home/hlds/orangebox/bin/engine_i486.so
#12 0xf667deac in CHostState::State_Run () from /home/hlds/orangebox/bin/engine_i486.so
#13 0xf667e0d4 in CHostState::FrameUpdate () from /home/hlds/orangebox/bin/engine_i486.so
#14 0xf667e195 in HostState_Frame () from /home/hlds/orangebox/bin/engine_i486.so
#15 0xf66eec9e in CEngine::Frame () from /home/hlds/orangebox/bin/engine_i486.so
#16 0xf66ebe1a in CDedicatedServerAPI::RunFrame () from /home/hlds/orangebox/bin/engine_i486.so
#17 0xf788f920 in RunServer () from bin/dedicated_i486.so
#18 0xf788f864 in CDedicatedExports::RunServer () from bin/dedicated_i486.so
#19 0xf66eb8d0 in CModAppSystemGroup::Main () from /home/hlds/orangebox/bin/engine_i486.so
#20 0xf67363a8 in CAppSystemGroup::Run () from /home/hlds/orangebox/bin/engine_i486.so
#21 0xf66ed1bf in CDedicatedServerAPI::ModInit () from /home/hlds/orangebox/bin/engine_i486.so
#22 0xf788fbf4 in CDedicatedAppSystemGroup::Main () from bin/dedicated_i486.so
#23 0xf78dfdb8 in CAppSystemGroup::Run () from bin/dedicated_i486.so
#24 0xf78deb2b in CSteamApplication::Main () from bin/dedicated_i486.so
#25 0xf78dfdb8 in CAppSystemGroup::Run () from bin/dedicated_i486.so
#26 0xf789015e in main () from bin/dedicated_i486.so
#27 0xf7888523 in DedicatedMain () from bin/dedicated_i486.so
#28 0x0804911d in main ()
No symbol table info available.
From        To          Syms Read   Shared Object Library
0xf7ee1460  0xf7efb894  Yes         /lib32/libm.so.6
0xf7ed9a70  0xf7edaaa4  Yes         /lib32/libdl.so.2
0xf7ec5250  0xf7ed0774  Yes         /lib32/libpthread.so.0
0xf7d8ce30  0xf7e8c084  Yes         /lib32/libc.so.6
0xf7f177f0  0xf7f2eaaf  Yes         /lib/ld-linux.so.2
0xf7d49450  0xf7d67b60  Yes         bin/tier0_i486.so
0xf7d1ebe0  0xf7d34600  Yes         bin/vstdlib_i486.so
0xf7887ba0  0xf78ee2e0  Yes         bin/dedicated_i486.so
0xf782c280  0xf78502d0  Yes         /home/hlds/orangebox/bin/soundemittersystem_i486.so
0xf76daba0  0xf77ce430  Yes         /home/hlds/orangebox/bin/materialsystem_i486.so
0xf6de4090  0xf6e8c090  Yes         /home/hlds/orangebox/bin/studiorender_i486.so
0xf69ca580  0xf6b5b5e0  Yes         /home/hlds/orangebox/bin/vphysics_i486.so
0xf68ce6e0  0xf69212d0  Yes         /home/hlds/orangebox/bin/datacache_i486.so
0xf65514b0  0xf678ab00  Yes         /home/hlds/orangebox/bin/engine_i486.so
0xf6340410  0xf6406040  Yes         bin/libsteamvalidateuseridtickets_i486.so
0xf6289b20  0xf6295500  Yes         bin/steam_api_i486.so
0xf6278280  0xf6280ef0  Yes         /home/hlds/orangebox/bin/shaderapiempty_i486.so
0xf623c940  0xf625ff34  Yes         /home/hlds/orangebox/tf/addons/metamod/bin/server_i486.so
0xf5096af0  0xf57d2bb0  Yes         /home/hlds/orangebox/tf/bin/server_i486.so
0xf4d17140  0xf4d24b80  Yes         /home/hlds/orangebox/bin/scenefilecache_i486.so
0xf197ea10  0xf19e9160  Yes         /home/hlds/orangebox/tf/addons/bat/bin/bat_mm_i486.so
0xec32bfd0  0xec63db80  Yes         bin/steamclient_i486.so
0xf1575da0  0xf1590ac0  Yes         bin/tier0_s_i486.so
0xf1087860  0xf10b9bc0  Yes         bin/vstdlib_s_i486.so
0xf7f09920  0xf7f10364  Yes         /lib32/libnss_files.so.2
0xf1344b90  0xf1347714  Yes         /lib32/libnss_dns.so.2
0xf1333110  0xf133e9b4  Yes         /lib32/libresolv.so.2
Stack level 0, frame at 0xffcae940:
 eip = 0xf19a498a in Translation::GetTranslation(char const*); saved eip 0xf199112f
 called by frame at 0xffcae980
 Arglist at 0xffcae938, args: 
 Locals at 0xffcae938, Previous frame's sp is 0xffcae940
 Saved registers:
  ebx at 0xffcae92c, ebp at 0xffcae938, esi at 0xffcae930, edi at 0xffcae934, eip at 0xffcae93c
End of Source crash report
anything i can try to fix it ??

thx Nutsie

Last edited by nutsie; 11-01-2007 at 04:16.
nutsie is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 11-01-2007 , 06:40   Re: Basic Admin Plugin
Reply With Quote #1320

@bombom
It seems BAT and sourcemod is having a competision in showing the most useless error report, and im gonna say BAT is winning Other then that from those errors im gonna say your config files are pointing to the wrong table names or the sql server is not setup right.
Remember BAT connects to sourcebans via a view , that can be found on www.thexsoft.com .

@nutsie
If only every bug report was that informative life would be great. From that im gonna say BAT is not handleing some sort of error correctly regarding translations.
What i would do i this, start the server. Do "bat_language" see what languages it reports, and set it to one of them.
Im gonna look at this when i get back home from work.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS 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 14:35.


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