Giter Site home page Giter Site logo

Screensize Y about source-x HOT 8 OPEN

Krykankrs avatar Krykankrs commented on June 11, 2024
Screensize Y

from source-x.

Comments (8)

Jhobean avatar Jhobean commented on June 11, 2024

Check #630

from source-x.

drk84 avatar drk84 commented on June 11, 2024

What resolution you used?

from source-x.

Krykankrs avatar Krykankrs commented on June 11, 2024

Not fix, flexible. But Y coordinate bigger than 480.

from source-x.

drk84 avatar drk84 commented on June 11, 2024

I need to know what resolution you used, the Y packet sent by the clietn is not properly sent

from source-x.

canerksk avatar canerksk commented on June 11, 2024

What is a client? ClassicUO, OrionUO or original? When the client is first turned on, it will not receive this data from the sphere if you have not send any changes to the screen size. First you have to make a change and exit the game once. It depends on the client version and type you are using. This is entirely a client issue. In other words, the client receives and sends this data correctly only at inputs and outputs. It does not take the moment you change the screen size.,

Let's give an example of ClassicUO;

The packet code sent the moment you change this screen size:
WorldViewportGump mouseup:
image

This is the moment of sending the screen size when you log in to the game:
EnterWorld function
image

If you want it to be sent instantly when you change the screen size via ClassicUO options, you need to add a line like this under the ClassicUO options apply function. This event does not exist in the original client.
image

But this status is only sent to EnterWorld for the original client. It is not sent as soon as changes are made via Options.

For example, ClassicUO also needs to be sent at the time of options apply. But this is not added in ClassicUO. Therefore, spheres will not be aware of the changes made via options. It will be sent only when you enter the game and when you pull the button in the lower right corner of the game screen.

The above codes are examples and referenced ClassicUO.

from source-x.

Krykankrs avatar Krykankrs commented on June 11, 2024

I use ClassicUO and resolution is 1542x1023.

Screenshot_2
Screenshot_3

Like that.

from source-x.

xwerswoodx avatar xwerswoodx commented on June 11, 2024

Can you try that sphere to see if works fine. Because as we can't do anything while Y value not sent by default clients we have to set default values but if your ClassicUO works fine I can add a Y == 0 condition to not set Y value on default values so, can you test that version and see if it works for you.

https://www.mediafire.com/file/1uls29llqyri55b/SphereSvrX64_nightly.rar/file

from source-x.

canerksk avatar canerksk commented on June 11, 2024

This packet content works a little strangely, the Original client only sends the width value of the screen size, not the height, but since the ClassicUO client sends both height and width, the x and y data coming to the sphere are mixed. There are skips in between. This may be related to sphere's package content/length. The problem persists.

image

Here, there are 2 data in the package content of the original client,
There are 4 data in the package content of ClassicUO client. The problem stems from here. (also at ClassicUO)

from source-x.

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.