Tilllate Posted November 29, 2010 Posted November 29, 2010 hello dudes... i have one little problem... i have a vote reward system.. and when my internet stop for 1-5-10 seconds my vote reward system is stoping work... and dont check the votes and dont give the reward to players... I think any one to make a checker for check the reward system example every 2 min.. if vote reward system dont work make it to work.... if any one can make this just pm me !! please dont spam on my topic !! its giving this error Vote Count Check. java.net.UnknownHostException: l2.hopzone.net at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour ce) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So urce) at java.net.URL.openStream(Unknown Source) at net.sf.l2j.gameserver.model.entity.event.AutoVoteRewardHandler.getHop ZoneVotes(AutoVoteRewardHandler.java:146) at net.sf.l2j.gameserver.model.entity.event.AutoVoteRewardHandler.access $300(AutoVoteRewardHandler.java:21) at net.sf.l2j.gameserver.model.entity.event.AutoVoteRewardHandler$AutoRe ward.HopzoneCheck(AutoVoteRewardHandler.java:69) at net.sf.l2j.gameserver.model.entity.event.AutoVoteRewardHandler$AutoRe ward.run(AutoVoteRewardHandler.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source) at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. access$101(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. runPeriodic(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Payment Methods : Paypal Pay Safe Card
Cod3x Posted November 29, 2010 Posted November 29, 2010 If I've understood right, your vote reward starts counting votes from start when your net stops. What you have to do is to save vote count via db, when server is off and load them when it comes online again. If thats your problem pm me.
Tilllate Posted November 29, 2010 Author Posted November 29, 2010 its fixed by matim... can lock the topic :)
Furiosus Posted November 29, 2010 Posted November 29, 2010 its fixed by matim... can lock the topic :) Locked.
Recommended Posts