Commit graph

495 commits

Author SHA1 Message Date
Zack
17ea9e0875 Use the NetItem max inventory when seeding the database. 2015-02-22 17:14:57 -05:00
Lucas Nicodemus
d82851faf3 EnsureExists now calls EnsureTableStructure directly
It occurs to me that copypasting code is bad
2015-02-22 12:03:05 -07:00
Lucas Nicodemus
04145a4aca Re-add EnsureExists signature to fix compat with old plugins
Fixes #862
2015-02-22 08:43:12 -07:00
Lucas Nicodemus
12a39f4e9a Revert "Use Sublime Text's "Convert all open views to tabs" option"
This reverts commit b35a02d379.
2015-02-21 23:00:30 -07:00
Lucas Nicodemus
b35a02d379 Use Sublime Text's "Convert all open views to tabs" option 2015-02-21 22:57:14 -07:00
Lucas Nicodemus
6a41c34380 isn't this ruby 2015-02-21 22:53:56 -07:00
Lucas Nicodemus
817479ea70 Add Getuser calls to delete user 2015-02-21 22:51:38 -07:00
Lucas Nicodemus
91d5fab27d Add account create & delete hooks 2015-02-21 22:35:05 -07:00
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