furo
209df982f8
List all practice commands when enabling /practice
2024-03-07 00:57:21 +01:00
Dennis Felsing
f3de37d9d4
Merge pull request #8019 from heinrich5991/pr_ddnet_rename_variables
...
Rename all variables for strict camel-casing of abbreviations
2024-03-05 16:06:58 +00:00
heinrich5991
44bf0134f0
Merge pull request #8065 from dobrykafe/pr-solo-practice-bug
...
Fix practice mode not resetting after disconnect on solo servers
2024-03-05 15:20:34 +00:00
heinrich5991
17402cc43f
Rename all variables for strict camel-casing of abbreviations
...
This is the strict version, ID → Id, UI → Ui, except DDNet which stays
DDNet.
This would fix #7750 .
Done using a naive rename script (for bash, use `shopt -s globstar`):
```fish
sed -i \
-e 's/\([a-z]_\?\)ID/\1Id/g' \
-e 's/\([^ ]\)\<UI\>/\1Ui/g' \
-e 's/UI()/Ui()/g' \
-e 's/\<CUI\>/CUi/g' \
-e 's/\([\ta-z.(&]\|[,=|] \)ID\>/\1Id/g' \
-e 's/\<ID\>\([^ ").]\)/Id\1/g' \
-e 's/\<ID\([0-9]\)/Id\1/g' \
-e 's/\<ID\>\( [<=>:+*/-]\)/Id\1/g' \
-e 's/int ID/int Id/g' \
-e 's/\([a-z]_\?\)GPU/\1Gpu/g' \
-e 's/\([a-z]_\?\)IP/\1Ip/g' \
-e 's/\([a-z]_\?\)CID/\1Cid/g' \
-e 's/\([a-z]_\?\)MySQL/\1Mysql/g' \
-e 's/MySql/Mysql/g' \
-e 's/\([a-xz]_\?\)SQL/\1Sql/g' \
-e 's/DPMode/DpMode/g' \
-e 's/TTWGraphics/TTwGraphics/g' \
\
-e 's/Ipointer/IPointer/g' \
-e 's/\.vendorId/.vendorID/g' \
-e 's/\.windowId/.windowID/g' \
-e 's/SDL_GetWindowFromId/SDL_GetWindowFromID/g' \
-e 's/SDL_AudioDeviceId/SDL_AudioDeviceID/g' \
-e 's/SDL_JoystickId/SDL_JoystickID/g' \
-e 's/SDL_JoystickInstanceId/SDL_JoystickInstanceID/g' \
-e 's/AVCodecId/AVCodecID/g' \
src/**/*.cpp src/**/*.h {datasrc,scripts}/**/*.py
git checkout -- src/engine/external
```
I like this option because it presents clear rules.
Still needs fixups because of the naive replacement, I'd do this if we
want this merged.
2024-03-05 15:44:09 +01:00
dobrykafe
d94d020c25
fix practice mode not resetting after disconnect on solo servers
2024-03-05 14:08:30 +01:00
heinrich5991
e851c78e47
Don't show the git revision twice in server log
...
Previously:
```
2024-03-03 12:17:40 I git-revision: 885ae7ecae
2024-03-03 12:17:40 I server: version 18.0.3 on linux amd64
2024-03-03 12:17:40 I server: git revision hash: 885ae7ecae
```
2024-03-04 16:50:45 +01:00
Robert Müller
6b3e16ea82
Fix client crash due to truncated skin name
2024-03-03 18:18:49 +01:00
Dennis Felsing
c0e4a4c3f2
Merge pull request #8002 from dobrykafe/pr-change-info-countdown
...
Show countdown message in player/tee settings for `sv_info_change_delay`
2024-03-02 13:02:06 +00:00
Robert Müller
be9411b262
Merge pull request #8031 from dobrykafe/pr-emotional-tees
...
fix incorrect usage of `SvEmotionalTees`
2024-02-29 16:06:43 +00:00
dobrykafe
d2b2071bda
fix incorrect usage of SvEmotionalTees
2024-02-29 16:47:58 +01:00
dobrykafe
720572ddda
make chat command arguments case-insensitive when possible
2024-02-29 01:17:11 +01:00
dobrykafe
40329b7d2e
show countdown in player/tee settings for sv_info_change_delay
2024-02-20 21:41:20 +01:00
heinrich5991
bf0f699b42
ClientEmpty
→ ClientSlotEmpty
...
Makes it clearer to me, didn't know what an empty client is supposed to
be.
CC #7968
2024-02-19 21:36:21 +01:00
bencie
2240380b0e
Unfreeze on rcon undeep
2024-02-19 17:45:30 +01:00
Edgar
e041c0a870
Merge pull request #7977 from dobrykafe/pr-expire-invites
...
Expire team invites on player disconnect
2024-02-18 15:24:01 +00:00
dobrykafe
5dc8fe81e3
expire team invites on player disconnect
2024-02-15 21:37:51 +01:00
bencie
997fe8fa3b
Add /solo and /deep as practice commands
2024-02-12 17:17:55 +01:00
Robert Müller
be98c17738
Make it less likely that antibot message is sent from random tees
...
Instead of sending the message from the first client which is not ingame, choose the first client which is fully empty, to make it less likely that the message is sent from a currently connecting client.
2024-02-11 22:12:15 +01:00
Dennis Felsing
9187c296a0
Merge pull request #7952 from Robyt3/Server-Sixup-Killmessages
...
Show kill messages also for sixup clients
2024-02-08 22:53:54 +00:00
bencie
177e8f07f1
Fix broken parameter in MoveCharacter
2024-02-08 22:34:38 +01:00
Robert Müller
c0da15737d
Show kill messages also for sixup clients
...
For consistency between 0.6 and 0.7 clients, also show kill messages for 0.7 clients, now that DDNet client also supports finish messages.
Closes #5623 .
2024-02-08 20:30:31 +01:00
bencie
4baaf4f410
style
2024-02-06 15:43:46 +01:00
bencie
68d559ea46
Change i[x] i[y] to f[x] f[y]
2024-02-06 15:35:23 +01:00
bencie
5b2c35dc36
Fixed a bug with /tpxy where the parameters didn't take floats or negative numbers
2024-02-06 15:28:33 +01:00
Dennis Felsing
5ddf6aefa1
Merge pull request #7926 from dobrykafe/pr-hud-teamlock
...
Add team-lock indicator to HUD
2024-02-05 10:22:50 +00:00
dobrykafe
01d87707ef
add team-lock indicator to hud
2024-02-05 02:26:48 +01:00
Robert Müller
48fad83681
Remove hard-coded commands from client-side
...
Both console and chat commands are sent to clients dynamically with respective messages, so the static lists of commands were only used for servers not making use of these messages. Instead of assuming potentially incorrect console and chat commands on those servers, the lists will now be empty for those servers.
Move the command registration from the `ddracecommands.h` and `ddracechat.h` header files to the `CGameContext::RegisterDDRaceCommands` and `CGameContext::RegisterChatCommands` functions and delete the header files. The `CHAT_COMMAND` and `CONSOLE_COMMAND` macros are removed, because they only add unnecessary indirection now. The strings `CHAT_COMMAND` and `CONSOLE_COMMAND` are simply replaced with `Console()->Register` and semicolons are added at the end of the lines.
Closes #7665 .
2024-02-04 13:16:04 +01:00
furo
d149ab60e8
Remove unused ConAccept
function
2024-01-31 00:51:50 +01:00
furo
ec70556577
Don't print the team cannot finish anymore
message when team is already in practice
2024-01-31 00:47:19 +01:00
furo
c1fe1b49fa
Allow joining started teams that have practice enabled
2024-01-31 00:39:00 +01:00
ChillerDragon
40633d800a
Fix 0.7 armor being snapped as health
...
Closed https://github.com/ZillyInsta/ddnet-insta/issues/91
2024-01-30 19:47:04 +08:00
Robert Müller
83942f9a50
Merge pull request #7866 from heinrich5991/pr_ddnet_redundant_utf8_checks
...
Remove redundant UTF-8 checks
2024-01-27 13:03:45 +00:00
heinrich5991
4f06f3a797
Remove redundant UTF-8 checks
...
We already check for valid UTF-8 while unpacking strings.
2024-01-27 13:43:04 +01:00
Alexander Akulich
e0e37d7f7b
TeeInfo: Fix blue and limekitty eyes and feet 0.6 -> 0.7 mapping
2024-01-27 02:00:16 +03:00
Alexander Akulich
386935f5cf
Character: Incapsulate m_MoveRestrictions and m_Core
...
Instead of leaking the m_MoveRestrictions to all classes which needs to
adjust the Character velocity, add a setter which takes into account those
restrictions.
The shotgun bug replication requires an access to the Velocity without the
restrictions applied (so we have to have this dirty setter).
Expose only *const* CCharacterCore to force the setters usage and prevent
incorrect write.
2024-01-21 20:59:50 +03:00
heinrich5991
9bbceab2c4
Merge pull request #7814 from gerdoe-jr/stop-annoying-superteam
...
Don't warn about unfinishable map for super team
2024-01-17 13:55:07 +00:00
Dennis Felsing
28cd6ad2a5
Fix style
2024-01-17 00:49:32 +01:00
gerdoe-jr
1840519609
Check for characters wtih DDRACE_CHEAT
instead of TEAM_SUPER
2024-01-16 23:16:19 +03:00
gerdoe-jr
40ed4bb98f
Check for super character in team, don't annoy them more than expected
2024-01-16 20:28:40 +03:00
gerdoe-jr
7df3330c06
Divide /tp
into /tpxy
and /tpto
2024-01-16 20:04:39 +03:00
heinrich5991
0f653b9b76
Merge pull request #7794 from ChillerDragon/pr_master_team_change
...
Report team changes to master when teams are on
2024-01-15 15:36:46 +00:00
ChillerDragon
78bc1f02f0
Report team changes to master when teams are on
...
https://github.com/ZillyInsta/ddnet-insta/issues/85
2024-01-13 18:33:30 +08:00
swarfeya
79bc3b2d3d
use SetInitialAfk instead of SetAfk
2024-01-12 22:44:33 +01:00
swarfeya
495290e0b2
fix style
2024-01-12 22:04:08 +01:00
swarfeya
64a70ac7a7
Fix AFK being shown only for a split second when timing out
2024-01-12 22:01:25 +01:00
Robert Müller
ce47d01998
Merge pull request #7761 from swarfeya/master
...
fix happy ddnet birthday broadcast (#7758 )
2024-01-06 20:45:52 +00:00
swarfeya
a9b19ff2a7
Increment m_SentSnaps inside of FakeSnap()
2024-01-06 16:02:43 +01:00
heinrich5991
ac041d7f34
Group CNetMsg_Sv_CommandInfo
2024-01-05 18:10:57 +01:00
heinrich5991
f81828e78e
Group CNetMsg_Sv_VoteOptionListAdd
2024-01-05 18:10:57 +01:00
swarfeya
d04cb7a36a
actually fix happy ddnet message
2024-01-04 18:36:32 +01:00