MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002221 | Zandronum | [All Projects] Bug | public | 2015-05-06 20:02 | 2015-05-07 08:31 |
Reporter | DevilHunter | ||||
Assigned To | |||||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | invalid | ||
Platform | Linux | OS | Ubuntu | OS Version | 10.04 x86-64 |
Product Version | 2.0 | ||||
Target Version | Fixed in Version | ||||
Summary | 0002221: Zandronum SegFaults when Adding One line to sv_main... | ||||
Description | So in order to have global bans work on TSPG, Jenova said that I need to add a line to sv_main.cpp. This line being...Printf("CONNECTION %s %s\n", players[g_lCurrentClient].userinfo.netname, NETWORK_AddressToString( SERVER_GetClient( g_lCurrentClient )->Address)); It works, as in... It checks the IP of who's connect against the Global Bans List of the BE Bot, and if you are banned, you get the banned message.. However, this affects ZH/BH.. As soon as it changes to any ZH map, or if I start it on a ZH map, the Server will SegFault right then and there. Here is one ServerLog, Here is another.. In that one the server does make it to the map but then crashes right after. | ||||
Steps To Reproduce | 1. hg Clone Zandro rep 2. Open sv_main.cpp 3. go to line 1599 4. add Printf("CONNECTION %s %s\n", players[g_lCurrentClient].userinfo.netname, NETWORK_AddressToString( SERVER_GetClient( g_lCurrentClient )->Address)); 5. save file 6. compile 7. Start ZH Server with just compiled Binary. 8. Change to ZM01 9. Crash | ||||
Additional Information | Here is the last Crashlog I had before I gave up. Mind you, that a fresh copy of 2.0 zan works just fine. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-05-06 20:02 | DevilHunter | New Issue | |||
2015-05-06 20:08 | DevilHunter | Note Added: 0012207 | |||
2015-05-06 21:28 | DevilHunter | Note Added: 0012208 | |||
2015-05-06 21:32 | DevilHunter | Note Edited: 0012208 | bug_revision_view_page.php?bugnote_id=12208#r7048 | ||
2015-05-07 08:31 | Edward-san | Status | new => closed | ||
2015-05-07 08:31 | Edward-san | Resolution | open => invalid |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|