James R
8bbd6e1b19
Make cv_advertise no by default, do not save
2020-09-12 18:54:44 -07:00
James R
d437bac34f
Make cv_advertise NETVAR
2020-09-12 18:36:25 -07:00
James R
15cb3202e2
Merge branch 'master-server-2' into 'next'
...
Master Server 2
See merge request KartKrew/Kart-Public!224
2020-09-12 20:25:42 -04:00
James R
1003ed5243
Fix master server token
2020-09-12 10:32:14 -07:00
James R
99115d9e76
Update update alert message
2020-09-11 20:12:31 -07:00
James R
c0801c4413
Set masterserver to ms.kartkrew.org
2020-09-11 17:39:01 -07:00
James R
0146decd8b
Strip trailing slashes from masterserver address
2020-09-11 17:33:46 -07:00
Sal
3144cffb1c
Merge branch 'battle-item-balance' into 'next'
...
Battle item balance
See merge request KartKrew/Kart-Public!222
2020-09-11 12:21:06 -04:00
Sal
31b6f4ec20
Merge branch 'stupid-sound-volume' into 'next'
...
Apply volume to sounds that have an origin
See merge request KartKrew/Kart-Public!223
2020-09-11 12:17:19 -04:00
Sal
70df7f7377
Merge branch 'name-change-spam' into 'next'
...
Don't let players change their name more than five times per minute
See merge request KartKrew/Kart-Public!221
2020-09-11 12:17:00 -04:00
Sally Coolatta
87037dc7ae
6 -> 2, void the now unused parameter
2020-09-11 12:14:08 -04:00
James R
4e9d006c37
int -> INT32
2020-09-11 09:00:18 -07:00
Sal
20f1e31e8f
Merge branch 'save-renderer' into 'next'
...
Save renderer to file
See merge request KartKrew/Kart-Public!220
2020-09-11 11:59:51 -04:00
James R
ef4229a42f
7b1f97439 lies btw, you can set the server_contact cvar 4head
2020-09-11 07:10:21 -07:00
James R
d3b31d1d76
When changing masterserver_update_rate, only update if elapsed time within the new rate
2020-09-11 06:50:31 -07:00
James R
3fc0c52599
Register/unregister server by changing cv_advertise
2020-09-11 06:49:41 -07:00
James R
7b1f974397
Basically, update master server code to v2
...
Removes rooms, replaced with cv_advertise and "Advertise" on the host menu.
According to the new API, SRB2APPLICATION is sent instead of MODID. A contact
field was added, but there is no means of accessing it or setting it.
As a slight change, the server list will be populated even on an outdated
version of the game. (The new API was designed with this in mind.) The update
alert is still presented first of course.
2020-09-11 06:11:41 -07:00
James R
4ce347c6f2
Apply volume to sounds with origin too
...
Previously sounds with an origin would always start at max volume. This is
because the distance calculation adjusts the volume, and that volume needs to
be updated every tic as distance changes. Storing the original volume works.
2020-09-08 22:40:42 -07:00
Sal
aa2d63369a
Merge branch 'better-windows-path' into 'next'
...
SetCurrentDirectory to where the exe lives
See merge request KartKrew/Kart-Public!219
2020-09-02 23:16:13 -04:00
Sally Coolatta
f76ae44daa
Redo Battle item balance
...
- Far more inclined to give you Orbinaut, Jawz, Invincibility, and Grow. Far less inclined to give you Bananas or Sneakers.
- Item odds no longer scale with bumper count differences.
2020-09-02 02:53:06 -04:00
James R
2948885660
Don't let players change their name more than five times per minute
2020-08-31 20:08:22 -07:00
James R
6466291ac6
Oops :v
2020-08-31 19:34:43 -07:00
James R
33c11f1b0b
Save chosen renderer to file, use on startup if no -software or -opengl parameter
2020-08-31 19:29:09 -07:00
James R
9ad0a0660c
Just SetCurrentDirectory to the exe's folder on windoze
2020-08-31 01:23:56 -07:00
Sally Coolatta
7561c69266
Increase cipher length
2020-08-31 00:25:28 -04:00
Sally Coolatta
528ed46661
Remove default dirs on Windows
...
Cause more issues than fixes. Still around for Linux.
2020-08-31 00:06:47 -04:00
Sally Coolatta
2a93c2260d
Expand IP_SIZE
2020-08-30 23:41:27 -04:00
Sally Coolatta
f11481fbe2
Move to D_RegisterServerCommands
2020-08-30 23:35:41 -04:00
Sally Coolatta
1a0e134d10
Bruh, lowercase
2020-08-30 23:31:54 -04:00
Sally Coolatta
40b0a2479e
Wrong file
2020-08-30 23:26:00 -04:00
Sally Coolatta
2d7c835c4d
Dedicated servers can change discordinvites without needing RPC support
2020-08-30 23:20:06 -04:00
James R
7c1f73ed71
NO_DISCORDRPC to disable rich presence on Windows
2020-08-30 19:11:30 -07:00
James R
b66b0bf648
Update versions to 1.3
2020-08-30 19:06:31 -07:00
James R
fbd1280e17
Update patch.kart asset hash
2020-08-30 19:02:31 -07:00
James R
ffff6accce
Merge remote-tracking branch 'origin/master' into next
2020-08-30 19:01:04 -07:00
Sal
1bf259e341
Merge branch 'world-tour' into 'next'
...
Flush random map pool after all but 3 are played
See merge request KartKrew/Kart-Public!216
2020-08-30 21:49:20 -04:00
Sal
d55e5e8d8d
Merge branch 'easy-colors' into 'master'
...
Caret color codes in server name
See merge request KartKrew/Kart-Public!218
2020-08-30 21:49:03 -04:00
Sal
4b9188b626
Merge branch 'discord-rpc-support' into 'next'
...
Discord Rich Presence
See merge request KartKrew/Kart-Public!207
2020-08-30 21:48:44 -04:00
Sally Coolatta
b8f1842855
Use ENTER and ESC
...
A and B are v2 terminology
2020-08-30 21:42:04 -04:00
James R
8557f23b9e
Merge branch 'master' into next
2020-08-29 18:22:19 -07:00
James R
754347987d
Fix stupid NONET
...
(cherry picked from commit 679bfa21edec6b652def93082da5586e6c755678)
2020-08-29 18:19:39 -07:00
James R
df78298a11
C90?
...
(cherry picked from commit 1f38db46298181d117432e12e88b326a92b4b785)
2020-08-29 18:19:15 -07:00
James R
c7dbc889ef
Merge remote-tracking branch 'origin/master' into next
2020-08-29 11:26:52 -07:00
Sally Coolatta
18a7f1b3f6
Add join/leave notification sounds
2020-08-27 20:10:25 -04:00
Sally Coolatta
ed88e4dd7c
This should be set for server too!!
2020-08-27 19:36:37 -04:00
Sally Coolatta
5e9e3e163d
Attach initial join discord info to servercfg, so that we don't have a pause from needing to also send XD_DISCORD
...
XD_DISCORD is now reserved for when the options are changed mid-game
2020-08-27 19:14:45 -04:00
Sally Coolatta
61d6ee0982
Misc changes to how the program runs
...
- Call DRPC_Init at the end of D_SRB2Main instead of in the middle
- Call Discord_RunCallbacks in D_SRB2Loop instead of G_Ticker
- Fix errorcount nums in I_Error, an old leftover from when Discord_Shutdown was not handled by I_AddExitFunction
2020-08-27 18:50:36 -04:00
James R
7a19d9a9df
Convert caret color codes to SRB2 color codes
2020-08-27 15:44:06 -07:00
James R
dcad2cd1fa
Convert from caret colors when sending SERVERINFO
2020-08-27 15:43:20 -07:00
Sal
9c04407967
Merge branch 'expose-demoplayback' into 'next'
...
Expose demo.playback to Lua
See merge request KartKrew/Kart-Public!217
2020-08-27 18:18:39 -04:00