Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Renegade FDS Running on Linux - on XWIS/WOL!!!  () 1 Vote
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192739 is a reply to message #192004] Mon, 13 March 2006 20:53 Go to previous messageGo to next message
pvtschlag is currently offline  pvtschlag
Messages: 122
Registered: April 2004
Karma: 0
Recruit
I can't wait for the first release. Good work! Thumbs Up

-Lee
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192753 is a reply to message #192647] Mon, 13 March 2006 23:35 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

#5 on the to-do list is now done...we are getting close now Smile
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192770 is a reply to message #192004] Tue, 14 March 2006 04:55 Go to previous messageGo to next message
jd422032101 is currently offline  jd422032101
Messages: 304
Registered: April 2004
Karma: 0
Recruit
goodies Razz

[Updated on: Tue, 14 March 2006 04:55]

Report message to a moderator

Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193059 is a reply to message #192004] Thu, 16 March 2006 19:27 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

Didn't work on XWISP yesterday as I was busy...tonight so far I have added support for the ban and allow commands. I also hear that the XWIS ladder is now working? I will have to look into that, and if it is, start working on adding ladder support, as well as adding the support for brenbot.
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193130 is a reply to message #192004] Fri, 17 March 2006 11:46 Go to previous messageGo to next message
forcee is currently offline  forcee
Messages: 34
Registered: November 2004
Karma: 0
Recruit
Thesea all are very good news!!!!
Great work Blazer Big Ups


 http://www.n00bstories.com/stats/renegade_stats.php?player=M Xsword&team=gdi4
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193276 is a reply to message #192004] Sat, 18 March 2006 23:32 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

BrenBot support is added.

I am now cleaning up the code (replacing hard-coded values with info automatically collected from the config files), and doing playtesting.
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193496 is a reply to message #192004] Tue, 21 March 2006 07:24 Go to previous messageGo to next message
jd422032101 is currently offline  jd422032101
Messages: 304
Registered: April 2004
Karma: 0
Recruit
So how many more thing left to do blazer?
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193522 is a reply to message #192004] Tue, 21 March 2006 16:43 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

1. Working out a small issue with the protocol for NAT players
2. Discovered an issue with LFDS not always printing player join/leave/chat messages to the console (SilentKane found a fix) which causes problems with brenbot and XWISP
3. Cleaning up the code and testing XWISP+brenbot until I feel it is stable enough to release to beta testers (right now the FDS is crashing randomly and I want to find out why).

So basically its pretty much working, and I am confident that when released will work 100% fine. I just want to iron out the few glitches and problems, and make it as user-friendly as possible.
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193528 is a reply to message #192004] Tue, 21 March 2006 17:14 Go to previous messageGo to next message
jd422032101 is currently offline  jd422032101
Messages: 304
Registered: April 2004
Karma: 0
Recruit
Good ;]
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193546 is a reply to message #192004] Tue, 21 March 2006 21:55 Go to previous messageGo to next message
CompHobbyist is currently offline  CompHobbyist
Messages: 17
Registered: December 2005
Location: Worcester, MA USA
Karma: 0
Recruit

Blazer: if you need it, I can set up an account for you on my FreeBSD 5.4 server for testing - it has the linux compatibility kernelmod loaded so it should be able to run almost all linux software (I have the rh8 version of the renegade FDS running on it right now, and haven't had to restart it once even though it's been running since November.) I'm pretty sure I have Perl installed, if I don't I can install it fairly quickly. The server has a static IP, and is on a good connection (often in the 24mbit/8mbit download/upload range) until the beginning of May, when I move out of my dorm. It should be stable and is dual processor if you need to extensively test multithreaded or multiprocess code (since multiple CPUs or cores help a lot in finding deadlocks and race conditions.) PM me on IRC if you need it (I'm on as CompHobbyist and SVRCompHobbyist.)

howang: wow, you're a bright one. Notice that PHP stands for PHP HyperText Preprocessor... it's designed for web stuff, though it CAN be used for command line things as well. Also PHP has $_ just like Perl, though it's in $_POST and $_GET instead of by itself Smile I'm no fan of Perl (too easy to obfuscate imo) but that's probably because I haven't learned more then the bare basics. (note: I don't want to restart this battle, but I really can't believe this guy would actually argue for what he did)


http://www.comphobbyist.com/img/logo_red_black_writing.gif
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193577 is a reply to message #192004] Wed, 22 March 2006 12:19 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

You sound like a good candidate for beta testing once I get the few remaining issues worked out.

Since the command to send the special UDP packet is now integrated into the FDS, an XWISP-like program could be fairly easily written in any unix-friendly language (perl, php, python, C, java, etc) by someone with some knowledge of writing multi-threaded apps in their language of choice (must be able to simultaneously communicate with XWIS while also paying attention to the FDS and remote admin port), and the protocol specs.

[Updated on: Wed, 22 March 2006 12:20]

Report message to a moderator

Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193586 is a reply to message #192004] Wed, 22 March 2006 15:21 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Since the xwisp.pl will be available (I believe), anyone who wants to could use that as a reference to get things right Smile


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193750 is a reply to message #192004] Fri, 24 March 2006 16:08 Go to previous messageGo to next message
jd422032101 is currently offline  jd422032101
Messages: 304
Registered: April 2004
Karma: 0
Recruit
So how is it going so far?
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193751 is a reply to message #192004] Fri, 24 March 2006 16:09 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Any updates on this? Interested in (attempting to) implement this in C.

cause = time
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #193827 is a reply to message #192004] Sat, 25 March 2006 19:13 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

I'm still waiting to confer with Scorpio9a on resolving the protocol exchange for mangler/NAT:d players. He has been AFK for over a week now. In the meantime I am working on cleaning up the code and making it easily configurable, and I also need to do some testing of the FDS within gdb to see why mine is crashing.
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #194622 is a reply to message #192004] Fri, 31 March 2006 13:30 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

I have seen the Linux test server in WOL, but i cant join Sad

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #194927 is a reply to message #193827] Sun, 02 April 2006 22:05 Go to previous messageGo to next message
howang is currently offline  howang
Messages: 57
Registered: September 2005
Location: Hong Kong
Karma: 0
Recruit
Blazer wrote on Sun, 26 March 2006 10:13

I'm still waiting to confer with Scorpio9a on resolving the protocol exchange for mangler/NAT:d players. He has been AFK for over a week now. In the meantime I am working on cleaning up the code and making it easily configurable, and I also need to do some testing of the FDS within gdb to see why mine is crashing.

Blazer, why don't you try to fix it on yourself? I think it must be a funny experience on debugging.
Anyway, keep on the good work! Thumbs Up


Thanks blazer for the xwisp! My dream comes true!
<Ghostshaw> duh
<Ghostshaw> its awesome
<Ghostshaw> cheat the cheaters :P
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #194991 is a reply to message #192004] Mon, 03 April 2006 11:55 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

I may have to do just that, as Scorpio9a has been unavailable for a couple of weeks now.
icon4.gif  Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #195661 is a reply to message #192004] Sun, 09 April 2006 20:57 Go to previous messageGo to next message
jd422032101 is currently offline  jd422032101
Messages: 304
Registered: April 2004
Karma: 0
Recruit
Update please ;]
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #196187 is a reply to message #195661] Fri, 14 April 2006 10:56 Go to previous messageGo to next message
DaN#GW is currently offline  DaN#GW
Messages: 97
Registered: August 2005
Location: United Kingdom
Karma: 0
Recruit
Vinister wrote on Mon, 10 April 2006 04:57

