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

CSS Auto Swap Teams after half rounds...


Post New Thread Reply   
 
Thread Tools Display Modes
Author
motto
Member
Join Date: Aug 2009
Location: Poland
Plugin ID:
1423
Plugin Version:
2.3.20
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    CSS Auto Swap Teams with reset cash and guns...
    Unapprover:
    Reason for Unapproving:
    Reported not working; author inactive
    Old 01-23-2010 , 16:44   CSS Auto Swap Teams after half rounds...
    Reply With Quote #1

    Plugin will swap teams after mp_maxrounds/2. On team swap plugin resets players cash (mp_startmoney) and guns (T - knife and glock, CT - knife and usp; if map is not aim map - do not found buyzone on the map). Plugin also force autojoin to team and block change team.

    Installation:
    Copy smx file to sourcemod plugins folder and change map.

    Require:
    Only sourcemod.

    cvar:
    none

    You can test it HERE.

    and HERE
    Attached Files
    File Type: sp Get Plugin or Get Source (css_auto_swap_teams.sp - 4617 views - 5.3 KB)

    Last edited by motto; 05-05-2011 at 08:23. Reason: new version
    motto is offline
    shustas
    SourceMod Donor
    Join Date: May 2007
    Location: London
    Old 01-24-2010 , 13:32   Re: CSS Auto Swap Teams after half runds...
    Reply With Quote #2

    So this is more like a clan war addon?
    __________________
    shustas is offline
    motto
    Member
    Join Date: Aug 2009
    Location: Poland
    Old 03-24-2010 , 13:06   Re: CSS Auto Swap Teams after half runds...
    Reply With Quote #3

    New version was tested on map de, cs and aim with sourcemod 1.30 and 1.3.1.

    btw. shustas this is plugin for public servers.
    __________________
    217.153.241.222:27015 CS GO [PL] Panika Emeryta

    Last edited by motto; 03-26-2010 at 18:26.
    motto is offline
    Pank
    Junior Member
    Join Date: Jan 2009
    Old 03-25-2010 , 05:20   Re: CSS Auto Swap Teams after half rounds...
    Reply With Quote #4

    An on/off cvar would be great.
    I have't tested this version, but prior one worked fine but for the fact that it didnīt swap the team scores as well. Does this one?

    Thanks.
    Pank is offline
    motto
    Member
    Join Date: Aug 2009
    Location: Poland
    Old 03-25-2010 , 20:30   Re: CSS Auto Swap Teams after half rounds...
    Reply With Quote #5

    This plugins swap teams scores too, but after next roud scores back I don't know why, meybe this is bug sourcemod 1.3.1 or cstrike engine.

    You can find in the my code (2.3.16):
    Code:
    (...)
    CTscore = GetTeamScore(CS_TEAM_CT);
    Tscore = GetTeamScore(CS_TEAM_T);        
    SetTeamScore(CS_TEAM_CT,Tscore);
    SetTeamScore(CS_TEAM_T,CTscore);
    PrintToChatAll("[SM] Teams Scores swaped.");
    (...)
    __________________
    217.153.241.222:27015 CS GO [PL] Panika Emeryta
    motto is offline
    PStar
    Veteran Member
    Join Date: Mar 2008
    Old 03-31-2010 , 14:24   Re: CSS Auto Swap Teams after half rounds...
    Reply With Quote #6

    This plugin isn't working.
    Sometimes it swaps every round and sometimes 30-round go and no swap will be made.
    Pls fixx.
    PStar is offline
    motto
    Member
    Join Date: Aug 2009
    Location: Poland
    Old 03-31-2010 , 14:49   Re: CSS Auto Swap Teams after half rounds...
    Reply With Quote #7

    Join to 217.153.241.222:27015. It's works. U have got vary lag server (played round = CTScore + CScore) or damaged RAM.
    __________________
    217.153.241.222:27015 CS GO [PL] Panika Emeryta
    motto is offline
    PStar
    Veteran Member
    Join Date: Mar 2008
    Old 03-31-2010 , 15:17   Re: CSS Auto Swap Teams after half rounds...
    Reply With Quote #8

    Quote:
    Originally Posted by motto View Post
    Join to 217.153.241.222:27015. It's works. U have got vary lag server (played round = CTScore + CScore) or damaged RAM.

    I don't know, server ar runing on core I7 CPU-s whit lots of ram.
    So the machine work fine.
    PStar is offline
    PStar
    Veteran Member
    Join Date: Mar 2008
    Old 04-03-2010 , 09:50   Re: CSS Auto Swap Teams after half rounds...
    Reply With Quote #9

    I think i found the problem.
    Somehow if warmup is enabled (by a plugin) the plugin works stange, but if i disable the warmup round plugin start to work right.

    Can you look into it?
    PStar is offline
    PStar
    Veteran Member
    Join Date: Mar 2008
    Old 04-12-2010 , 06:53   Re: CSS Auto Swap Teams after half rounds...
    Reply With Quote #10

    So i have done som testing and i have got some results.

    So plugin works fine on basic maps like cs and de but if you try it on an AIM or FY mapp plugin goes mad. After the half time switch teh team are beeing switched in all of the rounds.

    For example:
    mp_maxround 30

    I start CT
    > Switch after round 15
    >on round 16 i am a T
    >on round 17 i am a CT
    >on round 18 i am a T
    >etc......

    I had tested this on my home HLDS server (windows; mms 1.8; sm 1.3.1) and on a professional hosted server (Linux; mms 1.8; sm 1.3.1)

    Quote:
    Originally Posted by motto View Post
    Join to 217.153.241.222:27015. It's works. U have got vary lag server (played round = CTScore + CScore) or damaged RAM.
    And as i see on your server there are only "de" maps, try a fy or aim map pls and you will se what i am speaking about.

    pls fix this plugin. It would be awesome.

    Last edited by PStar; 04-12-2010 at 07:23.
    PStar 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 02:32.


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