Commit graph

688 commits

Author SHA1 Message Date
k0rd
11edf7f61b Merge pull request #666 from PhoenixICE/general-devel
merging even though this is PR#666 !!!
2013-10-18 19:39:41 -07:00
Zack
bd123bc97a Merge pull request #672 from MarioE/general-devel
Redo some permissions
2013-10-18 19:31:02 -07:00
k0rd
4f106c7dff Additional handling for beds (yes, magic mirror is still required) 2013-10-16 19:50:31 -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
61f6bb1a01 Fixed double teleporting with SSC
users getting teleported twice with ssc and rememberpos if they didn't
have loginbeforejoin enabled
2013-10-14 16:18:39 +11:00
Zack Piispanen
0d350d53fa Fix Skeletron Prime Crash Exploiting people, naughty naughty
Set secondUpdate to stop displaying, because apparently no one knows that not being logged in is breaking the rules when requirelogin:true
2013-10-11 21:02:05 -04: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
Zack Piispanen
acdaa2eb05 Fix Chat over head.
Copy pasta fix in /group (CS #Regions)
2013-10-11 00:16:19 -04:00
k0rd
a58e21191b Add options to kick empty UUID - handling to ignore UUID login and bans for blank UUIDs if this option is not enabled 2013-10-09 23:53:24 -04:00
Simon311
b97ae242cd More of & -> &&
I. Am. Dumb.
2013-10-08 11:03:54 +04:00
Zack Piispanen
01263424ae Fix SSC with UseServerName 2013-10-07 22:17:03 -04:00
Simon311
4151c831d6 Fixing improper / handling
This might be as old as TShock itself. Also, you might as well do &
args.Text != "/" instead of Length, it is just a matter of taste.
2013-10-07 10:40:56 +04:00
Zidonuke Ghost
3f956801f8 Removed stat hack configs and permissions, added hardcoded limits due to crash exploit potential from abnormal stats. Also added hardcoded limits of player damage and killme due to crash exploits. 2013-10-06 02:56:55 -04:00
MarioE
017b3f07f6 Update /invade, make /help <command> not work if no access 2013-10-05 10:59:37 -04:00
MarioE
149dbdf56d Add hack checks to painting tiles & walls 2013-10-04 18:37:56 -04:00
Zack Piispanen
f80ed62719 Remove deprecation config option because it is causing issues. 2013-10-04 17:14:46 -04:00
MarioE
9aa27b9d3f Add region protection to painting tiles & walls 2013-10-04 17:11:11 -04:00
Zack Piispanen
ef35ffe091 Ensure we only save SSC when SSC is enabled. 2013-10-04 16:59:57 -04:00
Zack Piispanen
0ed25ebbfe Fix chat over heads, thanks Inanzen for the tip months ago! 2013-10-04 16:11:36 -04:00
Zack Piispanen
f55eaa3caf Fixed cannon tiles orientation bug 2013-10-04 15:21:28 -04:00
k0rd
48a94b6247 Initial handling for saving/using beds with SSC 2013-10-04 00:14:52 -04:00
Zack Piispanen
25ca94a77e Customize the time in between death and respawn. 2013-10-03 17:30:29 -04:00
Zack Piispanen
991e8a4c0a Save a players old account when they log into the new one.
Include latest bin.
2013-10-02 19:02:40 -04:00
k0rd
c4bb414ab4 Change remembered position teleporter to a short delay 2013-10-01 19:00:03 -04:00
Zack Piispanen
948ce5bab1 Fix confetti because #yolo 2013-10-01 17:48:05 -04:00
Zack Piispanen
40dbe84817 Fix tombstones. 2013-10-01 17:16:25 -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
k0rd
2569c10823 fixes warps, tp [name], tphere (no longer places you below the target) 2013-10-01 02:12:05 -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
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
7ea9be6e75 Changed how EditTile was handled so that we have enums and pass those instead of confusing bytes.
Comments should be updated to reflect new stuff.
2013-09-29 18:11:08 -04:00
Zack Piispanen
1bade821da Nothing to see here... 2013-09-29 08:26:05 -04: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
Lucas Nicodemus
1a1d980186 VERSION TICK: 4.1.0.926 & Terraria 1.2 Code Freeze 2013-09-26 02:11:05 -06: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
Zack Piispanen
856def83b3 Added basic framework for allowing for ban durations and banning admin.
Added BanningUser, Date(of ban), and Expiration to the db
On join, Expiration is checked, if ban is expired we remove it and the user is allowed on.
When running the ban command, your UAN is used as the banning user, and the date is that moment, with no expiration.
#531
2013-09-22 16:04:12 -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
Zack Piispanen
ba42fb08df Removed ip address from users, as well as changed /user add syntax to be '/user add username password group' instead of colon bullshit. 2013-09-21 17:11:22 -04:00
Zack Piispanen
4fed645fde Added config override for stat hacks. This makes updating for 1.12 easy as well since these will change then, small part of #525 2013-09-21 16:06:01 -04:00
Zack Piispanen
b22457382e remove unused using statements 2013-09-17 02:24:02 -04:00