-
Re: [RELEASE] !unban [Odin]
weird sometimes it compiles finely but then when i add something else it gives me errors
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\Administrator\My Documents\My Music\build\classes
C:\Documents and Settings\Administrator\Desktop\New Folder (4)\src\net\sf\odinms\client\messages\CommandProcessor.java:683: cannot find symbol
symbol : method unban()
location: class net.sf.odinms.client.MapleCharacter
target.unban();
^
C:\Documents and Settings\Administrator\Desktop\New Folder (4)\src\net\sf\odinms\client\messages\CommandProcessor.java:693: cannot find symbol
symbol : method unban(java.lang.String,boolean)
location: class net.sf.odinms.client.MapleCharacter
if (MapleCharacter.unban(splitted[1], false)) {
^
2 errors
BUILD FAILED (total time: 2 seconds)
-
Re: [RELEASE] !unban [Odin]
-
Re: [RELEASE] !unban [Odin]
Tested and it dosen't unban offline ip's or mac's
Actually it dosen't work....
-
Re: [RELEASE] !unban [Odin]
-
Re: [RELEASE] !unban [Odin]
Quote:
Originally Posted by
PinCrackerGod
Tested and it dosen't unban offline ip's or mac's
Actually it dosen't work....
Doesnt work? O_o
Fixed the offline thing.
Try the alternate method if you will.
-
Re: [RELEASE] !unban [Odin]
This looks like it loads the character from the Channel Server's player storage, meaning they have to be online to unban them...
But, if the person is banned, how exactly are they going to be online?
Correct me if I'm wrong...
-
Re: [RELEASE] !unban [Odin]
-
Re: [RELEASE] !unban [Odin]
Quote:
Originally Posted by
RMZero213
Doesnt work? O_o
Fixed the offline thing.
Try the alternate method if you will.
Alright I'll try that thanks for the fix btw
-
Re: [RELEASE] !unban [Odin]
Quote:
Originally Posted by
Sathon
This looks like it loads the character from the Channel Server's player storage, meaning they have to be online to unban them...
But, if the person is banned, how exactly are they going to be online?
Correct me if I'm wrong...
It does both online and offline checks, I dont know how a banned person is supposed to be online but its just there o.o
-
Re: [RELEASE] !unban [Odin]
Quote:
Originally Posted by
RMZero213
It does both online and offline checks, I dont know how a banned person is supposed to be online but its just there o.o
But if they're offline, it only unbans their account, not their ip and/or macs.
-
Re: [RELEASE] !unban [Odin]
Quote:
Originally Posted by
Sathon
But if they're offline, it only unbans their account, not their ip and/or macs.
It sets banned to -1, unbanning their ip and macs anyway.
-
Re: [RELEASE] !unban [Odin]
did you fix both of them so it ubann's offline ip's and mac ip's
-
Re: [RELEASE] !unban [Odin]
Quote:
Originally Posted by
PinCrackerGod
did you fix both of them so it ubann's offline ip's and mac ip's
It sets banned to -1.. unbanning their ips and macs anyway..
-
Re: [RELEASE] !unban [Odin] *Updated
I've seen you say that like 5 times now... read post's ppl...
-
Re: [RELEASE] !unban [Odin] *Updated
Great release! Saves a whole lot of trouble of going into my db :)
-
Re: [RELEASE] !unban [Odin] *Updated
Could manually go to database and change the persons ban to -1 from 1?
Would that work? For a manual way.
-
Re: [RELEASE] !unban [Odin] *Updated
awesome ;D finally i dont have to manually unban people! AWESOME!
-
Re: [RELEASE] !unban [Odin] *Updated
so how you use it? o.o
!unban accname? accip? charname?
-
Re: [RELEASE] !unban [Odin] *Updated
Cool! It works! !unban "charname"
-
Re: [RELEASE] !unban [Odin] *Updated
sorry but arnt there more to go into this than just what you have
Code:
PreparedStatement psb = con.prepareStatement("UPDATE accounts SET banned = -1, banreason = null WHERE id = ?");
should this also update the table ipbans and macbans. because it checks there too...
-
Re: [RELEASE] !unban [Odin] *Updated
Quote:
Originally Posted by
holthelper
sorry but arnt there more to go into this than just what you have
Code:
PreparedStatement psb = con.prepareStatement("UPDATE accounts SET banned = -1, banreason = null WHERE id = ?");
should this also update the table ipbans and macbans. because it checks there too...
If you read up there -1 removes ip and mac
-
Re: [RELEASE] !unban [Odin] *Updated
but how does -1 remove both?
@offtopic plz remove link in your info thing under avatar plz and thx
-
Re: [RELEASE] !unban [Odin] *Updated
it didnt delete the ip and mac banned from the user i banned for test
-
Re: [RELEASE] !unban [Odin] *Updated
-
Re: [RELEASE] !unban [Odin] *Updated
Yay`s,Finally,I Was tryin to devleop it but it casue me bugs and crushs
Thx alot dude
keep do the good thing u do xD