51

Re: [MOD] Instagib

How do i apply the patch to the teeworlds-server debian package?

Ubuntu Member
Power tends to corrupt and absolute power corrupts absolutely. - Lord Acton

52

Re: [MOD] Instagib

Place the patch in your tw directory, and do this in a shell:
patch -p1 < instagib.patch

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

53

Re: [MOD] Instagib

Which one is the tw dir, /home/(myname)/.teeworlds or /usr/share/games/teeworlds/data?

Ubuntu Member
Power tends to corrupt and absolute power corrupts absolutely. - Lord Acton

54

Re: [MOD] Instagib

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

Ubuntu Member
Power tends to corrupt and absolute power corrupts absolutely. - Lord Acton

55

Re: [MOD] Instagib

You don't patch the server binary, you patch the directory.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

56

Re: [MOD] Instagib

It wont let me patch just the server folder.

Ubuntu Member
Power tends to corrupt and absolute power corrupts absolutely. - Lord Acton

57

Re: [MOD] Instagib

Could you print the command you are using?

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

58

Re: [MOD] Instagib

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)

Used to be very active waay back

59

Re: [MOD] Instagib

Oh, I thought he did patch the source. Stupid me.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

60 (edited by GSGDani 2008-07-06 19:53:46)

Re: [MOD] Instagib

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

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

61

Re: [MOD] Instagib

...
Wow, that's some pretty nice hardware right there. Anyway, does this happen on a normal server as well?

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

62

Re: [MOD] Instagib

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.

Ubuntu Member
Power tends to corrupt and absolute power corrupts absolutely. - Lord Acton

63

Re: [MOD] Instagib

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.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

64

Re: [MOD] Instagib

bam = command not found. So where do i download bam? I know i have a C++ compiler installed.

Ubuntu Member
Power tends to corrupt and absolute power corrupts absolutely. - Lord Acton

65

Re: [MOD] Instagib

Ohhh, you don't have bam. http://teeworlds.com/files/bam.zip

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

66

Re: [MOD] Instagib

@Roanoke no.. homing race and normal servers are working great wink
@Hellow have a look here.

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

67

Re: [MOD] Instagib

hello i'm new
where must I save the Instagib mod?

68

Re: [MOD] Instagib

@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.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

69 (edited by Viper 2008-07-18 15:04:24)

Re: [MOD] Instagib

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$

/TMN\Viper [xyz]

70

Re: [MOD] Instagib

timonator wrote:

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.

71

Re: [MOD] Instagib

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.

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites

72

Re: [MOD] Instagib

Chi11y wrote:

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.

zach @ quakenet.
Available for map-testing. Msg.

73

Re: [MOD] Instagib

I'm so gonna haunt ya for typos the rest of my life, zach... :<

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites

74

Re: [MOD] Instagib

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

/TMN\Viper [xyz]

75

Re: [MOD] Instagib

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

/TMN\Viper [xyz]