Commit graph

419 commits

Author SHA1 Message Date
Deathmax
9ed5f7a2f5 Added geoip support.
(grab the database from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and dump it in the tshock folder)
2011-09-02 12:28:19 +08:00
high
8bb8114223 Fixed not setting kill when disconnecting a client. Handling the disconnect packet makes Terraria not set ServSocket.kill. 2011-08-24 22:22:57 -04:00
high
625bab753b Fixed getRegion not returning null (functions using it were expecting null too)
Disabled noclip check. (general-devel is not general-test)
Added null check to /region info (Don't commit shit that you know is broken)
2011-08-20 13:04:24 -04:00
Deathmax
05f0e9d717 bounds check for noclip detection 2011-08-21 00:47:39 +08:00
Deathmax
96ea583264 Noclip detection now uses the tile blacklist. 2011-08-21 00:27:07 +08:00
Deathmax
85f1ba6643 Force respawn after death.
(prevents some forms of invisibility)
2011-08-20 20:45:19 +08:00
Deathmax
eb88dc8924 Basic noclip detection (high chance of false positives, only text warning atm) 2011-08-20 17:33:58 +08:00
high
b06ec57819 Permission magic strings removed 2011-08-18 21:10:39 -04:00
high
fc03e72c77 Forgot to handle disconnect messages.
Fixed GetIPv4Address throwing socket exception
2011-08-18 20:04:16 -04:00
high
dcadec30de Improved buffering slightly.
Disconnect messages are no longer buffered. (Fixes disconnect messages not being received)
2011-08-18 19:55:12 -04:00
high
7b58100546 Fixed issue of the client being killed before receiving the disconnect message. 2011-08-17 21:45:41 -04:00
high
1fa5fdcf04 Implemented SaveWorldOnCrash 2011-08-17 17:19:02 -04:00
high
445a3fd9d8 Added event 'TShock.Initialized' that is called after tshock is initialized.
'Called after TShock is initialized. Useful for plugins that needs hooks before tshock but also depend on tshock being loaded.'
2011-08-15 19:02:10 -04:00
high
ad664bfcca Moved item ban checking into the PlayerSlot handler. Still has the issue of kicking the person too early though. 2011-08-13 12:50:53 -04:00
high
258b7d48fb Added TShock.SendBytes which uses packetbuffer if available, otherwise sends like normal. 2011-08-12 23:17:23 -04:00
high
2a0bf9036a Hashing now supports xp. Simply append "-xp" to the algorithm name.
Fixed kicking for mana over 200, max mana was raised to 400 in 1.0.6.
2011-08-10 05:25:17 -04:00
high
ceefbfdb03 Merge branch 'general-devel' of github.com:TShock/TShock
Conflicts:
	TShockAPI/PacketBufferer.cs
	TShockAPI/Properties/AssemblyInfo.cs
2011-08-09 18:42:31 -04:00
high
f2df7be202 updated api version attribute 2011-08-09 18:25:06 -04:00
darkunderdog
6b9e462ff4 adding logged in username to /playing in console - TShock Edit 2011-08-08 19:46:40 -05:00
high
80af1c52ca Made handle checks consistent. Also some of us don't have a lot of horizontal space. 2011-08-07 03:01:29 -04:00
Twitchy
b061a6c085 Adds some e.handled checks 2011-08-07 18:55:32 +12:00
high
56eca71853 Fixed SCA warnings 2011-08-06 16:49:40 -04:00
Twitchy
e581f69249 Few other fixes 2011-08-06 13:49:47 +12:00
high
3fcb95f9a4 Added config option for Server Full kick reason.
Added config option to display group names in chat
2011-08-05 02:02:04 -04:00
high
2a20af352a Removed testing code 2011-08-05 01:49:19 -04:00
high
7049fd65cd Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
Conflicts:
	TShockAPI/Properties/AssemblyInfo.cs
2011-08-05 00:40:24 -04:00
Lucas Nicodemus
a0ad2a63d7 VERSION TICK: 3.2.0.0804 2011-08-04 22:35:44 -06:00
high
0801281c91 Added exception handler to initialize. For some reason CurrentDomain_UnhandledException isn't catching it. 2011-08-04 18:11:14 -04:00
high
65df558f33 Removed debug code 2011-08-04 16:55:48 -04:00
high
4bab43466c Adding classes to make querying between sqlite/mysql easier 2011-08-03 02:52:44 -04:00
high
1d042fccaa Added packet buffering 2011-08-02 17:16:56 -04:00
high
b9cb3e69e1 db.open/close not needed with new query functions 2011-08-01 19:34:09 -04:00
high
5cb8e019bf Updated api to 1.6 (for incoming networking improvements) 2011-08-01 18:50:16 -04:00
Deathmax
ee58ccb496 Handle chat messages so that they don't display twice. 2011-07-31 21:48:18 +08:00
Twitchy
5ff8680ccb Adds chat colors to player groups. 2011-07-31 23:36:21 +12:00
Deathmax
031721c169 Remove Twitchy's item.txt generation 2011-07-31 14:24:50 +08:00
Twitchy
b09b0ba9f2 Fixes RememberPosManager and player sprites showing on server, when they are not there 2011-07-31 15:31:57 +12:00
Twitchy
b291e25f94 Fix players appearing to still be on server on world load after incorrect exit 2011-07-29 21:35:33 +12:00
Twitchy
917865cab5 OrderBy... Bye bye. DBTool fixes 2011-07-29 12:21:28 +12:00
Twitchy
bc2bfd5485 Adds DBTools.cs (Create and Insert Table) 2011-07-27 18:22:12 +12:00
Lucas Nicodemus
37146adb4c Resharper code cleanup, including:
- Optimized using statements
 - Removal of redundant code
2011-07-26 23:37:06 -06:00
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