Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TFC] Stock map bugs + Entity Crash + FoxBot hates TFC beta #1105

Closed
APGRoboCop opened this issue May 11, 2013 · 5 comments
Closed

[TFC] Stock map bugs + Entity Crash + FoxBot hates TFC beta #1105

APGRoboCop opened this issue May 11, 2013 · 5 comments

Comments

@APGRoboCop
Copy link

Hello I've started testing TFC on SteamPipe on my Linux server with AdminMod and Metamod-P36 + AMXX. I noticed my FoxBot v0.77 makes the server crash for some reason and i cannot get the dump files as it wasn't produced during the crash.

Also is it possible to fix the stock maps for TFC like rock2, warpath, and flagrun. The problem is something to do with the cap not being 100% reliable - which occurs when nerve gas in rock2 doesn't automatically give the key capper glowing gas suit. If I remembered clearly I think avanti fails to work when the gates tends to jam if the attacking team caps quickly under 5 minutes.

Also I think it maybe better if TFC added some more stock maps like shutdown2, openfire_l, monkey_l and palermo please? Because they are good maps but are large that some players need to wait approximately 25 minutes without redirect to get the large maps > 1MB.

And it appears TFC beta crashes with a crash written this on my logs:

"L 05/11/2013 - 23:45:27: FATAL ERROR (shutting down): NUM_FOR_EDICT: bad pointer
FATAL ERROR (shutting down): NUM_FOR_EDICT: bad pointer"

@alfred-valve
Copy link
Contributor

Can you provide more details on how to reproduce the crash please (download links to the plugins, command lines to run).

@ghost ghost assigned alfred-valve May 12, 2013
@APGRoboCop
Copy link
Author

This is what I got when I ran my TFC Beta SteamPipe on my Linux Ubuntu x84_64 server and the plugins and addons used:

Admin-Mod v2.50.60
LogD v1.0.0.6
Metamod-P36
AMX Mod X v1.8.2
FoxBot v0.77

