compiling pig sty patch on windows & ubuntu
- Infa(mous)
- Round Winner
- Posts: 255
- Joined: Thu Aug 14, 2008 11:27 pm
-
- Average Program
- Posts: 61
- Joined: Fri Jul 25, 2008 11:24 am
If you installed ubuntu within windows using WUBI, then ubuntu is stored within a file on your windows system. This means that it would be in the middle somewhere in the disc defragment view.
If you installed it using the boot disc, and partitioned your hard drive, as far as I know, ubuntu would not allow resizing the hard drive when data is too close to the end of the partition.
On a side note, how do you intend to use the ubuntu server at school, if machines are windows? Sounds like you will need to compile a Windows version.
If you installed it using the boot disc, and partitioned your hard drive, as far as I know, ubuntu would not allow resizing the hard drive when data is too close to the end of the partition.
On a side note, how do you intend to use the ubuntu server at school, if machines are windows? Sounds like you will need to compile a Windows version.
- Infa(mous)
- Round Winner
- Posts: 255
- Joined: Thu Aug 14, 2008 11:27 pm
Tomatoes, I already gave him one.F! Infamous wrote: Also, JSM, I built a sty patch version for windows just yesterday. If you want that, it's at: http://www.filesavr.com/armagetronad-de ... 23108win32

-
- Average Program
- Posts: 61
- Joined: Fri Jul 25, 2008 11:24 am
Ah sorry, totally missed thisF! Infamous wrote:Tomatoes, I already gave him one.F! Infamous wrote: Also, JSM, I built a sty patch version for windows just yesterday. If you want that, it's at: http://www.filesavr.com/armagetronad-de ... 23108win32

