lillyflower Posted April 5, 2013 Author Share Posted April 5, 2013 Hi, i have an error 62 that involves me being banned. IDK why this is happening to me. I deleted myself from the banlist and i get that. I am really confused. I am testing it through visual basic 6 enterprise and i get a error withInput #F, fName**This is the source that includes the error**Function IsBanned(ByVal IP As String) As BooleanDim filename As StringDim fIP As StringDim fName As StringDim F As Longfilename = App.Path & "\Data\banlist.txt"' Check if file existsIf Not FileExist("Data\banlist.txt") ThenF = FreeFileOpen filename For Output As #FClose #FEnd IfF = FreeFileOpen filename For Input As #FDo While Not EOF(F)Input #F, fIPInput #F, fName <–---------------------------[thats the error btw]' Is banned?If Trim$(LCase$(fIP)) = Trim$(LCase$(Mid$(IP, 1, Len(fIP)))) ThenIsBanned = TrueClose #FExit FunctionEnd IfLoopClose #FEnd FunctionI am really confused and i cant test and edit my game now. If someone has a solution then i would very much appreciate it ^^ Link to comment Share on other sites More sharing options...
cheatking Posted April 5, 2013 Share Posted April 5, 2013 Close the server, delete the banlist file and try again. Link to comment Share on other sites More sharing options...
abhi2011 Posted April 5, 2013 Share Posted April 5, 2013 Never add names directly to the ban list. It causes the error. Link to comment Share on other sites More sharing options...
lillyflower Posted April 5, 2013 Author Share Posted April 5, 2013 YAY it worked. I was starting to freak out if i had to start again. Ty guys ^^ 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