Update please ;]

^
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #196213 is a reply to message #192004] Fri, 14 April 2006 14:12 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9738
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Yes, we do need more empty servers on WOL/xwis!

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #196257 is a reply to message #192004] Fri, 14 April 2006 18:24 Go to previous messageGo to next message
jd422032101 is currently offline  jd422032101
Messages: 304
Registered: April 2004
Karma: 0
Recruit
yep.
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #197402 is a reply to message #192004] Sun, 23 April 2006 01:57 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

Okay, sorry for so long since last update, but there has been no progress until tonight.

Thanks to combined effort from jonwil and v00d00, the LFDS now has automatic, built-in support for responding to what is internalled called "Firewall Packet Probes".

Basically, before a game client can connect to the FDS, it sends a UDP packet that basically says "Hey server...this is me contacting you on what I think is your game port. If you can hear me, please respond". The FDS then has to send a special UDP packet back to the client, using the same IP and port the probe came in on - "Hey this is the Server...I read you loud and clear, if you can hear this come on in!". The game client then connects to the server and logs the player in.

Now, to explain the problem I was having.
1. I had already learned via various reverse engineering methods (packet sniffing, dissassembly, debugging) of this special packet that was required to connect.

2. Jonwil and v00d00 collaborated on adding an additional console command to the LFDS (via latest scripts.dll), called "wolsend". Using this command you could specify an IP and port and it would send a properly formatted packet to the remote game client, so it could then connect.

3. This seemed to work, and thought all our problems were solved. However I discovered another problem, when certain types of NAT (firewalled) players tried to join the server.

4. For normal clients, I got their IP address and UDP port from the XWIS/WOL protocol that their client sent to the game channel.

5. However, these NAT players, something funky was happening. Basically their game client would send info to the game channel indicating they were using a certain port, but then the actual firewall probe packet would come in from a DIFFERENT port! This totally screwed me up, as now I had no way to easily intercept these packets and verify which source port they were using.

6. Jonwil and v00d00 came to the rescue. v00d00 found a function within the FDS code that specifically handles the firewall probe packets. Once this info was given to Jonwil, he was able to add code to scripts.dll that "hooked" this function. Basically since the LFDS runs in GSA mode, the function wasn't even doing anything, so we basically overrode it with our own function, that would automatically examine firewall probe packets, collect the necessary info from them, and automatically send the proper response packet. So the wolsend command was no longer needed, and was removed.

7. The end result is that the LFDS, combined with XWISP, now automatically fully supports XWIS/WOL, with all of the functionaly of the Win32 FDS, including XWIS specific things like bans and paging.

The only thing lacking still is ladder support, but as that will involve more reverse engineering and basically a project of itself, it's last on my list.

[Updated on: Sun, 23 April 2006 02:02]

Report message to a moderator

Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #197418 is a reply to message #197402] Sun, 23 April 2006 05:19 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
How long is it before XWISP is ready for release?

HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #197427 is a reply to message #192004] Sun, 23 April 2006 07:42 Go to previous messageGo to previous message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

I would say after a couple days of testing with the new scripts.dll (2.7), and ssaow (that hopefully WD will build with it). I asked jonwil when 2.7 will be out and he said soon.
Previous Topic: kittey749
Next Topic: OT: My New Computer (Hopefully)
Goto Forum:
  


Current Time: Sat Nov 30 09:54:47 MST 2024

Total time taken to generate the page: 0.01350 seconds