Jump to content
  • 0

L2 Need Help Whit Custom Ban Ip Command


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

  • 0
Posted

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.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..