server games in single player?

General Stuff about Armagetron, That doesn't belong anywhere else...
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

server games in single player?

Post by locke.dragon »

can you play games like hold the flag, styball, and shooting in single player somehow? it'd be awesome to get in some practice without people yelling at me to leave. :roll:
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

No easy way; you need to compile the game from source and apply a patch before that. As told in the other thread, the biggest problem that makes it useless anyway is that the AIs don't know about the extra elements. They don't even know about the brakes, for that matter.
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

Post by locke.dragon »

yeah. i figured out that much. i was just going to play it with my friends and brothers on my computer (local game). but if it's impossible, then oh well.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

It's not impossible if you don't need AI opponents, it merely is not something you learn in "Windows XP for Dummies" :)
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

Post by locke.dragon »

ok. thanks. but just for future reference, i don't use windoze, i use ubuntu linux. LINUX RULZ!!!
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

That makes it a lot easier :)

First you need to install subversion if you're going to apply the pigpatch (which contains the programming for balls, flags, shots and zombies).

Then do something like

Code: Select all

$ svn checkout https://armagetronad.svn.sourceforge.net/svnroot/armagetronad/armagetronad/branches/0.2.8/armagetronad
$ ./bootstrap.sh
$ ./configure
$ make run
If you've never compiled software before, the two commands in the middle are likely to complain about missing packages, install those, too. If there's a -devel package (like sdl-devel) you need that.

Tell us if you got that running, then I'll post my version of the pigpatch (the last version posted by groundpig has merge conflicts with the latest SVN).
There's no place like ::1
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

Post by locke.dragon »

what's subversion? if it's a download, can you post a link?
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

It's a version control system, and it's used for arma development, and it's also the means to get the latest source code of arma.

You should be able to install it just like any other software, using aptitude or whatever graphical frontend ubuntu uses by default. I can't really help you with that because I don't have an ubuntu installation, use google if uncertain.
There's no place like ::1
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

Post by locke.dragon »

everything goes fine until i try to ./configure.

Code: Select all

link@aperturescience:~/armagetronadsty$ ./configure
bash: ./configure: No such file or directory
link@aperturescience:~/armagetronadsty$ 
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Then ./bootstrap.sh didn't go right, because that's supposed to create the configure script.

Oh, and you need to cd armagetronad first, of course (that is, after the svn command, before everything else).
There's no place like ::1
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

Post by locke.dragon »

did that the first and second times and it still didn't work. i'm getting the source off the official site. any ideas?
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

If you're taking the source from the official site you don't need to bootstrap, but it will be hard to apply the pigpatch as it's made for a later, yet to be released version.

Can you just post the output of ls in that dir?
There's no place like ::1
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

Post by locke.dragon »

this isn't working. can't you just give me your source code?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Can't you just give us the output of the commands?
locke.dragon
On Lightcycle Grid
Posts: 22
Joined: Wed May 16, 2007 3:02 pm

Post by locke.dragon »

Code: Select all

link@aperturescience:~/armagetronad$ ./configure
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for m4... true
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for gmake... no
checking for bash... yes
checking whether make understands sinclude... yes
checking for socklen_t... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for xmlParseMemory in -lxml2... yes
checking for xmlParserInputBufferCreateFilenameDefault... yes
checking for exp in -lm... yes
checking whether SDL is installed... yes, 'sdl-config --libs' gave -L/usr/lib -lSDL
checking what name the SDL library is know under... SDL
checking for SDL_Init in -lSDL... yes
checking for glVertex3f in -lGL... yes
checking for gluBuild3DMipmaps in -lGLU... yes
checking for main in -lz... yes
checking for main in -lpng... yes
checking for main in -ljpeg... yes
checking for IMG_Load in -lSDL_image... no
configure: error: You need libIMG/SDL_image to compile Armagetron.

link@aperturescience:~/armagetronad$ cd armagetronadsty

i need whatever those last two things are, but i can't find them for the life of me.
Post Reply