226

Re: [CLIENT] H-Client v4.0.3

great work, waiting for non-beta version <3

227

Re: [CLIENT] H-Client v4.0.3

@Psycho.God  Thx! wink

Ok news [2.6 Final Version coming soon]:
- Fixed IRC Quit Crash
- Fixed IRC /commands
- Now you can use "Return" Key to send messages in IRC Tab
- Improve IRC messages ingame
- Show IRC Notifications ingame
- Fixed minor bugs in IRC protocol use.. (PING-PONG)
- Now only can input 0-127 ASCII Codes in "Nick" editbox.
- Added Close button to IRC Rooms Tabs
- Added /op, /deop, /voz, /devoz, /kick commands to IRC Tab
- Added KICK, MODE messages
- Added IRC options to H-Client Settings Menu


Video IRC Feature: http://www.youtube.com/watch?v=Ad6EvYEtMdc

228

Re: [CLIENT] H-Client v4.0.3

Hi Again,
Still guessing you're the most experimented TeeWorlds developer I'm beggin' your help.
I am actually trying to add an ammo crate in maps, so that picking it up we reload the current weapon.
The fact is I added my ammor crate and it's sprite everywhere  other pickup are handled (Health and armor pickups)
But no way, I can't just have my ammo crate showing up.
How would you do? I think it should be more or less the same behaviour of your pickable blocks.
Thanks for your answer, loving your work on MineTee.

229 (edited by unsigned char* 2013-03-12 18:56:14)

Re: [CLIENT] H-Client v4.0.3

Hi Ciryus,

The Book of TW Modder
Add a new Pickup with a new Image:
· Limitations
    - Need mod client side.

· Prepare general source
> Copy the new pickup image into 'data/' folder
> Open the file 'datasrc/network.py'
    - Modify the line "Powerups = ["HEALTH", "ARMOR", "WEAPON", "NINJA"]" adding your new pickup.
> Open the file 'datasrc/content.py'
    - Search the line "container.images.Add(image_guiicons)"
    - Add in a new line your Image: container.images.Add(Image("mypickupimg", "mypickup.png"))
    - Search the line "container.pickups.Add(Pickup("ninja", 90, 90))"
    - Add in a new line your pickup: container.pickups.Add(Pickup("YourNewPickup"))
> Open the file 'src/game/mapitems.h'
    - Add your tile (This is for can add your pickup with editor)
          ** Example: Add a new Tile in the position 20:
                                               TILE_MYPICKUP=20,

· Mod Server Side
> Open the file 'src/game/server/gamecontroller.cpp':
    - Add a new "else if" into the function "OnEntity(int Index, vec2 Pos)":

    else if(Index == TILE_MYPICKUP)
        Type = POWERUP_MYNEWPICKUP;

>Open the file 'src/game/server/entities/pickup.cpp':
    - Into the function "CPickup::Tick()":
          - Add a new case with your pickup
                    Example:

        case POWERUP_MYNEWPICKUP:
                dbg_msg("MYPICKUP", "Weee! TOUCH ME! >.<");
                GameServer()->CreateSound(m_Pos, SOUND_PICKUP_HEALTH);
                RespawnTime = g_pData->m_aPickups[m_Type].m_Respawntime;
                break;

· Mod Client Side
> Open the file 'src/game/client/components/items.cpp'
    - Add to begin in the function "RenderPickup":

    if (pCurrent->m_Type == POWERUP_MYNEWPICKUP)
    {
        Graphics()->TextureSet(g_pData->m_aImages[IMAGE_MYPICKUPIMG].m_Id);
        Graphics()->QuadsBegin();

        vec2 Pos = mix(vec2(pPrev->m_X, pPrev->m_Y), vec2(pCurrent->m_X, pCurrent->m_Y), Client()->IntraGameTick());
        float Offset = Pos.y/32.0f + Pos.x/32.0f;
        if(Client()->State() == IClient::STATE_DEMOPLAYBACK)
        {
            const IDemoPlayer::CInfo *pInfo = DemoPlayer()->BaseInfo();
            static float Time = 0;
            static float LastLocalTime = Client()->LocalTime();

            if(!pInfo->m_Paused)
                Time += (Client()->LocalTime()-LastLocalTime)*pInfo->m_Speed;

            Pos.x += cosf(Time*2.0f+Offset)*2.5f;
            Pos.y += sinf(Time*2.0f+Offset)*2.5f;

            LastLocalTime = Client()->LocalTime();
        }
        else
        {
            Pos.x += cosf(Client()->LocalTime()*2.0f+Offset)*2.5f;
            Pos.y += sinf(Client()->LocalTime()*2.0f+Offset)*2.5f;
        }

        RenderTools()->DrawSprite(Pos.x, Pos.y, 64.0f);
        Graphics()->QuadsEnd();

        return;
    }

230 (edited by Ciryus 2013-03-12 12:15:28)

Re: [CLIENT] H-Client v4.0.3

Thx for your fast answer "I don't know".
I exactly did what you told me before you post this, thinking I was forgetting something but after checking step by step your post I had already coded the right things.
So I may be missing something because if I hit the space button in the editor I got just my classic entity tiles.
No new pickable entity is shown....
Have you got a hint on what I did wrong?
(sorry to ask you that on your topic but no one seems to want to answer me on the one I created)


EDIT:
OKay I found where I was wrong, I did not edit the entity.png file in the editor folder, tried to see what it gives In Game and my ammo crate was there. Sorry for the inconvenience and a very big Thanks for your relevant answer.

231

