Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Agression Terrpr
Member
Join Date: Jun 2015
Location: Lithuania
Old 12-15-2015 , 23:22   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #491

No working and i have error
how to fix ?

Quote:
L 12/16/2015 - 06:196: Start of error session.
L 12/16/2015 - 06:196: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20151216.log")
L 12/16/2015 - 06:196: [ORPHEU] Function "InstallGameRules" not found
L 12/16/2015 - 06:196: [AMXX] Run time error 10 (plugin "timer_controller.amxx") (native "OrpheuGetFunction") - debug not enabled!
L 12/16/2015 - 06:196: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 12/16/2015 - 06:196: [ORPHEU] Function "InstallGameRules" not found
L 12/16/2015 - 06:196: [AMXX] Run time error 10 (plugin "round_terminator.amxx") (native "OrpheuGetFunction") - debug not enabled!
L 12/16/2015 - 06:196: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 12/16/2015 - 06:196: [ORPHEU] Class doesn't have it's virtual table pointer set
L 12/16/2015 - 06:196: [AMXX] Run time error 10 (plugin "timer_controller.amxx") (native "OrpheuGetFunctionFromObject") - debug not enabled!
L 12/16/2015 - 06:196: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 12/16/2015 - 06:19:54: [ORPHEU] Memory structure doesn't have a library defined
L 12/16/2015 - 06:19:54: [AMXX] Run time error 10 (plugin "timer_controller.amxx") (native "OrpheuMemoryGetAtAddress") - debug not enabled!
L 12/16/2015 - 06:19:54: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 12/16/2015 - 06:19:54: Unhandled dynamic native error
L 12/16/2015 - 06:19:54: [AMXX] Run time error 10 (plugin "ttt_core.amxx") (native "RoundTimerSet") - debug not enabled!
L 12/16/2015 - 06:19:54: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

Last edited by Agression Terrpr; 12-15-2015 at 23:49.
Agression Terrpr is offline
Send a message via Skype™ to Agression Terrpr
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-19-2015 , 06:10   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #492

Install orpheu.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Agression Terrpr
Member
Join Date: Jun 2015
Location: Lithuania
Old 12-24-2015 , 00:42   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #493

Quote:
Originally Posted by GuskiS View Post
Install orpheu.
Yes i install orpheu error no orpheu include error...

Nice Mod

whats is ttt_addons.zip ?

Last edited by Agression Terrpr; 12-24-2015 at 00:59.
Agression Terrpr is offline
Send a message via Skype™ to Agression Terrpr
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-24-2015 , 06:09   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #494

Addons include out-of-box plugins - I don't remember which, but there some more items.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
bitterness.
Junior Member
Join Date: Jan 2016
Old 01-07-2016 , 02:50   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #495

Hi GuskiS, first of all sorry for my "bad english".

Now, I downloaded the last version of this mod and install it on my server.
I have a problem with "ttt_warning_system.amxx". I set "bg" in "ttt_warnings_punishment" but the ban punishment doesn't work (kick, bad aim, remove karma do work).

PHP Code:
public plugin_init()
{
    
register_plugin("[TTT] Warning system"TTT_VERSIONTTT_AUTHOR);

    
cvar_warnings_special        my_register_cvar("ttt_warnings_special",        "2",    "Max warnings for killing Traitor or Detective wrongly, for example, Detective kills Detective. (Default: 2)");
    
cvar_warnings_innocent        my_register_cvar("ttt_warnings_innocent",        "3",    "Max warnings for killing Innocent wrongly. (Default: 3)");
    
cvar_warnings_continued        my_register_cvar("ttt_warnings_continued",    "3",    "Max continued warnings for killing wrongly, for example, kill wrongly Innocent, Detective, Innocent. (Default: 3)");
    
cvar_warnings_punishment    my_register_cvar("ttt_warnings_punishment",    "bg",    "Punishment types: a=kick, b=ban, c=remove karma, d=hp to 1, e=blind, f=bad aim, g=ban on low karma. (Default: cdf)");
    
cvar_warnings_bantime        my_register_cvar("ttt_warnings_bantime",        "30",    "Ban time if ttt_ar_warnings_punishment has B. (Default: 60)");
    
cvar_warnings_players        my_register_cvar("ttt_warnings_players",        "5",    "Minimum players to start warn them. (Default: 5)");
    
cvar_warnings_blind_time    my_register_cvar("ttt_warnings_blind_time",    "60",    "Blind time in seconds. (Default: 60)");
    
cvar_warnings_minkarma        my_register_cvar("ttt_warnings_minkarma",        "300",    "Ban if karma <= X. (Default: 300)"); 
PHP Code:
            server_cmd("amx_banip %d #%d TK:%s"get_pcvar_num(cvar_warnings_bantime), get_user_userid(killer), reason);
            
g_iWarnings[killer][WARN_BANNED] = true
PHP Code:
stock ban_user_lowkarma(id)
{
    new 
karma ttt_get_playerdata(idPD_KARMATEMP);
    if(
karma <= get_pcvar_num(cvar_warnings_minkarma))
    {
        
server_cmd("amx_banip %d #%d MIN_KARMA:%d"get_pcvar_num(cvar_warnings_bantime), get_user_userid(id), karma);
        
g_iWarnings[id][WARN_BANNED] = true;
    }

I don't know if it's something wrong in some lines, but those codes are default (not the first one).

Thanks.
bitterness. is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 01-09-2016 , 04:23   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #496

Are using amxbans?
B flag - bans on warnings
G flag - bans on low karma
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
bitterness.
Junior Member
Join Date: Jan 2016
Old 01-11-2016 , 00:06   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #497

I know about that flags, I set "bg" flags as punishments, but doesn't work. Why? Those "server_cmd" lines are default :/
bitterness. is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 01-11-2016 , 01:43   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #498

How do you ban players in your server? Please type full command with time, name etc.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
bitterness.
Junior Member
Join Date: Jan 2016
Old 01-11-2016 , 12:54   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #499

amx_banip "name" "time" "reason".
bitterness. is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 01-11-2016 , 15:00   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #500

Then you need to use:
server_cmd("amx_banip #%d %d TK:%s", get_user_userid(killer), get_pcvar_num(cvar_warnings_bantime), reason);
and

server_cmd("amx_banip #%d %d MIN_KARMA:%d", get_user_userid(id), get_pcvar_num(cvar_warnings_bantime), karma);
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
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 09:08.


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