Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
<py> Automated team picking

 
Post new topic   Reply to topic Printable version
 View previous topic  ASSS Module/Bot Post :: Post Fuschia  View next topic  
Author Message
D1st0rt
Miss Directed Wannabe


Age:32
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Aug 03, 2008 10:54 am    Post subject: <py> Automated team picking Reply to topic Reply with quote

Here's a python freqmanager module I wrote to take care of picking teams a lot faster than a host could normally do it. It also has the added advantage of making people stay on the team they were picked to.

Usage
I would advise locking the arena and sticking everyone in spec until picking is done. To start out you need to assign captains with /?capt <freq number>. There can only be one captain per team. Once captains have been assigned, use ?pick <freq number of captain with first pick> to start the picking and it will pretty much take care of itself from there. If you want to reassign a captain, pm a new player with /?capt <freq number> and they will replace the previous captain. You can change who is in turn to pick at any time with ?pick <freq number>, which can be useful if somebody leaves. To remove a player's picked status pm them with /?resetpick. When picking is finished, you can disable captains from picking people with a simple ?pick. Any new players that come in will be able to go on any frequency they want, but picked players will be restricted to the team they were picked to until you /?resetpick them or ?resetpick the entire arena. This is all explained in the command help entries as well.

Installation
Copy hs_picker.py to your asss/bin folder
Put the following in your default player groupdef:
Code: Show/Hide
privcmd_pick
cmd_capt
Put the following in your mod/host groupdef:
Code: Show/Hide
cmd_pick
privcmd_capt
cmd_resetpick
privcmd_resetpick

?insmod <py> hs_picker
?attmod hs_picker

Good to go! I have tested briefly in Hyperspace and didn't have problems, but let me know if you come across any.
_________________





Last updated 2008-08-03

hs_picker.py - 4.74 KB
File downloaded or viewed 55 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 208 page(s) served in previous 5 minutes.

phpBB Created this page in 0.218732 seconds : 28 queries executed (21.5%): GZIP compression disabled