Commit graph

5540 commits

Author SHA1 Message Date
AkjaHAsLk1IALk0MasH
bf605a2127 Added "Bouncer," which prohibits the creation of large projectiles. 2021-11-27 00:00:55 +07:00
AkjaHAsLk1IALk0MasH
85a4656274 Added values for AI[]. 2021-11-26 23:52:05 +07:00
Stargazing Koishi
0437342038
Update CHANGELOG.md 2021-11-26 07:00:50 -08:00
Stargazing Koishi
db8d56cba7
Update BuffId typo 2021-11-26 06:54:56 -08:00
Stargazing Koishi
2217d63dc7
Update new buffs for NPC
The new TentacleSpike buff is allowed
2021-11-26 06:52:30 -08:00
Lucas Nicodemus
74e178e119 Version tick: 4.5.10 2021-11-25 21:47:35 -08:00
Lucas Nicodemus
996229b9af Force shutdown server if SIGINT is received twice
Previously, I updated the SIGINT handler so that it would safely shut
down. This is because I'm an idiot and like most people like me, I use
CTRL + C as my exclusive way to close all programs in the command line
environment. This poses a risk because it doesn't save the world and
shuts down improperly.

However, I forgot that Terraria has interactive menus that you can't
exit from. So, in these menus, the only way out was CTRL + C. @Onusai
reported this, so this changes the behavior a second time.

Now, when passing SIGINT, you can pass it twice. This will cause the
program to actually exit on the second time, such as when you're stuck
at a menu. Hooray.
2021-11-25 11:26:09 -08:00
Lucas Nicodemus
58bc876eab Remove quake from funding file
Apparently there's a hard limit on 4 people. So what we'll do is just
swap people in and out as they contribute I guess?
2021-11-24 20:42:07 -08:00
Lucas Nicodemus
6e58173f8b Add DeathCradle to funding file
Yo why are you not funding DeathCradle?
2021-11-24 20:39:02 -08:00
Lucas Nicodemus
8cf7d164cb Version tick: 4.5.9
This commit also bumps the submodule for TSAPI to support Terraria
1.4.3.2.
2021-11-24 18:57:41 -08:00
Luke
c70a9bc88b VS+Code launch profile improvements 2021-11-24 21:32:22 +10:00
Luke
f48dda3ae3 Improve native resolutions 2021-11-24 21:32:11 +10:00
Lucas Nicodemus
984a3ca460 Update changelog 2021-11-23 22:53:46 -08:00
Zoom L1
f98df0e4a3
Merge pull request #2447 from AgaSpace/patch-1
Add the ability to change the player's pvp mode
2021-11-23 22:52:47 -08:00
Lucas Nicodemus
01aa4b5732
Merge pull request from GHSA-6w5v-hxr3-m2wx
Fix invalid place style exploit
2021-11-23 20:52:50 -08:00
Lucas Nicodemus
e714f8ea58 Verison tick: 4.5.8 2021-11-23 18:31:55 -08:00
Lucas Nicodemus
50821e7e89 Fix changelog location for GHSA-6w5v-hxr3-m2wx 2021-11-23 18:29:57 -08:00
Arthri
a1eaf285cd Merge remote-tracking branch 'parent/general-devel' into fix-invalid-place-style 2021-11-24 09:21:40 +08:00
Lucas Nicodemus
462b03e306
Merge pull request #2508 from Arthri/fix-bad-xml
Fix invalid xml
2021-11-23 17:13:40 -08:00
Luke
d439b3db1c Correct nuget package to GPL-3.0-or-later 2021-11-24 07:51:44 +10:00
Luke
a5a75e3f50 Implement System.Data.SQLite
TODO: determine if we can do something better than a resolver
2021-11-24 07:49:03 +10:00
Luke
8edd0393e5 Initial OTAPI3 port
TODO: sqlite
2021-11-23 20:49:41 +10:00
Arthri
c5eeae8590 Add changelog entry 2021-11-23 17:23:44 +08:00
Arthri
350d76c315 Fix bad XML(unescaped ampersand) 2021-11-23 17:13:02 +08:00
Arthri
aa5cb13247 Fix bad XML(no opening <summary) 2021-11-23 17:12:49 +08:00
Lucas Nicodemus
e303071dce Fix firework command failing without color
After updates to the firework command, a guard was lost, allowing the
switch statement that selected the color to execute on a parameter that
was empty. A guard was added to prevent falling into the switch
statement without enough arguments to match a color.

The default type of firework was manually set to a red firework.

