Commit graph

1496 commits

Author SHA1 Message Date
Zack Piispanen
4c4cd4027d Removed lua, because it shouldnt be here.
Attempted hotfix of trashcan abuse.  User's inventory shouldn't be saved if they are being nagged about logging out.
2012-01-12 18:00:05 -05:00
Zack
491eafd484 Fixed range checking to use the range we specify instead of hardcoded 32. 2012-01-12 11:01:44 -05:00
Zack
e503abcab9 Merge pull request #325 from natrim/itembans-fix
Itembans fix 2
2012-01-12 07:56:17 -08:00
Natrim
4eeb09fb58 somepony forgot debug message here 2012-01-12 14:29:00 +01:00
Deathmax
16c660db44 Fix coins not dropping properly.
Anti-cheat protection was preventing item update packets while dead, which is what occurs when someone dies and drops their items.
2012-01-12 19:38:48 +08:00
Deathmax
0cf287ca11 Increase the projectile range to 128 rather than 100. (2048px) 2012-01-12 19:06:11 +08:00
Natrim
e113982158 don't display '()' in banned item list when no allowed groups is available 2012-01-11 11:29:27 +01:00
Natrim
5b7971f753 fix for banitem deleting in MYSQL 2012-01-11 11:29:13 +01:00
Natrim
64b0a5c434 fix for GetDataHandlers: ERROR: System.IndexOutOfRangeException: Array index is out of range. in TShockAPI.PlayerData.StoreSlot 2012-01-11 11:08:09 +01:00
Natrim
2e7fa14a91 add commands for allowed groups for banned items 2012-01-10 11:17:54 +01:00
Natrim
50eeae2a86 aliases for item banning 2012-01-10 11:17:49 +01:00
Natrim
b4d6908f98 add list items command to display banned items 2012-01-10 11:17:24 +01:00
Lucas Nicodemus
61c4edfcde Disable leave message if the server is full.
TSHOCKPLUGINS-16
2012-01-07 14:22:21 -07:00
Lucas Nicodemus
e17f56fae0 Added new REST endpoints:
- /v2/world/save
 -- Saves the world
 - /v2/world/autosave/state/{bool}
 -- Changes the autosave state of the server

TSHOCKPLUGINS-12
2012-01-07 14:15:08 -07:00
DarkunderdoG
e61593d74c Reverted Previous Change - Debuff's look to be coming from the disable method without msg's to the client will look into this more. 2012-01-07 11:39:36 -06:00
darkunderdog
d03b2e4fbb attempt at fixing debuff erros in cheat protection - Zidonuke may want to look more into this 2012-01-07 10:46:34 -06:00
Deathmax
22b3cfc86e Default HashAlgo to sha512, which is config's default.
Workaround for MD5/SHA512 hashing mixups.
2012-01-07 21:39:38 +08:00
Deathmax
75be35ac22 Merge remote-tracking branch 'origin/general-devel' into general-devel 2012-01-07 19:35:10 +08:00
Deathmax
9297f2ef0d Add REST endpoint
v2 users list - tab-delimited
2012-01-07 19:34:27 +08:00
Middas
13fb4b3156 Adding the SaveWorld event caused an infinite loop of saves, removed it to fix the infinite loop. 2012-01-07 03:25:30 -07:00
Deathmax
78fce47cf8 Fix player position being updated wrongly when teleporting 2012-01-07 14:11:33 +08:00
Deathmax
64d6d2fff1 Merge remote-tracking branch 'origin/general-devel' into general-devel 2012-01-07 13:22:36 +08:00
Deathmax
38deb1293f Re-add the saveworld and NPC.SetDefaults hook events
TSHOCKPLUGINS-10
2012-01-07 13:22:08 +08:00
Lucas Nicodemus
340c0515ea Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-01-06 17:27:23 -07:00
Lucas Nicodemus
04b68eeb94 Merge remote-tracking branch 'remotes/origin/lua' into general-devel
Conflicts:
	TShockAPI/Properties/AssemblyInfo.cs
