Giter VIP home page Giter VIP logo

Comments (6)

shudza avatar shudza commented on July 22, 2024

I've debugged some packet sizes in UpdateData.cpp:

Debugger connected to tcp:127.0.0.1:7777
pSize = (size_t) 1842
destsize = (uint32) 1855
pSize = (size_t) 1131
destsize = (uint32) 1144
pSize = (size_t) 32858
destsize = (uint32) 32881
pSize = (size_t) 7930
destsize = (uint32) 7944
pSize = (size_t) 279
destsize = (uint32) 292
pSize = (size_t) 173

destsize = 32881 is too big I think the max packet size is 0x8000 (32676)

EDIT:
the destsize log was on the wrong line, after compression it shows lower values:
Debugger connected to tcp:127.0.0.1:7777
pSize = (size_t) 1842
destsize = (uint32) 808
pSize = (size_t) 1131
destsize = (uint32) 539
pSize = (size_t) 32889
destsize = (uint32) 10523
pSize = (size_t) 7231
destsize = (uint32) 2291
pSize = (size_t) 203
pSize = (size_t) 195
destsize = (uint32) 56
destsize = (uint32) 42
pSize = (size_t) 206
destsize = (uint32) 163
pSize = (size_t) 438
destsize = (uint32) 364
pSize = (size_t) 429
destsize = (uint32) 347
pSize = (size_t) 350

from core.

ratkosrb avatar ratkosrb commented on July 22, 2024

Doesn't seem to crash for me. I set visibility distance to 300 like you said.

from core.

shudza avatar shudza commented on July 22, 2024

@ratkosrb can you try setting Continents.MotionUpdate.Threads = 2 as well?

from core.

shudza avatar shudza commented on July 22, 2024

Thread safety issue in MovementData::CanAddPacket and MovementData::AddPacket ?

from core.

shudza avatar shudza commented on July 22, 2024

This fixes it for me https://github.com/shudza/vmangos/tree/movement-data-lock

from core.

ratkosrb avatar ratkosrb commented on July 22, 2024

Thanks for the info. Should be fixed now.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.