Comments (8)
Why did you closed it?
from ktx.
in my opinion it works not right
it always reset to 1 after map change, can be fixed by put 'set k_teamoverlay "0"' to in ktx/configs/usermodes/default.cfg it should work.
from ktx.
so... put 'set k_teamoverlay "0"' to in ktx/configs/usermodes/default.cfg works?
from ktx.
yeah it works...
but 'set k_teamoverlay "0"' in ktx.cfg didnt work
it must be installed every time the map starts
this is wrong in my opinion
from ktx.
well, imo the behavior should be remember the last setting until all the settings are reset.
Removing the k_teamoverlay setting in default configs should be enough to do this. but in my tests, it wasn't (tested nquakesv windows). So this should be the issue here.
looking at the code, at this block in commands.c :
// common settings for all user modes const char common_um_init[] =
there's a bunch of settings, including "k_teamoverlay 1\n"
which might be the issue here. So i've tested it, compiled KTX without that line, and everything worked as intended.
So the fix is 2 things:
- change usermodes/default.cfg
- change commands.c
from ktx.
Keep it on by default in default.cfg, but remove from reset code in commands.c.
from ktx.
Changed in 2b0681e, now reset to 0 by default, unless default.cfg says otherwise, which I think is the intended goal.
from ktx.
@deurk the commit link shows weird characters. are you sure its ok and there's no encoding issue?
edit: nevermind, saw #66 now
from ktx.
Related Issues (20)
- [BUG] Correction of use strlcpy - potencial security issue HOT 1
- [REQ] BOTS: humanize bot vertical tracking
- [REQ] New rpickup teamnames and colors HOT 6
- licensing of example sounds and models HOT 1
- [REQ] Dropsuit command / Biosuit improvements
- [BUG] Spectators can execute /botcmd removebot
- Request to restore crhook from PR #277 as a 4th option or roll back HOT 2
- [BUG] Hoonymode rounds should be "best of" HOT 1
- [BUG] /laststats data if player drops
- [BUG] /laststats now working for demos
- [PATCH] Add possibility to change race countdown
- [PATCH] Turn off spikes in race mode
- [PATCH] Add route for e1m2
- RFC | KTX Bot (frogbot) editor & map support updates HOT 2
- [BUG] func_bob implementation breaks the deathmatch maps from Dimension of the Machine HOT 7
- [PUP] Certain commands can make server restart without a vote HOT 1
- [BUG] Limit elected admin privilages HOT 3
- [REQ] Change default Health/armor in CARENA mode HOT 1
- Remove biosuit from autotrack trigger HOT 1
- [Q] How to define map pool? HOT 4
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 ktx.