it cant find the vote4cash page?
|
Everytime I lagg on my server, I look at the run.bat file and it will outprint IO exeption in checkvotes <string playername>
This laggs my server for a few seconds. I used roguex vote4cash guide.
fixes?
it cant find the vote4cash page?
No it can..
need help
that error is most prob because you dont have the right mysql set up on the vote.php? or the wrong link to the php.
well really ever since i got vote4cash those mysql errors come up and sometimes randomlu dc my server
hopefully roguex can post on here........................:\\
your using the non-mysql server side? yeah, you need a good host so the page never goes offline.. and the dc's happen on my server aswell but they happen like twice a day since i made my vote4cash give money upon a command ::reward which can be done every 2hours to check if you have voted.
Ive just logged on an account, logged in and out like 5 times without even touching the voting page, and it throws the IO exeption in checkvotes <string playerName> error.........
yes... as i said up there IT FLAMING CANT CHECK IF YOU HAVE VOTED OR NOT. WHICH IS CAUSING YOUR PLAYER TO DC.
just remove the check for vote4cash in the login method..
do I remove this part? because here is the error basically.
Code:public static boolean checkVotes(String playerName) { try { URL url = new URL("http://test.com/vote.php?type=checkvote&username="+playerName); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String results = reader.readLine(); if(results.length() > 0) { if(results.equals("user needs reward...")) return true; else return false; } } catch (MalformedURLException e) { System.out.println("Malformed URL Exception in checkVotes(String playerName)"); } catch (IOException e) { System.out.println("IO Exception in checkVotes(String playerName)"); } return false; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |