Author Topic: Using the dedicated server console via STDin  (Read 4446 times)

I got it!

I deleted base/client/audio.cs.dso and replaced it with a file called audio.cs which contained setKey("mykey");.

edit: Holy hell, input started working once I set the key! I now have a fully functional linux server with no need for wrappers and whatnot.
edit2: Authentication isn't working yet.

EDIT3: After further testing you don't need to use the hacky replace-default-file-to-set-key thing. Just type setKey("yourkey"); into the console. Somehow I must have had a typo the first time I tried it.
« Last Edit: February 25, 2014, 11:53:12 PM by Greek2me »

I got it!

I deleted base/client/audio.cs.dso and replaced it with a file called audio.cs which contained setKey("mykey");.

edit: Holy hell, input started working once I set the key! I now have a fully functional linux server with no need for wrappers and whatnot.
edit2: Authentication isn't working yet.
whaat? there's no way!

well balls to the walls it actually works
« Last Edit: February 24, 2014, 12:39:13 AM by Lugnut »

whaat? there's no way!

well balls to the walls it actually works

Did you get authentication working? My connection to the server is accepted but authentication doesn't work, so I can't start loading. I think it has to do with permissions.

it is working, but I wasn't doing anything fancy with ownership and stuff - I just used my main non-root user and just ran wineconsole blahblahblah
no screen or ownership magic

I'm going to test your "setKey() with audio.cs" method today, on Windows.

edit: Holy hell, input started working
Are you talking about STDin?

Yeah I'm currently writing something that will write a key.dat
I would find that very useful, since I need to create key.dat files automatically for HammerHost.
« Last Edit: February 24, 2014, 03:01:16 PM by Hammereditor5 »

I'm going to test your "setKey() with audio.cs" method today, on Windows.

It'll work with any default script file, really.

it is working, but I wasn't doing anything fancy with ownership and stuff - I just used my main non-root user and just ran wineconsole blahblahblah
no screen or ownership magic

What version of Wine are you using and what distro?

It'll work with any default script file, really.

What version of Wine are you using and what distro?
~: wine --version
wine-1.4.1
~: cat /etc/debian_version
7.4

I'm having the same problem that TBP had: http://forum.blockland.us/index.php?topic=247225.0

Running as root didn't work, either.

I'm having the same problem that TBP had: http://forum.blockland.us/index.php?topic=247225.0

Running as root didn't work, either.
what is the exact error?

Pretty sure there isn't one, the server just isn't authenticating.

TCP connections don't go through. It seems to be because of a DNS problem.

This causes authentication to not work.

1: DNS uses UDP, i think
2: try utilizing a TCP object connecting to a specific IP address

if you're capable of it, try running a packet sniffer

The reason I say it's a DNS issue is because I already made a connection using an IP address. That worked. However, when using a domain name it doesn't even show up in netstat.

I'll do the packet sniffer this evening.

yep that's definitely a dns issue
mmm, yep. use the packet sniffer. you don't need to post a pcap or anything dumb, just watch for dns requests and see what happens, i guess.

Legendary programmers talking to each other, I guess.
I'd better change the topic title.
« Last Edit: February 25, 2014, 01:42:49 PM by Hammereditor5 »