AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   GATHER SYSTEM PUG Mod (https://forums.alliedmods.net/showthread.php?t=311276)

Hartmann 10-10-2018 14:00

GATHER SYSTEM PUG Mod
 
GATHER SYSTEM PUG Mod
v1.0-Test


https://i.imgur.com/QOToSFg.jpg

DESCRIPTIONS:
This is an automatic system. Allows playing mix match without admin.
Features:
- Player after connect ready after 10 second.
- Map vote when 10(cvar) players ready.
- After the map changes, the captain votes begins.
- The captains choose their teams and the match begins.
- Team tag a. = CT; b. = TT, and skillpoints on name <skill> . Name look TeamTag.PlayerName <skillpoints> example: a.name<123> or b.name<123>
- exec esl.cfg
- Demo record for every player. Demo start when the match start. Demo name is mapname_-_steamidofplayer.dem example: de_dust2_-_STEAM_ID.dem
- Hostname score. Score update on server name.
- Score show on hud in freeze time.
- Afk kicker.
- Mirror friendly fire damage. When you shoot to your teammate the damage hits on you and not in your teammate.
- Match end if three player leave match. (checking three times after end).
- Spec don't allowed, kick every on spec(chect time 20 seconds).
- Player without team bee kick.
- Maps read from maps.ini
- Match end when one team get score 16, or 15 - 15 score.
Commands:
.score - Show score
.kick player reason - kick player
.info player cvar - info player cvar value
.map mapname - changemap
.ready map/cpt - Match start. Map: vote map Cpt captain vote
.ff on/off - Enable/disable friednly fire.
.stop - End match.
Cvars:
All cvars in amxmodx/configs/gathersystem.cfg

gs_prefix "!gGather :" // Prefix in chat message
gs_nick "1" // On-Off team tag and skillpoints
gs_tag "1" // On-Off Team Tag
gs_skill "1" // On-Off skill points on name
gs_amount "10" // Need player for start
gs_afktime "90" // Afk Time
gs_tag_a "a." // Team A Tag
gs_tag_a "b." // Team B Tag
gs_style "3" // Style Chat Prefix
Credits:
fysiks - Points in Name
Diegorkable - Random Captains and Randomizing Teams
ConnorMcLeod - Mirror Damage, Say Kick
Cheesy Peteza - Afk Kicker
xPaw - Hostname Timeleft
Map Vote - AMXX Team
Exolent - Save Team Score
Alka - Voteban
EaGle/Flicker(rewriten) - Private Message
guipatinador - SkillPoints
Image of mod.

If you find a bug / error, report to me.
This is only TEST version.
If you have problem with chat you must download this.




VIEW Sourcecode on github or DOWNLOAD (gather-master.zip)


Hartmann 10-10-2018 14:01

Re: GATHER SYSTEM PUG Mod
 
Plugin API

If you want use API you must include gather.inc in your code!

Code:

#include < gather >
Gather Plugin have three natives:

Code:

native bool:g_bStart();
Check for prepare, that is time before start match.

Code:

native bool:IsStarted();
Check match start, yes or no.

Code:

native bool:SecondHalf();
Check Second Half Start, yes or no.

Plugin example:

Respawn before match start:
https://github.com/alghtryer/gather/...PI/respawn.sma

Save players kills/deats on match half:
https://github.com/alghtryer/gather/...nAPI/score.sma

Will be soon:
- Statistic on end of match




Alber9091 10-10-2018 15:24

Re: GATHER SYSTEM PUG Mod
 
Great, I can see a perfect replacement of Automix by P1mP, which had alot bugs. I hope your's one will be much more awesome.

Well I have some questions and suggestions.

As Description Says:

- Match end if three player leave match. (checking three times after end).

What if number gs_ammount is less than 10? For Example 6?

Hence I believe another Cvar should be added, gs_leave_endmatch.

Other than this, Everyone is not familiar to PUG Mod and every PUG has its different commands for it.

So, you should add in game ads of commands
And an motd Of Commands And What is there use? At the start of new map or when player joins (task 30 secs?)

And What About adding Multi Lingual Support?

+ There is no command to force start.

Like: .forcestart or just .start (For Admins, If Present)

Hartmann 10-10-2018 19:06

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Alber9091 (Post 2619196)

- Match end if three player leave match. (checking three times after end).

What if number gs_ammount is less than 10? For Example 6?

Hence I believe another Cvar should be added, gs_leave_endmatch.

Other than this, Everyone is not familiar to PUG Mod and every PUG has its different commands for it.

gs_amount - 3 x 3 = END
It's always three player.

Quote:

Originally Posted by Alber9091 (Post 2619196)
So, you should add in game ads of commands

Ads will be added
Quote:

Originally Posted by Alber9091 (Post 2619196)

And an motd Of Commands And What is there use? At the start of new map or when player joins (task 30 secs?)

Motd is only in player menu on M(change team button).

Quote:

Originally Posted by Alber9091 (Post 2619196)
And What About adding Multi Lingual Support?

Already has, only skillpoints don't have ML supprot

Quote:

Originally Posted by Alber9091 (Post 2619196)
+ There is no command to force start.

Like: .forcestart or just .start (For Admins, If Present)

Already has, admin command .ready map/cpt - Match start. Map: vote map Cpt captain vote

Alber9091 10-11-2018 03:16

Re: GATHER SYSTEM PUG Mod
 
Quote:

gs_amount - 3 x 3 = END
It's always three player.
I mean to say here, there should be possiblity to arrange small PUGs too, so, when Server is being advertised, one can get opportunity to make small Automated Mix's. For which I said. If gs_amount "4" or "3". And Match ends when there are only three players, in initial when your advertise your server, ofc some like and some don't but like to play and leave in between hence there should be defined cvar.

gs_leave_endmatch

Like gs_leave_endmatch, if set to 2, Match should over when there are 2 players in Team, Not 3.

And If Possible Add ML Support For Skills Too + Open Translation Request Thread.

I believe it would be very helpful.

And all other responses are appreciated.
Good Job.

Really Glad to witness your PUG !!!

deprale 11-12-2018 16:58

Re: GATHER SYSTEM PUG Mod
 
the tag & score is effed up

Hartmann 11-14-2018 13:30

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by deprale (Post 2623768)
the tag & score is effed up

Sorry, but don't understand what is problem.

Can you give more details?

JocAnis 11-15-2018 17:48

Re: GATHER SYSTEM PUG Mod
 
didnt test it but i like these automated plugins, gj :)

