Mellion Posted December 19, 2016 Share 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 Link to comment Share on other sites More sharing options...
0 AccessDenied Posted December 19, 2016 Share 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. Link to comment Share on other sites More sharing options...
0 Mellion Posted December 19, 2016 Author Share Posted December 19, 2016 Yes worked thanks, lock theme. Link to comment Share on other sites More sharing options...
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 MellionLink to comment
Share on other sites
2 answers to this question
Recommended Posts