226

Re: [CLIENT] Teeworlds Gamer

Released v3.2!

What's new?

  • Fixed that flag is displayed when watching the minimap
    It's been a while this little bug appeared, and it was time to get it fixed, even if that was kinda hard to use it as a radar.

  • Spec zoom in/out with the mouse wheel
    What was possible in the past with keyboard shortcuts (Ctrl + '+', Ctrl + '-'), is now possible using the mousewheel. Added possibility to zoom in/out while following tees with the spl0k's feature.

  • Added a green cross to see who are your friends ingame
    You know can see ingame who are your friends, they have a little green cross upon their skin:
    http://duneudne.free.fr/source/gamer_screenshots/3.0/friendcross.png
    Thanks to Marik for the cross picture.

  • Implemented protection against black-colored tees
    They are now filtered out by the client and shown with the standard colors. You can disable this protection in the settings, of course.
    Thanks to Vijfhoek for his patch.

  • Changed icons in server browser
    I replaced the standard icons in the server browser by more colourful, but still teeish ones, by Bee. How it looks in the server browser (don't care about the red 'unpure server' icons):
    http://duneudne.free.fr/source/gamer_screenshots/3.0/newbrowser.png

  • Removed useless whitespaces in the beginning of the server names
    This feature - what you can disable - automatically removes spaces in the beginning of server names (on the previous pictures, the [F-H] servers).

  • Redisigned a bit the settings menu, so that they look more intuitive

  • Supporting Kott's 32tee project
    Please see this page for more information about the Kottizen's 32 tee project. It is now natively implemented in the gamer since version 3.2. The client supports 16 spectators slots more (a total of 32 players on the server)


About the binaries
At the moment, the version 3.2 is only available under Windows, but I'll get binaries for other OS soon.

Windows binaries (.rar)
Windows binaries (.zip)

About the sources
Going to release a patch soon, just need to generate it.


Enjoy it! smile

Not Luck, Just Magic.

227

Re: [CLIENT] Teeworlds Gamer

smexy again <3 thx for update dudely dune

228

Re: [CLIENT] Teeworlds Gamer

Thanks for this, Dune.
Loving this client more and more, I like the new browser symbols, even if i criticized them in another topic.

229

Re: [CLIENT] Teeworlds Gamer

thx  you smile

is there a way to get the old browser icons back? wink

230 (edited by Bee 2010-11-22 18:33:51)

Re: [CLIENT] Teeworlds Gamer

Find the original browser icon and simply replace them by ether deleting the unwanted one or renaming the unwanted one to something other than "browse_icons" and then putting in the old one into data folder. Make sure the old icons are named "browse_icons" or else they'll be replaced my rainbows of death.

Give others the respect you wish to be respected with. In the mean time, enjoy the website!

231

Re: [CLIENT] Teeworlds Gamer

Hi dune!
Through your "friend cross" i had an idea.

You can show muted players in the scoreboard, too.

code:

Index: datasrc/content.py
===================================================================
--- datasrc/content.py    (revision 2368)
+++ datasrc/content.py    (working copy)
@@ -225,6 +225,7 @@
 image_game = Image("game", "game.png")
 image_browseicons = Image("browseicons", "browse_icons.png")
 image_emoticons = Image("emoticons", "emoticons.png")
+image_muteicons = Image("muteicons", "mute.png")
 
 container.images.Add(image_null)
 container.images.Add(image_game)
@@ -235,6 +236,7 @@
 container.images.Add(image_browseicons)
 container.images.Add(Image("console_bg", "console.png"))
 container.images.Add(Image("console_bar", "console_bar.png"))
+container.images.Add(image_muteicons)
 
 container.pickups.Add(Pickup("health"))
 container.pickups.Add(Pickup("armor"))
@@ -243,12 +245,14 @@
 
 set_particles = SpriteSet("particles", image_particles, 8, 8)
 set_game = SpriteSet("game", image_game, 32, 16)
+set_muteicons = SpriteSet("muteicons", image_muteicons, 2, 1)
 set_tee = SpriteSet("tee", image_null, 8, 4)
 set_browseicons = SpriteSet("browseicons", image_browseicons, 4, 1)
 set_emoticons = SpriteSet("emoticons", image_emoticons, 4, 4)
 
 container.spritesets.Add(set_particles)
 container.spritesets.Add(set_game)
+container.spritesets.Add(set_muteicons)
 container.spritesets.Add(set_tee)
 container.spritesets.Add(set_browseicons)
 container.spritesets.Add(set_emoticons)
@@ -363,6 +367,9 @@
 container.sprites.Add(Sprite("browse_heart", set_browseicons, 1,0,1,1))
 container.sprites.Add(Sprite("browse_unpure", set_browseicons, 3,0,1,1))
 
+container.sprites.Add(Sprite("unmute", set_muteicons, 0,0,1,1))
+container.sprites.Add(Sprite("mute", set_muteicons, 1,0,1,1))
+
 anim = Animation("base")
 anim.body.frames.Add(AnimKeyframe(0, 0, -4, 0))
 anim.back_foot.frames.Add(AnimKeyframe(0, 0, 10, 0))
Index: src/game/client/components/menus_ingame.cpp
===================================================================
--- src/game/client/components/menus_ingame.cpp    (revision 2368)
+++ src/game/client/components/menus_ingame.cpp    (working copy)
@@ -321,6 +321,25 @@
         info.size = button.h;
         render_tee(ANIMSTATE::get_idle(), &info, EMOTE_NORMAL, vec2(1,0), vec2(button.x+button.h/2, button.y+button.h/2));
 
+        if(show_muted && gameclient.clients[i].muted)
+        {
+            // draw a "mute" icon
+            gfx_texture_set(data->images[IMAGE_MUTEICONS].id);
+            gfx_quads_begin();
+            select_sprite(SPRITE_MUTE);
+            gfx_quads_draw(button.x+button.h/2 + 10, button.y+button.h/2 + 3, 16,16);
+            gfx_quads_end();
+        }
+        else
+        {
+            // draw a "unmute" icon
+            gfx_texture_set(data->images[IMAGE_MUTEICONS].id);
+            gfx_quads_begin();
+            select_sprite(SPRITE_UNMUTE);
+            gfx_quads_draw(button.x+button.h/2 + 10, button.y+button.h/2 + 3, 16,16);
+            gfx_quads_end();
+        }
+
         button.x += button.h;
         ui_do_label(&button, gameclient.clients[i].name, 18.0f, -1);
     }
