1 (edited by EdgeCruSher 2010-05-03 17:12:44)

Topic: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Hi,

while i kept trying to improve teeworlds further and further on (all based on teecomp, cos it is the shiznit tongue ) i finally reached a state, where i think it is almost worth showing it to others, since it really made teecomp more useful. some stuff i included:


- based off 0.7.0 Teecomp @ 0.5.2
+ Ingame Server Browser ( adds another button to "Join Blue" "Join Red" / etc ) which allows you to directly switch between servers, so you won't have to disconnect wink
+ Spectator zoom ( allows you to zoom out the scale of the map in spec ( has some not-so-nice side-effects, might fix those some day. try gfx_noclip 1 if you get a flickering screen ))
+ chat font size (allows you to change the size of the chat ingame)
+ broadcast font size ( thought this to be quite annoying, so i added a cvar for it smile )
+ warmup font size ( see above big_smile )
+ Disable specific HUD elements (for example Armor / Ammo / HP status, useful to instagib players, and for demo recording wink )
+ cl_menusize ( changes the scale of the menus, useful for large screens, etc )
new in 0.2:
+ cl_jointeam (specifies team to join on connect   (( -1 for spec, 0 for red, 1 for blue. set it to -2 to disable it)) )
+ cl_rcon1 to cl_rcon6 (allows you to enter some rcons to try to login on connect ((warning: if you have 3 or more set up, you might get banned from some modded servers as they ban those who try rcon login too often )) )
              + also fixed: it will only try to login if a password is actually set, if nothing is set the variables value will be"empty"
