SRCDS Steam group


L4D2 Server on home network, issues?
#1
My dedicated server runs on the same machine I play on. I had to do this unfortunately since I dont have another box and a certain sourcemod plugin required Dedicated servers to work.

Everything is working fine. EXCEPT, when players try to join via my friends list, my game client has reported to steam that i'm playing on my own local ip. As a result, they try to join 192.168.2.* which obviously doesn't work. The only way to get them in game is to give them the connect [External IP] or have them be there in the lobby.

How can i change my client to tell steam that i'm playing on my external ip? my router supports loopback, so I can connect to my own server from external ip, but this doesn't change anything. My client still resolves the internal ip as the IP that it should report to my friends via steam.


Does anyone know how i can fix this? Does this happen because i'm on the same network as my server? or is it because i'm on the same machine as the server?

Thanks in advance, i'd really appreciate it if I could get this sorted out...



I'm fairly sure that listen servers automatically gives your friends list the correct IP. I need it to do it for dedicated servers, even though i'm using mine in an unlikely scenario.
Reply
#2
(05-01-2011, 03:02 PM)xioSlayer Wrote:  Does this happen because i'm on the same network as my server? or is it because i'm on the same machine as the server?

It's because you are on the same network. Smile
Reply
#3
Ok, well thats good news, since i figured people wouldn't be wanting to help me since i'm running it on the same machine.

In that case, do you know of any workarounds?

Its certainly possible, i'm just not sure if the functionality is supported or if I'd need to create a program to fix it.

I would need to modify the data sent from the client game to the steam client for the correct IP to show up.

Thats beyond me though :/ I doubt I'd be able to create such a solution.
Reply
#4
There is no way around this.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#5
Could i not write a program to modify the output from left4dead2.exe to steam? not unlike how hackers modify memory? or are their anti hacking measures in place that will also prevent me from doing this?
Reply
#6
You could try, but you'd probably get VAC flagged with it. _Everything_ that changes or alters Steam memory or any games memory = insta banned.
Reply
#7
(05-05-2011, 04:39 AM)michael_sj123 Wrote:  _Everything_ that changes or alters Steam memory or any games memory = insta banned.

Are you completely sure about that? Big GrinBig GrinBig Grin

Anyways, as michael_sj said, you probably shouldn't change anything client side like this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)