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

CS AFK Manager


Post New Thread Reply   
 
Thread Tools Display Modes
mforce
Member
Join Date: Jan 2015
Old 10-21-2015 , 06:27   Re: CS AFK Manager
Reply With Quote #41

1.8.2 version compile don't work.

Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// afk_manager.sma
// C:\Users\marci\Desktop\scripting\afk_manager.sma(647) : error 088: number of arguments does not match definition
// C:\Users\marci\Desktop\scripting\afk_manager.sma(651) : error 088: number of arguments does not match definition
// C:\Users\marci\Desktop\scripting\afk_manager.sma(653) : warning 203: symbol is never used: "intbase_macdiff"
//
// 2 Errors.
// Could not locate output file C:\Users\marci\Desktop\scripting\compiled\afk_manager.amx (compile failed).
//
// Compilation Time: 0,25 sec
// ----------------------------------------

Press enter to exit ...
mforce is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-21-2015 , 08:22   Re: CS AFK Manager
Reply With Quote #42

Quote:
Originally Posted by mforce View Post
1.8.2 version compile don't work.

Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// afk_manager.sma
// C:\Users\marci\Desktop\scripting\afk_manager.sma(647) : error 088: number of arguments does not match definition
// C:\Users\marci\Desktop\scripting\afk_manager.sma(651) : error 088: number of arguments does not match definition
// C:\Users\marci\Desktop\scripting\afk_manager.sma(653) : warning 203: symbol is never used: "intbase_macdiff"
//
// 2 Errors.
// Could not locate output file C:\Users\marci\Desktop\scripting\compiled\afk_manager.amx (compile failed).
//
// Compilation Time: 0,25 sec
// ----------------------------------------

Press enter to exit ...
afk_manager_1.8.2.sma <-- here, at a clean AMXX install compiles

Code:
//// afk_manager_1.8.2.sma
// Header size:           2076 bytes
// Code size:            17832 bytes
// Data size:             7524 bytes
// Stack/heap size:      16384 bytes; estimated max. usage=1107 cells (4428 bytes)
// Total requirements:   43816 bytes
// Done.
//
// Compilation Time: 0,31 sec
// ----------------------------------------

Last edited by addons_zz; 10-21-2015 at 08:26.
addons_zz is offline
mforce
Member
Join Date: Jan 2015
Old 10-21-2015 , 17:54   Re: CS AFK Manager
Reply With Quote #43

Sorry, tried with fresh compiler,and it works... sorry again

Tried with this colorchat...but i need to change
register_dictionary to register_dictionary_colored

And here is the Hungarian translate.

Code:
[hu]
AFK_KICK_REASON = Away From Keyboard (AFK)
TRANSFERRED_TO_SPEC = [AFK Manager] %s átrakva Spectatorba AFK miatt.
COLORED_TRANSFERRED_TO_SPEC = ^4[AFK Manager]^3 %s^1 átrakva Spectatorba AFK miatt.
AFK_KICKED = [AFK Manager] %s kickelve AFK miatt.
COLORED_AFK_KICKED = ^4[AFK Manager]^3 %s^1 kickelve AFK miatt.
ALL_TERRORISTS_AFK = [AFK Manager] Az összes megmaradt Terrorista AFK.
ALL_CTS_AFK = [AFK Manager] Az összes megmaradt Counter-Terrorista AFK.
BOMB_TRANSFERRED = [AFK Manager] Bomba átadva %s -nak, mert %s AFK.
COLORED_BOMB_TRANSFERRED = ^4[AFK Manager]^1 Bomba átadva^3 %s^1 -nak, mert^3 %s^1 AFK.
BOMB_GOT = [AFK Manager] Megkaptad a bombát, mert %s AFK.
COLORED_BOMB_GOT = ^4[AFK Manager]^1 Megkaptad a bombát, mert^3 %s^1 AFK.
FORCED_TO_DROP = [AFK Manager] %s eldobta a bombát, mert AFK.
COLORED_FORCED_TO_DROP = ^4[AFK Manager]^3 %s^1 eldobta a bombát, mert AFK.

Last edited by mforce; 10-24-2015 at 03:23.
mforce is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 10-29-2015 , 16:55   Re: CS AFK Manager
Reply With Quote #44

Oh, i forgot that colorchat.inc had personal native about dictionary, when 1.8.3 doesn't require it.
Fixed and updated.

Quote:
Originally Posted by ChangeLog
v1.0.4 : [ 29 oct 2015 ]
- ALL:

Introduction of serbian and hungarian languages.

- afk_manager_1.8.2:

Replace register_dictionary by register_dictionary_colored
colorchat.inc use a specific way to register dictionary and it was forgotten.

Last edited by Fr33m@n; 10-29-2015 at 17:00.
Fr33m@n is offline
ViBE
Member
Join Date: Jul 2011
Location: Somewhere over the...
Old 11-09-2015 , 20:10   Re: CS AFK Manager
Reply With Quote #45

wow, good to see that someone is still interested in CS1.6. do you have any future plans? bunch of popular "basic" plugins are buggy now still Valve updated the engine.
ViBE is offline
Send a message via ICQ to ViBE
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-04-2015 , 15:30   Re: CS AFK Manager
Reply With Quote #46

Change the loop_frequency min, it should be 1.0, not 0.1 You don't need to check more often than 1.0.
This check is reduntant && user_has_weapon(player, CSW_C4) && player_team == CS_TEAM_T . Only a TERO will have C4 in normal condition, so user_has_weapon is enough.

