Commit graph

233 commits

Author SHA1 Message Date
Zack Piispanen
48e1db012c Add fixes for mana and health updates 2013-10-02 01:30:38 -04:00
Zidonuke Ghost
1ffd8f82a9 Delete buffs on login in SSI. 2013-10-01 22:21:05 -04:00
Zidonuke Ghost
fdf7c6ec07 New max health. 2013-10-01 21:36:02 -04:00
Zidonuke Ghost
b8df312144 Transmit player data properly on restore 2013-10-01 21:22:46 -04:00
k0rd
c4bb414ab4 Change remembered position teleporter to a short delay 2013-10-01 19:00:03 -04:00
k0rd
a91930967f fixes for SSC 2013-10-01 18:20:49 -04:00
Zidonuke Ghost
262e6d8349 Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel 2013-10-01 06:22:25 -04:00
Zidonuke Ghost
0d351778a7 Initial server side character system implementation. 2013-10-01 06:22:08 -04:00
Zack Piispanen
98a282cd2a Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2013-10-01 04:53:06 -04:00
Zidonuke Ghost
b2a8198bb1 Client UUID Implementation: Bans and User Auth.
Send ServerSideCharacter flag if set in WorldInfo.
2013-10-01 04:35:49 -04:00
Zack Piispanen
ce73b0c0b5 Add canchat permission as well as godmode being a toggle command. 2013-10-01 04:20:52 -04:00
Zack Piispanen
2621774e85 Updated Commands to use heal packet instead of hearts, enabling godmode. needs permission. 2013-09-30 23:56:59 -04:00
k0rd
f08c1449c9 added /eclipse command 2013-09-30 22:58:32 -04:00
k0rd
6a0306596d changed boundry of tp 2013-09-30 20:43:17 -04:00
Zack Piispanen
fb9a3d0e1b Music box fix 2013-09-30 20:11:01 -04:00
Zack Piispanen
f21adbfc42 GiveItem sets velocity.
Give every player 10 confetti on greet for hype.
2013-09-30 19:45:25 -04:00
Zack Piispanen
d71aacc58d Did some tweaks to Teleport to make the bounds checks in one place.
Fixed item drop packet, as well as update the bounds.
2013-09-30 19:34:43 -04:00
Zack Piispanen
b8a5492b20 Some water fixes. 2013-09-30 19:12:09 -04:00
Zack Piispanen
98a7e7f080 Added SSI Updates. 2013-09-30 18:41:54 -04:00
k0rd
584950bc6f Added a check to see if player has recently lit a fuse
This will prevent cheat detection from wrongly triggering if the player uses a fused explosive and quickly switches to another weapon before the explosive detonates.

