Commit graph

118 commits

Author SHA1 Message Date
Deathmax
2c1c75db2b Add /buff <buff id/name> 2011-08-20 12:14:49 +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
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
56eca71853 Fixed SCA warnings 2011-08-06 16:49:40 -04:00
Twitchy
dd33927e76 Added private/public warps. Todo before release - make warps with spaces hide. (Too tired. Cannot finish) 2011-08-02 23:18:53 +12:00
Lucas Nicodemus
e990732da3 Log spew! 2011-07-30 17:01:43 -06:00
Twitchy
8f28bd2b7d Adds SetTable to DBTools, makes Tools and FileTools public, for TShock mods 2011-07-28 23:22:35 +12:00
Lucas Nicodemus
37146adb4c Resharper code cleanup, including:
- Optimized using statements
 - Removal of redundant code
2011-07-26 23:37:06 -06:00
Lucas Nicodemus
71d05f51ec Fixed broken auth system. 2011-07-24 17:36:57 -06:00
high
7a829d347b Added support for sha256 and md5. 2011-07-24 14:26:52 -04:00
high
cfd2fdcb67 Tidied GetIPv4Address, it does return the ip if an ip is passed 2011-07-19 19:36:39 -04:00
Lucas Nicodemus
2212c81442 Passwords are now hashed properly 2011-07-15 21:50:18 -06:00
Lucas Nicodemus
080ba6ca2b Blank passwords no longer result in "heightheightheightheight"
Try/Catch around login function
2011-07-14 13:50:00 -06:00
Deathmax
e6d612ea4b Don't kick a player if they destroy a chest that is client side only due to hitting the max number of chests. 2011-07-14 22:37:29 +08:00
Lucas Nicodemus
5b79212b8f Tweaked around with the region code a lot.
Databases will need to be rebuilt past this build.
2011-07-14 01:47:57 -06:00
Twitchy
eda5cfc10d Fixes SQL not working correctly. and saving 2011-07-12 22:47:36 +12: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
Twitchy
9cefc69075 Merge branch 'sql' of github.com:TShock/TShock into general-devel-sql (test) 2011-07-12 15:49:24 +12:00
Twitchy
0997b5bd5d Adds group manager, editable only by DB program. 2011-07-11 20:33:03 +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
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
718764e533 More race conditions. 2011-07-04 17:32:49 +08:00
Deathmax
061169633d Fix race conditions with saveWorld threading. 2011-07-04 17:20:21 +08: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
high
71a518830c GetGroup wont return null now. *glares at mav* 2011-07-01 16:45:21 -04: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
4e87ceb84f Changed to SHA512 2011-07-01 02:09:21 -04:00
Lucas Nicodemus
c5c0a7e506 Out with the new! In with the old! 2011-06-30 20:02:47 -06:00
Lucas Nicodemus
2c5f6387a6 Fixing retarded SHA2 hashing 2011-06-30 19:52:00 -06:00
Lucas Nicodemus
da055867c9 Added basic system for logging in and adding users ingame. 2011-06-30 19:41:37 -06:00
Deathmax
679a28af0a Added /displaylogs. Toggles log output to player who executed the command. 2011-06-24 21:32:04 +08:00
Deathmax
5e7130aa88 users.txt can now use a hostname. 2011-06-23 22:07:34 +08:00
Twitchy
c45696efb2 Changes region allow to use IP addresses rather than names. Cancels out name spoofing. 2011-06-23 16:11:58 +12:00
ricky
d5875810a1 GetItemByName and GetNPCByName return only one item if full name match, so names like "silver brick" will now work instead of warning multiple match found ("Silver Brick" and "Silver Brick Wall") 2011-06-18 02:48:05 +10:00
ricky
bf49ae7b99 Added InventorySlotAvailable to TSPlayer
Using TSPlayer.GiveItem from /item and /give
Fixed TSPlayer.GiveItem not setting stack size
2011-06-17 16:17:28 +10:00
ricky
4dc5d7f58e Added GiveItem in TSPlayer
/heal using GiveItem from TSPlayer
Added GetItemById and GetItemByName in Tools
2011-06-17 15:28:23 +10:00
ricky
8dc1bcff0d Added /king to spawn king slime.
/eater, /eye, /king, /skeletron and /hardcore accept an optional amount arg
/skeletron changes time to night before spawning (still have to set time manually if using /spawnmob "Skeletron Head")
2011-06-17 14:29:48 +10:00
ricky
8fa4687f33 Randomized spawn point for mobs (range 50x20 tiles in all directions) 2011-06-17 13:11:28 +10:00
ricky
51aa337839 Added support to spawn all types of slimes (have to use the full exact name)
Added SpawnNPC in TSServerPlayer
Warn user if multiple mob with name are found
2011-06-17 11:21:37 +10:00
ricky
7bccfbe441 Added Disconnect, SendTileSquare, SetPvP to TSPlayer
Added SetBloodMoon, SetTime, StrikeNPC to TSServerPlayer
2011-06-17 02:09:30 +10:00
ricky
f84949affa All commands now working from console (some print message that they can't be performed from console)
PlayerDamage accept TSPlayer
Added property to check if TSPlayer is real and if connection for that player is alive
2011-06-16 13:18:48 +10:00
ricky
15924c543e Notify user if command failed
Fixed /heal not working from server console (cant heal self from console now)
/playing from console now outputs the same as the overridden playing
Using args.Player or args.TPlayer in commands instead of Index
2011-06-16 12:09:50 +10:00
ricky
bc18550a3f Fixed ForceKickAll using the wrong Player.Active
Fixed logs being sent to non active player
Notify the server console as well when tshock updates are available
Made all command methods private
2011-06-16 10:12:12 +10:00
ricky
9c5bb75ac8 Don't need the testing releated log statement anymore 2011-06-16 01:06:19 +10:00
ricky
a976c51101 ForceKick now takes in TSPlayer instead of int
Removed Tools.GetPlayerIP, use TSPlayer.IP instead
2011-06-16 01:04:28 +10:00
ricky
921f8ad4ee Missed converting some for loops into foreach 2011-06-15 21:02:20 +10:00
ricky
1ea6d2e955 Fixed exception in commands crashing the server
Removed Tools.WriteError using Log.Error instead.
2011-06-15 20:54:32 +10:00