Commit graph

2943 commits

Author SHA1 Message Date
Ruby Rose
c841a86cdf hooks added 2017-06-07 10:46:46 +03:00
White
62d2a53141 Version update 2017-05-14 21:31:44 +09:30
Chris
585a72bdf3 Merge branch 'general-devel' into fix-itemban 2017-05-14 20:55:10 +09:30
ZIT WANG
8116aebd2c Fix itemban not working on non-English language 2017-05-12 18:06:49 +08:00
MadMan2021
194522eaa0 Increased /butcher damage to defence fixes issue #1447 2017-05-11 23:27:56 +01:00
White
528d9c642b Fixes a Non-SSC chat over heads bug. Should solve #1436 2017-05-03 21:49:19 +09:30
ZIT WANG
c161be102d Add displaying ids when sending error responses 2017-05-03 08:25:50 +08:00
ZIT WANG
961c857c4b Resolve duplicate negative ids items in Utils.GetItemByName 2017-05-02 19:43:30 +08:00
White
72a547441b Redirects /token/create to /v2/token/create.
Adds /v4/players/read. V4 contains piggy, safe, and forge data, and condenses all item fields into one object with child objects.
2017-05-02 16:53:59 +09:30
ZIT WANG
85b0b7bc6a Fix an itemban issue due to localization 2017-04-26 19:26:54 +08:00
ZIT WANG
58e2b85f59 Fix an issue that causes client crash after receiving long text 2017-04-25 20:01:24 +08:00
ZIT WANG
a026c5809f Fix duplicate items shown in Utils.GetItemByName
* Remove unused usings
2017-04-25 15:10:24 +08:00
White
e1919adfb2 Fixes { and } breaking server message broadcasts 2017-04-25 11:32:39 +09:30
Lucas Nicodemus
53d9e7523f
Remove -lang from TShock (supported in Vanilla) 2017-04-22 20:41:43 -06:00
Lucas Nicodemus
36538caa43 Merge pull request #1426 from mistzzt/t-1.3.5
Add Localization support
2017-04-22 10:01:34 -06:00
White
1f3a09d738 Better workaround for Terraria chat commands, courtesy of @DeathCradle 2017-04-22 18:24:16 +09:30
ZIT WANG
f47c6505ab Add null check for English name 2017-04-22 07:34:59 +08:00
ZIT WANG
08d37eb6de Fix duplicate statement 2017-04-22 07:21:48 +08:00
Lucas Nicodemus
22c1992074
Turn dumping back on 2017-04-21 10:16:15 -06:00
Lucas Nicodemus
33d34f3f0b
Fix dump methods that were disabled earlier 2017-04-21 10:15:28 -06:00
ZIT WANG
930607a142 Add Localization support
* Add EnglishLanguage type to store English texts
* Itemban now store English item name
* Command `/i` `/give` `/sm` `/tpnpc` can use both English and current language input
2017-04-21 21:58:37 +08:00
White
f1ba9cbd01 Resolve issues with /me and chat over heads 2017-04-21 22:39:17 +09:30
CoderCow
97ecb7d570 Fix crystal and golden chests 2017-04-20 15:24:16 +02:00
Lucas Nicodemus
9b419467d6
Replace NetworkText.FromLiteral("") with NetworkText.Empty
Thanks @deadsurgeon42
2017-04-20 00:31:33 -06:00
Lucas Nicodemus
72677506d6
Update to API 2.1 2017-04-20 00:06:27 -06:00
Lucas Nicodemus
2d14533172
Terraria 1.3.5 changes compile (NO GUARANTEES ON EXECUTING) 2017-04-19 18:21:34 -06:00
Lucas Nicodemus
b8dbdb9ff4
Final batch of .name changes 2017-04-19 17:41:15 -06:00
Lucas Nicodemus
2dee3edb3d
Replace more .names with .FullName or .Name respectively 2017-04-19 17:33:17 -06:00
Lucas Nicodemus
95ad2aeeab
Replace more name + Name calls 2017-04-19 17:25:33 -06:00
Lucas Nicodemus
46c42536c9
Replace calls to Main.buffName to Lang.GetBuffName 2017-04-19 17:22:46 -06:00
Lucas Nicodemus
2a5efa65ae
Saving work to apply merge changes
Currently moving .name to .Name and things like that from Item
2017-04-19 17:12:38 -06:00
Chris
5f2037e9ee Merge branch 'general-devel' into logout-permissions-change 2017-04-15 12:17:54 +09:30
Tyler Watson
a102551588 System.Data.SQLite.Core support in GetSqlType()
GetSqlType() does not recognise System.Data.SQLite.Core because the type of the SQL connection class has been renamed to `SQLiteConnection` from `SqliteConnection`.  This commit adds support for both, so that the DB manager classes can operate with plugins which reference the new SQLite ADO.net providers from NuGet.
2017-04-14 17:33:48 +10:00
Aaron Goulet
5110ad0efd Merge branch 'general-devel' into logout-permissions-change 2017-04-13 20:24:08 -07:00
Aaron Goulet
ffe4849747 Default Logout Permissions
Moved Permissions.canlogout to the default permissions group.
2017-04-13 20:22:59 -07:00
Lucas Nicodemus
5183190745 Update Permissions to be more clear on SSI vs SSC 2017-04-12 12:50:16 -06:00
Aaron Goulet
d0ff9efc08 Issue #1371: Grant logout permissions by default 2017-04-02 09:07:44 -07:00
Ruby Rose
787e5e0108 Update RestManager.cs 2017-03-19 19:52:20 +02:00
Ruby Rose
3dac79fcc6 Expand rest info 2017-03-19 20:49:48 +03:00
White
42c7a2b030 Resolved a bug in CommandLineParser,
which caused servers started with a single argumentless flag to not parse the flag.
Closes #1411
2017-03-19 10:06:45 +10:30
White
0bb704a845 Updated version ready for release 2017-03-13 12:18:11 +10:30
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
White
96e855d578 Null check for values in HandlePlayerUpdate.
Might resolve #1405.
2017-03-13 12:12:48 +10:30
White
90505435ba Improved NPC spawning functionality via /sm.
Display names can now be used to find NPCs.
Spawning by ID should now spawn unique NPCs, when multiple NPCs share the same name.
Closes #1383
2017-03-13 12:00:46 +10:30
White
86c180c156 Spawning items by ID now actually uses the ID properly.
Fixes #1398
2017-03-13 11:45:32 +10:30
White
fc7460c7d5 Added and implemented a basic command-line parser.
This replaces the switch-case in HandleCommandLine and HandleCommandLinePostConfigLoad
2017-03-13 11:43:41 +10:30
Simon311
54f6bb3a7e Fix a client crash exploit 2017-03-11 06:08:13 +03:00
White
b3a2b24daa Updated the Stat Tracker to use System.Net.Http types.
Very similar to the previous Update Manager changes. The stat tracker now uses asynchronous threaded calls and manages exceptions better
2017-03-06 21:35:14 +10:30
White
26a5b00567 Updated Utils.HasBanExpired to use new Ban fields 2017-02-21 22:21:28 +10:30
White
3989f0e21a Ban.BanDateTime and Ban.ExpirationDateTime are now nullable, in case of bad bans.
Ban sorting now uses an IComparer<Ban> to do its dirty work.
2017-02-21 22:18:41 +10:30