Raised This Month: $32 Target: $400
 8% 

Basic Admin Tool


Post New Thread Reply   
 
Thread Tools Display Modes
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-14-2009 , 11:17   Re: Basic Admin Tool
Reply With Quote #1561

Thank you for the report ( I got one report via email saying almost the same), but thx for the info that it would work on its own with only metamod.

Does your server create the debug.log? that it talks about in the msg? Can you please send it to me
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
d_a_parker
Junior Member
Join Date: Aug 2009
Location: Utica, NY (USA)
Old 08-14-2009 , 11:24   Re: Basic Admin Tool
Reply With Quote #1562

All I get in the debug log is:

Code:
----------------------------------------------
CRASH: Fri Aug 14 10:33:01 EDT 2009
Start Line: ./srcds_i486 -game tf +ip 72.237.4.30 -port 27015 +maxplayers 24 +map pl_badwater +sv_lan 0 +mp_respawnwavetime 5 +fps_max 600 -nogamestats -tickrate 66 -autoupdate -debug
#0  0xf1722ac0 in ?? ()
No symbol table info available.
End of Source crash report
----------------------------------------------
d_a_parker is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-14-2009 , 11:45   Re: Basic Admin Tool
Reply With Quote #1563

Update:

Bad News:
My windows is horrible broken, and does not have working VS that can compile sourcemm plugins ( I ordered a SSD and it should have been delivered, and was planning on reinstalling then ). So if this requires a BAT patch it will take a while

Good news:
From the information provided via email and in the forum it seems srcds is crashing when BAT is executing commands to load config files. Im currently seeing if i can find out if this is the case.

