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

CS Pug Mod (4.0.2) [22/12/2021]


Post New Thread Reply   
 
Thread Tools Display Modes
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-24-2015 , 17:44   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #461

Could you make a quick guide how to set up database properly so that bans would work? Because I clearly do something wrong.
When executing PugProcedures.sql I get this error > http://prntscr.com/6xs3a5
PHP Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iMax;
END' at line 6 
__________________
Hi.

Last edited by GhostMan; 04-24-2015 at 18:07. Reason: added more info
GhostMan is offline
perforator
Junior Member
Join Date: Mar 2015
Old 04-25-2015 , 05:28   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #462

Quote:
Originally Posted by GhostMan View Post
Could you make a quick guide how to set up database properly so that bans would work? Because I clearly do something wrong.
When executing PugProcedures.sql I get this error > http://prntscr.com/6xs3a5
PHP Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iMax;
END' at line 6 
Old version phpMyAdmin on hosting.

Last edited by perforator; 04-25-2015 at 05:29.
perforator is offline
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-25-2015 , 08:19   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #463

http://prntscr.com/6xycga
I use version 3.4.11.1deb2+deb7u1. Could somebody edit code so it would fit me?
__________________
Hi.
GhostMan is offline
perforator
Junior Member
Join Date: Mar 2015
Old 04-25-2015 , 11:09   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #464

ban bug:

I give a ban player "cosmos".


He got a ban


but kick me

Last edited by perforator; 04-25-2015 at 11:09.
perforator is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-25-2015 , 13:07   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #465

Quote:
Originally Posted by perforator View Post
ban bug:

I give a ban player "cosmos".


He got a ban


but kick me

LOL thanks for report, i really need to check this

EDIT: Fixed
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 04-25-2015 at 13:17.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-25-2015 , 13:44   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #466

I'd like to suggest a few more improvements.

1. As for now if player leaves server when match started (LIVE) he gets instantly banned. I'd suggest to give a player like 2 minutes to reconnect. Also add chat messages like "X player left LIE match, he has X seconds to reconnect before being banned" and "X player has been banned because he left LIVE match".

2. Add ability to turn of godmode in spawn.

3. Sometimes few players leaves and you left to play 2x5 or 3x5 or whatever. These kind of matches are very frustrating. When this happens you have two options: play and get destroyed or leave and get banned. Neither of these options are good. So maybe it would be smart to add functions like:

pug_team_difference "2" - minimum player difference number between teams to start counting down rounds until 'game over'.
pug_team_difference_rounds "3" - how many rounds has to pass when 'pug_team_difference' reached to set 'game over'.

With these settings it would be "game over" if there is 2 or more player difference between teams (for example 3x5 or 2x5) and 3 rounds passed.
__________________
Hi.

Last edited by GhostMan; 04-25-2015 at 14:10. Reason: added one more suggestion
GhostMan is offline
perforator
Junior Member
Join Date: Mar 2015
Old 04-25-2015 , 13:56   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #467

Quote:
Originally Posted by ^SmileY View Post
LOL thanks for report, i really need to check this

EDIT: Fixed
Love you!

Quote:
Originally Posted by GhostMan View Post
I'd like to suggest a few more improvements.

2. Add ability to turn of godmode in spawn.

If you'd add these improvement it would be really awesome.
Mb like this:
pug_spawn "0" - permanent godmode
pug_spawn "1-999" - seconds
perforator is offline
perforator
Junior Member
Join Date: Mar 2015
Old 04-25-2015 , 14:06   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #468

Quote:
Originally Posted by ^SmileY View Post
LOL thanks for report, i really need to check this

EDIT: Fixed
Quote:
Originally Posted by perforator View Post
Love you!
Hm...i rewrite sma. Compile. And now ban, but not kick (me or banned player)

!ban player 1337 bla bla bla

player got a ban, but not kicked.

Last edited by perforator; 04-25-2015 at 14:08.
perforator is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-25-2015 , 14:54   Re: CS Pug MOD [UPDATED 04/23/2015]
Reply With Quote #469

I will try to make some changes as suggested, i am under Windows 10 for tests and i need to install Steam first

Ps. Thanks for suggestions

EDIT:
GhostMan and perforator, Add-me on steam to better communication or send-me via PM..

SteamIDConverter.com/_SmileY

More issues fixed:

- !Ban Command not kick the correct player;
- !msg command is not displayed at !help command
- Cvars descriptions updated (Sorry for my english again :S)

Updated [at] my github and main post thanks.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 04-25-2015 at 22:31.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-27-2015 , 14:29   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #470

Nice!

Next I would love to see you improving ban system as I suggested earlier. Make that player would have 2 minutes or so to reconnect. If he does not come back - ban for leaving match.

Also, maybe add ability for admins to ban disconnected players? Just like amxbans has this feature.
__________________
Hi.
GhostMan 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 17:16.


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