Skip to content

Commit 7e8b1de

Browse files
authored
Update README.md
1 parent ecbf811 commit 7e8b1de

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,26 @@ in apps.py add ```'pyplanet.apps.contrib.afk',``` and it will load.
6666

6767
- Current Issues:
6868
Timeout is set to 100 which corresponds to 50 seconds (Estimate)
69+
70+
# Pick And Ban
71+
72+
in apps.py add ```'pyplanet.apps.contrib.pick_and_ban',``` and it will load.
73+
74+
- Pick and Ban maps in Team Gamemodes
75+
- ````{"steps":[{"team":1,"action":"ban"},{"team":1,"action":"pick"},{"team":2,"action":"pick"},{"team":3,"action":"pick"},{"team":4,"action":"pick"}],"stepDuration":60000,"resultDuration":10000 ``` can be changed to whom ever setting you want.
76+
- There needs to be an altercation be made in ```\pyplanet\apps\core\trackmania\callbacks.py```:
77+
- Add the following to the end to make it work: ```
78+
pickban_complete = Callback(
79+
call='Script.PickBan.Complete',
80+
namespace='trackmania',
81+
code='pickban_complete',
82+
target=handle_generic
83+
)```
84+
85+
To load the matchsettings with the pick or banned maps: For now do //rml testw1lla.txt and do a NextMap (There seem to be some issues in Development for me!)
86+
87+
There seems to be some slight issues:
88+
- The ServerChat will be filled with the MapUID's which are fine as they will be eventually added towards the matchsettings file.
89+
- Loading of the new MatchSettings seems to fail through pyplanet read_map_list (Do not understand why but it could be as i am checking if it is being changed in notepad++).
90+
- For Apparent reason: Only Blue and Red can vote (Tested this alone so it needs some good testing with multiple teams as bots do not do everything.)
91+
- Make a copy of the Matchsettings and rename it (That seems to work)

0 commit comments

Comments
 (0)