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
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 07-14-2015 , 01:09   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #461

Quote:
Originally Posted by GuskiS View Post
I understand that. I'm willing to fix everything if you can provide me steps how to replace it, or some possible causes. As for your last report, I just can't understand that English. Maybe you can write to some other users who are from Singapore, so they can translate more accurately so I could understand it.
I'm using this mod in my server, 1.8.3 version of amxmodx - no crashes. Also, if you reported that it was crash because of SQLite, I'm using MySQL database server to host all database info. You could try that, and maybe it fixes your problem, if that would happen, I would definately look into that.
Can't you make ttt stats for vault ?
Awesome_man is offline
FacuuMoran
Junior Member
Join Date: May 2015
Old 07-17-2015 , 12:40   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #462

Quote:
Originally Posted by matrix123 View Post
@Guskis

that there will be some method to enter the player have the same karma? by vault or otherwise?

Spanish: habra algun metodo de que al ingresar el jugador tenga el mismo karma? mediante vault u otra manera ?
TTT Antiretry System Works Perfectly! But if u Change the Map The karma Resets!

Spanish: El Sistema de Anti retry del TTT Hace Esto! Pero cuando cambias de mapa Se carga de nuevo el karma! (def. 500)
FacuuMoran is offline
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 07-17-2015 , 20:55   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #463

nice mod Great Job +1 Karma
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 07-18-2015 , 22:37   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #464

Perfect I like This !
__________________
Moroccan and proud
Linkin Hisoka is offline
matrix123
Veteran Member
Join Date: Feb 2011
Old 07-19-2015 , 23:55   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #465

Quote:
Originally Posted by FacuuMoran View Post
TTT Antiretry System Works Perfectly! But if u Change the Map The karma Resets!

Spanish: El Sistema de Anti retry del TTT Hace Esto! Pero cuando cambias de mapa Se carga de nuevo el karma! (def. 500)
By Mysql / Sqlite and don't have

Spanish: mediante MYSQL/Sqlite y no tengo yo :s por eso queria mediante algo interno
__________________
matrix123 is offline
FacuuMoran
Junior Member
Join Date: May 2015
Old 07-20-2015 , 01:39   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #466

@Matrix123 Try This https://forums.alliedmods.net/showthread.php?p=555695
FacuuMoran is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 07-20-2015 , 03:30   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #467

What is the problem?
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
matrix123
Veteran Member
Join Date: Feb 2011
Old 07-20-2015 , 11:58   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #468

@FacuuMoran oh thanks, now attempt (espaņol: gracias, ahora intento)

@Guskis I need ttt_antiretry in vault or something else
__________________
matrix123 is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 07-20-2015 , 12:21   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #469

Why you need vault? Use SQLite.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
matrix123
Veteran Member
Join Date: Feb 2011
Old 07-20-2015 , 22:57   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #470

I use Tries (thanks Destro)

PHP Code:
#include <amxmodx>

new Trie:g_trie
new g_sPlayerIP[33][10]

public 
plugin_init()
    
g_trie TrieCreate()

public 
plugin_end()
    
TrieDestroy(g_trie)

public 
client_putinserver(id)
{
    
get_user_ip(idg_sPlayerIP[id], charsmax(g_sPlayerIP[]), 1)
    
    if(
TrieKeyExists(g_trieg_sPlayerIP[id]))
    {
        new 
karma
        TrieGetCell
(g_trieg_sPlayerIP[id], karma)
        
        
// ttt_set_playerdata(id, PD_KARMA, karma)
    
}
}

public 
client_disconnect(id)
{
    new 
karma // = ttt_get_playerdata(id, PD_KARMA)
    
    
TrieSetCell(g_trieg_sPlayerIP[id], karma)

__________________

Last edited by matrix123; 09-18-2015 at 18:49.
matrix123 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 10:48.


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