+ button that allows you to try to connect again every 2 seconds if a server is full, specify how many times in cl_connect_tries. ( notify me if you think this is too stressy for the server, i'll remove it then. i tried to solve it using refresh server list, but it didn't work as it isn't able to refresh one single server (hints, anyone?) )
-> you will be automatically switched to spec on connect, so if you went afk after connecting you aren't gonna be blocking a slot ingame

+ chat log from Z client ( thanks for the source smile )   (press up or down key to select previous messages when in chat mode)
+ lots of other stuff i guess....


P.S.: the patch also contains my server mod including extremely buggy gametype LMS (last man standing) for those who need it / want it /whatever....


you can access most of the features inside the HUD tab in Settings -> Teecomp smile

ideas please smile


Credits: HUGE thanks to spl0k for his great mod Teecomp! big_smile

http://94.23.50.119/pubfiles/teecomppp.exe

patch file for original teeworlds sourcecode:
http://94.23.50.119/pubfiles/tcpp-0.2.patch

2 (edited by EdgeCruSher 2009-12-08 15:32:09)

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Captain AMN wrote:

Also i don't see credits for spl0k anywhere for his work. If you want him to make further development on teecomp anytime soon, i would give props to him.

oooops, i knew i'd forget something tongue

well, it isn't possible to exploit the code, at least not without something like an injector, dunno about those though... it's the complete exe, so you can't modify the code, and it's not using some sort of cvar to set the state, so it's all good... the z-pack has that feature too wink

3

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Nice client mod.
Just for know, it's possible to bind the spectator_zoom value? like in Z-Team, I bound + for zoom+10 and - for zoom-10?

Support Staff - ESL.eu Teeworlds Admin

4

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Very good. But something bothers me. When you click in game on the "Internet" button, and then the server you want to join is full, we returned to the home screen.
But I like it!

|||||||www||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||clubfreeware||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||de|||||

5

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Lanta wrote:

Nice client mod.
Just for know, it's possible to bind the spectator_zoom value? like in Z-Team, I bound + for zoom+10 and - for zoom-10?

sure, the cvar is called hud_speczoom wink most of the hud on/off switches are hud_* cvars wink

6

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

small update, changed the gfx_clear color from yellow to black, so it's less annoying if you're on spectator, because yellow makes the chat text unreadable

7

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

You should disable quads clipping (it works big_smile)

|ZPote| buffer[]'s posterous

8

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

The link is down.

~{MS}~ Tho
~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US : http://www.monkeystyle.tk || Check out our IRC channel : #monkeystyle on QuakeNet || Also check out the TeeWiki : http://teewiki.info

9 (edited by EdgeCruSher 2009-12-14 21:24:55)

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Tho wrote:

The link is down.


yeah sorry, our root server was locked down, apache doesn't start up any more, gotta wait... might upload it to some hoster

http://www.file-upload.net/download-207 … p.exe.html

10

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Source would be nice... or atleast a linux binary.

11

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

would be really cool when this mod  would be added to the Teeworlds SETUP

Teeworlds 0.5.2 Setup

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

12

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

http://94.23.50.119/pubfiles/src.zip

there you go, all the parts of the source you'll need, enjoy smile

didn't improve a lot since the last version... if anyone needs the change urgently, i can upload the new one as well.... i simply added the chat history feature from the Z-Team clientpack.

Thanks to kaddy / who ever developed that mod for providing his source so i was able to add it smile really nice feature sometimes.

13

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

hmm I get an error when i want to compile for mac.. sad hope you can fix it

Undefined symbols:
  "_mods_console_init", referenced from:
      _main in es_server.o
  "_mods_postsnap", referenced from:
      _server_do_snap in es_server.o
  "_mods_version", referenced from:
      _server_send_serverinfo in es_server.o
  "_mods_shutdown", referenced from:
      _server_run in es_server.o
      _server_run in es_server.o
  "_mods_snap", referenced from:
      _server_do_snap in es_server.o
      _server_do_snap in es_server.o
  "_mods_tick", referenced from:
      _server_run in es_server.o
  "_mods_presnap", referenced from:
      _server_do_snap in es_server.o
  "_mods_client_drop", referenced from:
      _del_client_callback in es_server.o
  "_mods_client_direct_input", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_net_version", referenced from:
      _server_process_client_packet in es_server.o
      _server_process_client_packet in es_server.o
      _server_run in es_server.o
      _con_record in es_server.o
  "_mods_message", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_client_enter", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_connected", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_client_predicted_input", referenced from:
      _server_run in es_server.o
  "_mods_init", referenced from:
      _server_run in es_server.o
      _server_run in es_server.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

-Stripe

14

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

any were I can get the source ore patch file.. ? so I can compile for mac.. big_smile

MertenNor

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

15

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Stripe wrote:

hmm I get an error when i want to compile for mac.. sad hope you can fix it

Undefined symbols:
  "_mods_console_init", referenced from:
      _main in es_server.o
  "_mods_postsnap", referenced from:
      _server_do_snap in es_server.o
  "_mods_version", referenced from:
      _server_send_serverinfo in es_server.o
  "_mods_shutdown", referenced from:
      _server_run in es_server.o
      _server_run in es_server.o
  "_mods_snap", referenced from:
      _server_do_snap in es_server.o
      _server_do_snap in es_server.o
  "_mods_tick", referenced from:
      _server_run in es_server.o
  "_mods_presnap", referenced from:
      _server_do_snap in es_server.o
  "_mods_client_drop", referenced from:
      _del_client_callback in es_server.o
  "_mods_client_direct_input", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_net_version", referenced from:
      _server_process_client_packet in es_server.o
      _server_process_client_packet in es_server.o
      _server_run in es_server.o
      _con_record in es_server.o
  "_mods_message", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_client_enter", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_connected", referenced from:
      _server_process_client_packet in es_server.o
  "_mods_client_predicted_input", referenced from:
      _server_run in es_server.o
  "_mods_init", referenced from:
      _server_run in es_server.o
      _server_run in es_server.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

-Stripe

you should use the default server folder and compile using ../bam-0.2.0/src/bam client_release instead of release, because the server files won't be compatible with the rest wink if it doesn't work i can upload my whole folder, but try again first.

@MertenNor:
see above Stripe's post smile

16

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Okey i tried it tongue i get an othger error tongue

src/game/client/gameclient.cpp: In member function ‘void GAMECLIENT::on_init()’:
src/game/client/gameclient.cpp:244: error: ‘IMAGE_GAME_GRAY’ was not declared in this scope

17 (edited by Yoyo 2010-01-10 23:19:18)

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

same error when i try to compile it for win32:

[ 65/106] #1 c++ src/game/client/gameclient.cpp
gameclient.cpp
src/game/client/gameclient.cpp(244) : error C2065: 'IMAGE_GAME_GRAY': nichtdeklarierter Bezeichner

src/game/client/gameclient.cpp(244) : error C2228: Links von ".id" muss sich eine Klasse/Struktur/Union befinden.

src/game/client/gameclient.cpp(245) : error C2065: 'IMAGE_GAME_GRAY': nichtdeklarierter Bezeichner

src/game/client/gameclient.cpp(245) : error C2228: Links von ".id" muss sich eine Klasse/Struktur/Union befinden.

src/game/client/gameclient.cpp(248) : error C2065: 'IMAGE_GAME_GRAY': nichtdeklarierter Bezeichner

src/game/client/gameclient.cpp(248) : error C2228: Links von ".filename" muss sich eine Klasse/Struktur/Union befinden.

src/game/client/gameclient.cpp(309) : error C2065: 'IMAGE_GAME_GRAY': nichtdeklarierter Bezeichner

src/game/client/gameclient.cpp(309) : error C2228: Links von ".id" muss sich eine Klasse/Struktur/Union befinden.

src/game/client/gameclient.cpp(816) : warning C4805: '!=': unsichere Kombination von Typ 'const int' mit Typ 'bool' in einer Operation

bam: command returned error: 2

bam: error during build

sry that it´s german but it means the same as stripes error

so could you please upload compiled win32/new version!?

18

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

have you tried it with

../bam/src/bam client_release

? tongue when i compile it with these i get 1 error

19 (edited by Yoyo 2010-01-11 20:14:27)

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

i compiled it the same way like you (with "../bam/src/bam client_release") but on win32 ^^
and it is the same error; only win32 shows more i think?

i´ll try to set system language on english and hope to get the error in english

edit: ok isn´t needed any more (see post under this post^^)

20

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

oops, guess some files are missing there then. give me one sec and i'll upload the whole source folder...

21

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

xDD okey do that tongue

22 (edited by Yoyo 2010-01-11 21:30:38)

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

ok...i looked on the link of the old version http://94.23.50.119/pubfiles/ and found the new edge.zip from today
->unpacked
-> compiled it for win32 and it worked xD thx very much

edit: dynamic camera doesnt´t work sad i shouldn´t download from servers without knowing what i download xD
  -> please say me what i need to download/correct link

23 (edited by EdgeCruSher 2010-01-12 16:51:02)

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Yoyo wrote:

ok...i looked on the link of the old version http://94.23.50.119/pubfiles/ and found the new edge.zip from today
->unpacked
-> compiled it for win32 and it worked xD thx very much

edit: dynamic camera doesnt´t work sad i shouldn´t download from servers without knowing what i download xD
  -> please say me what i need to download/correct link

yeah wasn't done yet wink works now, was too busy yesterday.

http://94.23.50.119/pubfiles/edge.zip
should work smile

24

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

Okey now it works smile

25

Re: [CLIENT] (02.05.2010) Teecomp++, some small improvements for Teecomp

i really love ths version, its everything i could dream of.

The dumber people think you are, the more surprised they're going to be when you kill them.