2012-01-06 17:26:58 -07:00
Deathmax
714746ab6c TSHOCKPLUGINS-9 #close fixed Fixed.
Workaround for REST meteor null reference exception crash. Requires an initializer for genRand if using any WorldGen methods in the future.
2012-01-06 21:58:51 +08:00
Deathmax
946bf2ad49 Fix chairs not having the correct direction
This also fixes purification powder not working, and other stuff that relies on sendtilesquare
2012-01-06 21:52:15 +08:00
Lucas Nicodemus
7c66e97bf1 Version Tick: 3.4.5.0106 2012-01-06 01:07:46 -07:00
darkunderdog
ddf7531d66 Merge branch 'general-devel' of ssh://github.com/TShock/TShock into general-devel 2012-01-04 20:11:34 -06:00
darkunderdog
6079d84c9e Updated Regions.InAreaRegion.Name to allow overlapping regions - For plugins that use this it will require updating the code 2012-01-04 20:11:22 -06:00
Steven French
a1d4328ec4 Added Some Functions. _lua looks good! 2012-01-05 01:49:49 +13:00
Lucas Nicodemus
332fce2eb7 Remove test code. 2012-01-04 04:18:41 -07:00
Lucas Nicodemus
1425a80ed6 Lower case is still full of fail. 2012-01-04 04:18:21 -07:00
Lucas Nicodemus
b6a8b8221d Rule #1 of hooking:
- Do not confuse Lua, it will die.
2012-01-04 03:31:44 -07:00
Lucas Nicodemus
cd482d2ae1 Forgot to remove references to dead code. 2012-01-04 03:28:19 -07:00
Lucas Nicodemus
1d1c15f808 Added a basic implementation of a hooking system.
Related to TSHOCKPLUGINS-6
2012-01-04 02:43:46 -07:00
high
4edea352a0 works? 2012-01-03 22:46:26 -05:00
Lucas Nicodemus
0e29b7a305 Staging 2 2012-01-03 19:21:59 -07:00
Lucas Nicodemus
47cbe4fd33 Committing what I have for Lua hooking. Any ideas? 2012-01-03 18:51:22 -07:00
Lucas Nicodemus
d28fef8e1e Implemented permissions for lua and some commands to work with it.
TSHOCKPLUGINS-4 is completed.
2012-01-03 18:07:55 -07:00
Lucas Nicodemus
15d9a2aa8c More basic prep.
TSHOCKPLUGINS-4
2012-01-03 17:44:54 -07:00
Lucas Nicodemus
c45291eb6b Basic Lua loading prep.
TSHOCKPLUGINS-4
2012-01-03 16:54:38 -07:00
Lucas Nicodemus
264e633202 TSHOCKPLUGINS-2 #resolve #comment Added. 2012-01-03 15:29:36 -07:00
Lucas Nicodemus
5d61a56fcd Add new REST endpoint:
- /v2/token/password?username={user}

TSHOCKPLUGINS-1 #resolve #time 5m #comment Deprecating old token create syntax, new endpoint added as a replacement.
2012-01-03 15:18:05 -07:00
Deathmax
e1d11ca96a Provide feedback when using hardmode commands 2012-01-03 15:31:38 +08:00
Lucas Nicodemus
d8e92e5ed0 Fixed 'shank forgot how to assign variables to an array' error on several rest calls. 2012-01-02 22:52:23 -07:00
Lucas Nicodemus
e8acdb0b96 Fixing some silly mistakes. 2012-01-02 22:39:04 -07:00
Lucas Nicodemus
be29a2cfcf Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-01-02 22:15:08 -07:00
Lucas Nicodemus
b8e4dffd74 Add new REST endpoint:
- /v2/server/rawcmd

Takes parameters:
 - cmd

Commands have to start with /, some commands aren't written properly, and may not return any more output than a status code.
2012-01-02 22:14:30 -07:00
Zack Piispanen
f82f05064a Added stack count to /v2/player/read 2012-01-02 16:42:55 -05:00