Patrikkk
f7a8695c8f
Merge branch 'general-devel' into handlegolfpacket
2020-06-02 11:15:17 +02:00
Patrikkk
f674e78308
LandGolfBallInCup - Use ConsoleDebug. Modify display message.
2020-06-02 11:13:02 +02:00
Chris
d7798b937c
Merge pull request #1975 from Pryaxis/more-net-modules
...
Move netmodule handling into handlers namespace
2020-06-02 17:31:59 +09:30
Chris
21b51c577c
This one should use 'Read' instead of 'Load' as well
2020-06-02 17:26:32 +09:30
Chris
c7a6d044f4
Minor refactors
2020-06-02 17:19:00 +09:30
Chris
93a7b0aafe
Update changelog
2020-06-02 17:05:36 +09:30
Chris
c9b015027d
Rename NetModulesTypes to NetModuleType
2020-06-02 14:28:09 +09:30
Chris
292f310f69
Publicise these handlers
2020-06-02 14:20:03 +09:30
Chris
961c6cd9bc
Clean up NetModulePacketHandler a little
2020-06-02 14:18:22 +09:30
Chris
0af69e2bf2
Add ambience handler
2020-06-02 14:17:13 +09:30
Chris
77d04ca4ec
Message adjustment
2020-06-02 14:08:07 +09:30
Chris
3b6a9ffcc2
Add bestiary handler
2020-06-02 14:06:18 +09:30
Chris
1c0a649a0c
Add handling for liquid net module
2020-06-02 13:34:26 +09:30
Chris
48d610d33f
Move netmodule handling into handlers namespace
...
Add handler for teleport pylons, and permission for teleport pylons
2020-06-02 12:59:14 +09:30
Chris
4d1fd54a7c
Respect tile bans for tile objects in send tile square handler
2020-06-02 12:55:46 +09:30
Chris
5b72ff6c0a
Add IPacketHandler
2020-06-02 10:44:10 +09:30
Chris
b5c3b430fa
Standardize permission rejection message again
2020-06-02 10:20:13 +09:30
Chris
d46f534533
Standardize permission rejection messages
2020-06-02 10:18:40 +09:30
Patrikkk
bfc9ed8f69
Merge branch 'general-devel' into handlegolfpacket
2020-06-01 14:31:32 +02:00
Patrikkk
22abd3a2eb
Update CHANGELOG.md
2020-06-01 13:01:15 +02:00
Patrikkk
4944ee3144
Implement Handler.LandGolfBalInCupHandler and handle packet exploits.
...
Added multiple checks to prevent clients from sending the golfball packet directly, without having golf play actions.
2020-06-01 12:59:40 +02:00
Patrikkk
26773f61a2
Add LandGolfBallInCup event handler.
2020-06-01 12:07:57 +02:00
Chris
c5fcece18d
Update for pre-10
2020-06-01 19:26:10 +09:30
Patrikkk
20620f2b47
PacketType handler delegate organization.
...
We have the elements in GetDataHandlerDelegates dict in order by its packet type.
2020-06-01 11:54:59 +02:00
Chris
8d26b3816e
Merge pull request #1962 from Pryaxis/projectilestruct-addition
...
Projectilestruct addition
2020-06-01 19:19:22 +09:30
Chris
badba523e7
Merge branch 'general-devel' into projectilestruct-addition
2020-06-01 19:12:38 +09:30
Chris
286db02ea2
Merge pull request #1958 from moisterrific/patch-11
...
Update CHANGELOG.md
2020-06-01 19:12:26 +09:30
Chris
a7166536c2
Update projectilestruct to add brief documentation
2020-06-01 19:12:14 +09:30
Chris
5a1c1a6527
Merge branch 'general-devel' into patch-11
2020-06-01 19:08:06 +09:30
Chris
9900ce7d9d
Merge pull request #1957 from moisterrific/patch-10
...
Add more bosses to /spawnboss
2020-06-01 19:07:58 +09:30
Chris
2edfef0dfe
Merge branch 'general-devel' into patch-10
2020-06-01 19:04:45 +09:30
Chris
a049c6488f
Merge pull request #1943 from Pryaxis/fishoutnpc-event
...
Fishoutnpc event
2020-06-01 19:03:43 +09:30
Chris
26aac0dab9
Merge branch 'general-devel' into fishoutnpc-event
2020-06-01 18:58:06 +09:30
Lucas Nicodemus
62ff490470
Merge pull request #1951 from Olink/fix-bugs
...
Fix rope coils.
2020-06-01 02:21:31 -07:00
Lucas Nicodemus
dff5f043aa
Merge branch 'general-devel' into fix-bugs
2020-06-01 02:21:21 -07:00
Chris
d72a92ef9e
Merge pull request #1965 from Pryaxis/fix-sts
...
Fix sts
2020-06-01 18:42:24 +09:30
Chris
3eb91bf0e8
Update changelog
2020-06-01 18:38:31 +09:30
Chris
9fb27543b9
Some refactoring from feedback
2020-06-01 18:35:58 +09:30
Chris
0770e3d125
Comment out dangerous debug code
2020-06-01 16:42:11 +09:30
Chris
e030d54bd6
Fix trapdoors too
2020-06-01 16:40:34 +09:30
Chris
8ed6751747
Update changelog
2020-06-01 15:27:52 +09:30
Chris
e658af32ef
merge general-devel into fix-sts
2020-06-01 15:21:55 +09:30
Chris
36089d96bb
Fix doors for real this time.
...
Should also fix tile entities (such as item frames, pylons) and other tile objects.
Further, fixes a longstanding issue with SendTileSquare that resulted in half squares being sent instead of full squares, causing visual bugs and desyncs most noticeable with doors
2020-06-01 15:12:45 +09:30
Lucas Nicodemus
6ca9a98a91
Bump max player damage to 42,000 for empress of light
...
Based on feedback from #1936 , empress of light needs to do more damage,
so we're going to boost it to a higher arbitrary number than it was
before.
2020-05-31 13:11:01 -07:00
Patrikkk
71cc7f482b
Update CHANGELOG.md
2020-05-31 15:57:23 +02:00
Patrikkk
1398b1e079
Merge branch 'general-devel' into fishoutnpc-event
2020-05-31 15:52:59 +02:00
Lucas Nicodemus
1a35713e3e
Update changelog for PR 9
2020-05-31 00:46:13 -07:00
Lucas Nicodemus
ac76ccf589
Fix doors in the lamest way possible (!)
...
Fixes #1774 .
This commit is designed to fix the clientside door desync issue. Based
on the order of events that I've been able to see, the way that door
opening works is like this:
1. Client sends a door open request.
2. Server echoes request back to client.
3. Both server and client simulate door opening.
4. The client that requests the initial door open sends a tile square to
the server for some reason.
In TShock, under all circumstances, we send a tile square back to the
client that sends one in, unless you have the
`tshock.ignore.sendtilesquare` permission. This adds a deviation: it
does not network data back if the event is just a door change. Doing
this is safe from the perspective of actual gameplay. A previous
iteration of this commit synchronized data to other clients, but that
seemed superfluous.
This does not really solve the underlying problem or answer the question
as to why sending a tile square back to the client seems to throw it
off, but it does. I was not able to replicate the desync issue anymore
with this branch. I expect that it will be safe to keep, because the
improved logic will only happen if the tile square had no effective
changes in addition to the door changes.
2020-05-31 00:40:03 -07:00
Lucas Nicodemus
3f0e51080b
Merge pull request #1880 from sgkoishi/general-devel
...
Optimize workflow
2020-05-30 16:21:20 -07:00
Lucas Nicodemus
38d99de060
Merge branch 'general-devel' into general-devel
2020-05-30 16:11:22 -07:00