ipr0gr4mipas2 / GrowtopiaServer

First Growtopia Private Server made with ENet.
10 stars 13 forks source link

3.38 Disconnecting #31

Closed arshizx closed 4 years ago

arshizx commented 4 years ago

Describe the bug Sometimes when you entering worlds you will disconnected.

To Reproduce Steps to reproduce the behavior:

  1. Enter a World
  2. Leave the World
  3. Repeat that 3-5 Times. & it will disconnecting

Expected behavior Not Disconnected

Desktop (please complete the following information):

Additional context Maybe because action|getDRAnimations, but im not sure.

iProgramMC commented 4 years ago

action|getDRAnimations, never heard of it?

iProgramMC commented 4 years ago

Try using a proxy and seeing what's wrong

iProgramMC commented 4 years ago

I mean, how real GT responds to that packet

arshizx commented 4 years ago

i'm seeing this packet

param 0: UpdateOwnedRespawnAnim
param 1: 0
param 0: UpdateOwnedDeathAnim
param 1: 0

spamming when in world menu / its send 2 times when entering world with the action|getDRAnimations too

MoanHawks commented 4 years ago

Try this if working

if (cch.find("action|getDRAnimations") != string::npos)

Then Create the packet of UpdateOwnedRespawnAnim and UpdateOwnedDeathAnim

arshizx commented 4 years ago

still, i try that already before i open this issue & im disconecting when i got action|getDRAnimations only 1 times

arshizx commented 4 years ago

Well I don't get disconnected on 3.38 from my testings

try that 2-5 alrd? or maybe cause the world