Sandbird Posted December 21, 2014 Report Share Posted December 21, 2014 It took me a few hours to improvise a way to detect the troublemaker but i finally did it. Basically you need 2 websites and 1 program plus the well know antihack. - Ultraedit (because of its way of bringing search results) - http://www.webtoolhub.com/tn561378-list-cleaner.aspx - http://jura.wi.mit.edu/bioc/tools/compare.php - The well know antihack cause of the way it logs connected players. You also need to have a few log files with the error, from several restarts....It took me 9 log files to find him. So how this works....we separate from each log all the players connecting to the server, (since we dont know who is the person that causes the problem) Then we compare the 1st list with the 2nd list use the results with the 3rd list and so on, removing duplicates...till there is only 1 guy left....This means from all the log files HE is the only common person joining the server...so its 100% him that has the messed up XML. Step 1 (finding all connections) Open the 1st log file with Ultraedit and press Ctrl+ F (search) for PlayerConnected: then press 'Show Lines' at the bottom right corner. It will bring all occurrences of that line. Right click the popup window and select 'Copy to clipboard', then paste the text to another empty document. Step 2 (formatting the lines) In the new document with the new text press Ctrl+R (replace) and in the top box put: ??:??:?? At the bottom box leave it empty...we want to remove all the time values and replace them with nothing. And then from bellow check the "Regular Expressions: Ultraedit" and press 'Replace All' Step 3 (remove duplicates) Copy paste this whole list into :http://www.webtoolhub.com/tn561378-list-cleaner.aspx and press 'Clean List' And then copy/patste the list from 'Cleaned Items List' into List 1 of : http://jura.wi.mit.edu/bioc/tools/compare.php Step 4 (get the 1st results) Now repeat all the above tests for log file 2 and copy paste the final test into List 2 of the last website and press 'Compare Lists'. In the results page the list under '1 and 2' is the list you want to keep. This is the list that you will be comparing with the next results you got by doing Step1-3 with log_file3. So keep this list aside, then do Step1-3 with log file 3 and then in page: http://jura.wi.mit.edu/bioc/tools/compare.php Put the list you just kept in List 1 and the new formatted list from logfile3 to List2...and press 'Compare Lists'. Take the new '1 and 2' list (which should be smaller now in size) and put it aside, then continue with logfile4 etc. After a few times you'll see that the final list is getting smaller and smaller. In the end (i dont know after how many logfiles) you'll have only 1 name in the list. This guy there is the person that is ALWAYS ingame when the bug happens....which means he is the perpetrator. :) Ban him and problem solved :) cen 1 Link to comment Share on other sites More sharing options...
ElDubya Posted December 22, 2014 Report Share Posted December 22, 2014 Is there a way of not allowing those with a squad .xml from joining the server at all? Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted December 22, 2014 Report Share Posted December 22, 2014 I'm lost. What is the problem with squad xml's? Link to comment Share on other sites More sharing options...
Sandbird Posted December 22, 2014 Author Report Share Posted December 22, 2014 well check these errors in my server.rpt file http://dayz.grof.gr/error.txt These types of errors appear when someone is using a broken xml or (in my case) the hoster that had this guy's XML was showing advertisements instead. Broken xmls can crash the server....and if someone wants to hurt your server they can do it on purpose. Till now there was no way knowing who the perpetrator was in a busy server...many players come and go and the error might not fire up immediately. In this case with my error it did...but that was when we were testing with him if he is really 100% the cause of the error. Link to comment Share on other sites More sharing options...
Sandbird Posted December 22, 2014 Author Report Share Posted December 22, 2014 Is there a way of not allowing those with a squad .xml from joining the server at all? I think only by blocking some ports...but then you also lose stats at gametracker. Link to comment Share on other sites More sharing options...
Richie Posted December 22, 2014 Report Share Posted December 22, 2014 I'm lost. What is the problem with squad xml's? Properly hosted and made correctly, no problem at all. A messed up attempt though can cripple the server, it's bizzare what happens but only restarting or booting the dodgy player will fix it, great release Sandbird, a must to A2 Epoch admins. Sandbird 1 Link to comment Share on other sites More sharing options...
Sandbird Posted December 22, 2014 Author Report Share Posted December 22, 2014 also....the above errors might also appear from a messed up face.jpg (the face skin). If the person in question doesnt have an XML entry in his profile then he definitely has broken skin...ask him to remove that instead Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted December 22, 2014 Report Share Posted December 22, 2014 Ah, ok. I guess I've gotten lucky on my servers. Never saw anything that I am aware of was caused by a bad squad XML. Maybe the server crashed and I didn't realize that was the cause. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now