![]() |
[BUGS]Destroybanlist and /ban - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +----- Thread: [BUGS]Destroybanlist and /ban (/showthread.php?tid=2250) |
[BUGS]Destroybanlist and /ban - Nean - 15-10-2008 When you use /destroybanlist, or at least for me, it crashes the server, I can then not log in, because it keeps giving me RTE 62. Input past the end of a file. If I open the Banlist, I can see that the cursor is down one line, it appears that it's creating a blank space in the file, and I think this is what is causing the problem, as deleting the space fixes everything. The fix: Replace: Code: Open FileName For Output As File With: Code: open filename for binary as file Re: [BUGS]Destroybanlist and /ban - Nean - 16-10-2008 I recently found that /kill, and /kick also do the same thing. Am I the only one getting this? Re: [BUGS]Destroybanlist and /ban - Kraft - 21-10-2008 Weird. It's not happening with me, the ban list file is successfully destroyed. EDIT: Whoops! It doesn't crash the server here, but I can't join the server after deleting my ban list. Re: [BUGS]Destroybanlist and /ban - Nean - 21-10-2008 Kraft Wrote:Weird. Do it twice in a row, and then close the client, and open it again. I tried this on a clean source, and it still does it. Re: [BUGS]Destroybanlist and /ban - Kraft - 21-10-2008 Nean Wrote:Do it twice in a row, and then close the client, and open it again. I tried this on a clean source, and it still does it.I see. Your fix really... fix this up? It doesn't here. EDIT: Hey, isn't easier just to delete banlist.txt? ![]() Re: [BUGS]Destroybanlist and /ban - Nean - 21-10-2008 Kraft Wrote:Nean Wrote:Do it twice in a row, and then close the client, and open it again. I tried this on a clean source, and it still does it.I see. Your fix really... fix this up? It doesn't here. It's still better, to fix the code, and get things working as they should. Who knows, maybe it'll boost the speed of the game too. You can't let these small bugs accumulate, or soon you have another playerworlds. (No offense to PW's) Re: [BUGS]Destroybanlist and /ban - Kraft - 21-10-2008 Deleting is not letting the bug there. It's just using an alternative way. There's probably none speed difference. Sorry about my weird English. ![]() Re: [BUGS]Destroybanlist and /ban - Nean - 21-10-2008 Kraft Wrote:Deleting is not letting the bug there. It's just using an alternative way. It's all good. It's just that this is a bug, and well.... In beta's and whatnot, you're usually supposed to report bugs. Anyways, this up to DFA to deem worthy to fix or not. Re: [BUGS]Destroybanlist and /ban - Kraft - 21-10-2008 I'm not saying your fix isn't good. You did very well, thank you. I'm just pointing an easiest and lazy way. ![]() Re: [BUGS]Destroybanlist and /ban - GIAKEN - 21-10-2008 I'll check it out :| Re: [BUGS]Destroybanlist and /ban - GIAKEN - 21-10-2008 Fixed it. |