Commit graph

219 commits

Author SHA1 Message Date
Lucas Nicodemus
3e5c1bf0c5 Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-09 21:06:47 -07:00
Lucas Nicodemus
434e817b68
Merge branch 'general-devel' into fix-permdump 2017-12-09 19:29:34 -07:00
Zaicon Kiroshu
4638b85adc Fixed IndexOutOfRange exception 2017-12-09 18:48:40 -06:00
Lucas Nicodemus
14c071350c Mark Utils.DumpPemrissionMatrix as internal 2017-12-09 17:15:21 -07:00
Lucas Nicodemus
985dcebda9 Comment what DumpPermissionMatrix does 2017-12-09 17:14:59 -07:00
Lucas Nicodemus
63179deaa5 Adds /dumpdata which dumps the permission table & ref data. 2017-12-09 15:54:51 -07:00
Lucas Nicodemus
031398591a Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-09 08:44:49 -07:00
Edgar Luque
6589531868 Renamed TShockAPI.DB 'User' to 'UserAccount' 2017-12-08 01:38:15 +01:00
Lucas Nicodemus
4e3cd00848 Merge branch 'general-devel' into fragments 2017-12-06 21:14:45 -07:00
Lucas Nicodemus
349770e6ed Remove more silly comment style problems 2017-12-06 17:10:05 -07:00
Lucas Nicodemus
215fc4a9b1
Merge branch 'general-devel' into rps 2017-12-06 13:00:36 -07:00
Lucas Nicodemus
fc233bd3f1 Move ComputeMaxStyles to Utils 2017-12-04 21:57:59 -07:00
Lucas Nicodemus
e85d79e23d Move Distance to Utils.Distance 2017-12-04 21:53:46 -07:00
Lucas Nicodemus
17982bd766 Move SetConsoleTitle to utils 2017-12-04 21:49:56 -07:00
Lucas Nicodemus
7c47fbb3f2 Move FixChestStacks() to utils 2017-12-04 21:45:25 -07:00
Lucas Nicodemus
c869464d81 Add DumpPermissionMatrix() which dumps a markdown permission matrix
Note that -dump apparently isn't working lately. You probably want
to call Utils.Dump() manually and invoke it in a custom build.
2017-12-03 12:56:34 -07:00
Lucas Nicodemus
718525904a Add remaining backbone for banning accounts (sort of)
Frontend still doesn't work properly. In particular:

1. Need a way to list bans by account name.
2. Need a way to unban by account name.
3. Really need a way to change the IP on a ban lol.

Ban system still needs to be be rebuilt fully, but at least this
doesn't necessarily character ban someone if you were going for an IP
ban.

Fixes #1412
2017-12-02 20:41:14 -07:00
ProfessorXZ
5a04b66514 Make Utils.GetBuffDescription actually return the buff's description & properly read 'buffTime' from the stream. Fixes #1469 2017-09-08 21:59:13 +02:00
ZIT WANG
961c857c4b Resolve duplicate negative ids items in Utils.GetItemByName 2017-05-02 19:43:30 +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
Lucas Nicodemus
36538caa43 Merge pull request #1426 from mistzzt/t-1.3.5
Add Localization support
2017-04-22 10:01:34 -06:00
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
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
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
46c42536c9
Replace calls to Main.buffName to Lang.GetBuffName 2017-04-19 17:22:46 -06:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +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
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
White
26a5b00567 Updated Utils.HasBanExpired to use new Ban fields 2017-02-21 22:21:28 +10:30
White
b0d9407f52 Fixed tabbing in Utils.HasBanExpired 2017-02-21 21:43:19 +10:30
Lucas Nicodemus
b4f37a60c9 Merge branch 'general-devel' into mintaka 2016-12-14 10:02:02 -07:00
Lucas Nicodemus
f13d8b51c6
Fix Main.rand not being initiated with UnifiedRandom 2016-12-12 13:20:55 -07:00
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy) 2016-12-06 17:36:44 -07:00
DogooFalchion
8f1adcce4d Who knew readme.io was so difficult :D 2016-10-26 18:50:48 -04:00
DogooFalchion
c35389f9f8 Break Item dump into versions. Readme.io 400kb limit O_o 2016-10-26 18:08:07 -04:00
DogooFalchion
1a622f241f Fix formatting for readme.io 2016-10-25 22:20:03 -04:00
DogooFalchion
b7019b6166 Add a few more dumps to TShock, to facilitate keeping the documentation up to date. 2016-10-25 18:58:04 -04:00
Lucas Nicodemus
1328d71fdc Merge pull request #1317 from DogooFalchion/motd
Update MotD file parsing to convert color formats into smart text.
2016-10-23 19:27:52 -06:00
DogooFalchion
8df7e0c298 Backup old MotD and convert it to using Terraria chat tags automatically, then write it back out to the MotD file. 2016-10-23 14:37:16 -04:00
DogooFalchion
fcca88c2d6 Add support for start of line colors and terraria chat tags being nested. 2016-10-23 14:01:36 -04:00
Lucas Nicodemus
a0c4864567
Removed all obsolete methods from TShock 2016-10-23 06:09:17 -06:00
DogooFalchion
31794b6a27 ShowFileToUser shouldn't assume the file is in the TShock folder. Use the file path variables where we can. Use smart text instead of removing color parsing. 2016-10-22 19:01:27 -04:00
White
09bbf8abe8 Removed colour parsing from the ShowFileToUser method.
Also added an info log message if a file contains the old format.
Fixes #1314
2016-10-20 21:03:25 +10:30
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
Simon
5be85b9864 Ensure that players can not connect once the server started shutting down 2016-10-16 13:58:05 +03:00
Enerdy
e31cdfb7d5 Handle the MassWireOperation packet. Fixes #1190 2016-05-28 19:16:52 +01:00