Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with SVG after last update #4006

Open
1 task done
filiperobert opened this issue Feb 7, 2025 · 5 comments
Open
1 task done

Problem with SVG after last update #4006

filiperobert opened this issue Feb 7, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@filiperobert
Copy link

Describe the bug

The new version of MTA is giving conflicts with dxSetBlendMode or the creation of SVG, several scripts on our server that used SVG + dxSetBlendMode('add') started to give visual problems for users with the latest client.

Steps to reproduce

Update MTA to the latest version

Version

Client: 1.6.0-9.22942.0

Additional context

https://media.discordapp.net/attachments/1271286385105698918/1337227956459802754/image.png?ex=67a6ae15&is=67a55c95&hm=e4c074183e734115f33d34a8bb3440c9408dfcc477ba687a78be2199fc999d06&=&format=webp&quality=lossless&width=1029&height=672

https://media.discordapp.net/attachments/1271286385105698918/1337228012487180288/mta-screen_2025-02-06_22-06-25.png?ex=67a6ae22&is=67a55ca2&hm=83184c983f0298faf429375e5c159158828d3912da04fda3bbfef78411655d04&=&format=webp&quality=lossless&width=1201&height=675

https://media.discordapp.net/attachments/1187459057095823430/1336938346932600853/mta-screen_2025-02-06_00-12-56.png?ex=67a5a05d&is=67a44edd&hm=3ad1350c5a1e629494af2a5b78b113d181cea43226f44a13c9e1cfc33c289819&=&format=webp&quality=lossless&width=1125&height=675

https://media.discordapp.net/attachments/1187459057095823430/1337209423822590052/image.png?ex=67a69cd2&is=67a54b52&hm=036331dce0007756b5b1aaa3242b178e4c38aa17be5d905d6efd80b807af930d&=&format=webp&quality=lossless&width=1201&height=675

https://media.discordapp.net/attachments/1187459057095823430/1336927720763949208/image.png?ex=67a59677&is=67a444f7&hm=4346a4fd7569b72a6a1194d8610860391953e092e2811a68abe8beb0397ddc78&=&format=webp&quality=lossless&width=1201&height=675

https://media.discordapp.net/attachments/1187459057095823430/1337187935811928135/image.png?ex=67a688cf&is=67a5374f&hm=c74ffde4223dd1b0392cb44231f4de833201b4f5446207b6e7b29f317a5073eb&=&format=webp&quality=lossless&width=900&height=675

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@filiperobert filiperobert added the bug Something isn't working label Feb 7, 2025
@marlonzemella
Copy link

This is not something exclusive to the server in question, it is happening on several servers, it is enough that the server manipulates svgs for its panels, this started to happen after the nightly version that was released on 02/03/2025 and officially released today (02/06/2025)

@TheNormalnij
Copy link
Member

Related to #3981
We have fixed incorrect SVG colors. The fix breaks backwards compatibility with old scripts.

@filiperobert
Copy link
Author

I don't see how this could be considered a fix. All the SVGs on our server are having issues across more than 100 scripts, and on top of that, the server logo at the top is completely blurred. What logic justifies calling this a fix?

@FileEX
Copy link
Contributor

FileEX commented Feb 7, 2025

I don't see how this could be considered a fix. All the SVGs on our server are having issues across more than 100 scripts, and on top of that, the server logo at the top is completely blurred. What logic justifies calling this a fix?

Did you read the issue (#3828 )? SVG colors were inconsistent with real ones, so it was necessary to use dxSetBlendMode to get real colors.

@filiperobert
Copy link
Author

ohh, so I will get the same result as SVG without using dxSetblendMode('add')? We used it to improve images but we realized that it was actually a bug and we added it to most of the scripts, thanks for explaining it better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants