| Mirage Source http://miragesource.net/forums/ |
|
| [BUGS]Destroybanlist and /ban http://miragesource.net/forums/viewtopic.php?f=193&t=4557 |
Page 1 of 1 |
| Author: | Nean [ Wed Oct 15, 2008 4:05 pm ] |
| Post subject: | [BUGS]Destroybanlist and /ban |
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 Print #File, vbNullString Close File With: Code: open filename for binary as file put file,,vbnullstring close file Note: I DID NOT COME UP WITH THE FIX. I GOT THE ANSWER FROM MY MSN FRIEND ROTT. |
|
| Author: | Nean [ Thu Oct 16, 2008 8:06 am ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
I recently found that /kill, and /kick also do the same thing. Am I the only one getting this? |
|
| Author: | Kraft [ Tue Oct 21, 2008 5:08 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
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. |
|
| Author: | Nean [ Tue Oct 21, 2008 5:13 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
Kraft wrote: Weird. It's not happening with me, the ban list file is successfully destroyed. 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. |
|
| Author: | Kraft [ Tue Oct 21, 2008 5:30 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
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? |
|
| Author: | Nean [ Tue Oct 21, 2008 5:43 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
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.EDIT: Hey, isn't easier just to delete banlist.txt? 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) |
|
| Author: | Kraft [ Tue Oct 21, 2008 5:55 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
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. |
|
| Author: | Nean [ Tue Oct 21, 2008 5:58 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
Kraft wrote: 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. 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. |
|
| Author: | Kraft [ Tue Oct 21, 2008 6:13 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
I'm not saying your fix isn't good. You did very well, thank you. I'm just pointing an easiest and lazy way. |
|
| Author: | GIAKEN [ Tue Oct 21, 2008 7:28 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
I'll check it out |
|
| Author: | GIAKEN [ Tue Oct 21, 2008 10:30 pm ] |
| Post subject: | Re: [BUGS]Destroybanlist and /ban |
Fixed it. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|