However, this are not critical and I kept this here for too long and at a quick glance everything looks ok.

Approved, but I want you to make the changes as soon as possible.
__________________
HamletEagle is offline
chaves
Senior Member
Join Date: Oct 2011
Old 12-05-2015 , 09:48   Re: CS AFK Manager
Reply With Quote #47

version 1.8.3 is not compiling
chaves is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 03-07-2016 , 09:46   Re: CS AFK Manager
Reply With Quote #48

Quote:
Originally Posted by ChangeLog View Post

v1.0.5 : [ 7 mar 2016 ]
- ALL:

Kick spectator only if the server is full feature: Fix the fact that it kicks all the spectators instead of kicking only one. Now it kicks the player who is AFK for the longest time.

afk_loop_frequency min is now 1.0.

Removed a redundant check for the bomb owner.

Introduction of dutch language.

- afk_manager_1.8.3:

Hardcoded Menu_ChooseAppearance constant replaced by amxmodx 1.8.3 CS_Menu_ChooseAppearance constant.
Feel free to purpose improvements. ;)

Last edited by Fr33m@n; 03-07-2016 at 09:53.
Fr33m@n is offline
ACM1PT
Member
Join Date: Feb 2014
Location: Argentina
Old 03-07-2016 , 15:47   Re: CS AFK Manager
Reply With Quote #49

Quote:
Originally Posted by Fr33m@n View Post
Feel free to purpose improvements. ;)
Please, update LANG file.
----->

Quote:
[en]
AFK_KICK_REASON = Away From Keyboard (AFK)
TRANSFERRED_TO_SPEC = [AFK Manager] %s was transferred to the spectators for being AFK too long.
COLORED_TRANSFERRED_TO_SPEC = !g[AFK Manager]!t %s!n was transferred to the spectators for being AFK too long.
AFK_KICKED = [AFK Manager] %s was kicked for being AFK too long.
COLORED_AFK_KICKED = !g[AFK Manager]!t %s!n was kicked for being AFK too long.
ALL_TERRORISTS_AFK = [AFK Manager] All the remaining Terrorists are AFK.
ALL_CTS_AFK = [AFK Manager] All the remaining Counter-terrorists are AFK.
BOMB_TRANSFERRED = [AFK Manager] Bomb was transferred to %s because %s is AFK.
COLORED_BOMB_TRANSFERRED = !g[AFK Manager]!n Bomb was transferred to!t %s!n because!t %s!n is AFK.
BOMB_GOT = [AFK Manager] You got the bomb because %s is AFK.
COLORED_BOMB_GOT = !g[AFK Manager]!n You got the bomb because!t %s!n is AFK.
FORCED_TO_DROP = [AFK Manager] %s was forced to drop the bomb because he is AFK.
COLORED_FORCED_TO_DROP = !g[AFK Manager]!t %s!n was forced to drop the bomb because he is AFK.

[es]
AFK_KICK_REASON = Por estar ausente (AFK)
TRANSFERRED_TO_SPEC = [AFK Manager] %s fue transferido a espectador por estar AFK mucho tiempo.
COLORED_TRANSFERRED_TO_SPEC = !g[AFK Manager]!t %s!n fue transferido a espectador por estar AFK mucho tiempo.
AFK_KICKED = [AFK Manager] %s fue expulsado por estar AFK mucho tiempo.
COLORED_AFK_KICKED = !g[AFK Manager]!t %s!n fue expulsado por estar AFK mucho tiempo.
ALL_TERRORISTS_AFK = [AFK Manager] Todos los terroristas restantes estan AFK.
COLORED_ALL_TERRORISTS_AFK = !g[AFK Manager]!n Todos los!t terroristas!n restantes estan AFK.
ALL_CTS_AFK = [AFK Manager] Todos los anti-terroristas restantes estan AFK.
COLORED_ALL_CTS_AFK = !g[AFK Manager]!n Todos los!t anti-terroristas!n restantes estan AFK.
BOMB_TRANSFERRED = [AFK Manager] La bomba fue transferida a %s ya que %s estaba AFK.
COLORED_BOMB_TRANSFERRED = !g[AFK Manager]!n La bomba fue transferida a!t %s!n ya que!t %s!n estaba AFK.
BOMB_GOT = [AFK Manager] Has recibido la bomba debido a que %s estaba AFK.
COLORED_BOMB_GOT = !g[AFK Manager]!n Has recibido la bomba debido a que!t %s!n estaba AFK.
FORCED_TO_DROP = [AFK Manager] %s ha soltado la bomba porque estaba AFK.
COLORED_FORCED_TO_DROP = !g[AFK Manager]!t %s!n ha soltado la bomba porque que estaba AFK.

^4
--->
!g
ACM1PT is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 03-07-2016 , 18:48   Re: CS AFK Manager
Reply With Quote #50

There is no reason for me to do that :
- It's fully explained in 1.8.3 include or colorchat include about the color code and how to use it.
- It's not supported by default by amxmodx 1.8.3
- In what will this be an improvement for the lambda user ? unless you want to modify my plugin from A to Z, it's kind of useless.
- I'm kind of retired of CS 1.6 in general, that mean i support my plugins but only in meaning ways.
Fr33m@n 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 05:25.


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