cosmetica-cc / cosmetica Goto Github PK
View Code? Open in Web Editor NEWCustom public cosmetics, Free for everyone. Forever. Ongoing Development is happening at Cosmetica-2, still WIP
Home Page: https://cosmetica.cc
License: Apache License 2.0
Custom public cosmetics, Free for everyone. Forever. Ongoing Development is happening at Cosmetica-2, still WIP
Home Page: https://cosmetica.cc
License: Apache License 2.0
Describe the bug
Changing the lore on the web panel reset the color to default
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Color not to be reset on Lore change
Screenshots
Empty
Setup (please complete the following information):
Additional context
Still Empty
The TextureAtlasSprite#upload method, when called, seems to only work about 3/20ths of the time or less on average. Other times it silently fails, or spits out OpenGL errors such as GL_INVALID_VALUE and GL_INVALID_OPERATION.
Observations:
The behaviour seemingly is random per game session (resetting caches would provide the same behaviour. only restarting the game changes it). This somewhat resembled what would be expected from a race condition aside from I would expect it to be random every time with a race condition, rather than per game session.
The images are always present and stored in the NativeImage[] successfully enough that an image dump will provide the correct value. Therefore it is the uploading that fails.
Making it generate the baked model every time doesn't change anything. The problem is with uploading.
Helpful Debugging Mechanisms:
If you launch the game in a dev environment or with -Dcosmetics.debug=true, you will enable debug mode, in which a config file called debug_settings.json will be created. Various debug settings can be enabled from there, and this file will be read at game launch.
Set your UUID in the dev environment using the vanilla --uuid flag
Relevant code is currently in the regional-effects-&-guis branch
Hi!
I was looking for a Lore text and saw that there was a title "2b2t player". Most of the time I play Minecraft I play on a popular Dutch server called Torchcraft. So it would be great if there could also be a title "Torchcraft player", a friend Mitsjol who also plays on the server with cosmetica thought it was a cool idea ;)
Tibo
Basically, when the window of game i showing it immediately crashes with mixin error in cosmetica.mixins.json:textures.MixinCapeLayer
Version 1.18.2 fabric
11:44:43.716
FabricLoader/Mixin
Render thread
@Redirect conflict. Skipping cosmetica.mixins.json:textures.MixinCapeLayer from mod cosmetica->@Redirect::allowTransparentCapes(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921; with priority 1000, already redirected by capes.mixins.json:MixinCapeFeatureRenderer from mod capes->@Redirect::fixCapeTransparency(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921; with priority 1000
11:44:43.717
FabricLoader
Render thread
Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_972 failed
at Not Enough Crashes deobfuscated stack trace.(1.18.2+build.3)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:463)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_972 failed
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:419)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145)
at java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:467)
at net.fabricmc.loader.impl.launch.knot.MixinServiceKnot.findClass(MixinServiceKnot.java:96)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.audit(MixinProcessor.java:254)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.audit(MixinTransformer.java:171)
at org.spongepowered.asm.mixin.MixinEnvironment.audit(MixinEnvironment.java:1425)
at ca.fxco.memoryleakfix.MemoryLeakFix.forceLoadAllMixinsAndClearSpongePoweredCache(MemoryLeakFix.java:25)
at net.minecraft.client.main.Main.redirect$edh000$loadAllMixinsThenShouldRenderAsync(Main:525)
at net.minecraft.client.main.Main.main(Main:212)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
... 2 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:414)
... 16 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector allowTransparentCapes(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921; in cosmetica.mixins.json:textures.MixinCapeLayer from mod cosmetica failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap cosmetics-refmap.json
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:468)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1385)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1052)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
... 19 more
It has been said that this is not yet supported, so it should be, at least on non-Cosmetica cape servers.
Ich habe mir Cosmetica heruntergeladen und alles hat funktioniert bis ich mich mit den Cosmetica Servern verbinden wollte da steht das ich keine Internetverbindung habe oder einen cracked Minecraft Account disem (denke) ich habe ich nicht. Wie sehe ich denn das ich einen cracked Account habe. Falls es hilft hier meine Version: 1.18.1 Fabric
Will there/is there anyway to disable the cosmetica cape so i can see my paid for OptiFine cape? Thank you!!!!!!!!!! :D!!!!!!!!!!
I Get The Can't Authenticate Account And I Have Great Internet And Have A Premiumn Account And AM Using 1.18 Version Of Cosmetica
For 1.8 forge mdk
Describe the bug
When I start up the game with Cosmetica in my mods folder, the game loops the splash screen,
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Game loads up, and I can play.
Screenshots
It just loops this.
Setup (please complete the following information):
Well well well
Might be quite easy to fix, I'll check if I can do it myslef in time, but I know some of you are just too fast for this world ._.
Every resource is available on the issue
On the shoulder buddies browsing page, cosmetics that have "fixed to torso" disabled show up as fixed to the torso. Its all fine on the actual cosmetic page however it makes the cosmetics on the browsing page look a bit naff.
Minecraft exits with code -1 when launching this mod with a particular list of other mods. Look below for an additional list.
Launch Minecraft Fabric 1.18.2 with the list of following mods. I have uploaded the latest.log to pastebin here: https://pastebin.com/qk511q7F
I've noticed Sodium having unexpected bugs recently, for example freezing rendering threads if you enter a world when you would be shown the "You died!" screen upon joining. Iris/Indium are also rendering engine changes, and could potentially be interacting in some negative way.
CustomPlayerModels is not very widely used, so it's another potential culprit.
The large number of "tweak" mods mostly just fix noted bugs on the Minecraft bug list.
antighost-1.18.2-fabric0.47.10-1.1.4.jar
BetterF3-1.2.4-Forge-1.18.2.jar
Blanket Client tweaks-1.0.3.jar
blur-2.4.1.jar
brb-1.18.2-forge-1.5.6.jar
charmonium-fabric-1.18-4.0.0.jar
cloth-config-6.2.57-fabric.jar
continuity-1.1.0+1.18.2.jar
CustomPlayerModels-Fabric-1.18-0.3.1a.jar
enchantment-lore-1.2.6-1+MC1.18-1.18.2.jar
fabric-api-0.51.1+1.18.2.jar
get-current-song-1.0.1.jar
IKnowWhatImDoing-4.0.0-fabric.jar
indium-1.0.3+mc1.18.2.jar
iris-mc1.18.2-1.2.4-build.38.jar
lithium-fabric-mc1.18.2-0.7.9.jar
make_bubbles_pop-0.0.1-1.18.2.jar
modmenu-3.2.1.jar
okzoomer-5.0.0-beta.6+1.18.2.jar
phosphor-fabric-mc1.18.x-0.8.1 (1).jar
PresenceFootsteps-1.5.0.jar
qsl-1.1.0-beta.8_qfapi-1.0.0-beta.13_fapi-0.51.1_mc-1.18.2.jar
sodium-fabric-mc1.18.2-0.4.1+build.15.jar
Void-Fog-2.6.2.jar
whyamionfire-1.1.2.jar
XaerosWorldMap_1.21.2_Fabric_1.18.2.jar
Describe the bug
Wynntils' API isn't properly checked, resulting in problems when disabling cosmetics.
To Reproduce
Steps to reproduce the behavior:
/token
from the Wynntils mod to create an account.Expected behavior
The Wynntils cape should be ignored and a different cape provider should be checked in its place.
Screenshots
Setup (please complete the following information):
Additional context
The user's options are returned by:
https://athena.wynntils.com/user/getInfo/(UUID with dashes)
Example: https://athena.wynntils.com/user/getInfo/4a17f918-4870-4ca5-8106-05869bb7e6e9
Example with a non-Wynntils user (Notch): https://athena.wynntils.com/user/getInfo/069a79f4-44e9-4726-a5be-fca90e38aaf5
Describe the bug
Character preview in the inventory (survival and creative) doesn't render your cosmetics, instead it makes the parts of the player they cover invisible. Happens on both hats and shoulder buddies. Capes and elytras are rendering normally. Third person view shows all cosmetics being rendered properly as well.
To Reproduce
Steps to reproduce the behavior:
Setup (please complete the following information):
Additional context
Character preview background changed to more clearly show bug.
For some reason when I join my server (for context it runs 1.17 spigot) it crashes my game. The mod works fine in singleplayer and other servers and I'm pretty much 100% sure this is an issue with cosmetica as my game works fine without it. The crash log isnt helping me work out whats causing it but hopefully you could have a better look: https://crashy.net/EkJ1eG6WvDxdQQPYTA5j . I think this mod is amazing and I would love to use it so I hope you can fix the issue (unless i'm just being stupid).
Whenever I try to upload my hat, Bathypelagic dragon head, to the website with allow with helmet on it always unchecks it after its been approved. I have tried to upload it twice now and neither time did it save that it works when a helmet is on.
Just a tracking issue for what we discussed in https://discord.com/channels/942587512008888420/946231030367547442/1031656397110259803
switching from 2 redirects to an inject at return might be better, if possible
Description:
Minecraft starts fine but when I try to enter a world it jumps from loading terrain to saving world and quits Minecraft completely.
Steps:
Start game with Fabric client 1.18.1 and the following mods and enter any world:
error.txt
Setup:
Additional context
I have 128 client mods installed. Dashloader also gives an error message shortly after loading into the game when the fabric capes mod is installed.
Error #1:
Error while loading the skin texture java.io.IOException: Could not load image: Image not of any known type, or corrupt at net.minecraft.class_1011.method_4303(class_1011.java:134) at net.minecraft.class_1011.method_4310(class_1011.java:108) at net.minecraft.class_1011.method_4309(class_1011.java:99) at net.minecraft.class_1046.method_22795(class_1046.java:144) at net.minecraft.class_1046.method_22797(class_1046.java:125) at net.minecraft.class_1255.method_18859(class_1255.java:151) at net.minecraft.class_4093.method_18859(class_4093.java:23) at net.minecraft.class_1255.method_16075(class_1255.java:125) at net.minecraft.class_1255.method_5383(class_1255.java:110) at net.minecraft.class_310.method_1523(class_310.java:1080) at net.minecraft.class_310.method_1514(class_310.java:733) at net.minecraft.client.main.Main.main(Main.java:238) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Error #2:
Uncaught exception in thread "Cosmetics Lookup Thread #24" java.lang.IllegalStateException: Not a JSON Object: null at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:91) at com.eyezah.cosmetics.utils.Response.getAsJson(Response.java:63) at com.eyezah.cosmetics.Cosmetica.lambda$getPlayerData$2(Cosmetica.java:306) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)
i dont have discord but can you a forge and 1.8.9 plz?
Not sure what causes this because there is no crash log to go off of. I will, however, provide my modlist
Fabric 13.3, 1.18.1
https://pastebin.com/k74M5Ar8
On mobile devices, when you open any kind of cosmetic and browse throught them, the cosmetics at the start of the page don't render, and you have to open it to see what it looks like
Describe the bug
Minecraft crashes on start up with exit code 1 on boot. Strangely, the version before this one works just fine.
To Reproduce
Steps to reproduce the behavior:
Additional context
Not exactly sure if full-on modpacks are supported, I know you generally have to isolate the mod that's causing the problem, but I'm maybe wondering of the error log reported here might help narrow it down for anyone who's good at reading it.
https://mclo.gs/VNgQaUA
Bedrock has an extensive way to edit the user's model, so for this to be more than just a hat layer, maybe consider modelling other body parts as well?
Just a tracking issue for what we discussed in https://discord.com/channels/942587512008888420/942589580996120576/1019508595240480798
Allow modpacks to disable the visibility of specific cosmetic types in config. We discussed this previously, so this is just a tracking issue.
Related to #38, I'd suggest at least 1.8.9, 1.12.2, 1.16.5
Describe the bug
ModelGapFix hooks in to one of the methods in TextureAtlasSprite
to perform its function. It does a check for which texture atlas the sprite is using to know whether to apply its fixes, however we don't use a texture atlas on our ModelSprite
s, so it throws UnsupportedOperationException.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Dont crash
Screenshots
(see crash log from RaptaG in the discord)
Setup (please complete the following information):
Additional context
Fixed in development builds already by pretending to use the block atlas (will still crash when launched in a dev env as the original behaviour is useful for debug). This issue tracks it.
Describe the bug
PlayerRenderMixin makes the mod crash when used along any other mod that redirects / injects into and cancels renderNameTag
(a pose will be left hanging in PoseStack
, making the checkPoseStack
fail in LevelRenderer#renderLevel
).
To Reproduce
Install any mod that has the same mixin, like Artemis.
Expected behavior
The mod should not crash.
Additional context
https://hst.sh/mosavokuca
Describe the bug
see title
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To work
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
Minecraft internally doesn't render enchantment glint on partially transparent render layers for some reason
Describe the bug
Cosmetica claims that this is my MinecraftCapes cape, but it is not.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected the Cosmetica cape to be removed, but somehow it was replaced by this instead. It'd be understandable if that was actually the one I have on MinecraftCapes, but I don't know, what cape that is.
Setup (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
when I go to enter my modpack it is 100% to load the world, it gives errors in the log, and it never enters!
Expected behavior
enter the world
Setup (please complete the following information):
Log
2022-09-12-1.log
Normally when using Feather, you have a Feather icon above your head before your name, but when I use this mod, it disappears.
This is just a visual bug, and it still appears on the TAB list, but it's just easier to look at their nametag to see if they use Feather.
Many servers change the "name" client receives for users, making it an unreliable source for getting related cosmetics & settings. UUID works but won't on cracked servers.
Maybe we use uuid unless we detect its a cracked server in which case we revert to usernames.
Per Section 7,
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
Per Section 10:
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
It is my understanding that the Cosmetica Public License incorporates the LGPLv3, which in turn is an addition to the GPLv3, and that Section 1 of the Cosmetica Public License falls under the definition of "further restrictions" per Section 10 of the GPLv3, and as such would be nullified by Section 7 of the GPLv3.
Semi-related: https://github.com/EyezahMC/Cosmetica/blob/master/LICENSE#L8 is legally questionable, and may differ by jurisdiction.
Describe the bug
Starting the game with this mod installed causes the game to crash
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The game doesn't crash with cosmetica installed
Setup (please complete the following information):
Additional context
Latest log
latest.log
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
On https://cosmetica.cc/join , the Cape Client Install button does not work, it redirects to the old site https://www.arccapes.com/install.html which does no longer exist
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The website should work
Describe the bug
http://api.cosmetica.cc doesn't redirect to https://api.cosmetica.cc. My ISP and others in the same network don't need to know what usernames I ping.
To Reproduce
Expected behavior
301 redirect to https://api.cosmetica.cc
Screenshots
N/A
Setup (please complete the following information):
A modern browser
Additional context
Considering you use a Cloudflare cert, I don't even think it faces any issues with expired root certificates (unlike Let's Encrypt) on older Minecraft. So... what's the excuse?
Hello, i just found the mod and have some questions and features request.
First where is stored the config ? Because i can't find id in my .minecraft folder in the config or elsewhere.
The feature request associated would be that in modmenu the settings could be accessible and that by editing the config file manually we could disable the vanilla integration. I would like that because personnally i prefer having all mods configs in one place.
Second thing is in what order are the cape prefered and could we customize the order in the future ? Could you add other capes in the future and support custom capes API because i would like to add my cutom cape API for only me and my friends. and the other cape API that you don't support that i think of is Wynntils.
Search for cosmetics and apply them on the client side!
To make the mod spread more.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.