1 (edited by scosu 2008-06-09 22:35:27)

Topic: [MOD] homing + spam protection

Here is the homing mod together with my spamprotection.

spamprotection commands

sv_startmessage     (message that appears at the beginning of a round, normal there is no message)
sv_endroundmessage     (message that appears at the end of a round, normal there is no message)

sv_teamchanges 0    (allowed teamchanges in 30 seconds, '0' = disabled)
sv_teamchangeskick 0    (allowed teamchanges, after the user tried to change team more often, before the player will be kicked, '0' = disabled)
sv_time_blocked 180    (how much seconds the player can't change team)

sv_messagesnum 0    (allowed messages in 30 seconds, '0' = disabled)
sv_messageskick 0    (allowed messages, after the user tried to send messages more often, before the player will be kicked, '0' = disabled)
sv_time_muted 180    (how much seconds the player is muted)



homing mod commands

sv_hook #                       (# is a float>=0.0 representing delay of damage delt by hook. #=1.0 is a delay of 0.6 sec per dmg) (default: off)

sv_armor #             (# is an int>=0 representing starting armor on spawn) (default: 0)
sv_health #             (# is an int>0 representing starting health on spawn) (default: 10)

sv_dist #             (# is a float>0.0 representing how fast a homing projectile will catch up to its target) (default: 13.0)
sv_maxspeed #             (# is a float>=0.0 representing the maximum speed a homing projectile can go) (default: 25.0)
sv_minspeed #             (# is a float>=0.0 representing the minimum speed a homing projectile can go) (default: 8.0)
sv_bunch 1            (toggles if force is applied to nearby homing projectiles) (default: on)
sv_seperation #            (# is a float>=0.0 representing how much force is applied to nearby projectiles) (default: 4.0)
sv_range #            (# is an int>0 representing the range of view for homing projectiles) (default: 250)

sv_regen #            (# is an int>=0 representing how fast tee's regen health. #=1 will regen health at 50hp per second, #=50 will regen 1hp per second) (default: 0)

sv_hammer # # #            (dmg rate semi/auto) (default: 4 150 0)
sv_pistol # # # # # # #        (dmg rate speed semi/auto ammoregen lifespan homing) (default: 1 100 35 0 300 100 0)
sv_shotgun # # # # # # #    (dmg rate speed semi/auto ammoregen lifespan homing) (default: 1 500 35 1 0 20 0)
sv_grenade # # # # # # #    (dmg rate speed semi/auto ammoregen lifespan homing) (default: 6 600 16 1 0 100 0)
sv_rifle # # # # # # #        (dmg rate speed semi/auto ammoregen lifespan homing) (default: 5 800 20 1 0 800 0)
sv_ninja # # #            (dmg rate semi/auto) (default:9 800 0)

sv_reset 1            (will reset all modded values to normal)

sv_strip 1            (toggles if tee's will have their weapons stripped except for hammer on teleport tiles of odd number 1,3,5,7,9 and get their weapons back on even tiles 2,4,6,8)
sv_damage 1            (toggles if damage tiles will kill tee's) (default: off)
sv_teleport 1             (toggles if tee's can teleport through teleport tiles) (default: off)

sv_respawn 1            (toggles if health/armor/weapons will spawn on map) (default: on)

sv_ninjamod 1            (toggles if everyone has ninja) (default: off)

sv_unlimammo 1            (toggles if every weapons has unlimited ammo) (default: off)

sv_jump 1            (toggles if you can double jump unlimited amount of times) (default: off)

sv_start 0/1 0/1 0/1 0/1 0/1    (toggles what weapons tee's start with on spawn hammer/pistol/shotgun/grenade/rifle) (default: 1 1 0 0 0)%



Download
Linux binary x86
Linux binary x86_64
Windows binary 32bit
Patch file

Thanks to

ShootMe for the homing mod

Dani for compiling the windows binary

2 (edited by GSGDani 2008-06-10 19:22:59)

Re: [MOD] homing + spam protection

no problem for compiling wink mod works great .. thank you scosu for the really useful spam protection lol lol

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

3 (edited by Tee 2008-08-27 14:49:58)

Re: [MOD] homing + spam protection

Very nice. wink I love spam protection, and with the homing. Thank you. big_smile


Hmm...I saw a server with this mod and they had the ninja's flying, as in there is no time limit between hits on ninja.
Anybody know how to do this? or am I just not searching enough? wink

I'll be smarter if you try to be nicer. (lol big_smile )

4

Re: [MOD] homing + spam protection

sv_ninjamod 1
sv_ninja 9 1 1

For example

Qi - high level gaming
qi.m0g.net

5

Re: [MOD] homing + spam protection

Thank you. smile
That helped a lot.

Ninja server is running here... Agiltee's Place
smile

I'll be smarter if you try to be nicer. (lol big_smile )

6 (edited by TeBob 2008-08-27 12:28:35)

Re: [MOD] homing + spam protection

Niiiiiiiiice work

Thx for the work I have need it!!     smile


It helpet a lot.

7

Re: [MOD] homing + spam protection

Hey, That's what i was looking for but i have a problem: I use homing mod on CTF Maps! But capturing the flag scores only 1 point instead of 100 !!! Do you know why? What is wrong?

I hope u can help me or fix it! Maybe u can also include "ban" commands! This would create an awesome homing mod!

8

Re: [MOD] homing + spam protection

Beelzebos this is normal -.-

If you bring back the flag then you got 100 points smile

9

Re: [MOD] homing + spam protection

bobsmiley, maybe u misunderstood me! Bringing back the flag gives only 1 POINT and not 100 -.-

To make sure u understand me this time:
1. Ur on red team...
2. u take the blue flag -> 1 point
3. u bring the blue flag back to ur red flag -> 1 point
4. 1 point? wtf? why not 100?

tongue
greetings wink

10

Re: [MOD] homing + spam protection

Hi everyone,
when I want to patch the source there are a few errors:

patching file src/engine/e_config_variables.h
patching file src/game/g_collision.cpp
patching file src/game/g_collision.h
patching file src/game/g_mapitems.h
patching file src/game/g_variables.h
Hunk #1 FAILED at 57.
1 out of 1 hunk FAILED -- saving rejects to file src/game/g_variables.h.rej
patching file src/game/server/gs_common.h
Hunk #1 succeeded at 194 (offset 4 lines).
Hunk #2 FAILED at 324.
1 out of 2 hunks FAILED -- saving rejects to file src/game/server/gs_common.h.rej
patching file src/game/server/gs_game.cpp
Hunk #1 succeeded at 92 (offset 2 lines).
patching file src/game/server/gs_server.cpp
Hunk #4 FAILED at 546.
Hunk #5 succeeded at 627 (offset 6 lines).

What is wrong???

Can anyone help me?

Thank you,

DarkEvolution

(German user)

11

Re: [MOD] homing + spam protection

DarkEvolution, it seems that your patch-file was against a different version (maybe 0.4.2). Either you use the right version of teeworlds or you merge the parts that cannot be patched on your own.

"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." - Terry Pratchett -

12

Re: [MOD] homing + spam protection

Oh year, thanks!

(German user)

13

Re: [MOD] homing + spam protection

is the Homing MOD for Mac ?? if yes send me a link if not make a tutorial on how I can do it smile

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

14

Re: [MOD] homing + spam protection

is this Homing MOD up to date ? xD

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

15

Re: [MOD] homing + spam protection

Uh.. no?

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future