Home » General Discussions » General Discussion » Renegade FDS Running on Linux - on XWIS/WOL!!!
() 1 Vote
Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192004] |
Mon, 06 March 2006 12:13 |
|
Blazer
Messages: 3322 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (3 Stars) Administrator/General |
|
|
[blazer@blazer01 xwisp]$ cat success.txt
Mon Mar 6 11:04:09 MST 2006
That's the time it happened. The first ever successful login to an LFDS running on XWIS.
Long Story Short:
I now have an alpha version of "XWISP" fully functional.
* With XWISP, you can run the LFDS on both GameSpy and XWIS simultaneously.
* All XWIS functionality will be available, except currently no plans to add support for the nonexistant XWIS ladder (because there currently isn't one), but as soon as Strike Team gets one up that I can test against, I will endeavor to add it's functionality..
* XWISP is written in Perl, and completely encapsulates the LFDS. This means that renrem/macrem is not needed, since XWISP has full read and write access to the console via stdin/stdout.
* XWISP provides an "enhanced" console, which uses ANSI codes to basically give an IRC-like interface, with a "no-scroll" area that is free to type in (I know everyone hates when they are on the FDS console trying to type a command and something makes the screen scroll). Color customizations are possible.
* XWISP should enable an LFDS to "out perform" a windows FDS running on similar hardware. Why? Because Linux was meant to be a server, and almost 100% of a linux servers resources are available, whereas windows servers have umpteen resource hungry processes always running in the background, including the GUI.
* XWISP will be compatible with brenbot, as brenbot uses a TCP connection ("macrem"), for executing console commands, XWISP will provide a TCP port for this as well.
Stay tuned for more info, including a request for some people to beta test, both running an XWISP server, and playing on one. I will have extensive documentation in the final release as well as all of the detailed thank-you's and credits. For now I would like to thank the entire BHS team for their help and support in achieving my goal of a fully working Linux FDS.
[Updated on: Mon, 06 March 2006 12:48] Report message to a moderator
|
|
|
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192021 is a reply to message #192004] |
Mon, 06 March 2006 14:27 |
=HT=T-Bird
Messages: 712 Registered: June 2005
Karma: 0
|
Colonel |
|
|
Blazer wrote on Mon, 06 March 2006 13:13 | [blazer@blazer01 xwisp]$ cat success.txt
Mon Mar 6 11:04:09 MST 2006
That's the time it happened. The first ever successful login to an LFDS running on XWIS.
Long Story Short:
I now have an alpha version of "XWISP" fully functional.
* With XWISP, you can run the LFDS on both GameSpy and XWIS simultaneously.
* All XWIS functionality will be available, except currently no plans to add support for the nonexistant XWIS ladder (because there currently isn't one), but as soon as Strike Team gets one up that I can test against, I will endeavor to add it's functionality..
* XWISP is written in Perl, and completely encapsulates the LFDS. This means that renrem/macrem is not needed, since XWISP has full read and write access to the console via stdin/stdout.
* XWISP provides an "enhanced" console, which uses ANSI codes to basically give an IRC-like interface, with a "no-scroll" area that is free to type in (I know everyone hates when they are on the FDS console trying to type a command and something makes the screen scroll). Color customizations are possible.
* XWISP should enable an LFDS to "out perform" a windows FDS running on similar hardware. Why? Because Linux was meant to be a server, and almost 100% of a linux servers resources are available, whereas windows servers have umpteen resource hungry processes always running in the background, including the GUI.
* XWISP will be compatible with brenbot, as brenbot uses a TCP connection ("macrem"), for executing console commands, XWISP will provide a TCP port for this as well.
Stay tuned for more info, including a request for some people to beta test, both running an XWISP server, and playing on one. I will have extensive documentation in the final release as well as all of the detailed thank-you's and credits. For now I would like to thank the entire BHS team for their help and support in achieving my goal of a fully working Linux FDS.
|
Go Blazer! YA! (you forgot to mention that Linux runs on some WICKED machines that Winbloze has no clue how to support: 64xAlpha EV79, any1?) (it would be nice if the LFDS could be compiled for some other cpu besides i386...)
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.
[Updated on: Mon, 06 March 2006 14:27] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192091 is a reply to message #192071] |
Tue, 07 March 2006 05:56 |
|
howang
Messages: 57 Registered: September 2005 Location: Hong Kong
Karma: 0
|
Recruit |
|
|
Blazer, I think you should make it open-source.
This is not RenGuard so you don't have a reason to make it closed-source, right?
mac tell me he love Open Source & GPL. Blazer, as a member of BHS, you should learn from your good friend, and make this open-source. This will help the Renegade Community.
Blazer wrote on Tue, 07 March 2006 13:40 |
Terminator 101 wrote on Mon, 06 March 2006 19:16 | Question: Why Perl and not PHP? I think that PHP is more widely used.
|
PHP is more widely used for web applications, whereas perls main dominion is command line applications. Perl is well suited for things like this, and it's many built-in and addon functions for things like crc32 and other complex math, plus me being fairly adept at Perl, made it the logical choice. Pretty much any unix OS either has Perl installed by default or is available in the base package set, so I don't think anyone will have any problems running it.
|
I'm a PHP engineer. As what I know, Perl DO NOT have any built-in functions for complex encryption and maths function. What you can do is download modules for it. But on the other hand, PHP have dozen of built-in functions, such as sha1() , md5() and crc32() . These PHP functions are really BUILT-IN and you don't need to use it with any module.
Your brenbot is packed with par, that means no perl installation is needed, so pre-installed perl or not is not a problem.
I strongly suggest you write this in PHP. With PHP, you have easy access to the Internet without calling sockets directly. PHP will handle the socket for you. Any URL is accepted as filename and it allow us to treat URLs as normal files. For example, we can fopen('http://www.somewebsite.abc/file.ext','r'); in PHP! Can you do this in Perl? NO. PHP code is programmer-friendly and it have a good error reporting system, but perl do not. PHP is the next generation of scripting language, perl is outdated and unloved. As what you can see, this forum is using PHP-based script but not a Perl CGI. PHP is fast, stable and powerful, use PHP is much more better than Perl in any situation.
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 #192096 is a reply to message #192091] |
Tue, 07 March 2006 08:24 |
|
Blazer
Messages: 3322 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (3 Stars) Administrator/General |
|
|
howang wrote on Tue, 07 March 2006 07:56 | Blazer, I think you should make it open-source.
This is not RenGuard so you don't have a reason to make it closed-source, right?
mac tell me he love Open Source & GPL. Blazer, as a member of BHS, you should learn from your good friend, and make this open-source. This will help the Renegade Community.
|
Well since it's written in Perl, the source code is right there. XWISP currently only 100% emulates the protocol exchange of the windows FDS, so there is no reason to "modify" anything, as changing anything would make it no longer work.
Blazer wrote on Tue, 07 March 2006 13:40 |
Terminator 101 wrote on Mon, 06 March 2006 19:16 | Question: Why Perl and not PHP? I think that PHP is more widely used.
|
PHP is more widely used for web applications, whereas perls main dominion is command line applications. Perl is well suited for things like this, and it's many built-in and addon functions for things like crc32 and other complex math, plus me being fairly adept at Perl, made it the logical choice. Pretty much any unix OS either has Perl installed by default or is available in the base package set, so I don't think anyone will have any problems running it.
|
howang wrote on Tue, 07 March 2006 07:56 |
I'm a PHP engineer. As what I know, Perl DO NOT have any built-in functions for complex encryption and maths function. What you can do is download modules for it. But on the other hand, PHP have dozen of built-in functions, such as sha1() , md5() and crc32() . These PHP functions are really BUILT-IN and you don't need to use it with any module.
|
PHP does have some nice built-in functions, along with Pear. Perl has vastly more modules available to do pretty much anything, from IRC modules to complex ANSI terminal emulation.
howang wrote on Tue, 07 March 2006 07:56 |
Your brenbot is packed with par, that means no perl installation is needed, so pre-installed perl or not is not a problem.
|
brenbot is packed with par so that it can run on Win32 systems. Since XWISP is for Linux, packing it will not be required. Starting it up will be as simple as ./xwisp.pl (And good thing too, since php does not have a par equivalent )
howang wrote on Tue, 07 March 2006 07:56 | I strongly suggest you write this in PHP. With PHP, you have easy access to the Internet without calling sockets directly. PHP will handle the socket for you. Any URL is accepted as filename and it allow us to treat URLs as normal files. For example, we can fopen('http://www.somewebsite.abc/file.ext','r'); in PHP! Can you do this in Perl? NO.
|
Yes, PHP does have builtin support to open and parse URLS (as it should, since it is a web programming language). But, for one thing, XWISP has no need to do this. But if I did, Perl does allow you to do the same thing, as I have used it for several other applications.
howang wrote on Tue, 07 March 2006 07:56 | PHP code is programmer-friendly and it have a good error reporting system, but perl do not.
| I am now starting to question if you know anything about Perl at all, because if you did, you would know that perl code and php code and syntax are very similar. And, with Perls "use warnings; use strict;" I would wager that it's error reporting is vastly superior to PHPs "Parse error on line 101"
howang wrote on Tue, 07 March 2006 07:56 | PHP is the next generation of scripting language, perl is outdated and unloved.
| LOL. Actualy most people would probably say that something like Ruby is the next generation scripting language. I suppose you could call Perl "outdated" in that it has been around for a long time, but it's definitely not unloved, or lacking any features, support, or development.
howang wrote on Tue, 07 March 2006 07:56 | As what you can see, this forum is using PHP-based script but not a Perl CGI. PHP is fast, stable and powerful, use PHP is much more better than Perl in any situation.
| Yes, as I said, PHP is well suited for web applications, such as this forum software. PHP was *designed* to be a web scripting language. Perl was designed to be a command-line scripting language. At one time Perl was tried to press into service as a web scripting language (mod_perl), which does work (still in use today for some applications), but php matured and developed to be mainly a web scriping/cgi language, with builtin support for most common web functions.
If you are indeed a Zend Certified PHP Engineer, you should agree with me on most if not all of the points I have made. There is no denying that PHP is made for web apps, and Perl is primarily designed as a console/command-line language. Now I'm not saying that PHP is incapable of doing command-line things (Crimson has done some pretty amazing things with PHP, including a renrem implementation as well as a RenGuard SSC), just that Perl is better suited to handle this sort of task.
[Updated on: Tue, 07 March 2006 08:25] Report message to a moderator
|
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192145 is a reply to message #192096] |
Tue, 07 March 2006 19:27 |
|
howang
Messages: 57 Registered: September 2005 Location: Hong Kong
Karma: 0
|
Recruit |
|
|
Blazer wrote on Tue, 07 March 2006 23:24 | Well since it's written in Perl, the source code is right there. XWISP currently only 100% emulates the protocol exchange of the windows FDS, so there is no reason to "modify" anything, as changing anything would make it no longer work.
|
I'm happy to know that you will make it open-source but not close-source it just like brenbot. You are very kind.
Blazer wrote on Tue, 07 March 2006 23:24 |
PHP does have some nice built-in functions, along with Pear. Perl has vastly more modules available to do pretty much anything, from IRC modules to complex ANSI terminal emulation.
|
PHP have many "modules"(maybe real modules or OOP-based classes) too. Just as what you mentioned, from IRC modules to complex ANSI terminal emulation are available! Check out phpclasses.org for more PHP "modules".
Blazer wrote on Tue, 07 March 2006 23:24 |
brenbot is packed with par so that it can run on Win32 systems. Since XWISP is for Linux, packing it will not be required. Starting it up will be as simple as ./xwisp.pl (And good thing too, since php does not have a par equivalent )
|
There are some skills to pack PHP into Windows execuatables. You may have a look on this: http://wildphp.free.fr/wiki/doku.php?id=win32std:embeder
Blazer wrote on Tue, 07 March 2006 23:24 | I am now starting to question if you know anything about Perl at all, because if you did, you would know that perl code and php code and syntax are very similar.
|
Yes, I know a little bit. I start learning scripting language from Perl, but as what I know it is too complex for me, so I switch to PHP and it give me a good feel of PHP'ing. PHP codes are easy to understand and easy to learn. At least it won't have something like $_ which makes beginners confused. And Perl mixed up for & foreach, that I think it is not acceptable. for is looping with some conditions. foreach is looping through an array (and hash in perl). They are total difference but perl mix them up, it makes me really confused. The reason that PHP & Perl have similar syntax is, they both copy the syntax from C and PHP copy some syntax from Perl. But the PHP Group is quite smart, they don't copy something like $_ to make the PHP code more programmer-friendly.
Blazer wrote on Tue, 07 March 2006 23:24 |
And, with Perls "use warnings; use strict;" I would wager that it's error reporting is vastly superior to PHPs "Parse error on line 101"
|
How about error_log() error_reporting(E_ALL) and custom error handler?
Blazer wrote on Tue, 07 March 2006 23:24 | LOL. Actualy most people would probably say that something like Ruby is the next generation scripting language. I suppose you could call Perl "outdated" in that it has been around for a long time, but it's definitely not unloved, or lacking any features, support, or development.
|
But most of the Perl CGI developer switched to PHP, that's why I think Perl is unloved. You are right because there are still many people use perl as command line scripting. And only some PHP web apps will provide some simple php cmd line script for installation. Maybe you should take a look on XAMPP, it is a server package(with Apache/MySQL/PHP/Perl/FTP server/Mail server) and part of their admin scripts are written in PHP.
And I have develop my own Renegade ladder program with a command line based PHP script. It support HTML report & FTP upload, just a simplified renstat clone. It contain less than 200 lines of code(exclude the built-in HTML template) only! This is a proof of the success of the programmer-friendly functions in PHP.
Blazer wrote on Tue, 07 March 2006 23:24 | Yes, as I said, PHP is well suited for web applications, such as this forum software. PHP was *designed* to be a web scripting language. Perl was designed to be a command-line scripting language. At one time Perl was tried to press into service as a web scripting language (mod_perl), which does work (still in use today for some applications), but php matured and developed to be mainly a web scripting/cgi language, with builtin support for most common web functions.
|
Don't talk about mod_perl, it is far worse than mod_php(install PHP as Apache module), everyone knows. I'm not going to discuss the disadvantage of mod_perl here.
Blazer wrote on Tue, 07 March 2006 23:24 |
If you are indeed a Zend Certified PHP Engineer,
|
http://zend.com/zce.php?c=ZEND002252&r=212128377
Blazer wrote on Tue, 07 March 2006 23:24 |
you should agree with me on most if not all of the points I have made. There is no denying that PHP is made for web apps, and Perl is primarily designed as a console/command-line language. Now I'm not saying that PHP is incapable of doing command-line things
|
Yes, I agree with you.
Blazer wrote on Tue, 07 March 2006 23:24 | (Crimson has done some pretty amazing things with PHP, including a renrem implementation as well as a RenGuard SSC), just that Perl is better suited to handle this sort of task.
|
Is the RenGuard SSC open-source? I can make a quick clone with PHP too. In fact I have written a simple renbot to add some more commands in IRC, such as !renrem <renrem command>.
After you have release XWISP with the source code, I will show you a clone in PHP soon, LOL.
Blazer, I think you have great experience on data parsing and protocol cracking, keep on your good work! Renegade will keep on popular forever!
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 #192151 is a reply to message #192004] |
Tue, 07 March 2006 21:06 |
|
I believe that the RenGuard SSC is not open source because we dont want to give out secrets of RenGuard protocol (crimson/blazer, correct me if I am wrong here).
Also, in the future, I have plans to make this even better.
There is actually a fair chunk of the game-side parts of WOL left in the LFDS (it looks like codewench just disabled the bare minumum reqired in order to get the LFDS to work and not try to talk to WOL or whatever) which means I can (through the existing game-patching methods I have) put back the game-side bits and then have a linux clone of wolapi.dll that provides all the bits that the FDS needs to work and have the LFDS talk to that.
The advantage with this is that it will be much closer to the way the WFDS works (including setting the game type to "WOL" and having it work)
Although right now, the goal is to get it working.
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 #192176 is a reply to message #192151] |
Wed, 08 March 2006 05:58 |
=HT=T-Bird
Messages: 712 Registered: June 2005
Karma: 0
|
Colonel |
|
|
jonwil wrote on Tue, 07 March 2006 22:06 | I believe that the RenGuard SSC is not open source because we dont want to give out secrets of RenGuard protocol (crimson/blazer, correct me if I am wrong here).
Also, in the future, I have plans to make this even better.
There is actually a fair chunk of the game-side parts of WOL left in the LFDS (it looks like codewench just disabled the bare minumum reqired in order to get the LFDS to work and not try to talk to WOL or whatever) which means I can (through the existing game-patching methods I have) put back the game-side bits and then have a linux clone of wolapi.dll that provides all the bits that the FDS needs to work and have the LFDS talk to that.
The advantage with this is that it will be much closer to the way the WFDS works (including setting the game type to "WOL" and having it work)
Although right now, the goal is to get it working.
|
Actually, there are a few "pinholes" in the SSC protocol that should be cleaned up as part of the RG2 backend work afaik.
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 #192188 is a reply to message #192176] |
Wed, 08 March 2006 09:34 |
|
Crimson
Messages: 7429 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (5 Stars) ADMINISTRATOR |
|
|
=HT=T-Bird wrote on Wed, 08 March 2006 05:58 | Actually, there are a few "pinholes" in the SSC protocol that should be cleaned up as part of the RG2 backend work afaik.
|
What the FUCK do "pinholes" in the SSC protocol have to do with a discussion about a Linux FDS on XWIS, in a reply from jonwil primarily about his help on the XWISP project? Or did you just post this in a high-profile thread so people would think you know what you're talking about?
I'm the bawss.
[Updated on: Wed, 08 March 2006 09:36] Report message to a moderator
|
|
|
|
Re: Renegade FDS Running on Linux - on XWIS/WOL!!! [message #192207 is a reply to message #192188] |
Wed, 08 March 2006 14:17 |
=HT=T-Bird
Messages: 712 Registered: June 2005
Karma: 0
|
Colonel |
|
|
Crimson wrote on Wed, 08 March 2006 10:34 |
=HT=T-Bird wrote on Wed, 08 March 2006 05:58 | Actually, there are a few "pinholes" in the SSC protocol that should be cleaned up as part of the RG2 backend work afaik.
|
What the FUCK do "pinholes" in the SSC protocol have to do with a discussion about a Linux FDS on XWIS, in a reply from jonwil primarily about his help on the XWISP project? Or did you just post this in a high-profile thread so people would think you know what you're talking about?
|
Sorry Crimson, I was correcting Jonwil...O.o
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 #192208 is a reply to message #192004] |
Wed, 08 March 2006 14:42 |
|
Crimson
Messages: 7429 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (5 Stars) ADMINISTRATOR |
|
|
Well, he was referring to the security aspects of the SSC protocol, not because of a minor easily-detected hole. Your reference to the fact that it's a "pin"hole expresses your understanding of the minimal magnitude of this hole.
I'm the bawss.
|
|
|
Goto Forum:
Current Time: Sat Nov 23 20:46:39 MST 2024
Total time taken to generate the page: 0.01393 seconds
|