Fixes #2507
2021-11-22 22:16:56 -08:00
Lucas Nicodemus
a01b48ead5 Remove dead code: DBTools.cs 2021-11-22 19:27:40 -08:00
Lucas Nicodemus
320bbad051 Version tick: 4.5.7 2021-11-22 18:07:30 -08:00
Lucas Nicodemus
ce8623e84e Add support for 1.4.3.1 via submodule update 2021-11-22 18:02:40 -08:00
Lucas Nicodemus
6cd69324c7
Merge pull request #2504 from Pryaxis/h/hashing
Remove DIY password hashing crypto
2021-11-22 17:17:15 -08:00
Lucas Nicodemus
9416e8f1e2 Remove DIY password hashing crypto
The old system for hashing passwords and permitting users to select
their algorithm has been deprecated and phased out since 2015. This
removes the remaining functions for hashing passwords to clear the way
for .NET5/6 and for OTAPI 3.

In 211b70ca37, I allowed blank passwords
to upgrade to bcrypt hashes. However, the minimum password length has
been 4 historically for a long time. So I don't actually assume a lot of
users have blank passwords, so I think there are very few, if any of the
old hashes laying around.

So therefore, I think this is pretty much safe to merge.
2021-11-22 10:26:57 -08:00
Lucas Nicodemus
614211d7a1 Fix respawning players from the server console 2021-11-21 16:35:47 -08:00
Lucas Nicodemus
35db1cc372 Version tick: 4.5.6 2021-11-21 16:13:32 -08:00
Lucas Nicodemus
211b70ca37 Upgrade blank passwords to bcrypt hashes
Previously, blank passwords were not upgraded to bcrypt hashes. This is
annoying and problematic because it makes it difficult to remove the old
password hashing system because those passwords might still be checked
against non-bcrypt hashes.
2021-11-21 14:44:53 -08:00
Lucas Nicodemus
b17c4cfc13 Add support for disabling IP bans by default
Some proxy users find it irritating when their proxy IP is banned by the
ban command. This helps those users find justice in the world.
2021-11-21 14:30:59 -08:00
Lucas Nicodemus
70d4bb9503 Update submodule for PacketTypes updates 2021-11-20 23:50:15 -08:00
Lucas Nicodemus
1aa9956e45 Report correct god mode status to target player
The previous version of the code always told the player having their god
mode toggled the state of the player that issued the command, rather
than their own god mode state. This fixes that issue, and now returns
the correct player's state to the correct player.
2021-11-20 20:02:23 -08:00
Lucas Nicodemus
f523d38300 Check RegionProtectGemLocks before enforcing perms
Fixes #2485. Bouncer now checks to ensure that RegionProtectGemLocks is
enabled before attempting to reject changes from gem locks from players
that don't have build permissions.
2021-11-20 18:19:47 -08:00
Lucas Nicodemus
6bcd9753c7 Add even more formatting to changelog 2021-11-20 12:11:28 -08:00
Lucas Nicodemus
16a31e6677 Update changelog to fix formatting 2021-11-20 12:10:54 -08:00
Lucas Nicodemus
96b260532f Fix GHSA-6w5v-hxr3-m2wx via changelog update 2021-11-20 12:08:16 -08:00
Lucas Nicodemus
abb12629ad Add Deerclops to spawnboss command
Fixes #2500
2021-11-20 12:04:55 -08:00
Lucas Nicodemus
b44d72056c Update TSAPI submodule for OTAPI 2.0.0.45 (Terraria 1.4.3.0) 2021-11-19 22:48:41 -08:00
Lucas Nicodemus
42ca83e6b5 Update version codename and changelog for 1.4.3 2021-11-19 22:39:45 -08:00
Lucas Nicodemus
6e1af33d5c
Merge pull request #2419 from moisterrific/general-devel
Add colour differentiation and examples for more commands
2021-11-19 22:30:37 -08:00
Lucas Nicodemus
4fff15580b
Merge branch 'general-devel' into general-devel 2021-11-19 22:24:47 -08:00
Lucas Nicodemus
3dbadae1f5
Merge pull request #2450 from Pryaxis/moisterrific-patch-1-config-respawntime
Change default RespawnSeconds & RespawnBossSeconds from 10 to 0
2021-11-19 22:23:09 -08:00
Lucas Nicodemus
b48b1a1eda
Merge branch 'general-devel' into moisterrific-patch-1-config-respawntime 2021-11-19 22:19:52 -08:00
Lucas Nicodemus
af6271e79f
Merge pull request #2488 from NezbednikSK/general-devel
Fix Linux guide
2021-11-16 22:53:44 -08:00
Nezbednik
5bf36fd799
Update CHANGELOG.md 2021-11-13 08:46:14 +01:00