1 0      

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"

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

2 0      

Re: [MOD] Race and other

Nice mod, thanks.

3 0      

Re: [MOD] Race and other

yeah nice

i sell the life..

4 0      

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

*gV* rox ^^

5 0      

Re: [MOD] Race and other

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

Admin for all LAN-corps servers

6 0      

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.

*gV* rox ^^

7 0      

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 0      

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

*gV* rox ^^

9 0      

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 0      

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

*gV* rox ^^

11 0      

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

If you want to contact me join #teeworlds or create a new forum thread!
If you are interested in teeworlds-graphics, join #teeworlds-gfx

12 0      

Re: [MOD] Race and other

lol... was blind xD

*gV* rox ^^

13 0      

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 0      

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

Last edited by Sushi Tee (2008-07-03 19:57:35)

*gV* rox ^^

15 0      

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

Last edited by Carrion (2008-07-04 12:34:38)

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

16 0      

Re: [MOD] Race and other

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

*gV* rox ^^

17 0      

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 0      

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 0      

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

I am admin & founder of Czech TeeWorlds fansite and looking for some gameplay tutorials cause of czech players are mostly noobs. If you have any, please contact me [how?]

20 0      

Re: [MOD] Race and other

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

21 0      

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

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

22 0      

Re: [MOD] Race and other

Please!
Reupload racemod.patch !

23 0      

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.

teePlanet - Teewit!
Official map developer and community moderator.

I only reply to threads of people who have done a search before asking, and I always try to answer good/upcoming map creators.

24 0      

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 0      

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