Hartmann 11-19-2018 14:52

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by JocAnis (Post 2624219)
didnt test it but i like these automated plugins, gj :)

Thank you :)

Hartmann 01-17-2019 16:22

Re: GATHER SYSTEM PUG Mod
 
UPDATE POST #2 with Plugin API and two plugin examples!

Sababa 01-24-2019 19:01

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Hartmann (Post 2624036)
Sorry, but don't understand what is problem.

Can you give more details?

Hey there, I just checked the plugin -
when anyone trying to type something in chat - its shows - s1 : s2 [its shows the tag and alse perfectly but its doesn't show the msg u write]

best regards
Sababa.

Hartmann 01-24-2019 21:21

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Sababa (Post 2636471)
Hey there, I just checked the plugin -
when anyone trying to type something in chat - its shows - s1 : s2 [its shows the tag and alse perfectly but its doesn't show the msg u write]

best regards
Sababa.

Hey, you must download http://bit.ly/dlChatFix and put on top of plugins.ini.

Sababa 01-29-2019 10:33

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Hartmann (Post 2636485)
Hey, you must download http://bit.ly/dlChatFix and put on top of plugins.ini.

Alright woking perfectly , the plugin lookin great but I notice one thing - I didn't notice a cmd that will help the admin to start the match like !startmatch or something like that
I suggest u to add cmd to the admin options
also I suggest u to add a hud saying [Warming Up] while the match isn't start yet
and I didn't saw an option to show the players rank like /rank on the plugin .. u should add it it will be more easy to access and show the rank menu


[Tag system]

after the match end players still has the tag Team A. Team B.. it will be nice if there is an auto untag after the match end/stop.
Best regards
Sababa.

Hartmann 01-30-2019 13:30

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Sababa (Post 2637123)
Alright woking perfectly , the plugin lookin great but I notice one thing - I didn't notice a cmd that will help the admin to start the match like !startmatch or something like that
I suggest u to add cmd to the admin options
also I suggest u to add a hud saying [Warming Up] while the match isn't start yet
and I didn't saw an option to show the players rank like /rank on the plugin .. u should add it it will be more easy to access and show the rank menu


[Tag system]

after the match end players still has the tag Team A. Team B.. it will be nice if there is an auto untag after the match end/stop.
Best regards
Sababa.

You have
Code:

.ready map/cpt - Match start. Map: vote map Cpt captain vote
and hud message have https://i.imgur.com/Psgi1CL.png.

Have .skill .rankskill .topskill.

This is unnecessary, why should it be removed in the end?

Alber9091 01-30-2019 17:01

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Hartmann (Post 2637307)
You have
Code:

.ready map/cpt - Match start. Map: vote map Cpt captain vote
and hud message have https://i.imgur.com/Psgi1CL.png.

Have .skill .rankskill .topskill.

This is unnecessary, why should it be removed in the end?

I haven't tested the plugin but I like it alot.
And I believe to avoid confusions you can add a menu to PUG !!! /gathermenu and it shows admin commands to admins, player commands to players.

Hartmann 01-31-2019 14:44

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Alber9091 (Post 2637342)
I haven't tested the plugin but I like it alot.
And I believe to avoid confusions you can add a menu to PUG !!! /gathermenu and it shows admin commands to admins, player commands to players.

On player menu you have that. Player command in motd https://github.com/alghtryer/gather/...GatherMotd.txt, admin command display on chat.

https://i.imgur.com/jXCFhkn.jpg

Sababa 02-03-2019 10:54

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Hartmann (Post 2637307)
You have
Code:

.ready map/cpt - Match start. Map: vote map Cpt captain vote
and hud message have https://i.imgur.com/Psgi1CL.png.

Have .skill .rankskill .topskill.

This is unnecessary, why should it be removed in the end?

hey,
its necessary because if some player stay for 2 gameplay it will readd the tag a/b and the same player will get 2 teamtag

the hud massage I mean - while the players got the auto-respawn , there will be in the center of the screen hud msg that's says [WarmUp Round] of something like that until the pug start.

Hartmann 02-04-2019 12:34

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Sababa (Post 2637969)
hey,
its necessary because if some player stay for 2 gameplay it will readd the tag a/b and the same player will get 2 teamtag

the hud massage I mean - while the players got the auto-respawn , there will be in the center of the screen hud msg that's says [WarmUp Round] of something like that until the pug start.

Won't, all tags will be removed on start match and give new.

Nia 02-22-2019 09:26

Re: GATHER SYSTEM PUG Mod
 
i try your plugin and like it so much but i found two erros which force my cs1.6 server shutdown

1) Error is regarding skillpoints.sma

Quote:

L 02/22/2019 - 13:54:19: Start of error session.
L 02/22/2019 - 13:54:19: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20190222.log")
L 02/22/2019 - 13:54:19: Invalid CVAR pointer
L 02/22/2019 - 13:54:19: [AMXX] Displaying debug trace (plugin "skillpoints.amxx", version "2.0.2-GS")
L 02/22/2019 - 13:54:19: [AMXX] Run time error 10: native error (native "get_pcvar_string")
L 02/22/2019 - 13:54:19: [AMXX] [0] skillpoints.sma::plugin_init (line 160)

2) 2nd Error forces my server shutting down

Quote:

FATAL ERROR (shutting down): Host_Error: PF_MessageEnd_I: Refusing to send user message SayText of 204 bytes to client, user message size limit is 192 bytes

GBLTeam 02-24-2019 18:32

Re: GATHER SYSTEM PUG Mod
 
While compiling it has some problem when changing to MAX_PLAYERS 32.
Using latest AMXX 1.8.3

Code:

menu.sma(208) : error 047: array sizes do not match, or destination array is too small
menu.sma(223) : error 047: array sizes do not match, or destination array is too small
menu.sma(241) : error 047: array sizes do not match, or destination array is too small
menu.sma(354) : error 047: array sizes do not match, or destination array is too small

Lines are showing same this:
Code:

        get_players(g_iPlayers, g_iNum, "h");
And if the MAX_PLAYERS is 33 it show this:
Code:

menu.sma(23) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS"

Resolution: I replace MAX_PLAYERS with MAXP_LAYERS and no error, but when i use the normal CHAT at "Y" and write something it say "s1 - s2" "s1-s2" whats the problem?
Also disabled the chat prefix and style but same ? Just to add i have ChatFix.amxx at top of the plugins and still same s1-s2

Hartmann 02-25-2019 16:15

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Nia (Post 2640548)
i try your plugin and like it so much but i found two erros which force my cs1.6 server shutdown

1) Error is regarding skillpoints.sma




2) 2nd Error forces my server shutting down

Try now.

Quote:

Originally Posted by GBLTeam (Post 2640835)
While compiling it has some problem when changing to MAX_PLAYERS 32.
Using latest AMXX 1.8.3

Code:

menu.sma(208) : error 047: array sizes do not match, or destination array is too small
menu.sma(223) : error 047: array sizes do not match, or destination array is too small
menu.sma(241) : error 047: array sizes do not match, or destination array is too small
menu.sma(354) : error 047: array sizes do not match, or destination array is too small

Lines are showing same this:
Code:

        get_players(g_iPlayers, g_iNum, "h");
And if the MAX_PLAYERS is 33 it show this:
Code:

menu.sma(23) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS"

Resolution: I replace MAX_PLAYERS with MAXP_LAYERS and no error, but when i use the normal CHAT at "Y" and write something it say "s1 - s2" "s1-s2" whats the problem?
Also disabled the chat prefix and style but same ? Just to add i have ChatFix.amxx at top of the plugins and still same s1-s2

You can that or put 33 and ignore warnings. Put on top of plugins, restart and change map and wait 2-3 minutes.

GBLTeam 02-25-2019 20:22

Re: GATHER SYSTEM PUG Mod
 
The plugins are on top of the plugins.ini and still same problem with CHAT, when write it show s1 - s2

; Admin Base - Always one has to be activated
inf-mix.amxx
menu.amxx
skillpoints.amxx
ChatFix.amxx

Hartmann 02-25-2019 21:59

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by GBLTeam (Post 2640970)
The plugins are on top of the plugins.ini and still same problem with CHAT, when write it show s1 - s2

; Admin Base - Always one has to be activated
inf-mix.amxx
menu.amxx
skillpoints.amxx
ChatFix.amxx

That not on top of plugins.ini. Put ChatFix.amxx before all plugins.

jajaz 06-06-2019 06:05

Re: GATHER SYSTEM PUG Mod
 
https://na.cx/i/QFqbX4p.png

can gave link?

Hartmann 06-06-2019 22:17

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by jajaz (Post 2654530)

I can, here:
http://www.mediafire.com/file/nm589a...odels.zip/file

jajaz 08-17-2019 06:45

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Hartmann (Post 2654659)

thanks:up:

Alber9091 08-24-2019 19:43

Re: GATHER SYSTEM PUG Mod
 
Hello !!
Few Suggestions & Bugs Report.

Quote:

Password on server, When 10 players Join/Whatever set by cvar & Remove when less than 10 players/whatever set by cvar to start PUG.
Quote:

HUD Msg for- ACE, Mini-ACE, Knive Kill, Suicide. [Even in warm up].
Quote:

Cvar for Auto Record Demo "enable/disable"?
Quote:

Additional Plugin For BlockFirstMotd.
as BlockFirstMotd By Exolent
Quote:

Add Commands:
.dmg [Show dmg done by you]
.rank [Show Ranks]
.ranks [Show Ranks]
.level [Show Ranks]
.xp [Show Ranks]

