Mellion Posted December 19, 2016 Posted December 19, 2016 (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 December 19, 2016 by Mellion
0 AccessDenied Posted December 19, 2016 Posted December 19, 2016 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.
Question
Mellion
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 Mellion2 answers to this question
Recommended Posts