Commit graph

437 commits

Author SHA1 Message Date
Lucas Nicodemus
484ebd6d81 Do not auto-recreate the default groups on startup 2015-02-21 17:13:01 -07:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
Zack Piispanen
d5527ade42 Add length to database primary keys.
Tweak some of the itembans code to be less inefficient.
Removed a chunk of code from the buff code that prevented users from being buffed with a buff that comes from an item.  This code seemed to cause max cpu usage when being disabled.  I don't think this code is useful, but I leave that to people who own servers.  IMO all buff code should be removed.
2014-09-15 09:05:28 -04:00
Zack Piispanen
1421c23df7 Remove crappy spaces in this file. 2014-09-03 02:48:57 -04:00
Zack Piispanen
1c7fe908b6 Delete a bunch of cruft that has gone unmaintained for too long.
Fix warps to have an auto-increment primary key column, and unique on name/WorldID
Same for regions.
Changed SqliteTableCreator to do proper unique syntax.
2014-09-03 02:41:53 -04:00
Zack
7a8422de5c Add tile banning, because such whine, much desire (doge).
I am sure this will result in someone whining for wall banning as well, but that can wait another couple of months.
2014-07-27 20:57:17 -04:00
MarioE
eb8ffe5cfb Fix resizeRegion 2014-07-25 17:41:19 -04:00
Zack
fb451c6d49 Update license header for 2014 2014-07-10 21:48:33 -04:00
Zack
915e791406 Initial work to move all Server Side Character code to its own module. 2014-07-10 21:09:32 -04:00
MarioE
66b0f3899c Merge /tphere into /tp, add /tppos 2014-06-27 21:53:01 -04:00
White
3860f39a8b Inserts the right number of elements into tsCharacter, with fixed tabbing 2014-05-21 14:56:23 +09:30
AquaBlitz11
9dbcd59624 Fix word typo
Word is spelled correctly but in wrong order.
2014-05-16 18:06:42 +07:00
Zack Piispanen
0ea58cde3e Update SSC to include quests, skin color, eye color 2014-05-13 23:08:23 -04:00
Zack Piispanen
c8a4fd711f Refactor out spaces -> tabs
Remove checks to the itemban table for npcs(wtf zidonuke) and projectiles.
2014-04-21 17:24:46 -04:00
Zack Piispanen
84d8049ac6 Add projectile bans and the commands needed to set them up. 2014-04-11 13:44:47 -04:00
Zack
fee116c6df Update BanManager.cs
Fix uuid arg in constructor
2014-02-27 21:50:16 -05:00
MarioE
ab3ecd3077 Merge pull request #760 from CoderCow/patch-1
Fixes SSC Issues and Hair Style
2014-02-27 20:41:37 -05:00
CoderCow
39a81cfa66 -SSC now saves player hair, hair color, hair dye, cloth colors and accessory visibility.
-Fixed hair changes now showing up to other players ingame.
2014-02-26 22:24:03 +01:00
PhoenixICE
7d18575d96 Added BIGINT and expanded log errors 2014-02-24 14:27:31 +11:00
MarioE
85cf46166a Fix some more plugin-breaking changes 2013-12-18 10:24:17 -05:00
MarioE
766b077e99 Undo plugin-breaking changes 2013-12-15 18:50:44 -05:00
MarioE
8b7e8772da Add float/double data types 2013-11-27 22:00:47 -05:00
MarioE
ebc36a5ada Add temp banning, remove /ban clear, fix temp ban check 2013-11-10 23:03:12 -05:00
MarioE
3405acd15b Fix warps 2013-11-03 17:10:20 -05:00
MarioE
7e7068294f Er, forgot to initialize list 2013-11-01 23:57:22 -04:00
MarioE
41121b8412 Re-do warps 2013-11-01 23:55:31 -04:00
MarioE
3e9aee3414 Begin Raptor compatibility 2013-10-30 22:34:09 -04:00
MarioE
61b8885ba0 Fix the last sendtilesquare exploit, I hope. 2013-10-23 18:08:21 -04:00
Zack Piispanen
4c5c2ba0de Convert Itemban.HasPermission to check if user has Permission.usebanneditem and remove redundant checks elsewhere. 2013-10-19 12:34:00 -04:00
MarioE
ea83ff1bda Redo some permissions
Split up tshock.world.causeevents & tshock.world.editspawn and moved
/maxspawns and /spawnrate to the npc node.
2013-10-15 18:23:06 -04:00
PhoenixICE
dd3883b393 ItemBan Use Group Parenting
Made Item bans now abide by group parenting.
2013-10-11 21:12:47 +11:00
Zack Piispanen
ddb2afefe9 Fix hardcore deaths by wiping and reseeding the tsCharacter table.
Log to server/logs chat over head.
2013-10-11 00:49:46 -04:00
MarioE
7e5909e04c Fix column mismatch 2013-10-04 19:55:14 -04:00
k0rd
48a94b6247 Initial handling for saving/using beds with SSC 2013-10-04 00:14:52 -04:00
Zack Piispanen
e246183108 Add prefix, suffix, color to group command.
Fix stupid chat color getter returning the hex color.
2013-10-02 17:47:16 -04:00
Zack Piispanen
9304c128b0 When an account is registed seed the CharacterDB with the proper start values. 2013-10-01 20:39:28 -04:00
Zack Piispanen
df5eb940bd Fix compat sigs ban method. 2013-10-01 19:02:21 -04:00
Zack Piispanen
931e65fd80 Fix bans. 2013-10-01 18:38:39 -04:00
k0rd
a91930967f fixes for SSC 2013-10-01 18:20:49 -04:00
Zack Piispanen
7baac27163 Fix canchat 2013-10-01 16:22:32 -04:00
k0rd
1945b50d91 "Character" is a reserved keyword in mysql, changed to "tsCharacter" to fix. 2013-10-01 15:45:12 -04:00
Zidonuke Ghost
0d351778a7 Initial server side character system implementation. 2013-10-01 06:22:08 -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
Lucas Nicodemus
33e0627f9e Merge pull request #545 from NyxStudios/1.2_terraria
Update to Terraria Protocol 1.2
2013-09-30 21:04:41 -07:00
Zack Piispanen
038b2c027d Added Registered field to user db.
Set all those time based fields to use UtcNow, sortable
2013-09-30 20:32:43 -04:00
Zack
3020295eca Update GroupManager.cs
Why you fail me github editor?!
2013-09-27 04:58:37 -04:00
Zack
c909453b03 Update GroupManager.cs
I broke groups by doing what I did.
2013-09-27 04:56:30 -04:00
MarioE
e1531ab675 Overhauled permissions.
Overhauled permissions to use permission nodes, and separated some
permissions into smaller ones (such as cfg into tshock.cfg.maxspawns,
tshock.cfg.spawnrate, etc),
2013-09-23 18:53:36 -04:00
Zack Piispanen
cc70a37af0 spaces: 0 tabs: 1 2013-09-22 23:33:36 -04:00
Zack Piispanen
b7019d8267 change permissions to tshock.xxx and fix default group creating to reference permissions that exist, and not hardcoded strings. 2013-09-22 23:14:14 -04:00