1 (edited by Rajh 2008-09-17 17:20:16)

Topic: [MOD] Race and other

First of all I started this mod for Ubuntu (the player) for his maps.

It's still in redevelopments and not very nice coded,but some people start to use it.

For a better use here are the variable and available command:
sv_reserved_slots (0<x<12) => number of reserved slots
sv_reserved_slots_pass     =>Pass to connect a reserved slot

sv_regen                   =>(from homing fun)
sv_teleport                =>(from homing fun)
sv_strip                   =>(from homing fun)
sv_start                   =>(from homing fun)

sv_infinite_ammo (0|1)     =>Infinite ammo ...
sv_race_mod (0|1)          =>Enable/disable race mod
sv_teleport_grenade (0|1)  =>Teleport grenade projectile
sv_teleport_kill (0|1)     =>Teleporting on someone makes him die.
sv_suicide_killer (0|1)    =>When a player reach a tile_damage the last player who hook/hit him get the kill
sv_rocket_jump_damage (0|1)=>Grenade wont hurt yourself anymore
sv_allow_votes (0|1]       =>Allow vote thing "/kick name"
sv_all_vote (0|1)          =>if enable the vote is YES only if "vote for yes > total of the player in the server /2"
sv_powerup_respawn (0<x<10)=>Change time for the power up respawn(0 == auto respawn)
sv_rank_site               =>Set the site for the ranking as "http://2on2.free.fr/"

ban id time               
banlist                    => From gregwar modification but added time
unban id

vote time question         =>Start a custom vote
teleport id1 id2           => teleprot id1 to id2
teleport_to id x y         =>teleport id to x@y ...
get_pos id                 => get the current position of the player
kill_pl id                 => Slay a player
-----------------------------------------------------------------------


I'm changing the mod very often so ...

patch : Ver: 1.6
Compiled server windows : Ver. 1.5
Compiled client windows(better for non collision stuff)

If you compile underwindows:
patch : Ver: 1.6

To edit maps:
entities.png

Race mod:
No collision
/top5
/rank
Record are saved in "mapname_record.dtb"
Timer starting with "tile start" and ending with "tile end"

2

Re: [MOD] Race and other

Nice mod, thanks.

3

Re: [MOD] Race and other

yeah nice

i sell the life..

4

Re: [MOD] Race and other

i got some errors while compiling it for windows sad

http://img187.imageshack.us/img187/7236/shot00444lj8.th.jpg

sry for some german in code

translation: Bezeichner wurde nicht gefunden = identifier not found
C++-Handler verwendet, aber Entladesemantik ist nicht aktiviert. Geben Sie /EHsc an = C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc

I think (hope) the rest is uninteressting but i wish someone can help me smile

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

5

Re: [MOD] Race and other

you should cd to the teeworlds source folder and run bam from there

Used to be very active waay back

6

Re: [MOD] Race and other

no i can compile teeworlds only there... i was wondering about this, but it works. but when i patched the source with the race patch i cant compile it oO

btw. in source folder i cant compile... ihad to copy the source to the ...\bam\src\ folder.

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

7

Re: [MOD] Race and other

Ok sorry about that in windows you have to change

strncasecmp to : strnicmp
and
strncmp to: stricmp

in gs_server.cpp

8

Re: [MOD] Race and other

ok now i got a new error... it says: ´strnicmp´: function does not take 2 parameters
´stricmp´: function does not take 3 parameters

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

9

Re: [MOD] Race and other

Damn damn xD
Take the other patch i made for windows and i did a mistake it was
strncasecmp to : strnicmp
strcasecmp to: stricmp

well nvm use the other patch sorry about that :s

10

Re: [MOD] Race and other

sry for doublepost... the first one can be deleted ^^

i compiled the windows server of this mod (v1.7)
race_server

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

11

Re: [MOD] Race and other

You can delete your posts by clicking on the word "delete" at the lower right corner of your post wink

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!

12

Re: [MOD] Race and other

lol... was blind xD

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

13

Re: [MOD] Race and other

Hi, I have a problem with the mapname_record.dtb file. I edited it and now it doesnt work with /top5:
----------------Top5-------------------
***1. Name Time:x minutes xx.xx seconds.
***2.  Time: x minutes xx.xx seconds.
---------------------------------(Carrion)
and the other names aren't shown...
Can you tell me how to fix it?

My file is:

Name
xx.xx
Name2
xx.xx
Nam3
xxx.xx
...
...
and when I upload it, it still doesn't work....

Maps: Dusty and Horny and run_body
Server: 82.225.20.24:31340

14 (edited by Sushi Tee 2008-07-03 20:57:35)

Re: [MOD] Race and other

u should post the first lines of the file so that we can see the mistake maybe or just delete the file and it will be created again wink

edit:
i was on that server and i would say only the name is missing but u can delete the first 2 placec anyway cuz u never got that time wink

that file is't there to edit it wink

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

15 (edited by Carrion 2008-07-04 13:34:38)

Re: [MOD] Race and other

Yes, I could delete it and it will be recreated but I would like to keep the times of thoose who finished the map...
I'll try to post the file here
(Is the correct syntax: Name/enter/time/enter/name2/enter/time2/enter/...  without the "/" ?)

Edit: everything is working smile and I'm not ranked (YET!)
there is "^M" after the first name, but it works big_smile so I'm not complaining tongue

Maps: Dusty and Horny and run_body
Server: 82.225.20.24:31340

16

Re: [MOD] Race and other

could anyone change the patch so that u can compile it for 0.4.3?

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

17

Re: [MOD] Race and other

I am hosting it on a non-24/7 server (Wierd Race), But it isn't wierd if you can't unijump. Could you add that function? please?

thanks big_smile

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

18

Re: [MOD] Race and other

updated a bit
need to talk to scosue and gregwar xD

Tee

I am hosting it on a non-24/7 server (Wierd Race), But it isn't wierd if you can't unijump. Could you add that function? please?

thanks big_smile

unijump?

19

Re: [MOD] Race and other

Rajh, how i can reset the top5? I delete or delete content of the run_a_v2_records.dtb file with records, and it is still dumping old records. Are there or will there an command for reset records in new version? Thanks for reply, Khubajsn

Goodbye all. Account inactive since March 2011.

20

Re: [MOD] Race and other

khubajsn stop the server ->delete the file -> restart the server it should work.

21 (edited by Rajh 2008-10-05 21:01:20)

Re: [MOD] Race and other

Anyone has any suggestion for the next race version ?

New entities

For the next version I changed entities sorry for that but you will have to redo maps hmm

22

Re: [MOD] Race and other

Please!
Reupload racemod.patch !

23

Re: [MOD] Race and other

Well, since you are already redoing the entities, I'd move the race-specific things far away from the other tiles incase the devs want to add more new tiles and yours is in the way.

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

24

Re: [MOD] Race and other

Chi11y well I don't think they will add new tiles since the 0.6.0 and official race mod is cheduled for 0.6.0 does it really matter ? but I can do it

25

Re: [MOD] Race and other

hii all
i have 2 problems with my run server....
1.My server is always hosting on 4.3 how can i change that it host on 4.2 or 4.1??
and 2. how can i change the auto team balance?in my run server always the teams have to be balenced...
i hope sb can help me....