Commit graph

4212 commits

Author SHA1 Message Date
Zoom L1
f11ffd2b91
Fixed the maximum and minimum values.
Co-authored-by: Arthri <41360489+Arthri@users.noreply.github.com>
2021-11-27 09:30:52 +07:00
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
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
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
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
e714f8ea58 Verison tick: 4.5.8 2021-11-23 18:31:55 -08:00
Arthri
a1eaf285cd Merge remote-tracking branch 'parent/general-devel' into fix-invalid-place-style 2021-11-24 09:21: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
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
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
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
abb12629ad Add Deerclops to spawnboss command
Fixes #2500
2021-11-20 12:04:55 -08:00
Lucas Nicodemus
42ca83e6b5 Update version codename and changelog for 1.4.3 2021-11-19 22:39:45 -08:00
Lucas Nicodemus
4fff15580b
Merge branch 'general-devel' into general-devel 2021-11-19 22:24:47 -08:00
stacey
d8aa7b0f69
Change RespawnSeconds & RespawnBossSeconds to use default
a value of 0 will use the default time based on selected difficulty
2021-09-13 10:02:03 -04:00
stacey
2b50cbc7b9
Merge branch 'general-devel' into general-devel 2021-09-13 09:52:46 -04:00
Stargazing Koishi
bc5c337b5e
Update /help for /setup change
The auth command was renamed in 8451ef9fb7 but the `/help` command was not updated.
2021-08-31 19:54:40 -07:00
Arthri
d1459bb1ba Fix spaghetti one liner 2021-08-28 10:42:19 +08:00
Armano den Boef
1329813f59
Merge branch 'Pryaxis:general-devel' into patch-1 2021-08-25 12:39:04 +02:00
Chris
09a2947cf4
Merge branch 'general-devel' into fix-invalid-groups 2021-08-25 19:16:57 +09:30
Armano den Boef
5bcd37949b
Editing the return in HandleSpecial; Fixes #2436. 2021-08-23 22:58:56 +02:00
Arthri
335c1ddb50 Add entry for Ice Rod 2021-08-18 18:40:04 +08:00
Arthri
01d551aa30 Clarify multi-block tiles 2021-08-18 18:39:53 +08:00
Arthri
3eaf86ba04 Explicitly add placeStyle = 0 2021-08-18 18:39:41 +08:00
Arthri
638b7cc54f Remove multiblock tiles 2021-08-18 17:39:28 +08:00
Arthri
a0cd2849ed Add missing entries to ExtraneousPlaceStyles 2021-08-18 17:15:36 +08:00
Arthri
8c5e7b4d47 Polish docs 2021-08-18 17:09:58 +08:00
Arthri
307ff79170 This isnt XML 2021-08-17 23:42:01 +08:00
Arthri
16451ec0e9 Complete docs and polish 2021-08-17 23:41:23 +08:00
Arthri
96f26be50b Complete correctors 2021-08-17 23:11:22 +08:00
Arthri
265cd2012f Transfer checks to a dictionary 2021-08-17 22:37:49 +08:00
Lucas Nicodemus
7b4042bf77 Merge branch 'general-devel' into fix-invalid-place-style 2021-08-16 16:10:41 -07:00
Chris
288698ce42 Some refactoring for variable naming & code flow 2021-08-16 22:14:02 +09:30