Tutorial on how to run a server (Windows)

Discussion in 'Help' started by Steve, Apr 22, 2010.

Moderators: E.T., Zoroark
  1. supertrunks8

    supertrunks8 Pwnage

    Joined:
    Jun 20, 2011
    Messages:
    350
    Likes Received:
    0
    No it doesn't, at the top-right of the Window, with the orange background and in black it says "Click here to skip this advertisement... " just click that. Then you should be ready to port forward, I promise, it does NOT
    cost Money. $ = 0! So thats all you have to do..

    And im not good at GIMP/ and other screen shots, so here is a tiny video, you can pause it if it is to fast, srry ._.

    VIDEO:
    LINK:

    http://www.youtube.com/watch?v=dJv-cWpp-zU

    Enjoy!!!~
     
  2. Viderizer

    Viderizer Admin/Developer

    Joined:
    Mar 12, 2011
    Messages:
    277
    Likes Received:
    0
    I have tried PFConfig and it doesn't work for me; I think the best way to do it is manually. >_>
     
  3. Thequickster

    Thequickster New Member

    Joined:
    Jun 9, 2011
    Messages:
    17
    Likes Received:
    0
    Well..... I Try to do this "configure your router / modem to allow port 5080 on your computer" I Logged into this > http://192.168.1.1/ < With the username: "admin" and Password: "password" I got in.... and I have Verizon DSL connection.... But I can't find the place to configure it so that it can allow that 5080 port... In another words can someone tell me the place that allows me to do this.....???
     
  4. Viderizer

    Viderizer Admin/Developer

    Joined:
    Mar 12, 2011
    Messages:
    277
    Likes Received:
    0
  5. Thequickster

    Thequickster New Member

    Joined:
    Jun 9, 2011
    Messages:
    17
    Likes Received:
    0
    [​IMG]
    [​IMG]

    My Connection does'nt allow that 5080 port ... I just don't know where to change it so that it can allow that port...
     
    Last edited: Jul 5, 2011
  6. BradMaster384

    BradMaster384 New Member

    Joined:
    Jul 11, 2011
    Messages:
    1
    Likes Received:
    0
    I'm having a bit of trouble installing pokemon online. I saved the file to my computer and when I open it, it asks me to choose the language of the installation. I pick english and then it says "ERROR! You must be logged in as an administrator when installing this program."
     
  7. Viderizer

    Viderizer Admin/Developer

    Joined:
    Mar 12, 2011
    Messages:
    277
    Likes Received:
    0
    If your parents are the administrators of the computer you should ask them to install it for you; you must be logged as an administrator to install the program

    Sorry, I couldn't find anything from that picture that would refer to port-forwarding; I would suggest searching Google "How to port-forward with [your routers name here]"
     
  8. SupaSayiaJin

    SupaSayiaJin Member

    Joined:
    Jul 15, 2011
    Messages:
    71
    Likes Received:
    0
    thanx for this guide,i'll try to run a server
     
  9. Thequickster

    Thequickster New Member

    Joined:
    Jun 9, 2011
    Messages:
    17
    Likes Received:
    0
    Found this guide (Thanks to Viderizer ^^) > http://www22.verizon.com/Residentia...ing/Troubleshooting/PortForwarding/123897.htm
    So, it tells me how to open ports but... I'm stuck again :C here are some screen shots
    [​IMG]
    [​IMG]

    I'm quite sure I have to creat a new rule for the router to allow 5080 port... but I tried typing a random rule name and filled in the rest of the three boxes with "5080" but it didn't work.
    It works now... everyone else but me can get on....
     
    Last edited: Jul 18, 2011
  10. Themadgamer123

    Themadgamer123 Member

    Joined:
    Jun 3, 2011
    Messages:
    42
    Likes Received:
    0
    when trying to get on the server go on the advanced connection box and put in "localhost" without quotes
     
  11. Thequickster

    Thequickster New Member

    Joined:
    Jun 9, 2011
    Messages:
    17
    Likes Received:
    0
    It works now, thanks to Themadgamer and viderizer for helping me :D
     
  12. Themadgamer123

    Themadgamer123 Member

    Joined:
    Jun 3, 2011
    Messages:
    42
    Likes Received:
    0
    no problem, out of interest whats the name of your server?
     
  13. CookieMonster

    CookieMonster New Member

    Joined:
    Aug 3, 2011
    Messages:
    1
    Likes Received:
    0
    ok I am having a problem connecting to the server. can't get it to work.
     
  14. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    Have you tried Port forwarding??? Find your Router config page by using "ipconfig /all" (without the quotes) Find Default gateway and copy the Code. Once that is done open a browser and Put that code into the url. You need a login, try Username "admin" password "password"
    Afterwards there should be a place where you can unblock ports.

    If that is not your problem, as stated by TheMadGamer above try using this. Type "localhost" into the advance connection and press enter (make sure you have ther server application up and running)

    Finally try turning off your firewall. Go to control panel, Network and sharing center, Window Firewall, and turn off firewall.

    EDIT: I found this to help you find your router login > http://www.routerpasswords.com/
     
    Last edited: Aug 4, 2011
  15. Ringsy

    Ringsy New Member

    Joined:
    Jul 20, 2011
    Messages:
    1
    Likes Received:
    0
    umm i can join my server but nobody else can how do i fix this
     
  16. pulchritudinous

    pulchritudinous New Member

    Joined:
    Aug 9, 2011
    Messages:
    1
    Likes Received:
    0
    HOW DO I GET TO THE BATTLE SIMULATOR
     
  17. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    Dear Ringsy
    You probly need to port forward...
    Go to Start > Search "cmd" > On cmd, right click and choose run as admin > type in "ipconfig /all" > Find the default gateway > Copy the code > Open up a browser and paste the code on the url and hit enter > Login (Need help refer to this http://www.routerpasswords.com/) > Once you logged in, the port forwarding for your router should be somewhere on that site. Try security tab or Gateway tab :D If you can't absolutely find it, Try to google "how to port forward with [Router brand and model"]
    Good luck :)

    Sincerely, Im_The_Devil~
    PS: You can also use PFconfig. I agree with Viderizer, PFconfig sux epically. Doesn't work for me either. Waste of time downloading PFconfig :(
     
    Last edited: Aug 10, 2011
  18. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    Your question is quite vague. If you need to know how to login to your own server then here is how... Open PO > Go Online > On advance connection which is at the bottom type in "local host" and hit enter.

    If you dunno how to connect to a server. Here's how, Open up Pokemon online > Click on Go Online > A list comes up, called the registry > Click on a server. if that doesn't work try advance connecting, here is the advance connection for PO server :D 188.165.249.120:5080

    If you mean that you don't have PO yet. Here's the link to download it http://sourceforge.net/projects/pogeymon-online/files/Pokemon-Online-Setup.exe/download Make sure you are logged in on your computer's admin account :D

    If you have any more concerns/problems please don't hesitate to ask :)
     
  19. MixTar

    MixTar New Member

    Joined:
    Jul 9, 2011
    Messages:
    12
    Likes Received:
    0
    Good work x3
     
  20. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    Im writing this on behalf of a friend of mine who needs help to port forward.
    He got his server.exe application up.
    All he needs to do is port forward.

    Router: Cisco

    So, We used screen sharing provided by "join me" and we got this far
    [​IMG]

    The number entered for the external and internal ports are both 5080 (The same as the port in the server config)
    After that was entered, we saved the setting by clicking "Save Setting"
    It seemed to work but then we restart the server.exe application it still wouldn't work.

    The server host can get in by Advance connecting "localhost", but no one else can.
    Server is on the registry, and a server name/main channel name was created.

    So I'm sure this is a port forwarding problem.
    Can anyone help ;)
     
    Last edited: Sep 5, 2011
  21. Kalashnikov

    Kalashnikov Despite the code quality

    Joined:
    Apr 4, 2011
    Messages:
    434
    Likes Received:
    0
    Try to reboot router.
    And what IP have you entered for 'Server Adress' or something like that? It should be local adress or his PC. Win+R > cmd > ifconfig to find it out. 198.168.1.100 in this example:
    [​IMG]
     
  22. HoopyCaro42

    HoopyCaro42 French Maid

    Joined:
    Sep 6, 2011
    Messages:
    29
    Likes Received:
    0
    Hello, I am hosting a server and when I downloaded the latest client version for the server, all I could do was create a new server. I considered just making a new server and copy-pasting my old scripts, tiers and everything to the new server, but then I realized it would be kinda stupid. How do I just update my server client?
     
  23. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    If I recall correctly, There is only one way to do this. Try getting a script that allows you to export your server's members and tiers database.
    One certain scripts is TUO's (The Unknown One) scripts, http://pokemon-online.eu/forums/sho...nknownOne-s-Server-Script&p=101395#post101395 (Click on Full script or Auto Update script)

    Here's the actual script: http://pastebin.com/raw.php?i=JxBxLdQt


    TUO's scripts: You must create "RankIcons" "MafiaThemes" and "Styles" folders in your Pokemon Server file in order for it to have no errors.
    Once you have it uploaded just type in "/exporttiers" and "/exportmembers"

    I think Lutra's scripts also has this feature.
    EDIT: Lutra's Scripts: Full script: http://atq.zapto.org/serverscript.txt
    Auto Update: http://atq.zapto.org/webcallscript.txt
    • /exportladders: exports the tier ratings database.
    • /exportmembers: exports the member database.
     
    Last edited: Sep 8, 2011
  24. HoopyCaro42

    HoopyCaro42 French Maid

    Joined:
    Sep 6, 2011
    Messages:
    29
    Likes Received:
    0
    Oh I was already using TUO's scripts because I was too lazy to write up whole scripts myself, although I did modify them a bit...
    I didn't know the scripts allowed to export tiers and members, though, that's pretty awesome, thank you!
     
  25. HoopyCaro42

    HoopyCaro42 French Maid

    Joined:
    Sep 6, 2011
    Messages:
    29
    Likes Received:
    0
    Hey, sorry to post again... I exported the tiers and members and copy-pasted the files in the new server folder. The rankings and all are fine, but the members don't have their ranks anymore and aren't registered... I put my old server up and the new one is down right now, I would like to fix that before putting it back up... Any idea how I can do that without forcing the members to register again and having to give them the ranks again?
     
  26. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    Did this not work ------------> /exportmembers
    Also when you enter the server files there should be a text document titled "members"

    Try copying and pasting that in your new server files
    Out of curiosity, what's the name of your server? :p
     
  27. HoopyCaro42

    HoopyCaro42 French Maid

    Joined:
    Sep 6, 2011
    Messages:
    29
    Likes Received:
    0
    ^ I did that, yet it doesn't work. When I logged in with my account, my account wasn't registered and didn't have Owner rank anymore...

    By the way I removed all the changes I had done to the scripts to make sure it wasn't my fault, I'm using the original scripts now and it still doesn't work :(

    And my server is Eclipse Gaming... just the official server of the clan, although we still use the PO server a lot when we want to battle against other people
     
    Last edited: Sep 8, 2011
  28. Failix

    Failix New Member

    Joined:
    Sep 10, 2011
    Messages:
    5
    Likes Received:
    0
    I can run a server but I can't do anything on it (they are no commands, no channels, I can't create one, etc.)... What can I do to fix that out ?
     
  29. HoopyCaro42

    HoopyCaro42 French Maid

    Joined:
    Sep 6, 2011
    Messages:
    29
    Likes Received:
    0
    You need scripts...
    First, in your pokemon-server folder, create 3 folders and name them: MafiaThemes, RankIcons and Styles (exactly like that)
    Then go there: http://pastebin.com/x9xSx0t8 and copy-paste what's under "RAW Paste Data" in the Scripts window of your server (to access the Scripts window from your server window you click Options, then Scripts). After it's copy-pasted you click Ok. Then you close the server and open it again. And there you go!
     
  30. Failix

    Failix New Member

    Joined:
    Sep 10, 2011
    Messages:
    5
    Likes Received:
    0
    It still doesn't work.

    " Connection to the database established!
    Starting loading pokemon database...
    Pokemon database loaded
    Move, abilities & items special effects loaded
    Importing old database for tier All to table tier_all
    0 secs

    Members loaded
    Battle Thread started
    Starting to listen to port 5080
    Channel Icy cave was created
    Running Daily Run for tier All
    0 alts removed from the ladder.
    0.001 secs

    Script Check: OK
    Connecting to registry...
    Connected to registry! Sending server info...
    The registry acknowledged the server.
    [#Icy cave] Updating scripts from: http://pastebin.com/raw.php?i=JxBxLdQt
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    Channel Mafia Channel was created
    [#Icy cave] Script Error line 616: SyntaxError: Invalid continue statement.
    [#Icy cave] Script Error line 616: SyntaxError: Invalid continue statement.
    Script Check: OK
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    Channel Trivia was created
    [#Icy cave] Script Error line 616: SyntaxError: Invalid continue statement.
    [#Icy cave] Script Error line 616: SyntaxError: Invalid continue statement.
    [#Icy cave] Updating scripts from: http://pastebin.com/raw.php?i=JxBxLdQt
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    Channel League was created
    [#Icy cave] Script Error line 616: SyntaxError: Invalid continue statement.
    [#Icy cave] Script Error line 616: SyntaxError: Invalid continue statement.
    Script Check: OK
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Updating scripts from: http://pastebin.com/raw.php?i=JxBxLdQt
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    Script Check: OK
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Updating scripts from: http://pastebin.com/raw.php?i=JxBxLdQt
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    Script Check: OK
    <font color=black><timestamp/><b>Script Check:</b><font color=darkgreen> OK</font></b>
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    Channel Dragon's Lair was created
    Channel Stark Mountain was created
    Channel Old Power Plant was created
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel
    [#Icy cave] Script Error line 670: ReferenceError: Can't find variable: staffchannel "[/HIDE]
     
  31. HoopyCaro42

    HoopyCaro42 French Maid

    Joined:
    Sep 6, 2011
    Messages:
    29
    Likes Received:
    0
  32. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    Go to server.exe application in your server files.

    Once it is opened go to options > scripts > Copy and paste that script above (The one Caro showed you :))

    Then press okay to save it.

    Look at your chat window of your server.exe , does it say Script Check: OK or does it give you some sort of error?
     
  33. HoopyCaro42

    HoopyCaro42 French Maid

    Joined:
    Sep 6, 2011
    Messages:
    29
    Likes Received:
    0
    ^ In his last post, in "secret" he put the error messages
     
  34. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
    You need to create 'MafiaThemes', 'RankIcons', and 'Styles'(case insenstive and space sensitive), folders in order for it to work.

    Go to your Server files and right click > New > Folder > and put the respective names for each of them.

    Load the scripts and if not working then reboot your server.exe application.
     
  35. Failix

    Failix New Member

    Joined:
    Sep 10, 2011
    Messages:
    5
    Likes Received:
    0
    I did, several times, but I still have the same error message.
     
  36. Im_The_Devil

    Im_The_Devil I liek cookiez x3

    Joined:
    Jul 27, 2011
    Messages:
    93
    Likes Received:
    0
  37. supertrunks8

    supertrunks8 Pwnage

    Joined:
    Jun 20, 2011
    Messages:
    350
    Likes Received:
    0
    Yeah TUO can fix it. He is very prolike :p
     
  38. Failix

    Failix New Member

    Joined:
    Sep 10, 2011
    Messages:
    5
    Likes Received:
    0
    No it seems to work (no error message) but I still can't do anything. What should I do ?
     
  39. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Can you connect to the server? There should be channels if you connect.
     
  40. Failix

    Failix New Member

    Joined:
    Sep 10, 2011
    Messages:
    5
    Likes Received:
    0
    I can connect to the server but I don't see any channel.

    But when I open the server it says that channels were created. :/

    EDIT, I can't connect to the server :

    Error while connected to server -- Received error n�7: Connection timed out
     
    Last edited: Sep 11, 2011
Moderators: E.T., Zoroark