-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Outfits not displaying correctly while using asset files #966
Comments
There are several open issues on the same problem ( in:
Or does not incorporate logic:
maybe new things are missing in the protobuf message SpriteInfo {
optional uint32 pattern_width = 1;
optional uint32 pattern_height = 2;
optional uint32 pattern_depth = 3;
optional uint32 layers = 4;
repeated uint32 sprite_id = 5;
optional uint32 bounding_square = 7;
optional SpriteAnimation animation = 6;
optional bool is_opaque = 8;
repeated Box bounding_box_per_direction = 9;
+ optional uint32 pattern_size = 10;
+ optional uint32 pattern_layers = 11;
+ optional uint32 pattern_x = 12;
+ optional uint32 pattern_y = 13;
+ optional uint32 pattern_z = 14;
+ optional uint32 pattern_frames = 15;
+ optional bool is_animation = 16;
}
Example outfit : demon skeleton[id = 37] 13.32( good) vs 13.40 ( bad) otclient/src/client/thingtype.cpp Lines 298 to 303 in c3aace1
in: 13.40 check box is 64 + variable bounding box per direction I think this is the problem, variant values + square >32 : For Example :
Without if: otclient/src/client/thingtype.cpp Lines 336 to 368 in c3aace1
With if; looktype invisible |
I took a loot at the assets through assets editor and realized that
I think you're correct |
@nekiro as the provider of the protobuf, do you know how to fix this problem ? |
Priority
Medium
Area
What happened?
While using assets in OTCR, a visual bug happens when creatures of certain looktypes are moving. I personally tested with OTCR (multiple builds throughout the last two years) and TFS, 1.5 to 1.7.
Few examples;
Posted back in 2023, https://discord.com/channels/888062548082061433/1091770506253959318 I reported the issue showcasing a broken looktype, # 63. Can't upload directly to github, so here's an imgur link. Unknown what my versions were at the time, but it would've been whatever was the most recent at that time.
https://i.imgur.com/cJTwFdm.gif
This certain looktype is not the only one to be broken, but was just shown as an example. Left side of the gif shows OTCR, and the right side shows
Just today, I pulled the latest versions of OTCR (commit c3aace1) and TFS (commit 6982d66) and logged into test. I clicked through a few outfits to showcase multiple that were broken. On this image, the right side, is OTCR with assets files, and on the right side is again OTCR with the exact same asset files just converted to .dat/.spr files with the game feature GameLoadSprInsteadProtobuf enabled.
https://i.imgur.com/Rf1RE11.gif
Recently, another user on discord (_mattzon) posted having the same issue using the most recent version of Canary, OTCR (unknown build) and 1340 CIP client. Can see their post here; https://discord.com/channels/888062548082061433/1306420047853387827/1306420047853387827 The images are again too large to attach to this issue
Would love to move to assets fully if this gets corrected, as the asset files are a lot smaller then dat/spr files, and easier to update.
What OS are you seeing the problem on?
Windows
Code of Conduct
The text was updated successfully, but these errors were encountered: