Jump to content

Relic2K

Members
  • Posts

    356
  • Joined

  • Last visited

Posts posted by Relic2K

  1. Yeah but there's no one there to say if I did it right...

     

    Trial and error builds the better servers, if there is an error in you config, it should give some sort of error. This is how I did my Dedicated SS:TFE and SS:TSE servers. You are using it right from what I saw on the site. But you really won't know until you try it yourself by starting it and playing it.

  2. Thanks for the thought (it's the thought that counts ;) ) but I had planned on that much. Scripts I find pretty easy, when they're only doing simple batch jobs. (aru is the king of massive end-all be-all scripts)

     

    It's the config file I'm worried about 'cause like I said; I don't know when to use seta and when not to...

     

    Thanks though...

     

    See Google is your friend :lol:

     

    http://www.slackercentral.com/quake3/

  3. Does this quake 3 script look right to you guys? I don't know how/when to use seta...

    <!--QuoteEBegin--><!--QuoteEBegin-->// Server.cfg<!--QuoteEBegin--><!--QuoteEBegin-->// Global Server Vars<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->seta sv_hostname "Den of Love" <!--QuoteEBegin--><!--QuoteEBegin-->seta sv_maxclients 16 <!--QuoteEBegin--><!--QuoteEBegin-->seta g_motd "Welcome to the Void"<!--QuoteEBegin--><!--QuoteEBegin-->seta sv_pure 1<!--QuoteEBegin--><!--QuoteEBegin-->seta g_allowvote 1<!--QuoteEBegin--><!--QuoteEBegin-->seta rconpassword "password"<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->// Global Game Vars<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->seta g_quadfactor 2 <!--QuoteEBegin--><!--QuoteEBegin-->seta g_weaponrespawn 5<!--QuoteEBegin--><!--QuoteEBegin-->seta g_inactivity 300<!--QuoteEBegin--><!--QuoteEBegin-->seta g_forcerespawn 1<!--QuoteEBegin--><!--QuoteEBegin-->seta g_friendlyFire 0<!--QuoteEBegin--><!--QuoteEBegin-->seta bot_enable 1<!--QuoteEBegin--><!--QuoteEBegin-->seta g_teamForceBalance 1<!--QuoteEBegin--><!--QuoteEBegin-->seta g_doWarmup 8<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->// Local Game Vars<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->set d1 "g_gametype 0; fraglimit 15; timelimit  20; bot_minplayers 5; map q3dm5; set nextmap vstr d2"<!--QuoteEBegin--><!--QuoteEBegin-->set d2 "g_gametype 4; capturelimit 8; timelimit 15; bot_minplayers 2; map q3ctf1; set nextmap vstr d3"<!--QuoteEBegin--><!--QuoteEBegin-->set d3 "g_gametype 4; capturelimit 5; timelimit 25; bot_minplayers 4; map q3ctf3; set nextmap vstr d4"<!--QuoteEBegin--><!--QuoteEBegin-->set d4 "g_gametype 4; capturelimit 8; timelimit 15; bot_minplayers 2; map q3ctf4; set nextmap vstr d5"<!--QuoteEBegin--><!--QuoteEBegin-->set d5 "g_gametype 4; capturelimit 8; timelimit 20; bot_minplayers 4; map q3ctf5; set nextmap vstr d1"<!--QuoteEBegin--><!--QuoteEBegin-->vstr d1<!--QuoteEBegin--><!--QuoteEBegin-->

     

    Then to start the game I ssh to the server and type

     

    <!--QuoteEBegin--><!--QuoteEBegin-->cd /usr/local/games/quake3<!--QuoteEBegin--><!--QuoteEBegin-->screen ./q3ded +set dedicated 2 +set net_port 27960 +set com_hunkmegs 56 +exec server.cfg<!--QuoteEBegin--><!--QuoteEBegin-->

     

    Is that right?

     

    I have never run a dedicate Q3 server, but I can provide assistance on one thing, instead of typing out;

     

    cd /usr/local/games/quake3

    screen ./q3ded +set dedicated 2 +set net_port 27960 +set com_hunkmegs 56 +exec server.cfg

     

    You can also make another script called q3ded and add all this to it, chmod 755 the script and just run the script:

     

    #!/bin/sh

    #My Quake 3 Dedicated startup script

    cd /usr/local/games/quake3

    ./q3ded +set dedicated 2 +set net_port 27960 +set com_hunkmegs 56 +exec server.cfg

    #End of Script

    ----------------------------

    $chmod 755 q3ded

    $./q3ded

     

    And voila ...

     

    You should be able to do a Google search and find some great Server Admin Sites. There are some for UT/UT2003, but I don't have any for Q3 right on hand for you. I hope the script idea makes life easier for you :)

  4. I think you can get a dissasembler (what ever you call it) that breaks a binary into machine code but thats virtually useless for what you intend as it almost impossible to make any sense of it especially if the binary is large like a game binary is.

     

    I believe i saw talk a while ago on slashdot about a dissasembler that could output in c i think, but the c is uncommented and pretty much impossible to follow anyway.

     

    It would probably be easier to learn c/c++/java + sdl + opengl and write your own game if you don't have the source code.(have i scared you off yet :twisted: )

     

    :wink: Nope, this is relaxtion for me. It is my stress relief lately, it takes my mind off of what I normally do on a daily basis :)

  5. these are binary files they are made by compiling source code.

     

    eg) the hello world program in c

     

    "hello.c" created on my desktop

    <!--QuoteEBegin--><!--QuoteEBegin-->#include <stdio.h><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->int main()<!--QuoteEBegin--><!--QuoteEBegin-->{<!--QuoteEBegin--><!--QuoteEBegin-->	printf("Hello Worldn");<!--QuoteEBegin--><!--QuoteEBegin-->	return 0;<!--QuoteEBegin--><!--QuoteEBegin-->}<!--QuoteEBegin--><!--QuoteEBegin-->

     

    then to compile:

    <!--QuoteEBegin--><!--QuoteEBegin-->[john@administrator john]$ cd Desktop<!--QuoteEBegin--><!--QuoteEBegin-->[john@administrator Desktop]$ gcc -o hello hello.c<!--QuoteEBegin--><!--QuoteEBegin-->[john@administrator Desktop]$ ./hello<!--QuoteEBegin--><!--QuoteEBegin-->Hello World<!--QuoteEBegin--><!--QuoteEBegin-->[john@administrator Desktop]$<!--QuoteEBegin--><!--QuoteEBegin-->

     

    So i used gcc to create the "hello" binary file from the hello.c source file.

    This is how they make a game binary only they use a lot more source files and link librarys.

     

    So was you question how can you port a game to linux? if so you need the source code.

     

    Thanks johnnyv, is there an editor or progam I can use to view previously compiled code in Linux, or is this possible at all ?

  6. I got bored again at home, so I went and created my own AO Linux Installer, I just have to fix one little thing and will add it to my site. Sorry Icculus and Ravage, please don't get angry. :(

     

    HOW DARE YOU :wink: :P

     

    I don't think they will be coming after you with pitch forks so you should be ok :D

     

    LOL, this is what happens though when I get bored. I start going .."What if ?" way too much LMAO. I got the file straightened out I think. I just tested the installation again. I am going to create a single file now, then add a link.

  7. I got bored again at home, so I went and created my own AO Linux Installer, I just have to fix one little thing and will add it to my site. Sorry Icculus and Ravage, please don't get angry. :(

  8. You could try using Wine first, in case it happens to work and you don't want to subscribe to WineX. That failing, you could try WineX CVS...

     

    In the end, don't expect it to work at all.

     

    Have you heard of NiL? I know it's not Worms, but it's similar...

     

    http://nil.sourceforge.net/

     

    nil_death1.png

     

    nil_logo.png

     

    You could of course create your own installer DOlson :shock:

  9. I am under the process of building a new computer (one of my many projects this summer) and I would like to hear suggestions on Video Cards and TV Tuners.  On the Video Card front I am leaning to the nVidia cards mainly because of the motherboard I am planning on using has a nforce2 chipset and AGPgart currently does not work in linux therefor currently ATI is out of the question.  I would like to hear peoples experience with the GeForce FX cards or GeForce4 Ti and what cards would you seggest.

    For TV Tuner I would know what is the best one that one can get working in linux.  Only real requirement is that the audio is in stero.

    Thank you for you seggestions

    Juda

     

    I have a the follow hardware list below, including Video Card. And I am running Mandrake 9.1 and everything rocks.

  10. Sorry but I have a last question  :oops:  

     

    I'm using guarddog. But I must disable guarddog to play Americas Army. I know that I can add the game by user-defined minutes. But witch port does AA use?

     

    Thanks!

     

    Here is the port list you need to also add into Guarddog Firewall so you can connect to the master servers;

     

    1716 - UDP

    1717 - UDP

    1718 - UDP

    8887 - UDP

    27900 - UDP

    20045 - UDP

     

    I still have not been able to get on any of the servers yet, I had register an account prior to playing. Once I did this I still was not able to get on the servers. I suspect it had to be authorized first. I just have not tried again since I added the ports to Guarddog, keep getting side tracked..

  11. you need cloop ... get it from here

    http://www.knopper.net/download/knoppix/

     

    <!--QuoteEBegin--><!--QuoteEBegin-->% wget http://www.knopper.net/download/knoppix/cloop_0.66-1.tar.gz<!--QuoteEBegin--><!--QuoteEBegin-->% tar xzf cloop_0.66-1.tar.gz<!--QuoteEBegin--><!--QuoteEBegin-->% cd cloop-0.66<!--QuoteEBegin--><!--QuoteEBegin-->% vi Makefile // Insert APPSONLY=1 at the top section<!--QuoteEBegin--><!--QuoteEBegin-->% make zcode<!--QuoteEBegin--><!--QuoteEBegin-->% make extract_compressed_fs<!--QuoteEBegin--><!--QuoteEBegin-->% cd ..<!--QuoteEBegin--><!--QuoteEBegin-->

     

    then

    /path/to/extract_compressed_fs /path/to/livecd.cloop > /path/to/huge.iso

    this will make a huge iso image (about 1.4gig)

    then you can mount the iso

    mount -o loop /path/to/huge.iso /mnt/tmp

    cp -R /mnt/tmp/opt/armyopts170 /opt

     

    now you're done !!!

     

    upuaut;

     

    Follow the above directions. If your having a hard time understanding how to follow them, then try going to my website. I have pretty much the same thing, but you might understand it better if the layout is different ?

     

    http://mandrake101.no-ip.org/ - Native Linux Gaming Section

     

    I hope you this more clearer for you :)

  12. Thanks aRTee,

     

    that works for me  :lol:  

     

    But when I start the cd gentoo is running a while and then I get a x-server error  :oops:  

     

    Have Fun!

     

    upu

     

    I had the same problems with the LiveCD, if you want some instructions on how to get the data off the CD, check my website. I have compiled all the info from this thread and the other one on Gentoo Forum, and made a little Tutorial on how to extract the game from the CD. I am still creating the site right now but the info there will help you out.

     

    http://mandrake191.no-ip.org/

  13. Whould you please explain your problem a little bit more?  

    what error are you getting?  

    what should that perl program do?  

    Does it need to run sendmail, but it can't find it? or what?

     

    Postfix's sendmail is at /usr/sbin/

     

    help us to help you ;)

     

    Here is snippet of the code which uses sendmail. Yes it is a perl script "guestbook" for web sites.

    You can setup the option to email you when someone enters something in the guestbook, using sendmail. But I wanted to use Postfix because know it is working using LogSentry (aka logcheck)

    which goes through the log files, snort logs, and emails them to me locally.

     

    **************************************************************

    # Set Your Options:

    $mail = 1; # 1 = Yes; 0 = No

    $uselog = 1; # 1 = Yes; 0 = No

    $linkmail = 1; # 1 = Yes; 0 = No

    $separator = 1; # 1 = <hr>; 0 = <p>

    $redirection = 0; # 1 = Yes; 0 = No

    $entry_order = 1; # 1 = Newest entries added first;

    # 0 = Newest Entries added last.

    $remote_mail = 0; # 1 = Yes; 0 = No

    $allow_html = 1; # 1 = Yes; 0 = No

    $line_breaks = 0; # 1 = Yes; 0 = No

     

    # If you answered 1 to $mail or $remote_mail you will need to fill out

    # these variables below:

    $mailprog = '/usr/sbin/postfix';

    $recipient = 'me@me.local.comt';

     

    ********************************************************************************

    *

    #########

    # Options

     

    # Mail Option

    if ($mail eq '1') {

    open (MAIL, "|$mailprog $recipient") || die "Can't open $mailprog!n";

     

    print MAIL "Reply-to: $FORM{'username'} ($FORM{'realname'})n";

    print MAIL "From: $FORM{'username'} ($FORM{'realname'})n";

    print MAIL "Subject: Entry to Guestbooknn";

    print MAIL "You have a new entry in your guestbook:nn";

    print MAIL "------------------------------------------------------n";

    print MAIL "$FORM{'comments'}n";

    print MAIL "$FORM{'realname'}";

     

    if ( $FORM{'username'} ){

    print MAIL " <$FORM{'username'}>";

    }

     

    print MAIL "n";

     

    if ( $FORM{'city'} ){

    print MAIL "$FORM{'city'},";

    }

     

    if ( $FORM{'state'} ){

    print MAIL " $FORM{'state'}";

    }

     

    if ( $FORM{'country'} ){

    print MAIL " $FORM{'country'}";

    }

     

    print MAIL " - $daten";

    print MAIL "------------------------------------------------------n";

     

    close (MAIL);

    }

     

    if ($remote_mail eq '1' && $FORM{'username'}) {

    open (MAIL, "|$mailprog -t") || die "Can't open $mailprog!n";

     

    print MAIL "To: $FORM{'username'}n";

    print MAIL "From: $recipientn";

    print MAIL "Subject: Entry to Guestbooknn";

    print MAIL "Thank you for adding to my guestbook.nn";

    print MAIL "------------------------------------------------------n";

    print MAIL "$FORM{'comments'}n";

    print MAIL "$FORM{'realname'}";

     

    if ( $FORM{'username'} ){

    print MAIL " <$FORM{'username'}>";

    }

    print MAIL "n";

     

    if ( $FORM{'city'} ){

    print MAIL "$FORM{'city'},";

    }

     

    if ( $FORM{'state'} ){

    print MAIL " $FORM{'state'}";

    }

     

    if ( $FORM{'country'} ){

    print MAIL " $FORM{'country'}";

    }

     

    print MAIL " - $daten";

    print MAIL "------------------------------------------------------n";

     

    close (MAIL);

    }

  14. i didn't bother burning the iso

     

    mounted the iso image  with -o loop and got the livecd.coop out

    then used coop to extract livecd.coop to aa.iso then mounted aa.iso so i could copy the americas army directory into my games directory.

     

    runs great.

     

    I read the stuff at the Gentoo forum, but found it confusing. How can I do this like you are discussing above ? What program is required by Mandrake to extract the coop file ? Where do I get the "coop" package for Mandrake ?

×
×
  • Create New...