![]() |
|
My networking engine is working! \o/ |
AMCerasoli
Member #11,955
May 2010
![]() |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
Looks good! Send some Windows user a binary copy so you can test it over the internet! They all watch too much MSNBC... they get ideas. |
jmasterx
Member #11,410
October 2009
|
Nice Job! I'd love a Windows copy too Agui GUI API -> https://github.com/jmasterx/Agui |
AMCerasoli
Member #11,955
May 2010
![]() |
Yhea that's going to be the next step. The problem is that currently is sending the data each 60FPS Well, what the hell... I have just limited the bandwidth to 64Kb/s and added the functionality to place the IP in the console... I don't know if I have to open any port here or something... It's configured to use the port 1234... Let's see... Well, I guess that my Ip is 192.168.1.100 and another thing... The players never get destroyed until I close the server, so if you see a lot of character it doesn't mean those are actual players... hehehe... Emancipation Client let me know if you're at least able to connect. I'll be running the server for some time.
|
Arthur Kalliokoski
Second in Command
February 2005
![]() |
You should have sent the ip address in a text file included with the zip instead of typeing it all out for the world to see. Edit your text? They all watch too much MSNBC... they get ideas. |
AMCerasoli
Member #11,955
May 2010
![]() |
I have a dynamic IP... Probably tomorrow will be a different one, or even if I reset the modem.
|
Thomas Fjellstrom
Member #476
June 2000
![]() |
Arthur Kalliokoski said: You should have sent the ip address in a text file included with the zip instead of typeing it all out for the world to see. Edit your text? The IP in his post is an internal IP. You can't access his computers via that IP. -- |
AMCerasoli
Member #11,955
May 2010
![]() |
I don't know about Ips... What should I send?
|
jmasterx
Member #11,410
October 2009
|
Go here for actual ip http://www.whatismyip.com/ Agui GUI API -> https://github.com/jmasterx/Agui |
Thomas Fjellstrom
Member #476
June 2000
![]() |
AMCerasoli said: I don't know about Ips... What should I send? Try using no-ip.com to get a sub domain pointed at your ip dynamically. When ever your IP changes, it'll update that subdomain. -- |
AMCerasoli
Member #11,955
May 2010
![]() |
jmasterx said: Go here for actual ip http://www.whatismyip.com/ Yhea, but now I not even can access my own server in my own computer which is in my own house... I guess that I need to open the port '1234' isn't it? Which was the port that was always opened? I seem to remember something from my day of addicted videogames player... it was the '8080'? It's a port problem?
|
Thomas Fjellstrom
Member #476
June 2000
![]() |
You need to make sure your computer has the port open if it has a firewall on it (windows generally does). And you need to make sure your internet router has the port open. Also make sure the ip is correct. Now, you can't access your server with your external IP from inside your network normally. There is a way around it, but not all routers have that option available. It's best to use the internal address inside your network, and the external address outside. Oh and you also have to forward the port on your router to point to the computer running your server. -- |
AMCerasoli
Member #11,955
May 2010
![]() |
Ok... I have opened the port '1234'. In the "launching protocol" I selected both (UDP and TCP) just in case... and in "opened protocol" I chose both too... The first thing I do when I install Windows is deactivate all the crap that "protects me", so the firewall is off. Thomas Fjellstrom said: Oh and you also have to forward the port on your router to point to the computer running your server. ... I have to wha? whe? I have no idea how to do that... And I think I can't do that with my router. Anyway, if someone wants to try, my real IP is supposedly 90.169.183.26.
|
jmasterx
Member #11,410
October 2009
|
Port forwarding means this: I or others will send a request to your external IP, but the modem does not know exactly which computer I want (I want the computer running the server) so you forward that port to your computer running the server. Find your modem's ip and find port forwarding in there: ENET is UDP so forward UDP. Agui GUI API -> https://github.com/jmasterx/Agui |
AMCerasoli
Member #11,955
May 2010
![]() |
Yhea I have already configured that. {"name":"606454","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/5\/458dff5453b6d3dc91ad4fcae3b87a99.jpg","w":980,"h":240,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/5\/458dff5453b6d3dc91ad4fcae3b87a99"} But my router doesn't have the port forwarding option. I have some of those modem-router that you can take everywhere and it works with a SIM card. It only has 1Mb/s of Upload bandwidth right now. Maybe when I add more stuff I could give someone the server to make some tests... I could give it now, but there is nothing special just what you saw in the video. And probably no one wants to give the IP address... I dunno...
|
Thomas Fjellstrom
Member #476
June 2000
![]() |
AMCerasoli said: But my router doesn't have the port forwarding option. I have some of those modem-router that you can take everywhere and it works with a SIM card. It only has 1Mb/s of Upload bandwidth right now. Does it connect directly to the computer you're using? If so, then it probably forwards all the ports to that machine when you open them. Also its not always called "port forwarding". Could be some kind of "Application" page or something else. -- |
AMCerasoli
Member #11,955
May 2010
![]() |
Nah... The rest aside from Firewalls, IP blocking and UPnP is DHCP... Which I don't know what it is... I know is in Spanish but what the hell just in case, a picture. {"name":"606455","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/3\/f3928c2ad813eea5486157cdeb96d11a.jpg","w":597,"h":321,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/3\/f3928c2ad813eea5486157cdeb96d11a"} Edit: Oh and it doesn't connect directly to my computer. It's wireless.
|
Cassio Renan
Member #14,189
April 2012
![]() |
DHCP is used to give IPs to all computers from the network "automagically". That way you won't have to configure your IP on every machine that connects to the network. It doesn't have to do with port forwading, though. Are there any other menus on your router?In spanish you could look for "dirección" or something close to it.(sorry for bad spanish, if the word is wrong) P.S.: My native language is portuguese. It's not spanish, but very close(that means, I can read a little spanish, but can't really write anything in it). EDIT: by "IP", I mean your local IP. |
AMCerasoli
Member #11,955
May 2010
![]() |
Today I had the opportunity to get my hands in the router of one of my friends (boy that sounds weird...) which is handling a real internet connection (50Mb/s) and I could perfectly see the forwarding option. Mi router definitively doesn't have that option.
|
van_houtte
Member #11,605
January 2010
![]() |
Relax,van_houtte is here. Check the 'firewall' setting of your router. There should be some option to open up a port or application in there. Which model is your router? Have you tried calling your ISP or router's manufacturer? Tech support can be a good solution solver for simple issues such as yours. ----- Sometimes you may have to send 3-4 messages |
AMCerasoli
Member #11,955
May 2010
![]() |
van_houtte said: Check the 'firewall' setting of your router. There should be some option to open up a port or application in there. Man if I can't configure everything here, there is no other place... It even had some pre-defined ports. Check. {"name":"606464","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/0\/d0f83211ca1c1bd6d8423582ca49c8aa.jpg","w":995,"h":576,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/0\/d0f83211ca1c1bd6d8423582ca49c8aa"} Quote: Which model is your router? Huawei E5830 But don't worry, I don't really want to think about this right now... There is a lot of things to do before thinking about this. Anyway, here's the new pack, client and server. You can test it locally. The server ask only for the port and uses the local IP here mentioned. Because if I try to configure the IP (using eNet) to be the 'real' IP then eNet throws an error. And the client obviously ask you for the IP and the port. I just get the local IP with a normal ipconfig command. If someone can set someday an online server and give us the IP and the port we could try to see if it really fly... Damn, I uploaded the game with the fullscreen option hard-coded... and If you try to minimize the game it crashes. That means that you can run just one client game per PC... But WTH...
|
van_houtte
Member #11,605
January 2010
![]() |
There has to be a page that allows you to associate an IP to the mentioned program/ports, have fun with their tech support. ----- Sometimes you may have to send 3-4 messages |
piccolo
Member #3,163
January 2003
![]() |
Very happy for you. I can relate to this. I was so happy when i got my RPG working on the network i was doing client server programming wow |
AMCerasoli
Member #11,955
May 2010
![]() |
Guys.. I'm currently using a router with the forwarding option (a friend's house). I think now should be working because I was able to access the game using the external IP address which is this one: 91.117.7.238:1234. If someone wants to try, tell me if it works. Thanks.
|
|