Commit graph

378 commits

Author SHA1 Message Date
high
7a829d347b Added support for sha256 and md5. 2011-07-24 14:26:52 -04:00
high
1a49d68dc4 Now logs null sockets on unhandled exception in serverloop/listenforclients. Hopefully to track down the null error in terraria. 2011-07-24 01:14:50 -04:00
high
95bdb6d62e added null check to backupmanager 2011-07-23 01:19:59 -04:00
high
a49269cc0c Create save path first 2011-07-23 00:50:30 -04:00
high
50084c13de Initialize log should be first so we can log any errors.
Removed duplicate code in Initialize
2011-07-22 23:19:01 -04:00
Lucas Nicodemus
8fe66e2ba4 VERSION TICK 3.0.2.0722
Changed lots of crap
2011-07-22 03:06:23 -06:00
Lucas Nicodemus
63f935b4fd Fixed a problem where KillTile thresholds were never reset.
VERSION TICK: 3.0.1.0722
2011-07-22 02:25:08 -06:00
Lucas Nicodemus
d1e29e1035 VERSION TICK: 3.0.0.0721 2011-07-21 15:05:52 -06:00
Lucas Nicodemus
529f51d95e Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-07-21 12:31:58 -06:00
Lucas Nicodemus
0aea895a59 Import system now imports UserIDs 2011-07-21 12:31:11 -06:00
Graham Cantin
9f6038205f * high6's amazing lag-destruction patch...
255 syncs per player? To quote sealab2021:
THERE CAN BE ONLY... NONE.
2011-07-21 09:03:38 -07:00
Lucas Nicodemus
b9842a19c8 Fixed warps (and by that I mean nothing was broken anyway). 2011-07-21 01:19:55 -06:00
Zack Piispanen
3ce6de9e20 Merge branch 'master' of github.com:TShock/TShock
Conflicts:
	TShockAPI/Group.cs
	TShockAPI/TShock.cs
2011-07-20 20:58:26 -04:00
Zack Piispanen
cfcc0e7276 groups work, with inheritance, still need to remove order by 2011-07-20 20:55:49 -04:00
Lucas Nicodemus
8fa45f4aae Attempting to fix permissions 2011-07-19 20:36:15 -06:00
Lucas Nicodemus
407d327236 Attempting a work around for DNS host resolution. There will now be a configuration parameter that will enable the check. This is expensive, and not recommended, but a better reserved slot system will be done in the future.
Closes #254
2011-07-19 17:27:54 -06:00
Lucas Nicodemus
acc5784d16 Fixed region detection 2011-07-16 02:34:16 -06:00
Lucas Nicodemus
f271d10c7b Path combine fail fixed for the auth code system. 2011-07-14 13:55:39 -06:00
Deathmax
37d30cd49e Check tile thresholds and banned items every second instead of every update.
Increase tile threshold to accommodate for ^.
2011-07-14 15:46:40 +08:00
Lucas Nicodemus
1b858be7a9 Added Region class with a few overloads and IsProtectedArea 2011-07-13 22:38:28 -06:00
Lucas Nicodemus
18ee7eccab -port works 2011-07-13 17:25:20 -06:00
high
6468ed7562 This is not C, stop doing return codes especially without doing an enum.
Databases can store other things besides strings.
If you do not like changes from this commit feel free to revert it. Just giving some last insight on this branch.
2011-07-13 14:14:39 -04:00
Lucas Nicodemus
bab6d6cd2e /auth-verify now removes authcode.txt
Some strings have been shortened to comply with Terraria's inability to move text that is too long to the second line.
2011-07-13 03:03:02 -06:00
Lucas Nicodemus
20187bb872 Fixed nasty bug if the save folder didn't exist. 2011-07-13 02:42:06 -06:00
Lucas Nicodemus
2608ca0779 We want PRIMARY keys, not UNIQUE keys, because UNIQUE without PRIMARY means absolute BULLSHIT. 2011-07-13 02:42:06 -06:00
Lucas Nicodemus
1d91e6138e Debug notice on DeInit. 2011-07-13 01:02:24 -06:00
Lucas Nicodemus
ec07c38b86 PID file is now deleted on server shutdown.
Console warning if it was shutdown improperly.
2011-07-13 00:56:00 -06:00
Lucas Nicodemus
b242bfde17 Dear Path.combine: Fuck you 2011-07-13 00:52:49 -06:00
Lucas Nicodemus
9ffa0046e8 Server creates Process ID File (./tshock/tshock.pid) for GSPs 2011-07-13 00:47:52 -06:00
Twitchy
30d0d48386 Added reader closing (if it will help) and returns default group rather than "null" 2011-07-12 21:16:59 +12:00
Twitchy
c090d9a9f6 Fix save world issue 2011-07-12 20:38:03 +12:00
Lucas Nicodemus
b629c6e48f Added authcode.txt, which will contain the auth code until the auth system is disabled. GSPs may provide this with the thought that users will be able to become superadmin a lot easier than before.
Fixed numerous cases where paths were incorrect, thanks to what ever dev has a Paths.Combine fetish, and doesn't want to use the obsolete function.
2011-07-12 00:22:10 -06:00
Lucas Nicodemus
8f5d33e49b Added /auth-verify to turn off the auth system. 2011-07-12 00:04:15 -06:00
Lucas Nicodemus
ae7763676e Moved credits 2011-07-11 23:22:50 -06:00
Lucas Nicodemus
fa41521986 Added hacky way of dealing with spammed build protection messages. 2011-07-11 23:19:05 -06:00
Twitchy
bccbf46164 Fix some merge errors 2011-07-12 15:54:40 +12:00
Twitchy
9cefc69075 Merge branch 'sql' of github.com:TShock/TShock into general-devel-sql (test) 2011-07-12 15:49:24 +12:00
Twitchy
3e17e42a37 Adds MySql Support 2011-07-12 13:31:36 +12:00
Twitchy
bbcf84ed4a Adds Itembans into SQL, in game commands not added yet, but can use a DB editor to add bans 2011-07-10 13:08:19 +12:00
high
b382125cc5 Removed mousefontchars, valid chars are 0x20-0xA9(32-169)
Added checking to player names too.
2011-07-09 10:00:00 -04:00
Deathmax
1cd0f4c74b Fix Jexius's font exploit. 2011-07-09 21:17:54 +08:00
Deathmax
d04ef15427 Changed how rcon outputs commands
Changed how rcon handle commands
Added inforesponse and statusresponse
2011-07-09 12:34:58 +08:00
Twitchy
cb7033d89c Adds UserManager to sql
Changes the way Warps and Regions are stored
A few other minor tweaks
2011-07-09 16:33:07 +12:00
Deathmax
a465943eee Added rcon packet handling. 2011-07-08 22:44:19 +08:00
Twitchy
1d5ac77255 Made console change text color depending on messages 2011-07-08 23:38:02 +12:00
high
6d531283fc Moved BanManager/WarpsManager
Added UserManager (empty)
2011-07-08 04:00:53 -04:00
high
27adb98b6f Removed the onsenddata hook and added a raw send command.
Added WorldInfoMsg for constructing the world info packet.
2011-07-08 03:42:42 -04:00
high
07a758d0e6 Size changed from just 3 to <6. Chairs/Beds should be working now. 2011-07-07 22:42:22 -04:00
Steven French
b090b1fe96 Warps are now SQL based (sql branch)
Need to make warps auto copy from old structure
2011-07-05 21:08:11 +12:00
Lucas Nicodemus
34d39bd8d3 Read hashes are now converted to uppercase when checked to preserve computability with php's sha512 hashing. 2011-07-05 00:58:06 -06:00