26

Re: [MOD] Homing

If you'll compile it by yourself, or if you'll find someone who will compile it for you. Then you will have it.

27

Re: [MOD] Homing

Doh'..
I'm asking for someone to compile it for 64bit. hmm
I have access to some linux machine, but since it's not my machine and I'm just some stupid windows user, I don't want to do things I don't know of. (ok, I already tried to, but not even gcc is installed, so I stoped)

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

28

Re: [MOD] Homing

So because I can't compile it for you, I'll say only that: compile normal source (without the mod)and see what programs are missing. Then find them in synaptic, mark them and then install them. Now you can compile source with mod.

29

Re: [MOD] Homing

Does anyone have Mac (Intel) Version? Thanks.

I need to figure out something to put here.

30

Re: [MOD] Homing

Hmn... got to some machine now with the things I need, but I get some errors so I can't compile. Guess I have to ask someone else to help me.

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

31

Re: [MOD] Homing

What errors? Maybe I could help you.

32

Re: [MOD] Homing

Did everything like in the docu of the mainpage. First I get the following three lines after $ ./make_unix.sh:

src/lua/src/ltable.c: In function âluaH_mainpositionâ:
src/lua/src/ltable.c:108: warning: cast from pointer to integer of different size
src/lua/src/ltable.c:110: warning: cast from pointer to integer of different size

And when compiling the server with $ ../bam/src/bam server_release I get many errors like this:

In file included from /home/shmafoozius/teeworlds-0.4.2-src/src/engine/e_config.h:37,
                 from /home/shmafoozius/teeworlds-0.4.2-src/src/engine/server/es_server.c:7:
/home/shmafoozius/teeworlds-0.4.2-src/src/engine/e_config_variables.h:96:44: error: no newline at end of file

The last error I get is this:

bam: compile_c returned error number 256
bam: error during build
bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

33

Re: [MOD] Homing

/home/shmafoozius/teeworlds-0.4.2-src/src/engine/e_config_variables.h:96:44: error: no newline at end of file

Add new line at end of that file and the it should work ( had same problem and then added new line (reported to ShootMe already) - all problems should disappear then ).

34

Re: [MOD] Homing

I added the new line and now I get this:
http://shmafoozius.pastecode.com/?show=m60af11a1

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

35

Re: [MOD] Homing

In e_config_variables.h and at the end? If yes I don't know then.

36 (edited by shmafoozius 2008-04-13 18:36:26)

Re: [MOD] Homing

Oh... I'm such an Idiot. It's solution to my problem's on top of the docu page...
Seems to be working now

link teeworlds_srv
bam: done

I'll edit this post after testing.

/edit:
Server works finde now, here's the binary:
http://thunder.thundermods.net/teeworld … x86_64.zip

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

37 (edited by ShootMe 2008-04-13 18:00:53)

Re: [MOD] Homing

stack problem was brought up in another thread when compiling under linux:

Matricks wrote:

You need to remove the stack protector stuff from default.bam. seems like it's quite a new feature in gcc.

Rancor wrote:

Hi matricks,

thanks for your reply. This works now without a problem after i've removed this in the default.bam:

-fstack-protector -fstack-protector-all

EDIT: smile guess you figured it out before I could post.

38

Re: [MOD] Homing

Bobynator wrote:

can you added to the mod a tile where the gravity is changing(for win32).

can someone answer my question, please

39

Re: [MOD] Homing

Does someone know how to tweak the projectile look, to make it as original look ?

Teeworlds without any mod : http://img238.imageshack.us/my.php?imag … 006ig4.png
Teeworlds with homing mod : http://img301.imageshack.us/my.php?imag … 005vl8.png

40

Re: [MOD] Homing

Do you have a patch?

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

41

Re: [MOD] Homing

Roanoke : I have this problem with homing mod without extra patch.

42

Re: [MOD] Homing

don't like it either ....@ubuntu

I do not have a patch applied, too

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

43

Re: [MOD] Homing

on request by dani: a 32bit linux of the homing mod, with teamhook=instadeath enabled.

http://www.pri.univie.ac.at/~axel/teepi … worlds_srv

44

Re: [MOD] Homing

oh thanks.. and now.. i need someone to compiles it to windows..

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

45

Re: [MOD] Homing

this is the additional patch applied, if anybody wants to do this for windows:
-----------------------------------
--- homing/src/game/server/gs_server.cpp        2008-04-11 00:12:48.000000000 +0200
+++ teeworlds-0.4.2-home/src/game/server/gs_server.cpp  2008-05-01 23:34:37.000000000 +0200
@@ -1571,6 +1571,12 @@
        //core.jumped = jumped;
        core.input = input;
        core.tick();
+       //AXK: kill players that hook teammates
+       if (!dead && core.hooked_player >= 0) {
+               if (team == get_player(core.hooked_player)->team) {
+                       die(client_id, -1);
+               }
+       }
        if(!dead && core.hooked_player!=-1 && !players[core.hooked_player].dead && hook && server_tick()-die_tick>=server_tickspeed()*ddelay) {
                players[core.hooked_player].take_damage(vec2(0,0), 1, client_id,5);
                die_tick = server_tick();
-----------------------------------

46

Re: [MOD] Homing

ok mod works perfect.. tested with my flyrace_r6 map on ubuntu 8.04

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

47

Re: [MOD] Homing

can someone explain me this mod?

48

Re: [MOD] Homing

e.g. unhookable tiles, teleport + homing bullets/grenades/laser possible

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

49 (edited by [_Xe'n'eX_] 2008-05-21 20:52:42)

Re: [MOD] Homing

I use this mod for my map and its very useful and good! And, Dani, your flyrace_r6 is the best of all!

MyRace:   |   run_fool
Help
Me:    |   Pennergame
My
Clan:    |   «Òó°L»

50

Re: [MOD] Homing

thanks.. but my server is down sad... i have to look after a new one...

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