"CRASH: Mon May 13 15:43:23 BST 2013
Start Line: ./hlds_linux -game tfc -autoupdate -retry -debug +sys_ticrate 1000 +maxplayers 17 +port 27006 +exec server.cfg -tickrate 100 -pingboost 3 +map 2fort -zone 8192 -heapsize 250000 -pidfile hlds.13851.pid
[New LWP 14315]
[New LWP 14335]
[New LWP 14333]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./hlds_linux -game tfc -autoupdate -retry -debug +sys_ticrate 1000 +maxplayers'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
#0 0x00000000 in ?? ()
#1 0xecf8d035 in CBaseEntity::operator new(unsigned int, entvars_s ) () from tfc/dlls/tfc_i386.so
#2 0xed0405cb in CBasePlayer * GetClassPtr(CBasePlayer *) () at include/typeinfo:22
#3 0xecfe2cea in player () from tfc/dlls/tfc_i386.so
#4 0xed0a8a04 in player(entvars_s
) () from /home/desktop/steamcmd/hlds/tfc/addons/foxbot/foxbot_MM_i386.so
#5 0xed0b2048 in BotCreate(edict_s_, char const_, char const_, char const_, char const_) () from /home/desktop/steamcmd/hlds/tfc/addons/foxbot/foxbot_MM_i386.so
#6 0xed0d55ee in StartFrame() () from /home/desktop/steamcmd/hlds/tfc/addons/foxbot/foxbot_MM_i386.so
#7 0xedf162c5 in api_caller_void_args_void(void const_, void const_) () from ./tfc/addons/metamod/metamod.so
#8 0xedf1575c in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const_) () from ./tfc/addons/metamod/metamod.so
#9 0xedf18dee in mm_StartFrame() () from ./tfc/addons/metamod/metamod.so
#10 0xf6fbed78 in SV_Physics () at ../engine/sv_phys.c:1987
#11 0xf6fb6dce in SV_Frame () at ../engine/sv_main.c:9188
#12 0xf6f7f282 in Host_Frame (time=0.00115059002) at ../engine/host.c:1397
#13 0xf6f7f642 in Host_Frame (time=0.00115059002, iState=1, stateInfo=0xff816bbc) at ../engine/host.c:1515
#14 0xf6fa3bac in CEngine::Frame (this=0xf7036c60) at ../engine/sys_engine.cpp:245
#15 0xf6fa0f03 in RunFrame (this=) at ../engine/sys_dll2.cpp:1234
#16 CDedicatedServerAPI::RunFrame (this=0xf70322c0) at ../engine/sys_dll2.cpp:1225
#17 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:770
#18 0x08049472 in main (argc=26, argv=0xff816df4) at ../dedicated/sys_ded.cpp:1150
No symbol table info available.
From To Syms Read Shared Object Library
0xf76e8914 0xf772ec78 Yes ./libstdc++.so.6
0xf7682a60 0xf7683a08 Yes (
) /lib/i386-linux-gnu/libdl.so.2
0xf766a650 0xf7676a78 Yes () /lib/i386-linux-gnu/libpthread.so.0
0xf74d3f10 0xf760866c Yes (
) /lib/i386-linux-gnu/libc.so.6
0xf7495430 0xf74afaf8 Yes () /lib/i386-linux-gnu/libm.so.6
0xf7778820 0xf7790baf Yes (
) /lib/ld-linux.so.2
0xf747de04 0xf748d490 Yes ./libgcc_s.so.1
0xf6f65ad0 0xf6fe719c Yes /home/desktop/steamcmd/hlds/engine_i486.so
0xf76915c0 0xf769bd74 Yes () ./libsteam_api.so
0xf6efa8d0 0xf6efe618 Yes (
) /lib/i386-linux-gnu/librt.so.1
0xf6ee1a00 0xf6eee068 Yes /home/desktop/steamcmd/hlds/filesystem_stdio.so
0xf6094900 0xf6aef82c Yes () /root/.steam/sdk32/steamclient.so
0xedf45a10 0xedf4cb18 Yes (
) /lib/i386-linux-gnu/libnss_files.so.2
0xedf14b60 0xedf2a918 Yes ./tfc/addons/metamod/metamod.so
0xedd77920 0xede4274c Yes /home/desktop/steamcmd/hlds/tfc/dlls/tfc.so
0xedc7b970 0xedcad8eb Yes /home/desktop/steamcmd/hlds/tfc/addons/adminmod/dlls/admin_MM_i386.so
0xedc34770 0xedc39898 Yes () /lib/i386-linux-gnu/libcrypt.so.1
0xf6f0d2d0 0xf6f18720 Yes /home/desktop/steamcmd/hlds/tfc/addons/adminmod/dlls/amx_admin.so
0xedf57a50 0xedf60ec7 Yes (
) /home/desktop/steamcmd/hlds/tfc/addons/adminmod/logd_mm_i386.so
0xedba1a00 0xedc01768 Yes () /home/desktop/steamcmd/hlds/tfc/addons/amxmodx/dlls/amxmodx_mm_i386.so
0xed0a7de0 0xed0fcac4 Yes /home/desktop/steamcmd/hlds/tfc/addons/foxbot/foxbot_MM_i386.so
0xecf849c0 0xed052b01 Yes tfc/dlls/tfc_i386.so
0xecdb80d0 0xecdbd408 Yes (
) tfc/addons/amxmodx/modules/geoip_amxx_i386.so
0xf6f03c10 0xf6f06c98 Yes () tfc/addons/amxmodx/modules/fun_amxx_i386.so
0xecc15660 0xecc1d118 Yes (
) tfc/addons/amxmodx/modules/tfcx_amxx_i386.so
0xecc020d0 0xecc0d478 Yes () tfc/addons/amxmodx/modules/engine_amxx_i386.so
0xeb824900 0xec27f82c Yes (
) ./steamclient.so
0xeb55d670 0xeb5d3020 Yes () ./crashhandler.so
0xeb0b9470 0xeb33ee08 Yes (
) /home/desktop/steamcmd/hlds/libsteam.so
(_): Shared library is missing debugging information.
Stack level 0, frame at 0xff812684:
eip = 0x0; saved eip 0xecf8d035
called by frame at 0xff8126b4
Arglist at 0xff81267c, args:
Locals at 0xff81267c, Previous frame's sp is 0xff812684
Saved registers:
eip at 0xff812680
End of crash report"

Also I also made some LogD plugins like UT announcements but more compatible for TFC like wrench and medkit kills as LogD site doesn't have it, but I doubt that will signifianctly affect the crash. It appears to be a problem with Foxbots but the crew from Omni-bot that make Foxbot are on long term hiatus and the latest FoxBot works well on older Linux servers but not on Win32 servers.

If you need any more help since I'm currently SteamPipe beta testing most of the HL1 mods on my server, I'll be happy to help.

@Mecha-Weasel
Copy link

APGRoboCop -

Did you make any progress on this? I am running FoxBot too, on my pre-SteamPipe TFC server. I am hesitant to upgrade it if I can't get FoxBot to work. If you remove FoxBot from the picture, but leave AMX-Mod-X - does everything work fine?

  • Weasel

PS: Not affiliated with Valve, just another server operator.

@APGRoboCop
Copy link
Author

Well also I believe Admin-Mod or any other Metamod addons fail when I say "timeleft" or that. I just had to wait for MetaMod 1.21 series to be released but I was expecting more bugs resolved sooner.

The bugs mainly involve the NUM_FOR_EDICTS crashes.

Most of the MM addons appear to be incompatible with TFC. I hadn't removed the i386 suffix name on the legacy .so addon engines or that.

Also does Valve need more beta testers for the SteamPipe HLDS servers on beta status? Cos I like to help clear this problem for my people.

@alfred-valve
Copy link
Contributor

The problem here is that the MM/FoxBot code is loading tfc_i386.so, it needs to load tfc.so now. It may also need other updates to catch up with the API changes we have made for the port. So this is a bug in the 3rd party tool and there is not much we can do right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants