Raised This Month: $32 Target: $400
 8% 

AMX Match Deluxe (Current Version: 8.11)


Post New Thread Reply   
 
Thread Tools Display Modes
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 09-08-2007 , 07:46   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #681

Everyone fix this one:
Code:
if ( team != CS_TEAM_T )
  {
   player_team = 1
  }
  else if( team != CS_TEAM_CT )
  {
   player_team = 2
  }
should be
Code:
if ( team == CS_TEAM_T )
  {
   player_team = 1
  }
  else if( team == CS_TEAM_CT )
  {
   player_team = 2
  }
draft is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 09-08-2007 , 07:50   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #682

also i recommend to change these things:
Code:
new Float:vote_time = get_cvar_float("amx_vote_time") + 2.0
change to
Code:
  new Float:vote_time = get_cvar_float("amx_vote_time") - 25.0
(works if you have amx_vote_time 30 to make fast votings)

To disable ready mode after knife round:
Code:
set_task(2.0, "warmup_start")
change to
Code:
warmup_readylist_ready( 0 )
If you need i can post .sma or .amxx file with these fixes.
draft is offline
C00ller
Junior Member
Join Date: Sep 2007
Old 09-09-2007 , 21:21   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #683

draft
Can you please make a fix for the vote bug after knife round (voting enabled for both teams, not only for winning one) ?
C00ller is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 09-13-2007 , 10:54   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #684

I've tried to fix it but may be the only way is to make voting for only one member (random captain) of the team because if I add restrictions for show_menu there is strange warning during compilation after which voting doesn't work at all...
draft is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-13-2007 , 11:47   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #685

Quote:
Originally Posted by draft View Post
Bugs:
- menu option to stop the match sometimes doesn't work, the match can be stopped only by console
I had the same only when amx_match_pugstyle was 1
ConnorMcLeod is offline
neuromancer
Member
Join Date: Apr 2007
Location: Poland
Old 09-15-2007 , 13:07   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #686

I found a bug, I have the newest version.

When for example teams names are "First Team" and "Second Team" then in the first map everything is OK.
But when the plugin changes to second map then the names changes to "First" (previous name "First Team") and "Team" (previous name "Second Team")...

===
EDIT
===
I was able to fix it myself

The problem is that the plugin saves starting command for next map in a file, and this command looks like that:
Code:
amx_match3 First Team Second Team mr12 cal de_aztec
but the clan names should be in quotes, like that:
Code:
amx_match3 "First Team" "Second Team" mr12 cal de_aztec

How to fix it?

Change line 4722 to
Code:
format(main_command_full, 255, "amx_match ^"%s^" ^"%s^" %s %s %s", main_clanCT, main_clanT, matchtype_str, config_file_match, record_str)
Change line 4734 to
Code:
format(main_command_full, 255, "amx_match3 ^"%s^" ^"%s^" %s %s %s %s", main_clanCT, main_clanT, matchtype_str, config_file_match, main_secondmap, record_str)
And that should do it

Last edited by neuromancer; 09-15-2007 at 13:21.
neuromancer is offline
Old 09-15-2007, 15:03
draft
This message has been deleted by draft.
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 09-18-2007 , 07:37   AMX MATCH v. 1.12
Reply With Quote #687

Here it is. v.8.12 (I've also added my nick in copyright because it took me about full week to understand the code and make fixes)

Changelog:
- Fixed bug with kniferound votings. Now menu shows only to winning team and votings proceed correctly. Also ready phase after kniferound is disabled, match starts immediatly after 9 seconds (time for choosing team)
- Fixed (mb not bug, but i don't like it) 2-demo writing. Now all match is in one demo-file and only overtimes are recording to new files.
- Restricted team change during the match (kniferound, halfs, restarts and overtime) (everything proceeds automatically)
- Added moneyback if player disconnects during the match
- Added small fix by previous orator
- And some small fixes i can't remind

TO DO:
- Install plugin
- Disable PUG-mode (amx_matchmenu -> settings -> ... )
- Enjoy

p.s. I also have full russian translation of this plugin (corrected by me), if anyone needs it, PM me or ask here
Attached Files
File Type: sma Get Plugin or Get Source (amx_match.sma - 1234 views - 190.7 KB)

Last edited by draft; 09-19-2007 at 06:54. Reason: Warning fix
draft is offline
C00ller
Junior Member
Join Date: Sep 2007
Old 10-05-2007 , 08:49   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #688

draft

great, thanks!

just one thing: it seems to me that splitting into 2-demos was intended to exclude 'warmup' session before 2nd half of match
C00ller is offline
Tartooob
Senior Member
Join Date: May 2006
Old 10-07-2007 , 04:29   Re: AMX MATCH v. 1.12
Reply With Quote #689

Quote:
Originally Posted by draft View Post
Here it is. v.8.12 (I've also added my nick in copyright because it took me about full week to understand the code and make fixes)

Changelog:
- Fixed bug with kniferound votings. Now menu shows only to winning team and votings proceed correctly. Also ready phase after kniferound is disabled, match starts immediatly after 9 seconds (time for choosing team)
- Fixed (mb not bug, but i don't like it) 2-demo writing. Now all match is in one demo-file and only overtimes are recording to new files.
- Restricted team change during the match (kniferound, halfs, restarts and overtime) (everything proceeds automatically)
- Added moneyback if player disconnects during the match
- Added small fix by previous orator
- And some small fixes i can't remind

TO DO:
- Install plugin
- Disable PUG-mode (amx_matchmenu -> settings -> ... )
- Enjoy

p.s. I also have full russian translation of this plugin (corrected by me), if anyone needs it, PM me or ask here
Wow nice, Thx alot for youe effort, if you dont mind, may i ask you to add a pause function, just incase a player lagged out or disconnected ? not pause the whole server, pause the match deluxe i mean .. like /pause or amx_pausematch
and the knife rounds, will it be in the same map ? for example if it was dd2, will it be in dd2 ? because i tried it once and it changed to 007 :S
__________________
oooooohh signature space o.o
Tartooob is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 10-11-2007 , 10:34   Re: AMX Match Deluxe (Current Version: 8.11)
Reply With Quote #690

What do u mean of pausing? It is pause of scoring (so players play without scoring), but what about money? Or do u mean that if you say /pause, all money is saved and after second /pause there is restart with moneyback?

About kniferound i'm placing lite version of plugin. Changes:
- more fast kniferound: after all winning players voted the match starts immediatly, no waiting for 9 seconds. But if not all players voted the vote count finishes after 9 seconds and the half starts.
- randomized model switching (in swapping teams - before all models after switching were 1 - 1 or 2 - 1 due to team)
- deleted web-stats (and not-web) logging (? i used it and found it unuseful)
- added hltv-recording of kniferound
- deleted pug
- fixed rare bug with moneyback ("index out of bounds"), moneyback now happens after 5 seconds player connect
- if player connects team change is unblocked for 1 minute (for that player)
Attached Files
File Type: sma Get Plugin or Get Source (amx_match.sma - 1686 views - 145.8 KB)

Last edited by draft; 10-11-2007 at 14:06. Reason: small fix :D
draft 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 03:06.


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