Fe7n / TShockMobile

Compileable version of TShock compatible with mobile!
GNU General Public License v3.0
11 stars 7 forks source link

NPCAddBuffTime vs. Star Cell kick #9

Closed moisterrific closed 4 years ago

moisterrific commented 4 years ago

For some reason using Daybreak and Solar Eruption causes the player to be kicked every time when fighting against Star Cell enemies.

Also Stardust Cell minions too.

Fe7n commented 4 years ago

How about making the permitted buff time longer?

moisterrific commented 4 years ago

Making it longer does not fix it. I even tried setting it to 60 seconds but still get kicked.

moisterrific commented 4 years ago

"Fixed" in https://github.com/Fe7n/TShockMobile/commit/2176af135e77531835b962683223d2392c6622ae

moisterrific commented 4 years ago

pinpointed the issue to the townNPC check in OnNPCAddBuff

trying different ways to fix it

moisterrific commented 4 years ago

Fixed in https://github.com/Fe7n/TShockMobile/commit/6ce8d36dc60c71a99dee340fdf4868cf819e4eb5 (at the cost of ever so slightly compromised anti-cheat)