IF anyone wanna test ( As i will be testing on windows, this MIGHT be a linux spesfic thing).
Comands being executed:
exec mapconfig/%s.cfg <- %S with current map ( This will effect be:
<mymod>/cfg/mapconfig/<Currentmap>.cfg

exec YourBatConfigFile.cfg (Normaly BATConfig.cfg)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
d_a_parker
Junior Member
Join Date: Aug 2009
Location: Utica, NY (USA)
Old 08-14-2009 , 12:51   Re: Basic Admin Tool
Reply With Quote #1564

Hi EKS,

I'd be happy to test out anything you need. I'm running TF2 on a Linux box (Debian Lenny 64-bit).

Quote:
Comands being executed:
exec mapconfig/%s.cfg <- %S with current map ( This will effect be:
<mymod>/cfg/mapconfig/<Currentmap>.cfg

exec YourBatConfigFile.cfg (Normaly BATConfig.cfg)
I didn't quite understand what I'm supposed to be executing here. If you can provide the exact sequence of commands I should use, I'll be happy to try them.

Thanks.
d_a_parker is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-14-2009 , 13:17   Re: Basic Admin Tool
Reply With Quote #1565

http://www.thexsoft.com/DownloadFolder/bat_mm_i486.zip

Try that version, see if it manages not to crash.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
d_a_parker
Junior Member
Join Date: Aug 2009
Location: Utica, NY (USA)
Old 08-14-2009 , 13:40   Re: Basic Admin Tool
Reply With Quote #1566

Nope, it still crashes:

Code:
Adding master server 69.28.140.247:27011
Adding master server 68.142.72.250:27011
Connection to Steam servers successful.
   VAC secure mode is activated.
meta list
No plugins loaded.
meta load addons/bat/bin/bat_mm
L 08/14/2009 - 13:37:42: [BAT] All hooks started!
./srcds_run: line 352: 31585 Segmentation fault      (core dumped) $HL_CMD
Cannot access memory at address 0xf7f04658
Cannot access memory at address 0xffa035cc
/usr/local/srcds_1/orangebox/debug.cmds:3: Error in sourced command file:
Cannot access memory at address 0xf7f04658
email debug.log to [email protected]
Fri Aug 14 13:37:42 EDT 2009: Server restart in 10 seconds
If I uncomment the line for BAT in metaplugins.ini, the server crashes on startup and keeps restarting every 10 seconds, just like before. Sorry.
d_a_parker is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-14-2009 , 17:57   Re: Basic Admin Tool
Reply With Quote #1567

Then it needs to be debuged:

http://wiki.amxmodx.org/Debugging_Me...ource_on_Linux

Download this version:
http://www.thexsoft.com/DownloadFolder/bat_mm_debug.zip
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
d_a_parker
Junior Member
Join Date: Aug 2009
Location: Utica, NY (USA)
Old 08-14-2009 , 21:55   Re: Basic Admin Tool
Reply With Quote #1568

I used the BAT debug binary and ran srcds_i486 under gdb per the documentation. Here's what happened:

Code:
$ export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
$ gdb ./srcds_i486
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run -game tf +ip 72.237.4.30 -port 27015 +maxplayers 24 +map pl_badwater +sv_lan 0 +mp_respawnwavetime 5 +fps_max 600 -nogamestats -tickrate 66 -autoupdate -debug
Starting program: /usr/local/srcds_1/orangebox/srcds_i486 -game tf +ip 72.237.4.30 -port 27015 +maxplayers 24 +map pl_badwater +sv_lan 0 +mp_respawnwavetime 5 +fps_max 600 -nogamestats -tickrate 66 -autoupdate -debug
[Thread debugging using libthread_db enabled]
[New Thread 0xf7d746b0 (LWP 32176)]

Console initialized.
Game.dll loaded for "Team Fortress"
[New Thread 0xf1d96b90 (LWP 32179)]
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
Unknown command "r_decal_cullsize"
maxplayers set to 24
Unknown command "startupmenu"
Network: IP 72.237.4.30, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
[New Thread 0xeeb78b90 (LWP 32180)]
Server logging enabled.
Server logging data to file logs/L0814012.log
L 08/14/2009 - 21:46:39: Log file started (file "logs/L0814012.log") (game "/usr/local/srcds_1/orangebox/tf") (version "3933")
L 08/14/2009 - 21:46:39: server_cvar: "sv_contact" "[email protected]"
--------------------------------------------------------
sv_pure set to 1.
Note: Changes to sv_pure take effect when the next map is loaded.
--------------------------------------------------------
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.
exec: couldn't exec pl_badwater.cfg
Adding master server 68.142.72.250:27011
Adding master server 69.28.140.246:27011
Connection to Steam servers successful.
   VAC secure mode is activated.
meta list
No plugins loaded.
meta load addons/bat/bin/bat_mm
L 08/14/2009 - 21:46:50: [BAT] All hooks started!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7d746b0 (LWP 32176)]
0xf7de94f5 in strcmp () from /lib32/libc.so.6
(gdb) bt
#0  0xf7de94f5 in strcmp () from /lib32/libc.so.6
#1  0xee673b44 in Utils::UTIL_FindSendProp (this=0x82be018, pTable=0xf5de81c8, name=0xee6bd260 "m_iHealth") at Utils.cpp:259
#2  0xee67390a in Utils::UTIL_FindOffset (this=0x82be018, ClassName=0xee6bd26a "CBasePlayer", Property=0xee6bd260 "m_iHealth") at Utils.cpp:198
#3  0xee67339a in Utils::UTIL_PrecacheOffsets (this=0x82be018) at Utils.cpp:56
#4  0xee64ea28 in BATCore::OneTimeInitBAT (this=0xee7c4400) at BATCore.cpp:1053
#5  0xee64f753 in BATCore::LoadBATSettings (this=0xee7c4400, LateLoad=true) at BATCore.cpp:1175
#6  0xee64de4e in BATCore::Load (this=0xee7c4400, id=1, ismm=0xf1991e2c, error=0xffd2a351 "", maxlen=255, late=true) at BATCore.cpp:808
#7  0xf196295b in CPluginManager::_Load () from /usr/local/srcds_1/orangebox/tf/../tf/addons/metamod/bin/server_i486.so
#8  0xf1962c5d in CPluginManager::Load () from /usr/local/srcds_1/orangebox/tf/../tf/addons/metamod/bin/server_i486.so
#9  0xf19602cc in Command_Meta () from /usr/local/srcds_1/orangebox/tf/../tf/addons/metamod/bin/server_i486.so
#10 0xf1974fff in LocalCommand_Meta () from /usr/local/srcds_1/orangebox/tf/../tf/addons/metamod/bin/server_i486.so
#11 0xf75d34a7 in Cmd_Dispatch () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#12 0xf75d77d1 in Cmd_ExecuteCommand () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#13 0xf75d7bd8 in Cbuf_Execute () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#14 0xf765cd21 in _Host_RunFrame () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#15 0xf765d308 in Host_RunFrame () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#16 0xf7669290 in CHostState::State_Run () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#17 0xf7669b1a in CHostState::FrameUpdate () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#18 0xf7669bf5 in HostState_Frame () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#19 0xf76ef1db in CEngine::Frame () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#20 0xf76eb6d6 in CDedicatedServerAPI::RunFrame () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#21 0xf786c2ee in RunServer () from bin/dedicated_i486.so
#22 0xf786c024 in CDedicatedExports::RunServer () from bin/dedicated_i486.so
#23 0xf76ebf40 in CModAppSystemGroup::Main () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#24 0xf7753275 in CAppSystemGroup::Run () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#25 0xf76ec0df in CDedicatedServerAPI::ModInit () from /usr/local/srcds_1/orangebox/bin/engine_i486.so
#26 0xf786c68a in CDedicatedAppSystemGroup::Main () from bin/dedicated_i486.so
#27 0xf78cc115 in CAppSystemGroup::Run () from bin/dedicated_i486.so
#28 0xf78c664b in CSteamApplication::Main () from bin/dedicated_i486.so
#29 0xf78cc115 in CAppSystemGroup::Run () from bin/dedicated_i486.so
#30 0xf786cc0b in main () from bin/dedicated_i486.so
#31 0xf7865003 in DedicatedMain () from bin/dedicated_i486.so
#32 0x0804949d in main ()
(gdb)
Please let me know if there is anything else you would like me to do.

Thanks.
d_a_parker is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-15-2009 , 09:12   Re: Basic Admin Tool
Reply With Quote #1569

http://www.thexsoft.com/DownloadFold...m_debug_v2.zip

Try this version.
Known issue is that slap will not lower a players hp
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
d_a_parker
Junior Member
Join Date: Aug 2009
Location: Utica, NY (USA)
Old 08-15-2009 , 16:03   Re: Basic Admin Tool
Reply With Quote #1570

This one works! Thanks EKS!

Code:
meta list
No plugins loaded.
meta load addons/bat/bin/bat_mm
L 08/15/2009 - 16:01:31: [BAT] All hooks started!
08/15/2009 - 16:01:31 - ERROR: Did not find the offset needed to change the players health, you should update BAT
08/15/2009 - 16:01:31 - Loaded a total of 9 admin accounts
08/15/2009 - 16:01:31 - Loaded a total of 22 maps from mapcycle
08/15/2009 - 16:01:31 - Warning: The plugin may have been Late loaded, if it was loaded by meta load command please change map now. If not ignore this
Plugin "Basic Admin Tool" loaded with id 1.
[BAT] Loading Basic Admin tool Config file
L 08/15/2009 - 16:01:31: server_cvar: "bat_reservedslots" "0"
[BAT] Reloaded BAT settings and config files
08/15/2009 - 16:01:31 - Loaded a total of 9 admin accounts
08/15/2009 - 16:01:31 - Loaded a total of 22 maps from mapcycle
08/15/2009 - 16:01:31 - Utica College Team Fortress 2 Server<Localhost> made the server reload settings and config files
meta list
Listing 1 plugin:
  [01] Basic Admin Tool (1.6.4) by EKS
d_a_parker is offline
Reply


Thread Tools
Display Modes

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 03:33.


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