Index: src/game/client/components/scoreboard.cpp
===================================================================
--- src/game/client/components/scoreboard.cpp    (revision 2368)
+++ src/game/client/components/scoreboard.cpp    (working copy)
@@ -246,6 +246,16 @@
         teeinfo.size *= tee_sizemod;
         render_tee(ANIMSTATE::get_idle(), &teeinfo, EMOTE_NORMAL, vec2(1,0), vec2(x+90, y+28+tee_offset));
 
+        if(gameclient.clients[info->cid].muted)
+        {
+            // draw a "mute" icon
+            gfx_texture_set(data->images[IMAGE_MUTEICONS].id);
+            gfx_quads_begin();
+            select_sprite(SPRITE_MUTE);
+            gfx_quads_drawTL(x+100, y+28, 28, 28);
+            gfx_quads_end();
+        }
+
         
         y += line_height;
     }

And here is the picture smile
mute.png

Maybe you can include it.

232

Re: [CLIENT] Teeworlds Gamer

Is there a way to base this on 0.5 trunk?

233

Re: [CLIENT] Teeworlds Gamer

Saturn001 wrote:

Hi dune!
Through your "friend cross" i had an idea.
You can show muted players in the scoreboard, too.

That looks nice, I think I'm going to rework the UI mute system, patching your code and also using your pictures as buttons to mute/unmute people in the menus. Because I don't really get what the "unmute" picture is for, since you're just printing it in the menus when they are not muted.
Got to fix some little bugs about that system, and I'm also probably going to merge gamer-related additional pictures in one, so it don't get too dirty.

alias wrote:

Is there a way to base this on 0.5 trunk?

Yes, there is a way ; take the last 0.5 trunk and recode everything. smile

Going to release patches when I'll have time to generate them, then people can compile for other OS.

Snazzy wrote:

dudely dune

Haha epic! I love it big_smile

Not Luck, Just Magic.

234

Re: [CLIENT] Teeworlds Gamer

that´s cool dune.

yeah i know, that the "unmute" picture is useless atm...

and the idea with the buttons is great! (then it´s not longer useless big_smile)

235

Re: [CLIENT] Teeworlds Gamer

Compiled version 3.2 for Linux, released binaries.
Linux pack (.zip). Could not test it, please report bugs if you find any smile

Not Luck, Just Magic.

236

Re: [CLIENT] Teeworlds Gamer

very nice!!!

The specZoom be perfect! ( liked the "zoom 50%" xD)

thanks you very much! Dune

his client is without doubt the best!

my Art :]
I'm from Brazil -  help of Google-Translator

237

