[Guide]PokeNet Server Setup

Awesome :)
It's impossible to play with such a laggy client :P
Thanks and good luck with the code

PS: When I click in the bag or I try to walk or do something else it takes like 5 or 6 seconds for what I did actually happens.
 
Last edited:
Well, it just seems laggy, from inspecting the client, i can see that the movement is coded with a directional que, thats used to get the players direction, which in turn, triggers the delay because the client is doing it in the animation sequence.

Direction > Move + Animate.

The only way to remove the "lag" that appears, is to remove the directional que, then your char would move sideways while facing forward, etc. Or to integrate the direction with the movement, which could and possibly would cause collision errors and you would have characters walking through walls..
 
So how can the client stop being so slow? I tried running it with other OS compatibility and once it opened with no lag, normal speed, perfectly fine
 
2. Running the server

Running your server is easy.
Open the Server Folder.
If your on windows, run the SERVER_START.bat else if your on linux then use the run_pokenet.sh file.
Once you run one of these files you will get a command prompt popup, then a little java window.
It should look something like this:

im using windows..

where can I find the SERVER_START.bat?

there is no file like that...:closedeyes: in my server folder
 
Last edited:
Hi! Thanks for the guide. I have problems creating an account, its says Unknown error. I portforwarded 7002 and 3006 already and checked the host user/name/password thing about a million times. Also the server list in the client is localhost.

While starting up the server I get the error: "Cannot reach time server, reverting to local time". Could it be related or its just a usual error?
 
Back