Coder Social home page Coder Social logo

Comments (9)

ENAleksey avatar ENAleksey commented on May 23, 2024

Hi!

These addresses are used to set the delay values for issuing orders to units in milliseconds (for example, the time between pressing the right mouse button and the start of a unit's movement).

Default values:

  • 100ms for local and lan game (I prefer 10ms)
  • 250ms for net game

from renderedge.

w4454962 avatar w4454962 commented on May 23, 2024

If the game network delay is changed to 30ms and the player's current network delay is 50ms, will players be offline?

from renderedge.

ENAleksey avatar ENAleksey commented on May 23, 2024

I haven't tested this in multiplayer, so I can't say it won't happen for sure.

from renderedge.

w4454962 avatar w4454962 commented on May 23, 2024

I set a read breakpoint on localdelay, and there was no feedback, and the value modification had no effect in the game

from renderedge.

ENAleksey avatar ENAleksey commented on May 23, 2024

Which version of the Warcraft patch are you using?
Have you tried setting great value? For example 2000.

from renderedge.

w4454962 avatar w4454962 commented on May 23, 2024

Yes, I tried to modify it. The time didn't work. My local version of Warcraft is 1.26.0.6401

from renderedge.

w4454962 avatar w4454962 commented on May 23, 2024

Hey, long time no see. I retested these addresses and found that they are virtual functions of classes. They get fixed values before entering the game,

When I modify "address_lanDelay", I can extend the command receiving time, but shortening it has no effect,

The command packets of Warcraft will have a queue in the LAN. When the queue is not blocked, the receiving time will be triggered quickly. When the queue is blocked, a packet will be processed at a speed of 0.7s. There is no way to reduce the interval time.

In stand-alone games, packets are received directly after sending without queue, so do you know the principle and memory address of this part?

from renderedge.

ENAleksey avatar ENAleksey commented on May 23, 2024

Hi!
Sorry, I haven't worked with the netсode and don't know how to get rid of the queue or how to find these places in the warcraft code.

from renderedge.

w4454962 avatar w4454962 commented on May 23, 2024

ok thanks

from renderedge.

Related Issues (2)

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.