MarioE
61b8885ba0
Fix the last sendtilesquare exploit, I hope.
2013-10-23 18:08:21 -04:00
Zack Piispanen
b22457382e
remove unused using statements
2013-09-17 02:24:02 -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
76aab4af78
Added quick format versions of the TSPlayer.Send<X>Message methods.
2013-06-27 15:04:00 +02:00
CoderCow
102c50a638
Fixed /region allowg adding an already existing group to the database multiple times.
2013-06-27 12:18:37 +02:00
CoderCow
f7edbe55d6
Fixed /region allow adding an already existing user id to the database multiple times.
2013-06-27 10:46:59 +02:00
Zack Piispanen
410f6cf872
Fixes some potential issues with concurrency, as well as cleaning up my z index check.
2012-12-14 23:40:38 -05:00
Zack Piispanen
88394ac561
Added back in region manager.
...
Added back in spawnmob commands, including the obsolete boss commands.
2012-09-15 16:20:16 -04:00
Zack Piispanen
b56a77b39d
Removed the Region code. Left todo's for the places where we currently reference it though.
2012-05-30 20:12:27 -04:00
Lucas Nicodemus
8d5cdf04a8
Update copyright to reflect actual year date.
2012-04-24 12:45:46 -06:00
Zack Piispanen
b5504d2319
Z index based regions
2012-04-15 15:39:09 -04:00
stevenh
41dbd31aac
Converted all files to LF line endings
2012-02-21 15:56:34 +00:00
k0rd
217d001baf
option to overload Region.InArea() with x,y for more accurate Region detection.
2012-02-04 18:00:33 -05: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
Lucas Nicodemus
bf9d0137f1
Added any missing license headers to all files
2012-01-01 03:06:48 -07:00
Lucas Nicodemus
2bfdaaaabc
Remove flat file conversion code
2012-01-01 02:48:15 -07:00
Lucas Nicodemus
c6abbfe4d2
ReSharper code reformat to match naming conventions and stuff
2011-12-30 14:38:04 -07:00
Lucas Nicodemus
1147788154
ReSharper redundant code cleanup
2011-12-30 14:32:05 -07:00
Zack Piispanen
4c468b7f3c
Item bans now have a group component. Adding a group to an item ban will allow that group to use the item.
...
Also fixed chests/items in chests being null when we truncate stack sizes.
Added code to let anyone with manageregion permission to modify regions...make sense.
2011-12-27 19:14:42 -05:00
Zack
d92537fd87
Moved the else from Midas' commit that reset the groups allowed in the event of an error, we can just ignore it instead of resetting. Move initialization of the list to the constructor.
2011-12-27 09:40:45 -05:00
Justin
f9b1af1b19
fixed null pointer exceptions during save and initializing regions
2011-12-26 12:53:16 -07:00
Zack Piispanen
d0a9b47f2f
You can now add entire groups to a region. You can define as many groups as you want to a region, just like users. The new commands are /region allowg group region and /region removeg group region.
...
Any player in the group has build rights in the region.
2011-12-24 15:21:16 -05:00
Lucas Nicodemus
bb711f8e1d
Merge pull request #296 from erikive/patch-3
...
Added a method for resizing a region.
2011-11-01 18:05:00 -07:00
high
b2f47f57ac
Updated to new binary (with the api merged).
...
Removed System.Drawing dependency
2011-09-24 18:30:19 -04:00
erikive
c190943f88
Edited TShockAPI/DB/RegionManager.cs via GitHub
2011-09-23 19:13:45 -05:00
Zack Piispanen
7a57a8073c
Added method for region SINCE THE FUCKING UNIT TESTS RELIED ON IT AND NO ONE FUCKING FIXED IT
...
Region unit tests work again.
2011-09-03 02:13:19 -04:00
Lucas Nicodemus
301a6dfadd
Attempting to fix UnitTests/RegionManagerTest.orderedtest
2011-09-02 23:59:04 -06:00
Lucas Nicodemus
442a5b4202
Stuff
2011-09-02 23:21:01 -06:00
high
a9a153ddb6
Fixed AddRegion returning false when the region does not exist.
2011-08-20 18:16:33 -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
Lucas Nicodemus
e3dc989387
Fixed #86
...
RegionManager now returns false on GetRegionByName if the region already exists in the database.
Fixed coding convention fuckup
ReSharper code cleanup
2011-08-19 21:35:56 -06:00
high
b06ec57819
Permission magic strings removed
2011-08-18 21:10:39 -04:00
high
4dae27001c
Regions can now be defined in any direction.
...
Fixed column names are now in the insert. This should fix any weirdness with column order.
2011-08-17 18:21:32 -04:00
Zack Piispanen
ec63e61e1f
regions should work, and load from db at start.
...
regions also have remove syntax, /region remove user region which removes them from the list, if they exist.
2011-08-15 18:18:35 -04:00
Zack Piispanen
e0d509982f
Regions will be less borked now, we hope.
...
Unit test is now included for group( simple one )
2011-08-15 17:27:17 -04:00
darkunderdog
8d2d41d0c9
Adding getting region name for region messages
2011-08-12 00:03:43 -05:00
high
8d2a90cee3
Misc changes
2011-08-08 00:13:08 -04:00
high
56eca71853
Fixed SCA warnings
2011-08-06 16:49:40 -04:00
high
1a801b268c
All managers now use querybuilder for creating tables to make for easy changes.
2011-08-03 19:55:23 -04:00
Lycaonj
b103725422
Added sanity checks when loading UserIds from the Regions table. Fixes small gotcha when using the .NET Split() function.
2011-08-01 19:11:29 -05:00
Lucas Nicodemus
37146adb4c
Resharper code cleanup, including:
...
- Optimized using statements
- Removal of redundant code
2011-07-26 23:37:06 -06:00
high
e8a5e7fb58
Now uses Query/QueryReader
2011-07-24 12:33:00 -04:00
high
d39d9e5127
Reapplied my region changes that were lost from a bad conflict merge
2011-07-24 11:27:00 -04:00
high
57a2d082ef
Added query function for easier queries.
...
Normalized method names in GroupManager.cs
2011-07-24 10:12:18 -04:00
Zack Piispanen
d515616f72
A few more tests
2011-07-23 22:27:21 -04:00
Lucas Nicodemus
5c59ebf71a
Merge remote-tracking branch 'remotes/origin/general-devel'
...
Conflicts:
TShockAPI/Commands.cs
TShockAPI/DB/GroupManager.cs
TShockAPI/DB/RegionManager.cs
TShockAPI/Properties/AssemblyInfo.cs
Terraria.sln
2011-07-23 17:25:20 -06:00
Zack Piispanen
732121bdf5
region basic tests added
2011-07-23 18:07:15 -04:00
Zack
1468bbaa85
width + x1 = x2...
2011-07-22 23:18:59 -07:00
Lucas Nicodemus
219f5a8cfb
WorldIDs
2011-07-22 23:35:21 -06:00