Re: [MOD] Instagib
How do i apply the patch to the teeworlds-server debian package?
Power tends to corrupt and absolute power corrupts absolutely. - Lord Acton
You are not logged in. Please login or register.
Teeworlds Forum → Fan Art and Other → [MOD] Instagib
How do i apply the patch to the teeworlds-server debian package?
Place the patch in your tw directory, and do this in a shell:
patch -p1 < instagib.patch
Which one is the tw dir, /home/(myname)/.teeworlds or /usr/share/games/teeworlds/data?
Ok, well i found the teeworlds-server binary, i tried the patch, and i get this error:
File to patch: teeworlds-server
patching file teeworlds-server
Hunk #1 FAILED at 857.
Hunk #2 FAILED at 1601.
2 out of 2 hunks FAILED -- saving rejects to file teeworlds-server.rej
You don't patch the server binary, you patch the directory.
It wont let me patch just the server folder.
Could you print the command you are using?
The debian package is a binary, isn't it?
You need the source to patch, and then compile the patched source.
(I doubt that you have a fully correct binary patch made for your exact arch)
Oh, I thought he did patch the source. Stupid me.
hi@all.. ive got some problems with this mod.. when i open the server everything works.. normal ping ect..
it works till the 3rd or 4th player joins.. and then.. server usese 100% of cpu power (quad core) and all get connection problems.. i think server get stuck in a script or something.. pls help me..
tested on : have a look at my signature
...
Wow, that's some pretty nice hardware right there. Anyway, does this happen on a normal server as well?
How do i compile with bam? I can get the patch to apply to the source, but running the bam command gives me a command not found.
So let's assume this: You are in the directory teeworlds, and you print ls in the command line:
teeworlds-patched/ bam/
Type
cd teeworlds-patched/
Now type
../bam/src/bam server_release
Finally,
./teeworlds_srv -f cfggoeshere.cfg
to launch the server.
bam = command not found. So where do i download bam? I know i have a C++ compiler installed.
Ohhh, you don't have bam. http://teeworlds.com/files/bam.zip
hello i'm new
where must I save the Instagib mod?
@dani: You see, if he doesn't have bam, then he cannot compile the server, which is why he gets the bam: command not found message.
Can someone tell me, how i shall the isntagib mod using mac as server platform?
Osiris:bam Viper$ ./make_unix.sh
./make_unix.sh: line 2: gcc: command not found
./make_unix.sh: line 3: src/tools/txt2c: No such file or directory
./make_unix.sh: line 4: gcc: command not found
Osiris:bam Viper$
you apply the patch to the sourcecode like this:
patch -p1 < instagib.patch
then you build teeworlds as you normally would with bam:
bam release
then run the server
./teewars_srv -f something
and you'll be running instagib
That question may sound stupid, but where is the sourcecode? How do I get to it? Could you explain it in simple language? I have managed to set the unlimited laser as the basic weapon, but I don't know how to disable the powerups. I've downloaded all the files.
If you are running windows or linux 32bit (you prolly do) you can just download the binary files and run them, no need to handle the source code. The source code is the -src release of teeworlds, it is avaible in the downloads section on this webiste.
The source code is the -src release of teeworlds, it is avaible in the downloads section on this webiste.
-webiste
+website.
Grammar is here to kick you in the balls.
I'm so gonna haunt ya for typos the rest of my life, zach... :<
I installed bam and I think i installed the instagib patch ( There are no weapons and powerups lying around ) but dont have a laser gun and
when i type in this per rcon sv_instagib 1 , it says that the command is unkown
I forgot to say that i had the error
Osiris:src1 Viper$ patch -p1 < instagib.patch
patching file src/game/server/gs_server.cpp
Hunk #1 FAILED at 857.
Hunk #2 succeeded at 1690 (offset 89 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/game/server/gs_server.cpp.rej
Although I compiled it
Teeworlds Forum → Fan Art and Other → [MOD] Instagib
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.