Commit graph

361 commits

Author SHA1 Message Date
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
Deathmax
b0f5466495 Added -worldpath, changes the path Terraria looks for worlds. 2011-07-04 21:29:58 +08:00
Deathmax
949256dd1a Make sure client is connected before sending packet. 2011-07-04 17:58:12 +08:00
Deathmax
169d1a02d4 Added a little message to remind players to enable PvP on join for forced PvP. 2011-07-04 17:56:07 +08:00
Deathmax
718764e533 More race conditions. 2011-07-04 17:32:49 +08:00
Deathmax
2d53001197 Merge commit '65a7998b16' into general-devel
Conflicts:
	TShockAPI/Commands.cs
2011-07-04 17:08:40 +08:00
high
9a3cf85cf2 NPC.maxSpawns should be NPC.defaultMaxSpawns 2011-07-04 00:44:04 -04:00
Twitchy
a10a0ce6ee Makes server save in background, stops server lag on save
Keeping lag broadcast just in case
2011-07-03 18:27:57 +12:00
Deathmax
e4ee06f659 Broadcast on saveWorld.
(Latest API required)
2011-07-03 10:51:49 +08:00
Deathmax
e680e39bb0 Teleport should now work without touching spawnTile 2011-07-03 09:37:48 +08:00
Deathmax
e95ea38d35 Revert teleport 2011-07-03 01:37:01 +08:00
Deathmax
4a6bacfe98 God damn casts 2011-07-02 22:07:36 +08:00
Deathmax
552970c8d5 Change Teleport to not modify spawnTileX/Y (not tested.) 2011-07-02 21:49:07 +08:00
high
91abde27d2 ConfigFile and ConfigurationManager merged into 1.
Check OnConfigRead for a list of variables that will now be updated when the config file is reloaded.
2011-07-01 13:19:16 -04:00
high
55fb103630 Added null checks 2011-07-01 10:31:54 -04:00
high
b01e244f48 TShock now loads before other plugins.
Removed unnecessary logs
2011-07-01 09:47:23 -04:00
Lucas Nicodemus
a4e148e9ef Closes #163 2011-07-01 03:36:40 -06:00
Lucas Nicodemus
a66d016fcb Added /broadcast and /bc
Admin chat color and prefix are now optional
2011-07-01 03:35:24 -06:00