Raised This Month: $ Target: $400
 0% 

[v2.5.2, March 19] Trouble in Terrorist Town mod


Post New Thread Reply   
 
Thread Tools Display Modes
ErikMav94
BANNED
Join Date: Jan 2012
Location: Usa
Old 12-04-2014 , 09:14   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #271

ttt_end_game_godmode 1 // "ttt_team_management.amxx"

you forgot added cvar in plugin ttt_team_management.amxx
ErikMav94 is offline
Send a message via ICQ to ErikMav94 Send a message via AIM to ErikMav94 Send a message via Yahoo to ErikMav94 Send a message via Skype™ to ErikMav94
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-04-2014 , 09:20   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #272

It has been removed, sorry. Since I changed how damage is taken while game isn't started(check change log), I removed this cvar. Now it is possible to hurt anyone only in GAME_STARTED, it has proved me better to disable it at round end because newbies see everyone shooting at round end and they will do RDM on new round.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
ErikMav94
BANNED
Join Date: Jan 2012
Location: Usa
Old 12-04-2014 , 10:27   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #273

Quote:
Originally Posted by GuskiS View Post
It has been removed, sorry. Since I changed how damage is taken while game isn't started(check change log), I removed this cvar. Now it is possible to hurt anyone only in GAME_STARTED, it has proved me better to disable it at round end because newbies see everyone shooting at round end and they will do RDM on new round.
mmm sorry , then delete it from ttt_mod.cfg
ErikMav94 is offline
Send a message via ICQ to ErikMav94 Send a message via AIM to ErikMav94 Send a message via Yahoo to ErikMav94 Send a message via Skype™ to ErikMav94
andrept4
Senior Member
Join Date: Dec 2012
Location: Portugal
Old 12-06-2014 , 12:10   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #274

How can i change dectetive model ? :C, and can you make a skin shop ?
__________________

Last edited by andrept4; 12-06-2014 at 12:15.
andrept4 is offline
ErikMav94
BANNED
Join Date: Jan 2012
Location: Usa
Old 12-09-2014 , 01:02   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #275

suggestion:

if someone calls a detective when the dead body was already identified , the sprite never disappears until the next round.

in ttt_dna_system