Ok, so The dedicated is just a batch file? How do I set the settings and make it a LAN game not internet?
Nvm I got the settings..ou just put them in like a console but how do u make it a lan game, and how do you name the server?
nvm again..its already lan. ty for all the help. just need to know how to nsme it =)
funny that after all that...all i had to do was download that server =) thanks every1
ugg..maybe i should stop posting and start thinking..i found the codes
/me is dumb. XD
Nvm I got the settings..ou just put them in like a console but how do u make it a lan game, and how do you name the server?
nvm again..its already lan. ty for all the help. just need to know how to nsme it =)
funny that after all that...all i had to do was download that server =) thanks every1
ugg..maybe i should stop posting and start thinking..i found the codes
/me is dumb. XD
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
- Infa(mous)
- Round Winner
- Posts: 255
- Joined: Thu Aug 14, 2008 11:27 pm
Re: compiling pig sty patch on windows & ubuntu
Hey again..
I've been using infamous's server for a while now in school, it works great =D (thanks)
Now, I'm going to try again on Ubuntu...
I copy and pasted what tomato's said and i got the autotools or whatever, so ./bootstrap.sh and ./configure worked.
make install returned this at the end..seemed like other stuff worked:
engine/ePlayer.cpp
error: redefinition of ‘bool se_silenceDead’
engine/ePlayer.cpp
error: ‘bool se_silenceDead’ previously defined here
engine/ePlayer.cpp
error: redefinition of ‘tSettingItem<bool> se_silenceDeadConf’
engine/ePlayer.cpp
error: ‘tSettingItem<bool> se_silenceDeadConf’ previously declared here
make[2]: *** [libengine_a-ePlayer.o] Error 1
make[2]: Leaving directory `/home/janakmalla/0.2.8-armagetronad-sty+ct/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/janakmalla/0.2.8-armagetronad-sty+ct/src'
make: *** [install-recursive] Error 1
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
maybe its nothing, and if it did work and this doesnt matter, where can I find the server??? I copied the Your_mom directory like it said, but i cant find the server on my computer..
thanks
eggs(i dont play as jsm588 anymore)
I've been using infamous's server for a while now in school, it works great =D (thanks)
Now, I'm going to try again on Ubuntu...
I copy and pasted what tomato's said and i got the autotools or whatever, so ./bootstrap.sh and ./configure worked.
make install returned this at the end..seemed like other stuff worked:
engine/ePlayer.cpp
engine/ePlayer.cpp
engine/ePlayer.cpp
engine/ePlayer.cpp
make[2]: *** [libengine_a-ePlayer.o] Error 1
make[2]: Leaving directory `/home/janakmalla/0.2.8-armagetronad-sty+ct/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/janakmalla/0.2.8-armagetronad-sty+ct/src'
make: *** [install-recursive] Error 1
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
maybe its nothing, and if it did work and this doesnt matter, where can I find the server??? I copied the Your_mom directory like it said, but i cant find the server on my computer..
thanks
eggs(i dont play as jsm588 anymore)
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Re: compiling pig sty patch on windows & ubuntu
No, it's a real error, and you don't have a server. You're close, though. Open up src/engine/ePlayer.cpp and delete the lines 2622 and 2623 with the duplicate definitions, then compile again.
I'm curious, though. How did those lines get there? They're not there in the 'official' bzr sty branch. What, exactly, did you do to get the source?
I'm curious, though. How did those lines get there? They're not there in the 'official' bzr sty branch. What, exactly, did you do to get the source?
Re: compiling pig sty patch on windows & ubuntu
oh, it was luke-jr's sty+ct
=D
thanks, let me try that.
=D
thanks, let me try that.
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Re: compiling pig sty patch on windows & ubuntu
no idea what this is
make[3]: Entering directory `/home/user/0.2.8-armagetronad-sty+ct/src'
g++ -I./tools -I./render -I./ui -I./network -I./engine -I./thirdparty/particles -I./tron -O2 -Wno-long-long -o armagetronad_main armagetronad_main-gFloor.o libtron.a libenginecore.a libengine.a libnetwork.a libui.a librender.a libtools.a -lpthread -lm -lxml2
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)':
eChat.cpp:(.text+0x560): multiple definition of `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0x16a0): first defined here
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)':
eChat.cpp:(.text+0x5c0): multiple definition of `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0x1700): first defined here
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::Check()':
eChat.cpp:(.text+0x1dc0): multiple definition of `eChatSpamTester::Check()'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0xe710): first defined here
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::Block()':
eChat.cpp:(.text+0x2380): multiple definition of `eChatSpamTester::Block()'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0xefe0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [armagetronad_main] Error 1
make[3]: Leaving directory `/home/user/0.2.8-armagetronad-sty+ct/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/0.2.8-armagetronad-sty+ct/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/0.2.8-armagetronad-sty+ct'
make: *** [all] Error 2
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
thanks,
eggs
make[3]: Entering directory `/home/user/0.2.8-armagetronad-sty+ct/src'
g++ -I./tools -I./render -I./ui -I./network -I./engine -I./thirdparty/particles -I./tron -O2 -Wno-long-long -o armagetronad_main armagetronad_main-gFloor.o libtron.a libenginecore.a libengine.a libnetwork.a libui.a librender.a libtools.a -lpthread -lm -lxml2
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)':
eChat.cpp:(.text+0x560): multiple definition of `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0x16a0): first defined here
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)':
eChat.cpp:(.text+0x5c0): multiple definition of `eChatSpamTester::eChatSpamTester(ePlayerNetID*, tString const&)'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0x1700): first defined here
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::Check()':
eChat.cpp:(.text+0x1dc0): multiple definition of `eChatSpamTester::Check()'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0xe710): first defined here
libengine.a(libengine_a-eChat.o): In function `eChatSpamTester::Block()':
eChat.cpp:(.text+0x2380): multiple definition of `eChatSpamTester::Block()'
libengine.a(libengine_a-ePlayer.o):ePlayer.cpp:(.text+0xefe0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [armagetronad_main] Error 1
make[3]: Leaving directory `/home/user/0.2.8-armagetronad-sty+ct/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/0.2.8-armagetronad-sty+ct/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/0.2.8-armagetronad-sty+ct'
make: *** [all] Error 2
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
user@ubuntu:~/0.2.8-armagetronad-sty+ct$
thanks,
eggs
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Re: compiling pig sty patch on windows & ubuntu
In that case, the source is more broken than expected. Don't use it, then. Luke's version is work in progress (to get sty+ct to the trunk codebase). For a regular server, use ~armagetronad-dev/0.2.8-armagetronad-sty or ~armagetronad-dev/0.2.8-armagetronad-sty+ct (as seen here).
Re: compiling pig sty patch on windows & ubuntu
done. =D
make and make install returned no errors..
now back to my previous question..
where's the server? =D
I tried serverstarter but it didnt work
and i tried Armagetron Advanced Server in the desktop folder but that didnt work either..
thanks
eggs
make and make install returned no errors..
now back to my previous question..
where's the server? =D
I tried serverstarter but it didnt work
and i tried Armagetron Advanced Server in the desktop folder but that didnt work either..
thanks
eggs
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
- Infa(mous)
- Round Winner
- Posts: 255
- Joined: Thu Aug 14, 2008 11:27 pm
Re: compiling pig sty patch on windows & ubuntu
umm... Did you not install it in ur home folder? That's generally the easiest thing to do...
-Infamous
Re: compiling pig sty patch on windows & ubuntu
The rest is standard
You can either run the server directly from the build directory with 'make run' (configuration files will then be read from the current directory and not /etc/games/armagetronad-dedicated like with the other two start methods), or, after you said 'make install', start it with 'armagetronad-dedicated' (in both cases, the server will exit after 24 hours and you have to restart it manually, so wrap that in a script and make it so it can run while you're not logged in, 'screen' is your friend there) or start it in the background with 'sudo /etc/init.d/armagetronad-dedicated start'. Me, I always use 'make run' in a screen session. Keeps my server binaries and configurations nicely separated.

- kyle
- Reverse Outside Corner Grinder
- Posts: 1975
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
Re: compiling pig sty patch on windows & ubuntu
It was already merged into sty+ct (the non broken parts)Z-Man wrote:In that case, the source is more broken than expected. Don't use it, then. Luke's version is work in progress (to get sty+ct to the trunk codebase)..