Re: [CLIENT] Teeworlds Gamer

Have you the time to patch Antiping for the Teeworlds Gamer? It would complete it... for me. Thanks beforehand. (:

238 (edited by Dune 2010-11-22 19:27:44)

Re: [CLIENT] Teeworlds Gamer

alias wrote:

Have you the time to patch Antiping for the Teeworlds Gamer? It would complete it... for me. Thanks beforehand. (:

There has already been a discussion about including this mod in the gamer long time ago (don't have time to browse the pages of the topic), and I eventually said no, for lots of reasons. The antiping code is pretty heavy and dirty, it gives advantage to some players over others, and is based on 0.5 trunk. It would mean to recode everything, and I'm pretty not motivated to do that since I dislike this mod and have more important and innovative features to implement than this.
Sorry.

Not Luck, Just Magic.

239 (edited by Snazzy 2010-11-22 20:50:38)

Re: [CLIENT] Teeworlds Gamer

Dune wrote:
alias wrote:

Have you the time to patch Antiping for the Teeworlds Gamer? It would complete it... for me. Thanks beforehand. (:

There has already been a discussion about including this mod in the gamer long time ago (don't have time to browse the pages of the topic), and I eventually said no, for lots of reasons. The antiping code is pretty heavy and dirty, it gives advantage to some players over others, and is based on 0.5 trunk. It would mean to recode everything, and I'm pretty not motivated to do that since I dislike this mod and have more important and innovative features to implement than this.
Sorry.

i agree with dudely dune, you guys wanted to remove the zoom function because it was kinda used as a cheat, so you shouldnt implent anything that gives only a few players an "Advantage".

the official TW is also concentrating on improving the thing as a whole and not in simple steps to improve the gaming for a several groups of players

/edit: "Dudely Dune"

240

Re: [CLIENT] Teeworlds Gamer

I have got a problem

I can't open the minimap

can someone help me???

241

Re: [CLIENT] Teeworlds Gamer

freshmirun wrote:

I can't open the minimap

Press Ctrl + % when ingame on versions >= 3.0.

Not Luck, Just Magic.

242

Re: [CLIENT] Teeworlds Gamer

Is it "Ctrl" + "5" or "Ctrl" + "Shift" + "5"?

243

Re: [CLIENT] Teeworlds Gamer

freshmirun wrote:

Is it "Ctrl" + "5" or "Ctrl" + "Shift" + "5"?

What's your keyboard? O_o

Not Luck, Just Magic.

244

Re: [CLIENT] Teeworlds Gamer

dune, the french keyboard is the one and only keyboard where it is not "shift" + "5" 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 ^^

245

Re: [CLIENT] Teeworlds Gamer

I am german and i have got a german keyboard
"%" is "Shift" + "5"

246 (edited by Dune 2010-11-25 15:24:28)

Re: [CLIENT] Teeworlds Gamer

Sushi Tee wrote:

dune, the french keyboard is the one and only keyboard where it is not "shift" + "5" wink

Ah, I thought I made it for qwerty... I must have failed, you need to use Ctrl + * on a qwerty keyboard. Need to fix that crappy hardcoded shortcut.

Not Luck, Just Magic.

247

Re: [CLIENT] Teeworlds Gamer

Does anybody of you have the gamer client for mac... ready to play in a dmg?
I am to stupid to bring it to work O.O

sry for my bad english!

I hope anybody can understand me ^^

My skype is: kuchen4ever
My email is: michiubuntu@gmail.com

again sorry for my bad english xD

248

Re: [CLIENT] Teeworlds Gamer

KäseKuchen wrote:

Does anybody of you have the gamer client for mac... ready to play in a dmg?
I am to stupid to bring it to work O.O

Sorry, Mac version for the last version isn't available yet. Wait a bit I find a way to get binaries for Mac or download version 3.0 for Mac.

Not Luck, Just Magic.

249

Re: [CLIENT] Teeworlds Gamer

Ok thanks!
I can wait tongue

But maby an older version of the gamer client?
I have downloaded the zip from first page... for mac...
But i dont know what I had to to with the stuff in ist ^^

I tryed the windows version... that was easier... but it is a little bit laborious to run this on mac via crossover^^

250

Re: [CLIENT] Teeworlds Gamer

But maby an older version of the gamer client?
I have downloaded the zip from first page... for mac...
But i dont know what I had to to with the stuff in ist ^^

You need to extract the zipped file in your usual Teeworlds folder, and to merge folders. Then, just launch your teeworlds.noext and enjoy it smile

Not Luck, Just Magic.