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

Todo: port chat commands #2

Open
teoman002 opened this issue May 30, 2019 · 0 comments
Open

Todo: port chat commands #2

teoman002 opened this issue May 30, 2019 · 0 comments
Labels
can be ported will be ported from Infclass

Comments

@teoman002
Copy link
Collaborator

teoman002 commented May 30, 2019

High priority commands:
restart set_team inf_set_class info help antiping language cmdlist

Mid priority commands
witch start_fun_round register login logout stats inf_add_sqlserver inf_list_sqlservers

Low priority commands:
set_team_all force_vote setemail top10 challenge rank goal customskin alwaysrandom

@teoman002 teoman002 added the can be ported will be ported from Infclass label May 30, 2019
yavl added a commit that referenced this issue Jun 1, 2019
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000433a62 in CGameWorld::GameServer (this=0x0)
    at src/game/server/gameworld.h:63
63		class CGameContext *GameServer() { return m_pGameServer; }
[Current thread is 1 (Thread 0x7faf9a92f740 (LWP 13657))]
(gdb) backtrace
#0  0x0000000000433a62 in CGameWorld::GameServer (this=0x0)
    at src/game/server/gameworld.h:63
#1  0x0000000000433a88 in CEntity::GameServer (
    this=0x6e0f80 <ms_PoolDataCCharacter+16416>) at src/game/server/entity.h:62
#2  0x000000000044b89f in CroyaPlayer::Tick (this=0x2990e50)
    at src/infcroya/croyaplayer.cpp:113
#3  0x000000000043175d in CGameControllerMOD::Tick (this=0x290cd00)
    at src/game/server/gamemodes/mod.cpp:190
#4  0x0000000000424e11 in CGameContext::OnTick (this=0x2681ee0)
    at src/game/server/gamecontext.cpp:552
#5  0x000000000041e9ac in CServer::Run (this=0x7faf98844010)
    at src/engine/server/server.cpp:1512
#6  0x0000000000420623 in main (argc=1, argv=0x7fff4d4a6348)
    at src/engine/server/server.cpp:1949
yavl added a commit that referenced this issue Jun 2, 2019
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0042fe07 in CGameWorld::FindFirst (this=0x0, Type=5) at src/game/server/gameworld.cpp:41
41              return Type < 0 || Type >= NUM_ENTTYPES ? 0 : m_apFirstEntityTypes[Type];
(gdb) backtrace
#0  0x0042fe07 in CGameWorld::FindFirst (this=0x0, Type=5) at src/game/server/gameworld.cpp:41
#1  0x0041bba4 in CCharacter::DestroyChildEntities (this=0x4f7060 <ms_PoolDataCCharacter>)
    at src/game/server/entities/character.cpp:800
#2  0x004344d7 in CroyaPlayer::SetClass (this=0x3b0af10, pClass=0x3b0a0f8, DrawPurpleThing=false)
    at src/infcroya/croyaplayer.cpp:477
#3  0x0043397d in CroyaPlayer::SetClassNum (this=0x3b0af10, Class=1, DrawPurpleThing=false)
    at src/infcroya/croyaplayer.cpp:176
#4  0x00429cf8 in IGameController::StartMatch (this=0x3b097a8) at src/game/server/gamecontroller.cpp:671
#5  0x004297b1 in IGameController::SetGameState (this=0x3b097a8,
    GameState=IGameController::IGS_WARMUP_GAME, Timer=0) at src/game/server/gamecontroller.cpp:530
#6  0x0042b5a3 in IGameController::DoTeamChange (this=0x3b097a8,
    pPlayer=0x503ac4 <ms_PoolDataCPlayer+612>, Team=0, DoChatMsg=true)
    at src/game/server/gamecontroller.cpp:1198
#7  0x004246e6 in CGameContext::OnMessage (this=0x1577fe8, MsgID=25, pUnpacker=0xd1f314, ClientID=1)
    at src/game/server/gamecontext.cpp:1059
#8  0x00415c8e in CServer::ProcessClientPacket (this=0x306f020, pPacket=0xd1fc04)
    at src/engine/server/server.cpp:1188
#9  0x0041629b in CServer::PumpNetwork (this=0x306f020) at src/engine/server/server.cpp:1302
#10 0x0041715e in CServer::Run (this=0x306f020) at src/engine/server/server.cpp:1528
#11 0x00418a51 in main (argc=1, argv=0x1572a08) at src/engine/server/server.cpp:1949
yavl added a commit that referenced this issue Jun 9, 2019
Fix crash in loop through GameServer()->m_apPlayers when client is connected, but have not entered yet.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fe013e2cae0 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
[Current thread is 1 (Thread 0x7fe01493e740 (LWP 1827))]
(gdb) backtrace
#0  0x00007fe013e2cae0 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x000000000044c880 in CroyaPlayer::GetLanguage (this=0x0)
    at src/infcroya/croyaplayer.cpp:422
#2  0x00000000004324ef in CGameControllerMOD::Tick (this=0x21ec2c0)
    at src/game/server/gamemodes/mod.cpp:301
#3  0x000000000042500b in CGameContext::OnTick (this=0x2019ee0)
    at src/game/server/gamecontext.cpp:554
#4  0x000000000041eb0e in CServer::Run (this=0x7fe012853010)
    at src/engine/server/server.cpp:1535
#5  0x00000000004207cb in main (argc=1, argv=0x7ffecd175918)
    at src/engine/server/server.cpp:1976
(gdb) frame 1
#1  0x000000000044c880 in CroyaPlayer::GetLanguage (this=0x0)
    at src/infcroya/croyaplayer.cpp:422
422             return m_Language.c_str();
yavl pushed a commit that referenced this issue Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be ported will be ported from Infclass
Projects
None yet
Development

No branches or pull requests

1 participant