Raised This Month: $ Target: $400
 0% 

Need some help with plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zoobb
Member
Join Date: Mar 2012
Old 05-14-2016 , 19:18   Need some help with plugin
Reply With Quote #1

Greetings everybody, So basically I'm using the plugin Automix on my steam cs 1.6 server and apparently everything went good so far. Until I noticed the gamename is stuck at "Auto-mix". Even when the plugin is active and started the game, It's supposed to say "Match Not Started!" before everything, as well for "Team Voting!" "Knife Round!" then "[T] 2 - 5 [CT]. If you wonder where I got the plugin from is here: http://cs.gamebanana.com/gamefiles/4006 Since the released plugin does not include auto ready system. Thanks in advance
Zoobb is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-14-2016 , 19:24   Re: Need some help with plugin
Reply With Quote #2

You're brazilian?
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Zoobb
Member
Join Date: Mar 2012
Old 05-14-2016 , 19:27   Re: Need some help with plugin
Reply With Quote #3

Quote:
Originally Posted by EFFx View Post
You're brazilian?
No sir I am not. Anybody got suggestions, please do post them.
Zoobb is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-14-2016 , 19:34   Re: Need some help with plugin
Reply With Quote #4

This pug version is suck, use the Smiley's pugmod, is better.

But if you dont want:

PHP Code:
#include <fakemeta>

new pcvar_name

public plugin_init()
{
        
pcvar_name register_cvar("pug_live_gamename""[ LIVE ]")
        
register_forward(FM_GetGameDescription"FWD_GameDescription")    
}
public 
FWD_GameDescription() 

    static 
GameName[32]
    
get_pcvar_string(pcvar_nameGameName31)
    
    
forward_return(FMV_STRINGGameName)
    return 
FMRES_SUPERCEDE

Try add if(Live), if(Warmup) for switch the gamename.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 05-14-2016 at 19:35.
EFFx is offline
Zoobb
Member
Join Date: Mar 2012
Old 05-14-2016 , 20:39   Re: Need some help with plugin
Reply With Quote #5

Quote:
Originally Posted by EFFx View Post
This pug version is suck, use the Smiley's pugmod, is better.

But if you dont want:

PHP Code:
#include <fakemeta>

new pcvar_name

public plugin_init()
{
        
pcvar_name register_cvar("pug_live_gamename""[ LIVE ]")
        
register_forward(FM_GetGameDescription"FWD_GameDescription")    
}
public 
FWD_GameDescription() 

    static 
GameName[32]
    
get_pcvar_string(pcvar_nameGameName31)
    
    
forward_return(FMV_STRINGGameName)
    return 
FMRES_SUPERCEDE

Try add if(Live), if(Warmup) for switch the gamename.
While trying to compile the .sma file for smiley's pugmod. I had so many errors not sure why though. Any ideas folks?
Zoobb is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 05-15-2016 , 10:29   Re: Need some help with plugin
Reply With Quote #6

post the errors and make sure you have the right includes.
__________________
JusTGo is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 05-15-2016 , 10:49   Re: Need some help with plugin
Reply With Quote #7

because you haven't added

#include <amxmodx>

It's like you put the cherry but didn't make the cake
siriusmd99 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-15-2016 , 19:29   Re: Need some help with plugin
Reply With Quote #8

Obviously you need to add amxmodx on all plugins.
I just added fakemeta for compile with sucess, because the hook register_forward()
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Zoobb
Member
Join Date: Mar 2012
Old 05-15-2016 , 23:04   Re: Need some help with plugin
Reply With Quote #9

Well guys, I have only got the plugins and not script. If somebody can provide me with the one where Not ready players on the left side are in red color and the ready players on right side in blue color. Or link the script file, or most preferable auto mix plugin with gamename modified already. At least that's what I say in many good servers. Thank you

Last edited by Zoobb; 05-15-2016 at 23:06.
Zoobb is offline
Zoobb
Member
Join Date: Mar 2012
Old 05-16-2016 , 01:20   Re: Need some help with plugin
Reply With Quote #10

I found the plugin and everything went great, till I found a in-game weird message.
ML_NOTFOUND: AUTO_READY_MSG

Anybody knows how to fix it
Zoobb 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 23:56.


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