1 (edited by Alirezakaj 2015-11-20 20:16:44)

Topic: [MOD] TBlock v1.2

hi again dear nabs , smile tongue
good news  for  you !
a new version of Block mod is  out  now  by Teecity development team
-mod edited by Hamidjigool & Alirezakaj
-based on DDnet 9.0.2 and xxlddrace 2.0

PunBB bbcode test

-equipment of mod :
-old :
xxl
rainbow
jetpack
blood & bloody
super
invise
ninjajetpack
endless hook
Admin room
member room
moderator room
-New :
Clan room (read tutorial of how to use it  in down of page )
uninvise tile
Canon (based on  ddnet and need edit maps first to use this )
Emote sounds tongue

Tutorial how to use Clan room :

you need to edit map by tile number of each clan
base Clans in this mod are [P.G] , persianpro , Zone , [C.Z] , Venum
but you can  change them for yourself tongue  here it is
download source code from down links on this page
then go to this location of it >// src/game/server/entities/Character.cpp
open this file with c++ or notepad++ tongue  find line 1839 to 1849
there are clan codes but dont worry ! tongue changing  this  is easy big_smile
example : line 1842 :

if(str_comp(Server()->ClientClan(m_pPlayer->GetCID()), "[P.G]") == 0)

so you can  change name [P.G] to any thing you want smile
and line 1847 :

GameServer()->SendChatTarget(m_pPlayer->GetCID(), "Welcome to Persian gulf Clan Room..!");

you can change Welcome to Persian gulf Clan Room..!  to   any welcome messege you want smile
see ,  its  easy !
other clans can be edit like this ,  if you want  add  more  clans you  need to  add new tile first :
go to : src/game/mapitems.h
line 118 :

TILE_VCLAN=164,

you must enter and go next line 119 and create new like this :

TILE_NewCLAN=165,

and next will be :

TILE_New2CLAN=166,

 
and so go  on ...  but remember there  are numper of Tile maping !  ( in editor Tile 165 will be NewClan ......)
but this is not enoght tongue   you need to go again on character.cpp 
see this example : ( you create TILE_NewCLAN in mapitems.h  ,   now you should use this in character.cpp to make new one )
line 1839 : before codes of [P.G] clan   wiil  be  this :

if((m_TileIndex == TILE_NewCLAN) || (m_TileFIndex == TILE_NewCLAN))
    {
            if(str_comp(Server()->ClientClan(m_pPlayer->GetCID()), "New") == 0)
            {
                if(m_pPlayer->m_ClanMSG)
                {
                    GameServer()->CreateSound(m_Pos, SOUND_RIFLE_BOUNCE);
                    GameServer()->SendChatTarget(m_pPlayer->GetCID(), "Welcome to New Clan Room..!");
                    m_pPlayer->m_ClanMSG = false;
                }
            }
            else
            {
                GameServer()->CreateSound(m_Pos, SOUND_PLAYER_PAIN_LONG);
                Die(m_pPlayer->GetCID(), WEAPON_WORLD);
                GameServer()->SendChatTarget(m_pPlayer->GetCID(), "Your clan name must be New to enter Clan Room.");
                m_pPlayer->m_ClanMSG = false;
            }
    }

you need to  do this each time for every clan smile   now save all   and go compile source code <>   have fun ! tongue   

binaries :
server X64 windows
entities (for maping )
Source code
map & confige of map ( you can see all of equipment in  this map)
Confige of server
you can use DDnet files for run server just replace these files on  them tongue


special thanks to deen & DDnet community
special thanks to FuroS for emote sounds code helping
www.Teecity.ir

need idea ? just tell me smile

2 (edited by Landil 2015-11-21 15:55:00)

Re: [MOD] TBlock v1.2

Alirezakaj you copy and paste all of code in this mod from FlushA's Block Extras mod,
You are a big edit: tee haha big_smile

Do not insult other forum members! This is a warning!

edited by Landil

3

Re: [MOD] TBlock v1.2

Nice, but need more upgrade mod smile

4 (edited by Ryozuki 2015-11-21 02:32:00)

Re: [MOD] TBlock v1.2

failed to load map. mapname='Great_Royal_v20_n'

How to solve?

The map is in data/maps

5

Re: [MOD] TBlock v1.2

kinggta wrote:

Alirezakaj you copy and paste all of code in this mod from FlushA's Block Extras mod,
You are a big noob dog haha big_smile

what are you say to us? copy of what? we just combine XXLDDrace and DDNet together and something else
you are so Envious ... you know?
and we just take fun with this mod smile and soon we create new version whit other funny thing tongue

Ryozuki wrote:

failed to load map. mapname='Great_Royal_v20_n'

How to solve?

The map is in data/maps

you must delete data folder... you just need maps folder... you know?
../maps/Great_Royal_v20_n.map
take fun smile

6

Re: [MOD] TBlock v1.2

vafa.hamidreza wrote:
kinggta wrote:

Alirezakaj you copy and paste all of code in this mod from FlushA's Block Extras mod,
You are a big noob dog haha big_smile

what are you say to us? copy of what? we just combine XXLDDrace and DDNet together and something else
you are so Envious ... you know?
and we just take fun with this mod smile and soon we create new version whit other funny thing tongue

Ryozuki wrote:

failed to load map. mapname='Great_Royal_v20_n'

How to solve?

The map is in data/maps

you must delete data folder... you just need maps folder... you know?
../maps/Great_Royal_v20_n.map
take fun smile

I'm not idiot, i made thousands of servers, but i don't know why, this mod doesn't load the map

7 (edited by Hamid Jigool 2015-11-21 14:24:37)

Re: [MOD] TBlock v1.2

Ryozuki wrote:

I'm not idiot, i made thousands of servers, but i don't know why, this mod doesn't load the map

I do not say to you that you are idiot... im just wanna help you
i run this server whithout any problem and now 11 player in my server
i don't know why you cann't run it
try with other map dear Ryozuki and if dont work too send to me your server log please
thank you smile

8

Re: [MOD] TBlock v1.2

kinggta wrote:

Alirezakaj you copy and paste all of code in this mod from FlushA's Block Extras mod,
You are a big edit: tee haha big_smile

Do not insult other forum members! This is a warning!

edited by Landil

Please respect other forum members.

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!

9 (edited by 2015-11-21 21:25:53)

Re: [MOD] TBlock v1.2

SEG4 wrote:

Nice, but need more upgrade mod smile

yes smile   new  upgrates  will realease in next version  soon ....
if you know coding you can help us develope it too tongue

Ryozuki wrote:

failed to load map. mapname='Great_Royal_v20_n'

How to solve?

The map is in data/maps

are you  using Ddnet files for running this ? 
if you are not go dl them  then replace all of my files and configes on it !
if it is not works again , try change name of map
tongue

need idea ? just tell me smile

10

Re: [MOD] TBlock v1.2

Is there any server running it ?

IGN = in-game name = the name you have when playing = the name you have when playing this game named teeworlds = the game you have playing this name gamed teeworlds and not the clan = Feeder

11 (edited by Schwertspize 2015-11-22 10:42:52)

Re: [MOD] TBlock v1.2

I will set up a github repo based on ddnet and want to help coding

edit: https://github.com/Schwertspize/TBlock

Having troubles finding servers in the serverlist? Go to Pastebin (its a referer cause there is daily a new pastebin) and add the lines to your settings.cfg (in %APPDATA%\teeworlds). Then open teeworlds and go to the favorites tab. (Note however, standard teeworlds client can only show 256 favorites, use ddnet instead)

12 (edited by Hamid Jigool 2015-11-22 11:39:32)

Re: [MOD] TBlock v1.2

prof-turbo wrote:

Is there any server running it ?

there is one server that run on this MOD but its interanet and other people in world cann't join it... because DDos is always destroy our server sad
but i have a German Server and soon run this server on...

Schwertspize wrote:

I will set up a github repo based on ddnet and want to help coding

edit: https://github.com/Schwertspize/TBlock

Good i Fork this on my github... thank you tongue

13

Re: [MOD] TBlock v1.2

windows server download is broken

14 (edited by SEG4 2015-12-10 23:26:16)

Re: [MOD] TBlock v1.2

yes smile   new  upgrates  will realease in next version  soon ....
if you know coding you can help us develope it too tongue

Okay, i can help you!

15 (edited by brandconnell 2016-04-12 12:53:10)

Re: [MOD] TBlock v1.2

.

16

Re: [MOD] TBlock v1.2

Updated my repo.

Having troubles finding servers in the serverlist? Go to Pastebin (its a referer cause there is daily a new pastebin) and add the lines to your settings.cfg (in %APPDATA%\teeworlds). Then open teeworlds and go to the favorites tab. (Note however, standard teeworlds client can only show 256 favorites, use ddnet instead)

17

Re: [MOD] TBlock v1.2

Soon in put here TBlock 2.0
wating for me...
3 day

18 (edited by brandconnell 2016-04-12 12:52:45)

Re: [MOD] TBlock v1.2

.

19

Re: [MOD] TBlock v1.2

hi i need some cool mode this is cool mode but download is broken who can help me im sorry to up this post but i need mod i need mod block

20 (edited by [MLP] Rafael 2017-11-08 22:08:58)

Re: [MOD] TBlock v1.2

-

21 (edited by Alirezakaj 2018-05-08 12:23:46)

Re: [MOD] TBlock v1.2

well sorry guys   ,   the binary download files   broken    but the source code is alive you can compile it

iam  so busy   nowadays  but i will back    in teeworlds in the summer   or sooner   and i have a lot of new updates and ideas for   block  game mode .

this is my telegram @alirezakaj   if you have any question just call me there

need idea ? just tell me smile

22 (edited by Hamid Jigool 2018-11-02 01:50:32)

Re: [MOD] TBlock v1.2

TBlock V3 is Done!