PHP Code:
public ttt_item_backpack(iditemname[])
{
    if(
g_iBackpack[id] == item)
    {
        new 
ent find_dead_body_1d(idg_iBodyEntsg_iBodyCount);
        if(
ent)
        {
            new 
victim entity_get_int(entEV_INT_iuser1);
            if(
ttt_get_bodydata(victimBODY_CALLD))
                
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE3"id"TTT_DEADBODY");
            else
            {
                
ttt_set_bodydata(victimBODY_CALLD1);
                
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE2"id"TTT_DEADBODY");
            }
        }
        else 
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_NOBODY"id"TTT_DEADBODY");
        
ttt_backpack_show(id);
    }

    return 
PLUGIN_CONTINUE;

my code:

if the body is already identified... print chat

PHP Code:
public ttt_item_backpack(iditemname[])
{
    if(
g_iBackpack[id] == item)
    {
        new 
ent find_dead_body_1d(idg_iBodyEntsg_iBodyCount);
        if(
ent)
        {
            new 
victim entity_get_int(entEV_INT_iuser1);
            new 
identified ttt_get_playerdata(victimPD_IDENTIFIED);
            
            if(!
identified)
            {
                if(
ttt_get_bodydata(victimBODY_CALLD))
                
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE3"id"TTT_DEADBODY");
                
                else
                {
                    
ttt_set_bodydata(victimBODY_CALLD1);
                    
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE2"id"TTT_DEADBODY");
                }
            }
            else
            
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE4"id"TTT_DEADBODY");
        }
        else 
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_NOBODY"id"TTT_DEADBODY");
        
ttt_backpack_show(id);
    }

    return 
PLUGIN_CONTINUE;


Code:
TTT_CALLDETECTIVE4 = This %L has been identified, you can not call a Detective !!
ErikMav94 is offline
Send a message via ICQ to ErikMav94 Send a message via AIM to ErikMav94 Send a message via Yahoo to ErikMav94 Send a message via Skype™ to ErikMav94
Kakarotto
Senior Member
Join Date: Apr 2014
Old 12-09-2014 , 14:41   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #276

do someone run this in his server for more than 1 week now ? can you please say if it's fixed 100% or still have some bugs !!
__________________
BANNED !!
Kakarotto is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-09-2014 , 15:34   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #277

Quote:
Originally Posted by ErikMav94 View Post
suggestion:

if someone calls a detective when the dead body was already identified , the sprite never disappears until the next round.

in ttt_dna_system

PHP Code:
public ttt_item_backpack(iditemname[])
{
    if(
g_iBackpack[id] == item)
    {
        new 
ent find_dead_body_1d(idg_iBodyEntsg_iBodyCount);
        if(
ent)
        {
            new 
victim entity_get_int(entEV_INT_iuser1);
            if(
ttt_get_bodydata(victimBODY_CALLD))
                
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE3"id"TTT_DEADBODY");
            else
            {
                
ttt_set_bodydata(victimBODY_CALLD1);
                
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE2"id"TTT_DEADBODY");
            }
        }
        else 
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_NOBODY"id"TTT_DEADBODY");
        
ttt_backpack_show(id);
    }

    return 
PLUGIN_CONTINUE;

my code:

if the body is already identified... print chat

PHP Code:
public ttt_item_backpack(iditemname[])
{
    if(
g_iBackpack[id] == item)
    {
        new 
ent find_dead_body_1d(idg_iBodyEntsg_iBodyCount);
        if(
ent)
        {
            new 
victim entity_get_int(entEV_INT_iuser1);
            new 
identified ttt_get_playerdata(victimPD_IDENTIFIED);
            
            if(!
identified)
            {
                if(
ttt_get_bodydata(victimBODY_CALLD))
                
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE3"id"TTT_DEADBODY");
                
                else
                {
                    
ttt_set_bodydata(victimBODY_CALLD1);
                    
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE2"id"TTT_DEADBODY");
                }
            }
            else
            
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_CALLDETECTIVE4"id"TTT_DEADBODY");
        }
        else 
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_NOBODY"id"TTT_DEADBODY");
        
ttt_backpack_show(id);
    }

    return 
PLUGIN_CONTINUE;

Code:
TTT_CALLDETECTIVE4 = This %L has been identified, you can not call a Detective !!
Will add, thanks for find

Quote:
Originally Posted by Kakarotto View Post
do someone run this in his server for more than 1 week now ? can you please say if it's fixed 100% or still have some bugs !!
You can take a look into in first post link for servers, 3 of them have been working for few months now.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
ErikMav94
BANNED
Join Date: Jan 2012
Location: Usa
Old 12-10-2014 , 03:11   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #278

Error with ML

in ttt_item_hyn

PHP Code:
public ttt_item_backpack(iditemname[])
{
    if(
g_iHasHYN[id] && g_iItem_Backpack[id] == item)
    {
        new 
hide ttt_get_playerdata(idPD_HIDENAME);
        
client_print_color(idprint_team_default"%s %L""%s %L"TTT_TAGid"TTT_HYN"hide "de" ""name);
        
ttt_set_playerdata(idPD_HIDENAME, !hide);
        
ttt_backpack_show(id);
    }

    return 
PLUGIN_CONTINUE;

this
PHP Code:
client_print_color(idprint_team_default"%s %L""%s %L"TTT_TAGid"TTT_HYN"hide "de" ""name); 
for this

PHP Code:
client_print_color(idprint_team_default"%s %L"TTT_TAGid"TTT_HYN"hide "de" ""name); 
ErikMav94 is offline
Send a message via ICQ to ErikMav94 Send a message via AIM to ErikMav94 Send a message via Yahoo to ErikMav94 Send a message via Skype™ to ErikMav94
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-10-2014 , 03:22   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #279

Yea, already fixed in 2.5.1 :p
I was wondering, are you having issues with models? Atm, in my server, I have issue when somebody is killed he get CT skin if inno and T skin if traitor/det for dead body, however anyone should have the same model. It might be other plugins running on server, but I doubt, but you never know :/ Will test it later.
Also, do you get BOMB text in tab when you buy C4? Like, everyone else could see that you have BOMB except you?
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Akshat
Senior Member
Join Date: Feb 2013
Location: India, Jaipur.
Old 12-20-2014 , 10:21   Re: [v2.5.0, December 2] Trouble in Terrorist Town mod
Reply With Quote #280

Please fix the knife bug.

Suggestion: UMP when fired at innocents must turn "Green" for traitors "red" and detectives "blue".
__________________
Learning Pawn [3% Complete!]

Last edited by Akshat; 12-20-2014 at 10:23.
Akshat is offline
Send a message via Skype™ to Akshat
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode