Custom Server Issues

Discussion in 'Database Modifications' started by MysteryMan, Jul 17, 2012.

  1. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Hello. I got into this specifically so I could make my own modded server with a bunch of new Pokemon. Unfortunately, I've met some snags.

    I have a thread in the Mod section, but it seems the error is more on the server side right now. First of all, I had to do some extensive research on how to make a server. Following the PO Wiki's guide on running a server, as well as some thread I cannot seem to find on here again, I managed to make one, only after doing port forwarding, which is complicated in itself. I ran the Server.exe, messed with the Config options, and it actually worked. A friend and I had the same mod, the one I've spent countless hours working on (almost 1500 pokemon formes total). We got on my server (I had to type localhost at least once), and it actually worked.

    However, some things were off. I made myself the owner and my friend the administrator, but when we got on it, we just had regular Pokeball icons. I noticed later that Server.exe reported us as regular users. Also, I made an announcement. I tried to change the announcement, and then later outright delete it, but it would NOT change or go away. Also, the name of the server was "MM's Custom 1500 Sv." At one point it said the name was taken and that I had to change it, so I took off the period at the end. All very strange. But the worst part is that it would NOT recognize any of the custom Pokemon I added. If I tried to battle with them, they'd be deleted from my party.

    To make matters worse, I was requesting advice in the mods section, having no choice but to wait, when all of a sudden I cannot connect to my server anymore! I get the connection error n*0 upon trying to connect, plus the server no longer appears on the list.

    So what I'm hoping for is advice on what to do. I really want this to work; I put a lot of effort into this that I don't want to be in vain. And there's no way I can get a modded server to work if I can't even get a regular server to work.

    So... um... any help please? :(
     
  2. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    Have you tried running the server without the mods?
     
  3. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Your program is probably in Program Files, so the server cannot edit anything. Either put your server folder somewhere else, or run it as an admin.
     
  4. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    @zeroality: I can't even get a regular server to work.

    @coyotte: No, it's not. My Server.exe is within the Pokemon Online folder, which is within my user folder within the Users folder.
     
  5. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Maybe you had two servers running at the same time? Like, you go on one server, and you change stuff on the other, and so it doesn't change anything? (would fix the problem of registry)
     
  6. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I don't know how that'd be possible. How would I tell? How would I fix it? If so, neither shows up now. And I only have the one Server.exe.

    Btw, you mentioned server "folder". Is there a folder besides the Pokemon Online folder that it should go in?
     
  7. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Server folder is the folder that contains server.exe.

    What's the name of your server, its IP? (also if you want to make sure there's only one server, restart both the computers that hosted the servers)
     
  8. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Well in trying to get it to work, it's name is now MM Server, but it was working earlier under MM's Custom 1500 Sv, but then it stopped, but either way, the IP was 50.80.148.79:5080 . (That is the number you're looking for, yes? Not the IP number I had to use for my router to set it up?)
     
  9. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    I can't connect atm!
     
  10. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Yeah, neither can I : /
     
  11. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    And it doesn't appear on the registry... Which means you aren't running the server, or it doesn't have a name?
     
  12. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    But I was. It just disappeared. I don't know why D:

    EDIT: No matter what I do, when I try to log on, I get the error n*0 connection refused. It's not my firewall; it's completely off. The port forwarding is reportedly working, according to my router's webpage. I just don't get what's wrong.
     
    Last edited: Jul 17, 2012
  13. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Even when using 127.0.0.1? And is it really runnign / displaying on registry?
     
  14. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I typed 127.0.0.1 into the registry; didn't work. And no, it's not displaying anymore. It was yesterday morning, but now, it's not.
     
  15. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Then it's not running anymore...
     
  16. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I got that. So. What do I do? Why won't it run? What do I do to get it to run? Where did I go wrong? I did everything I'm supposed to. Did I mess up somewhere? There's no way I can just try again. Setting up a server is exactly how it sounds. It's not really a 1, 2, 3 kind of process. You set up what it needs: server.exe, router, port forwarding. I did that. It worked. Now it's not. I can't fix it until I know what's wrong. Why's it not working? What do I do?
     
  17. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    well if it's not running maybe you ought to run Server.exe to launch it again?
     
  18. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I've ran that file nearly a hundred times now... It doesn't seem to do anything.
     
  19. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Well set up a VNC server on your computer to let me access it and i'll see what's wrong =/
     
  20. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    VNC? The kind that'll let you access it? Is there a preferred method you'd like to use? I have a program I've saved that an administrator of the GTS website used to fix a problem for me a few years ago; I could use that unless you have something else in mind.
     
  21. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Well anything that doesn't work on windows only is fine (VNC, NoMachine,...)
     
  22. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Ah, what I was referring to was TeamViewer, but it only works for PC and Mac, so I downloaded VNC. How do you want to connect? Btw, I really do appreciate this.

    EDIT: Maybe we should arrange a time? I'm free whenever.
     
    Last edited: Jul 18, 2012
  23. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    PM me on the PO server whenever
     
  24. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Hey, I was just wondering something. In announcements or server descriptions, how do you put in images? boldface? hyperlinks? central alignment? etc?
     
  25. Termophobia

    Termophobia Member

    Joined:
    Apr 27, 2012
    Messages:
    50
    Likes Received:
    0
    PM Me on PO if you can, i can help you with that
     
  26. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Thanks you helped a lot! But why when I click on the link in the announcement does the whole announcement disappear?
     
  27. Termophobia

    Termophobia Member

    Joined:
    Apr 27, 2012
    Messages:
    50
    Likes Received:
    0
    I don't think that's a problem just with you, I was having the same problems as well. So all you can do is wait for this bug to be fixed.
    All i can really think of that would help is try downloading another Server file and out of curiosity where you download your current server file from.
    The only other servers I've experienced this with was Mine, Yours, and IMP . So yea at first i thought it was just me, or maybe corrupted links, But honestly it kind of relieved me to hear someone else is having the same problems.
    Anyways, I wish you the best of luck with your server, Feel free to contact me whenever / wherever you feel necessary .
     
    Last edited: Jul 24, 2012
  28. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Actually you were right. I waited and it just... fixed itself. Very strange.

    Another question though. How does one add images that are NOT part of the PO files?

    (Btw, Term, you should visit my server sometime and battle. Come on, it's fun. It's heavily modded.)
     
  29. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    http://scalora.org/projects/uriencoder/

    The language to generate must be HTML. It doesn't always work, too.

    I recommend images ~19 kb max (depending on how many colored areas (not white or black) it has). The announcement cannot be bigger than about 62 kb.
     
  30. Termophobia

    Termophobia Member

    Joined:
    Apr 27, 2012
    Messages:
    50
    Likes Received:
    0
    Wil do MM . ha ha
     
  31. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    It didn't work at all, no matter what I put. I even tried a 1 kb image that didn't even work.
     
  32. Termophobia

    Termophobia Member

    Joined:
    Apr 27, 2012
    Messages:
    50
    Likes Received:
    0
    Give more detail, I don't understand . It worked for me o_O
     
  33. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I put my image in it. It was 29 kb, so I understood if it wouldn't work. It didn't. I put the code into the server, and the image does not come up. So I tried three more times with different images, all roughly 1 kb. Same thing happened. They didn't show up. Instead there was just the little paper symbol that indicates an unviewable image.

    EDIT: I also have another problem. I can't seem to get the tiers to work. My server has two tiers: Uber and Everything Else. However, I can't seem to ban Pokemon from Everything Else. Shadow Lugia, or XD001, is definately Uber. So I went to Server.exe > Options > Tiers > Everything Else, and then I type "Ditto, XD001" in the box of banned Pokemon. I put Ditto in there as a control. Then I go and battle with a team with both Ditto and XD001. And guess what? Nothing happens. I battle an EE battle with both banned Pokemon and the system didn't stop. Why?

    EDIT: Strange. It's working now. Is there a delay on these things or what? I changed it to only ban XD001, but now it's not banning either again. I guess it'll work eventually, but does anyone know why? Is it purely time-based? Do I have to restart the server? What? I can't figure it out.
     
    Last edited: Jul 24, 2012
  34. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    As for the images, it just won't work. Things are even weirder with the Tiers. I started up the Server.exe and "XD001" was deleted from the banlist for EE. Anyone know what's going on?
     
  35. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    This is starting to turn into a mod discussion, so I'm gonna go ahead and move it to Mods forum.
     
  36. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    .gif files don't work.

    If your having problems with files that aren't .gifs, try to:
    Click on "Override mime type" and type in image/png (for .png files) and image/jpeg (for .jpg files)

    It doesn't always work. If that doesn't help, then use another picture.
     
  37. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    @zeroality: Well, not really. It's about both mods and servers. But it's not about developing a mod. It's about implementing it in a server.

    @TheUnknownOne: I'll try I guess. But I have been using a lot of different ones. They were all PNGs though.

    EDIT: Furthermore, zeroality, people who are purusing the Mods forum are likely NOT going to be able to answer my question whereas the ones in the Help forum might know how. I need Help, therefore, the Help forum is appropriate. Should I make another thread detailing how to get Tiers to work and just omit the fact that it's a new Pokemon I'm trying to get work?
     
    Last edited: Jul 27, 2012