Jump to content
  • 0

L2 Need Help Whit Custom Ban Ip Command


Mellion

Question

Hello i have problem, mine server after restart not load ban ip from database, i don't know why, please tell me what i do wrong there is in the code

 

Banmanager

http://pastebin.com/jZMV8VSh

 

AdminBanip

http://pastebin.com/ra3Qwc76

 

Enterworld

http://pastebin.com/vWPUaMDw

 

Gameserver

http://pastebin.com/uXhNsAbH

 

Please tell me

Edited by Mellion
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello i have problem, mine server after restart not load ban ip from database, i don't know why, please tell me what i do wrong there is in the code

 

Banmanager

http://pastebin.com/jZMV8VSh

 

AdminBanip

http://pastebin.com/ra3Qwc76

 

Enterworld

http://pastebin.com/vWPUaMDw

 

Gameserver

http://pastebin.com/uXhNsAbH

 

Please tell me

 

Change the

if (rset.next())

to

while(rset.next())

Right now your code gets only 1 value. Not all.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...