Conversation Between Zarel and Skyshayde
Showing Visitor Messages 1 to 10 of 13
-
Yeah, sorry, forgot to tell you that
-
Feb 2nd, 2013 7:35:33 PM
Zarel*
It seems Cathy already explained the issue.
-
Hey, I am having issues with a Pokemon Showdown server. I have it running on Heroku, however, I cannot login, as my session expires instantly. Any ideas?
-
I know, I fixed it somewhat though. I had the wrong format for the usergroups.csv ;p.
-
May 27th, 2012 9:31:01 PM
Zarel*
Resetting auth is really a Heroku issue; there's nothing I can do about it.
-
got it, now I just need to set myself as a sysop
Edit:
How do I set myself as sysop on it?
Edit2:
Got it!
I setup a normal server, connected to it from localhost. Then I uploaded usergroups.csv to the heroku repo
Edit3:
All auth is reset when the server does, barring me -.-
-
Ah, thanks for the help, I think I got it now
-
May 16th, 2012 11:30:23 PM
Zarel*
Well, all you need is one web dyno, which is free on Heroku.
Heroku can only host on port 80, hence ":80" instead of ":8000" like you would if you were hosting it yourself.
-
So for hosting it on heroku, it should work on any node.js host? I used heroku as an example, but I was looking for something free :P
When I port forward, I'm using the ip from whatismyip. Now, I can't get a pokemon online server to work either, makes me think I'm doing something wrong -.-
Also, I can connect from the 192.168.*.* address
Thanks for all the help
Edit:
:80 or :8000?
-
May 16th, 2012 8:33:46 PM
Zarel*
formats.js is used both on the server and on the client. The client needs it to know what formats to display for the format chooser, and for the ladder. The server needs it to know what rules to enforce when you select a format.
As for port forwarding, you're most likely also using the wrong IP address. After port forwarding, to connect to your server from the internet, you'll need your public IP address (in other words, the IP address of your router). Services such as whatismyip.org will tell you.
Yes, it's possible to host PS on Heroku. I just spent the last few hours figuring it out. Host it there and connect to:
http://psim.tk/~~appname.herokuapp.com:80