Re: [CLIENT] H-Client v4.0.3

has someone the old map?

232

Re: [CLIENT] H-Client v4.0.3

any news about release of final version?

233

Re: [CLIENT] H-Client v4.0.3

I downloaded the client appears more: failed to open file. filename = 'minetee-items.png

can send me apart and tell me where in place?

234

Re: [CLIENT] H-Client v4.0.3

I Found 2 H-Client Bugs :
1.Glitch through tiles wtf? map blmapV3_aoe
2.Irc Disconnect laggs :
If you chat with somebody in the irc and he quit Teeworlds you get hardlaggs. ?! Nice function to ddos sb?
just kidding pls fix that client nice done
http://www.youtube.com/watch?v=7FmSWuBxKT8

235

Re: [CLIENT] H-Client v4.0.3

xDDDDDDDD sry smile

I go to work to fix this smile .. i have in my computer other version with minor bugs fixed (including Chat issue).. but need see the bug with trough walls :B

thx for report ^^

236

Re: [CLIENT] H-Client v4.0.3

Fallen wrote:

1.Glitch through tiles wtf? map blmapV3_aoe

Are you sure it isn't a map bug?

237 (edited by unsigned char* 2013-06-28 04:53:17)

Re: [CLIENT] H-Client v4.0.3

Ok.. release new version 2.6  (Special release to fix bugs)

- Fix bug with blocks
- Fix bug that in special cases cause a crash when join in to server
- Fix IRC (But need more work)
- Add "Blur Effect" -> This add a blur effect when tee have a Ninja Weapon
- Other minor bugs fixed

====================================================================

New version 2.6.1 released:

- Fixed Blur effect :P (Now work with all tees)
- Now can copy text from console to clipboard!!
- Fixed minor stuff (Menus size, ...)
- NOW CAN JOIN IN VANILLA SERVERS!! (Sry for this bug!! OMG!! xDD)

See Video http://youtu.be/coXeJvlioj4

Download H-Client v2.6.1 -Windows-: http://bit.ly/13bgElp

238

Re: [CLIENT] H-Client v4.0.3

can't open the rar file ._.

239

Re: [CLIENT] H-Client v4.0.3

Umm idk... download it again :S

What error shows?

240

Re: [CLIENT] H-Client v4.0.3

Guys, Where Can I play Minetee mod? With H-Client ? Does it have any server?
I wanna try it sooooo much sad ! I downloaded HClient-2.6-win32 but there is no Minetee server ! :c

241 (edited by unsigned char* 2013-07-12 13:18:09)

Re: [CLIENT] H-Client v4.0.3

New versioon 2.7.2 Released!

**Minetee Update

– Added ‘/help’ command
– Fixed count players
– Added simple crafting system
– Fixed minor issues with light
– Fixed minor issues with breakable items
– Modified minetee.map
– Added ‘fgpaint’ command to draw in foreground layer
– Featured: Now can clean blocks in background or foreground layer with hammer
– Added some new items
– Fixed minor bugs

DOWNLOAD -Win32-: http://bit.ly/156JZcp

242

Re: [CLIENT] H-Client v4.0.3

Nice work as usual unsi ^^

243

Re: [CLIENT] H-Client v4.0.3

Any public server hmm ?

244 (edited by unsigned char* 2013-07-17 03:05:15)

Re: [CLIENT] H-Client v4.0.3

Uploaded linux version and source smile

- Linux: http://bit.ly/15rdvcK
- Source: https://github.com/CytraL/HClient


Test Server [Thx to Marsimoto]: 81.89.101.203:8315

245

Re: [CLIENT] H-Client v4.0.3

wow, great
thx for source
btw, did you have an git or svn server? wanna check changes by time and commite

246 (edited by unsigned char* 2013-10-19 23:11:33)

Re: [CLIENT] H-Client v4.0.3

Hi! i’m working in Box2D Physics integration… the problem with a Box2D library is that isn’t deterministic, but i will try some stuff only for fun tongue

Pre-Alpha preview of the experiment…

http://youtu.be/TicIQk9OJCc

--------------------- ----------------- ----

Working on v2.7.3...

Moved IRC Panel to Server Tab
http://dl.dropboxusercontent.com/u/30566237/imgs/hclient-servers.png

Show Direction & Jump Information in DDRace
http://dl.dropboxusercontent.com/u/30566237/imgs/hclient-ddrace-arrow.png

Other features coming soon :B

247

Re: [CLIENT] H-Client v4.0.3

The box system seems funny, but totally useless

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

248

Re: [CLIENT] H-Client v4.0.3

Box system?? you mean IRC Box?  i know that IRC Function its not used... but i try one think in this version, if it don't works.. i remove IRC feature.

Ahh no... you speak about Box2D... xDDD useless?? ummm for my mind not tongue  but need integrate good with the actual movements.. and i dont have more time and experience in this thinks wink

Imagine DDRace maps with hookable blocks in movement.... blocks that can fall and kill yourself, put a box in one place to open a door... search the block that you can move to continue you way.... etc.. etc...


Thx for comment! wink

249 (edited by HeroiAmarelo 2013-10-20 15:11:59)

Re: [CLIENT] H-Client v4.0.3

Imagine Minetee
The best mod there is, that noone plays because it requires a special client.

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

250

Re: [CLIENT] H-Client v4.0.3

HeroiAmarelo wrote:

Imagine Minetee
The best mod there is, that noone plays because it requires a special client.

xDDDD wink

P.S: I think that if minetee allow save maps it can be more used... no?