I also commented out a block where we force explosives server-side, this would usually cause dynamite to explode in the wrong position when it bounced around too much.
2013-09-30 06:45:33 -04:00
Zack Piispanen
6185559c6a More whoops moments k0rd didnt find for me.
Updated the Server bin.
2013-09-30 01:33:07 -04:00
Steven French
155ed75c99 uncomment StrikeNPC and SetTime packets 2013-09-29 23:21:44 +13:00
Zack Piispanen
1a2f874285 Implemented Packet Teleport mechanism. 2013-09-29 03:37:20 -04:00
Zack Piispanen
e148d29c66 Added packet changes for 1.2 protocol up to 7(world info) 2013-09-29 01:02:07 -04:00
Zack Piispanen
7731bc46f1 More minor fixes 2013-09-28 23:52:51 -04:00
Zack Piispanen
c17b661166 Stripped out stupid shit
Commented packets we dont know about yet.
2013-09-28 17:32:03 -04:00
Zack Piispanen
a3c1b8cc49 Apparently this file didnt want to be commited last time. 2013-09-22 16:27:23 -04:00
Zack Piispanen
7c0bcceb9f Added LastAccessed time field and KnownIPs field to the user database. This resulted in some changes everywhere, such as new logic with default groups. Apparently, somehow, the ip based stuff worked even though no ips were set to properly grab the user group. The wrong group was being assigned to new users resulting in a player with 0 permissions. This is now fixed. 2013-09-21 20:57:14 -04:00
Lucas Nicodemus
ae7ab5f234 Updated copyright information to point to 2013. 2013-08-22 21:51:17 -06:00
Lucas Nicodemus
9470e20423 Line ending normalization to CRLF (Windows) 2013-08-22 21:17:32 -06:00
CoderCow
0ea83746cf -Added REST per-endpoint permissions.
-Added REST endpoint "/v2/server/restart".
-Added REST endpoint "/v2/server/reload".
-Added REST endpoint "/v3/server/rawcmd", will output all returned lines as an array instead.
-Added "uptime", "serverpassword", "rules/ServerSideInventory" fields to REST endpoint "/v2/server/status".
-REST requests are now logged.
-Endpoint "/v2/server/rawcmd" does now check whether the user has the sufficient permission to execute the command.
-Fixed Config.EnableTokenEndpointAuthentication not working properly before.
-Removed obsolete "api" permission (only "restapi" now).
2013-07-25 19:52:12 +02:00
CoderCow
f4aa36b8d1 Fixed a possible bug causing TSPlayer.StrikeNPC to cause NullReferenceExceptions depending on the calling thread. 2013-07-22 12:22:42 +02:00
CoderCow
8c23d68727 -Added "-p" parameter to "/region name" for persistent mode, type "/region name" without "-p" to disable.
-Added "-u" parameter to "/region name". Use to include unprotected regions in the listing.
-Added "-z" parameter to "/region name". Use to include z indexes in the listing.
-Regions displayed by "/region name" are now sorted by z index.
2013-07-01 18:23:56 +02:00
CoderCow
25e584efe3 -Fixed an exploit where players could sneak items through SSI when DisableLoginBeforeJoin was true.
-/overidessi will now actually work on players not logged in...
2013-07-01 12:00:12 +02:00
CoderCow
76aab4af78 Added quick format versions of the TSPlayer.Send<X>Message methods. 2013-06-27 15:04:00 +02:00
MarioE
ae5b47a94e Fixed REST API bug. 2013-01-22 19:12:20 -05:00
Scavenger3
4e768f3231 Added SilentJoin to TSPlayer 2013-01-13 19:10:02 +10:00
Zack Piispanen
0aedf2b108 Added way to have an overridable group that is session based.
New command /sudo <player> <group> will override the player's group with the group specified.
2012-12-15 18:59:25 -05:00
Zack Piispanen
d4709a31f1 Added config option to utilize the allowed group on itembans
Support the config option and allow users on the allowed list to use the banned item.
2012-12-15 00:09:29 -05:00
MarioE
b85bed52d2 That should be all of it 2012-06-04 21:28:47 -04:00
Zack Piispanen
97c40c0ca9 Merge branch '4.0' of github.com:TShock/TShock into 4.0 2012-06-02 23:34:38 -04:00
Zack Piispanen
bc3d9fd528 Added in more instantiation of the command handler callback in the other constructors. 2012-06-02 23:34:28 -04:00
MarioE
0725d14bc6 Enabled color usage in console output 2012-06-02 23:03:36 -04:00
Zack Piispanen
be45fb762b Removed some deprecation messages. Added some more docs. 2012-06-01 13:08:53 -04:00
Zack Piispanen
50ecce618e Added some docs on the player class. Also changed Command Callback to use object's instead of CommandArgs to promote generics. The new /test command will simply send the player a success message so that it can be tested on the console without opening the game( I dont have the game at work and didnt want to worldgen so I have no clue if it works as intended[ will be able to fix etc later tonight as I dont expect many people to be working on this before then] ) 2012-06-01 11:54:05 -04:00
Zack Piispanen
51e1991643 Added Command Callback support 2012-05-31 22:43:07 -04:00
Lucas Nicodemus
43523fd441 Deprecated use of SendMessage(string msg) 2012-05-30 03:39:47 -06:00
Lucas Nicodemus
a1dbd06f8a Changed the colors a bit
I'm aware that there's the top half of the file to do :/
2012-05-30 03:13:04 -06:00
Lucas Nicodemus
c79703131d Replaced a little more
Kill me now this is terrible.
2012-05-30 02:27:42 -06:00
Lucas Nicodemus
fd14dd91e0 Added several new message senders that are easier to use 2012-05-29 22:34:19 -06:00