Comments (4)
Vanilla
KFGameContent.KFGameInfo_Endless
- Endless modeKFGameContent.KFGameInfo_WeeklySurvival
- WeeklyKFGameContent.KFGameInfo_VersusSurvival
- Versus
Modded
ControlledDifficulty.CD_Survival
- Controlled DifficultyKFGameHardBoss.KFGameInfo_HardBoss
- Hard Boss Mode
There may be others for modded but those two modes are known to be used by others that use Magicked. It might be a good idea to change them into some sort of short hand like the length/difficulty where survival is 0, endless is 1, weekly is 2, and so on. It could use whatever the current game mode is if nothing is tossed to it.
I may need to test this further but game type changes may require a map change. This has been buggy in my experience so restart_map
will likely not work with game type changes anyway. Considering that I am not sure if it would be a good idea to add a change_game_mode
function/command on it's own, if that was a thought, since it would need a new map parameter anyway. Would be best to roll the functionality together.
from kf2-magicked-admin.
Thanks! I took a look at PR #61. When the branch high-wave-command
is merged this problem can be fixed easily.
In function change_map
the payload option gametype
just needs to be changed to "gametype": self.game.gamemode
I already tried it and it seems to work just fine.
from kf2-magicked-admin.
Looks like that will fix it not changing game mode but won't allow you to change it with the command, which is what I was blabbering about above. Thanks for the tid-bit.
from kf2-magicked-admin.
This has been fixed in PR #75 so I'm gonna close this for now.
from kf2-magicked-admin.
Related Issues (20)
- [BUG] Issue with docker version (pre-release 0.1.6) HOT 1
- [BUG] Selected language doesn't load until after configuration
- [FEATURE] MOTD template enhancements
- [BUG] Missing some new game modes
- [DOCS] 0.1.6 Documentation
- Error on initial run from 0.1.6 linux release version related to text encoding HOT 5
- [DOCS] MOTD leaderboard exemple HOT 3
- [DOCS] GitHub pages
- Possible to Update Webmin-Files by hand? HOT 3
- [FEATURE] To be able to configure Clan motto, web link at url of banner
- [FEATURE] Change map automatically when the server is empty
- [FEATURE] Create multiple MOTDs
- [ENHANCEMENT] Killinuxfloor compatibility HOT 8
- [BUG] IndexError: list index out of range HOT 7
- motd language problem HOT 5
- [BUG] server browser players count HOT 1
- [BUG] console error
- [BUG] HOT 9
- [BUG] Server Rules reverting to default
- [BUG] Chatbot name has additional text.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kf2-magicked-admin.