Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Linux FDS » Possibility of NR for linux!
Possibility of NR for linux! [message #192534] Sat, 11 March 2006 13:53 Go to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
now that the Linux FDS has XWIS support, the number of Linux servers on Renegade will raise rapidly, im now considering adding Linux support into NR

i need some people to do some testing for me though! Smile + i need some answers


what differences are there in the Linux FDS from the windows version other than the fact that they are windows + linux? Razz

does it support RenRem?

also, could someone perhaps try to run the latest version of NR onto a Linux FDS running over WINE and see what results your get! Smile

i personally dont have a Linux PC to test this on so its pretty much gonna be a shot in the dark for me
Re: Possibility of NR for linux! [message #192539 is a reply to message #192534] Sat, 11 March 2006 14:39 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Nightma12 wrote on Sat, 11 March 2006 14:53

now that the Linux FDS has XWIS support, the number of Linux servers on Renegade will raise rapidly, im now considering adding Linux support into NR

i need some people to do some testing for me though! Smile + i need some answers


what differences are there in the Linux FDS from the windows version other than the fact that they are windows + linux? Razz

does it support RenRem?

also, could someone perhaps try to run the latest version of NR onto a Linux FDS running over WINE and see what results your get! Smile

i personally dont have a Linux PC to test this on so its pretty much gonna be a shot in the dark for me


1) LFDS has no RenRem (you must use MacRem instead)
2) SSAOW does not support the LFDS yet (this probably will change in the near future)
3) I have a Linux PC at my grandparents' house...


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: Possibility of NR for linux! [message #192541 is a reply to message #192534] Sat, 11 March 2006 15:07 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
SSAOW has supported the LFDS for a long time.

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: Possibility of NR for linux! [message #192543 is a reply to message #192534] Sat, 11 March 2006 15:56 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

don't see how your gonna do it when almost no linux server owners use GUI's, this would be much easier if NR was written in C or C++ like it should have been, but since its not, I don't see linux anywhere in NR's future, half in part because wine blows.
Re: Possibility of NR for linux! [message #192584 is a reply to message #192543] Sun, 12 March 2006 05:13 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
AmunRa wrote on Sat, 11 March 2006 16:56

don't see how your gonna do it when almost no linux server owners use GUI's, this would be much easier if NR was written in C or C++ like it should have been, but since its not, I don't see linux anywhere in NR's future, half in part because wine blows.

Exactly...I'm writing RavBot to run as a console app (EVEN on Winbloze) for exactly the reason that AmunRa said...


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: Possibility of NR for linux! [message #192587 is a reply to message #192534] Sun, 12 March 2006 06:02 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
when you turn on a Linux PC theres no desktop at all????

just all DOS? Dont Get It
Re: Possibility of NR for linux! [message #192598 is a reply to message #192587] Sun, 12 March 2006 06:57 Go to previous messageGo to next message
PackHunter is currently offline  PackHunter
Messages: 487
Registered: November 2004
Location: Holland
Karma: 0
Commander
Quote:

when you turn on a Linux PC theres no desktop at all????

just all DOS?


kiddin right? ^^
Re: Possibility of NR for linux! [message #192600 is a reply to message #192587] Sun, 12 March 2006 07:15 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Nightma12 wrote on Sun, 12 March 2006 07:02

when you turn on a Linux PC theres no desktop at all????

just all DOS? Dont Get It

Linux does have a GUI, it's called XFree86, but most servers don't run it for efficiency reasons (X, like the W32 GUI, is a pig). The Linux command prompt, however, is 2-3 orders of magnitude more powerful than any DOS box. GNU Bash has superb shell scripting support and you have many, many more handy little tools (sed, tee, install, m4, dd, ...) than Windows or DOS would ever provide. Hint: most Linux distributions provide Perl and Python too.


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: Possibility of NR for linux! [message #192603 is a reply to message #192543] Sun, 12 March 2006 07:47 Go to previous messageGo to next message
Fifaheld is currently offline  Fifaheld
Messages: 349
Registered: October 2005
Karma: 0
Recruit
give it ravbot for win32 to download? for all serverowners?
Re: Possibility of NR for linux! [message #192611 is a reply to message #192598] Sun, 12 March 2006 09:18 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
PackHunter wrote on Sun, 12 March 2006 07:57

Quote:

when you turn on a Linux PC theres no desktop at all????

just all DOS?


kiddin right? ^^



nope, i have never ever laided hands on a Linux box before, lol


Quote:

Linux does have a GUI, it's called XFree86, but most servers don't run it for efficiency reasons (X, like the W32 GUI, is a pig). The Linux command prompt, however, is 2-3 orders of magnitude more powerful than any DOS box. GNU Bash has superb shell scripting support and you have many, many more handy little tools (sed, tee, install, m4, dd, ...) than Windows or DOS would ever provide. Hint: most Linux distributions provide Perl and Python too.


is it possible to run WINE under command prompt?

could some1 perhaps do me a favour if it does? install NR onto your Linux box and try to run it under WINE, when your execute it, add -IRC to the exe parameters and see if the bot shows up in IRC

you will have to set it up manually via the config files though

make sure also to add the E-mail setting else the bot will not connect to IRC


if it works i might be able to add support for macrem into NR? and get a linux version of NR available! Smile



ive never used WINE myself, but ive heard mixed opinions on it, its not too resource hungry is it?
Re: Possibility of NR for linux! [message #192621 is a reply to message #192611] Sun, 12 March 2006 11:36 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Nightma12 wrote on Sun, 12 March 2006 11:18

is it possible to run WINE under command prompt?


It's possible, but X is a WINE dependency, so doing that wouldn't be feasible at all. There's *very* limited console support if you set GraphicsDriver=ttydrv, but nobody is going to install X to use a command line application.

Quote:

Dependencies: 00-dirtree alsa alsa:dev arts arts:dev audiofile audiofile:dev
Dependencies: bash2 binutils bison bzip2 coreutils cups cups:dev diffutils
Dependencies: esound esound:dev findutils flex flex:dev freetype freetype:dev
Dependencies: gawk gcc34 gcc34:dev glib glibc23 glibc23:dev glut gnome2-dirtree
Dependencies: grep isdn4k-utils isdn4k-utils:dev jack:dev lcms lcms:dev libexif
Dependencies: libgphoto libjpeg libjpeg:dev libungif libungif:dev libusb libxml2
Dependencies: libxml2:dev libxslt libxslt:dev linux26-header:dev m4 make mktemp
Dependencies: nas nas:dev ncurses:dev net-tools openssl openssl:dev pkgconfig
Dependencies: prelink sane-backends sane-backends:dev sed sysfiles tar util-linux
Dependencies: valgrind:dev xorg xorg:dev zlib:dev


Is NR written in .NET? If that's the case, you may have some luck with Mono.

Doing an emerge -p wine made me cringe. >:(


cause = time

[Updated on: Sun, 12 March 2006 11:38]

Report message to a moderator

Re: Possibility of NR for linux! [message #192622 is a reply to message #192534] Sun, 12 March 2006 11:38 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
nope, VB6

i am almost on the verge of porting to VB 2005 though


just weighing up the pros + cons of it and decideing wether or not to go ahead with it

so many things are no longer supported in .NET 0_o

[Updated on: Sun, 12 March 2006 11:51]

Report message to a moderator

Re: Possibility of NR for linux! [message #192677 is a reply to message #192534] Mon, 13 March 2006 09:16 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
What's not supported in VB.Net that VB6 has. They each have the same from what I see, just VB.NET has lots of imports that you can use.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Possibility of NR for linux! [message #192790 is a reply to message #192534] Tue, 14 March 2006 09:56 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
The currency data type

Quote:

VB.NET no longer supports the VarPtr, ObjPtr and StrPtr functions which retrieved the underlying memory address of variables. It also no longer supports the LSet command which was used to convert one user defined type to another.

Some defunct keywords are: GoSub, Let, Is Missing, DefBool, DefByte, DefLng, DefCur, DefSng, DefDbl, DefDec, DefDate, DefStr, DefObj and DefVar as well as On x Goto.


all arrays must be zero based, seeing as NR stores the player names in a non-zero array (1 to 127) and stores each player in its ID as the index..... =/ could be easily fixed with a - 1 though?


Quote:

Controls on a form are no longer public in VB.NET. Thus, form2 cannot reference form1.text1.text. What you now need to do is add public Let and Get property procedures to the form for each control property you want to reference from another form. By the way, Let is no longer supported, read on for more info.


^^^^^ eeeeeeewwwwwwww, that would be a right bitch to manage


Quote:

Winforms do not support the OLE Container, shape or line controls.


Quote:

Winforms do not support Dynamic Data Exchange (DDE) or the form.PrintForm method.


no DDE?

Quote:

Winforms and controls do not expose a .Name property at runtime. You cannot enumerate the controls collection looking for a control with a given name.





http://www.thescarms.com/VBasic/VB6vsVBNet.asp

got it from there
Re: Possibility of NR for linux! [message #192831 is a reply to message #192534] Tue, 14 March 2006 15:32 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

as far as linux, rewrite in C/C++/Perl, otherwise, I'd say your right fucked nightma Razz

P.S.
Command line OWNZ

[Updated on: Tue, 14 March 2006 15:34]

Report message to a moderator

Re: Possibility of NR for linux! [message #209525 is a reply to message #192534] Mon, 24 July 2006 09:00 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
i have a linux box at home i could test it on.
i run linux for develepment/updating my web site. windows to play renegade.


i have suse linux 9.1 and it is the best i have tryed so far. i have tryed 10.1 but it wont install. i have tryed red hat (latest, cant rember which one) but that just stoped working. and i have also tryed ubunto.
suse 9.1 as you will probly know uses kde or gnome but i prefer kde.

and you are right, the cmd line is always bettetr Wink
Re: Possibility of NR for linux! [message #209528 is a reply to message #192534] Mon, 24 July 2006 09:45 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
can u try running NR under WINE?
Re: Possibility of NR for linux! [message #209541 is a reply to message #192534] Mon, 24 July 2006 11:02 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Some linux versions have a GUI, some have an optional GUI, but they are mainly ones for desktop use, the ones used as servers won't have the GUI installed to keep the overhead down.

I have this machine dual-booting with linux, although I rarely use it because it does not support my wireless card fully, so I can't get on the net with it, which sucks...


http://steamsignature.com/card/1/76561197975867233.png
Re: Possibility of NR for linux! [message #209545 is a reply to message #192534] Mon, 24 July 2006 11:27 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
yea unfortanetly linux chooses which wireless network cards it will work with and it is not many.


[QUOTE Nightma12]
can u try running NR under WINE?
[/QUOTE]

of course i can! at the mo my linux box is not on the net but it will be in a week.
Re: Possibility of NR for linux! [message #209560 is a reply to message #192534] Mon, 24 July 2006 13:09 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
right sorry two double post.

i have a version of linux running that i can use and lfds is installed. i just need a link to NR. exe and i will show you what it outputs.
Re: Possibility of NR for linux! [message #209591 is a reply to message #192534] Mon, 24 July 2006 14:28 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
www.NightRegulator.co.uk
Re: Possibility of NR for linux! [message #209608 is a reply to message #192534] Mon, 24 July 2006 17:21 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
nope, i coulnt get it to work.

it installed though, these screenys will be big. sry.

i have another idea though that i think will work, but for now i need to go to bed.

as you will see from my avatar. if you give me the source (or give my a discription of what the code does) i can write it in perl.

i should be able to get the exe running though.
if i do get it working i can do a video tutorial of how to do it.

  • Attachment: successfull.JPG
    (Size: 35.37KB, Downloaded 178 times)
  • Attachment: error.JPG
    (Size: 159.70KB, Downloaded 146 times)
  • Attachment: wine_output.JPG
    (Size: 163.38KB, Downloaded 137 times)
Re: Possibility of NR for linux! [message #209655 is a reply to message #192534] Tue, 25 July 2006 03:11 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
yeah, guess WINE dousnt support ActiveX dlls then

try installing NR 1.9? that version dousnt have dlls
Re: Possibility of NR for linux! [message #209738 is a reply to message #192534] Tue, 25 July 2006 16:11 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
i tryed the first versoin and it didnt work. it ran but didnt initialize.
Re: Possibility of NR for linux! [message #209781 is a reply to message #192534] Wed, 26 July 2006 01:19 Go to previous messageGo to previous message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
1.9?
Previous Topic: CP2 Bugs(?)
Next Topic: can macrem support the /ip=xx.xx.xx.xx option to the LFDS?
Goto Forum:
  


Current Time: Sun Jun 02 05:32:30 MST 2024

Total time taken to generate the page: 0.01392 seconds