Author Topic: net code acting strange  (Read 5266 times)

Xyanshift

  • Posts: 12
  • KlokWorkz main coder and ideas guy
    • View Profile
net code acting strange
« on: July 22, 2014, 09:23:04 PM »
devs ive been having problems with the netcode not working at least not well, me and my brother cant even connect to each other even when the only way we could speed up the connection between us is to hard wire our comps to each other.................. and it always returns an error
as well we cant connect to freinds and they cant connect to us.
WTF is going on?!?!?!?!?!??!

CrusaderDeleters

  • Posts: 102
  • The Great Crusader
    • View Profile
Re: net code acting strange
« Reply #1 on: July 22, 2014, 11:27:06 PM »
Did you try port forwarding?
If you and your brother is using a Local Area Connection (Both of you sharing the same router), then you could just connect with your local IP's.
To figure that out, go to your command prompt (Windows key + R, and enter in "cmd"), and in there type "ipconfig".
You might have to scroll up, but look for the internet adapter that you use (whether it be Wireless LAN adapter, or an Ethernet Cable), and find "IPv4 Address". This address is your local IP.

Now that isn't even port forwarding.
Portforward has a really great list of guides to help you porting for online play.
Just... don't forget to make your internal IP static for port forwarding to work after you restart your computer.
The King of Maernol

shiftyBOT

  • Posts: 44
  • KlokWorkz main artist and level designer.
    • View Profile
Re: net code acting strange
« Reply #2 on: July 23, 2014, 12:29:01 AM »
Crusade,We use linux :D
edit:
our freind lives in another state:/
(we need to be able to have him connect throught the powers of teh intarwebz)

~shiftyBOT

CrusaderDeleters

  • Posts: 102
  • The Great Crusader
    • View Profile
Re: net code acting strange
« Reply #3 on: July 23, 2014, 03:26:19 AM »
Crusade,We use linux :D
edit:
our freind lives in another state:/
(we need to be able to have him connect throught the powers of teh intarwebz)

~shiftyBOT
Port forwarding isn't a Windows-only thing.
Although about the Internal IP, that may be a different story.
The King of Maernol

Xyanshift

  • Posts: 12
  • KlokWorkz main coder and ideas guy
    • View Profile
Re: net code acting strange
« Reply #4 on: July 23, 2014, 04:38:47 AM »
well if we could some how port forward all the way across a couple servers it could work for all three of  us?  ???

DivinityArcane

  • Posts: 30
  • wat
    • View Profile
    • DeviantART profile
Re: net code acting strange
« Reply #5 on: July 23, 2014, 08:39:37 AM »
For linux you're likely going to need to add forwarding rules to the router as well as the IPTABLES of the host server (if applicable). Make sure you're using appropriate local addresses, and not public ones. Some routers get confused when you try to access your own public IP.

Alternatively, I did write a port changer if needed.

shiftyBOT

  • Posts: 44
  • KlokWorkz main artist and level designer.
    • View Profile
Re: net code acting strange
« Reply #6 on: July 23, 2014, 06:43:51 PM »
huh, we'll look into it, we've never done this stuff before xD

We're just modders
:P
~shiftyBOT