[Show Ranks = Your Rank is Silver I with 10 Kills & 0.25 Skill points, Your Next Rank is Silver II on 200 kills.
Quote:

Match don't start automatically, when admin is present, even if it's 10 vs 10
Quote:

Knife Round should be added as toss, you can take code from Pimp's Automix or Clanwar Plugin.
Quote:

It counts spec bots like KGB Bots as players too and make them ready too

Hartmann 08-25-2019 21:35

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Alber9091 (Post 2664609)
Hello !!
Few Suggestions & Bugs Report.

#1 That can with plugin api, maybe i make this.

#2 You have already for that plugin. https://forums.alliedmods.net/showpo...8&postcount=14

#3 Will be added.

#4 Why this?

#5 You have this command. (skill, restartskill, rankskill, topskill...)

#6 I tested and never have similar problem, but will be checked.

#7 ...

#8 Yes, bot don't skipped. If you want skip bot you must added in every get_players in code flag "c"

Code:

get_players(players,num,"ch");

Alber9091 08-26-2019 03:13

Re: GATHER SYSTEM PUG Mod
 
1. I had inbox you, a code.
2. OK, I will use it, but it uses chat, not HUD.
3. Will wait for update.
4. Ok, Leave it
5. It was not mentioned in main post, hence missed it.
6. We played 2 Mix yesterday & on both occasions, I had to start with .ready map even .ready cap also didn't work. (Players were 10/10 in 10 slots server). The only reason I had to change Mix Plugin. I have AMXX 1.90 [5249].
7. ??? It would be great feature, I would love to see it in future update.
8. I will do it, but before I will wait for an update.
9. You should add stats. .(dmg, .hp) plugin too.

To Do?
1., 3.,6., 7., 9.?

Thanks !!

jajaz 08-26-2019 06:14

Re: GATHER SYSTEM PUG Mod
 
Hello, can add commands .notready ?

EdmondN1 10-23-2019 18:10

Re: GATHER SYSTEM PUG Mod
 
Hi there,

First of all, I'd like to thank you for bringing us this great system.

I'd like some help. When I try to compile respawn.sma, score.sma, or skillpoints.sma this error appears: score.sma(13) : fatal error 100: cannot read from file: "gather" and when I try to compile gather.sma this error pops up: gather.sma(102) : fatal error 100: cannot read from file: "skillpoints".

Thank you!

OciXCrom 10-23-2019 18:27

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by EdmondN1 (Post 2670767)
Hi there,

First of all, I'd like to thank you for bringing us this great system.

I'd like some help. When I try to compile respawn.sma, score.sma, or skillpoints.sma this error appears: score.sma(13) : fatal error 100: cannot read from file: "gather" and when I try to compile gather.sma this error pops up: gather.sma(102) : fatal error 100: cannot read from file: "skillpoints".

Thank you!

Don't use online compilers. Compile the plugin locally with all of the provided files.

EdmondN1 10-25-2019 15:40

Re: GATHER SYSTEM PUG Mod
 
Hi guys,

I discovered a few bugs in the plugin. When the random captains are selected, and when they finish choosing their 4 other players, those players do not have their crosshair's... so, for that to appear, they have to reconnect to the server... and the match is already ongoing, so if you want to restart it, you do not have the command to do so. The players are complaining about it... Especially if the match is already started, the recoil is really bad, but in the warmup stage, everything is fine (before starting the match)...

I think you need to add 3 others commands and to fix one thing:
1. the players will be ready if they type .ready or /ready individually in the chat.
2. the option of not ready, if they typed ready, and they're not ready, to have the possibility to type .notready or /notready
3. if there was an afk after the match started, the command with which an admin can use to restart the first half or the second one.
4. about the crosshair thing and there's a bit lag...

Thanks.

DJEarthQuake 11-04-2019 21:12

Re: GATHER SYSTEM PUG Mod
 
The name GATHER SYSTEM caught my attention and so did mirror damage. Coop plugin is in my works and that mirror damage was concept I have been toying with for decades. It sounds like you perfected it reading the description. That means you like the idea of poetic justice! Awesome sauce. Will need to check your plugin like as in play it and have fun. There is way more to life than be uptight about code but clean code does not crash and it expands the mind. Crosshair bug should be a cinch.

Quote:

Originally Posted by EdmondN1 (Post 2670940)
crosshair


GoRiLliAz 11-21-2019 13:38

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by EdmondN1 (Post 2670940)
Hi guys,

I discovered a few bugs in the plugin. When the random captains are selected, and when they finish choosing their 4 other players, those players do not have their crosshair's... so, for that to appear, they have to reconnect to the server... and the match is already ongoing, so if you want to restart it, you do not have the command to do so. The players are complaining about it... Especially if the match is already started, the recoil is really bad, but in the warmup stage, everything is fine (before starting the match)...

I think you need to add 3 others commands and to fix one thing:
1. the players will be ready if they type .ready or /ready individually in the chat.
2. the option of not ready, if they typed ready, and they're not ready, to have the possibility to type .notready or /notready
3. if there was an afk after the match started, the command with which an admin can use to restart the first half or the second one.
4. about the crosshair thing and there's a bit lag...

Thanks.

exactely same problem

Hartmann 12-01-2019 14:35

Re: GATHER SYSTEM PUG Mod
 
@EdmondN1 @GoRiLliAz

Which amxx version are you using?
What plugins do you use on the server?

Maybe other plugins get conflict with gather.amxx and make bug.

GoRiLliAz 12-02-2019 23:30

Re: GATHER SYSTEM PUG Mod
 
amx 1.8.3 and amxmodx base no more

Hartmann 12-10-2019 13:13

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by GoRiLliAz (Post 2675461)
amx 1.8.3 and amxmodx base no more

I made plugin for 1.8.2, try with 1.8.2.

Maybe player don't join on team before start captain selection? That could happen if they were in the spectator.

OciXCrom 12-10-2019 13:57

Re: GATHER SYSTEM PUG Mod
 
AMXX is backwards compatible. This means that plugins made on older versions should and will always work on newer AMXX versions. The problem may be that you're using an outdated 1.8.3 build that has bugs - you should update to 1.9 which is the latest dev-build. If the problem is still occuring in 1.9 and you're 100% sure that it doesn't happen in 1.8.2, it should be reported to AMXX devs ASAP.

GoRiLliAz 12-11-2019 03:33

Re: GATHER SYSTEM PUG Mod
 
Now i use this version https://forums.alliedmods.net/showthread.php?t=217539 for gather plugins and its work perfectly with my version amxmodx 1.8.3 5154


All times are GMT -4. The time now is 06:21.

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