Anonymous | Login | Signup for a new account | 2025-07-27 19:50 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
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. | ||||||||
Attached Files | |||||||||
![]() |
|
DevilHunter (reporter) 2015-05-06 20:08 |
Forgot to add the wads used for this.. First load with Skulltag_actors-1-1-1.pk3 and skulltag_data_126.pk3 Then... zh-beta28.pk3 zh-mappack10.pk3 zh-testpack_r26.pk3 zh-testpack_f01.pk3 In that order. Also mind you, that this works just fine on Best-Ever somehow.. I copied everything just as Jenova said and he even showed me how he did it in his sv_main.cpp edit so.. Yea... |
DevilHunter (reporter) 2015-05-06 21:28 edited on: 2015-05-06 21:32 |
Nvm.. you can close this now.. Turns out to be a damn compiler error.. Had to update gcc, it works now. EDIT: You have to change the compiler to gcc 4.7. I'm sure I don't have to go in much detail on howto, since I am a Linux scrub heh. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
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 | View Revisions |
2015-05-07 08:31 | Edward-san | Status | new => closed |
2015-05-07 08:31 | Edward-san | Resolution | open => invalid |
Copyright © 2000 - 2025 MantisBT Team |