Chuckun Posted October 12, 2013 Posted October 12, 2013 (edited) So I asked about this over at MyGamingTalk and SolaR was so kind as to provide this: MINIMAL_LEVEL_TOEXECUTE = 15 -- minimal level to execute this command SHUFFLE_COMMAND = "!shuffle" -- shuffle command SHUFFLE_AFTERTIME = 5*60 -- 5min Client = { } function et_InitGame( levelTime, randomSeed, restart ) maxclients = et.trap_Cvar_Get( "sv_maxclients" ) end function et_ClientCommand( num, cmd ) local arg0 = string.lower(cmd) local arg1 = string.lower(et.trap_Argv(1)) if et.G_shrubbot_level( num ) >= MINIMAL_LEVEL_TOEXECUTE and arg0 == SHUFFLE_COMMAND or arg1 == SHUFFLE_COMMAND then StartTime = os.time() for i = 0, maxclients - 1 do local team = et.gentity_get(i, "sess.sessionTeam") if team ~= 3 then Client[i] = team end end return true -- let execute it end if arg0 == "team" and StartTime ~= nil then if arg1 == "b" then if os.time() >= (StartTime + SHUFFLE_AFTERTIME) and Client[num] == 1 then return false end elseif arg1 == "r" then if os.time() >= (StartTime + SHUFFLE_AFTERTIME) and Client[num] == 2 then return false end end end endIt is just concept but it should works, in this case they won't be able to change to ->spec-> another team too This is basically shuffle command with 5 minute 'stay' timer to stop people switching for 5 mins after shuffle.. Can we pleeeassee get this on our servers? Edited October 12, 2013 by Chuckun 2 Quote
Chuckun Posted October 12, 2013 Author Posted October 12, 2013 works? tested? Masa_1964 It is just concept but it should works, in this case they won't be able to change to ->spec-> another team too Quote
Belo Posted October 12, 2013 Posted October 12, 2013 If this works, you should get your statue lol Quote
rajaah thunder Posted October 12, 2013 Posted October 12, 2013 enable it on stopwatch/silent2 and do a test run? Quote
Joku_. Posted October 12, 2013 Posted October 12, 2013 One Nq server that I played back in the old days had the same feature. And if I recall correctly it was also set to 5 minutes. Anyways, I remember that it was very effective removing team switching after shuffle. Downside 1, more rage quiting after people 'end up on the wrong team'. Although, most of those would have disc anyways or sit in the spec. Downside 2, jaymod shuffle is based on xp. in other words, the outcome might be bad and the regulars cannot help by switching before 5 minutes. In silent the shuffle is based k/d, which would make it much more functional imo. Downside 3, if it is implemented on silentmod autoshuffle and there is no admin online and people rage quit after ending up on the wrong team, the teams are bad for 5 minutes without anyone being able to move voluntarily. Two extra questions come to my mind: 1) would the "no switching before 5 minutes after a shuffle -feature" be automatically implemented and executed after an automaticshuffle that silent mod has? 2) Even though players cannot switch teams, can the admins still !put people to other teams before the 5 minute mark, which is needed, for instance, in case of rage quiting or the shuffle' failing' (jaymod)? Quote
Chuckun Posted October 12, 2013 Author Posted October 12, 2013 One Nq server that I played back in the old days had the same feature. And if I recall correctly it was also set to 5 minutes. Anyways, I remember that it was very effective removing team switching after shuffle. Downside 1, more rage quiting after people 'end up on the wrong team'. Although, most of those would have disc anyways or sit in the spec. Downside 2, jaymod shuffle is based on xp. in other words, the outcome might be bad and the regulars cannot help by switching before 5 minutes. In silent the shuffle is based k/d, which would make it much more functional imo. Downside 3, if it is implemented on silentmod autoshuffle and there is no admin online and people rage quit after ending up on the wrong team, the teams are bad for 5 minutes without anyone being able to move voluntarily. Two extra questions come to my mind: 1) would the "no switching before 5 minutes after a shuffle -feature" be automatically implemented and executed after an automaticshuffle that silent mod has? 2) Even though players cannot switch teams, can the admins still !put people to other teams before the 5 minute mark, which is needed, for instance, in case of rage quiting or the shuffle' failing' (jaymod)? Downside 1 - if they are that determined to stack teams, they would be kicked anyway so good riddence Easier than admin having to do it :L Downside 2 - replace jaymod with silent since it sucks But seriously, I dont recommend this for Jaymod. But I do recommend deleting Jaymod all together lol. Downside 3 - this is correct but 5 mins is ok for teams to be uneven, if it solves such an annoying ongoing issue. 1) Yes 2) Yes 1 Quote
Leader RedBaird Posted October 12, 2013 Leader Posted October 12, 2013 The last I heard, Jaymod !shuffle was based on rate of change of XP or (XPgain / minute). That was on the version before the one used here now. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.