Jump to content

[BUG] Customizable Species Limit


Fire Phoenix

Recommended Posts

Posted

There's no hard limit on those either. There's probably an effective limit of ~100 because of how the search for .skin files is done, but it's more likely that there's a bug or something in what I did.

 

What's the exact issue that you're having? If in SP are your files properly pk3'd up?

Posted

It's Multiplayer. It will be best if I show it on photos:
https://jkhub.org/albums/uS7Ze
My guess is that the game loads skins in alphabetical order. As a result some skins from the beginning A,B,C,D,E etc.. work but later some limit occurs which blocks loading the rest of the skins and puts the icons from the last loaded custom skin.
For example a presented skin begins with the letter "U". Im not sure what causes the error, but I'm definetly sure it's in uix86.dll file. Not sure if that information helps but I'm afraid that's all the information I can provide.
 

Posted

If you're playing with a mod or the original base version of the UI module then the fix cannot be applied. The one from openjk-x86.pk3 must be used in order to have this fixed. It's not part of the OpenJK engine that fixes this.

Posted

The screenshots I presented, First one from the left shows a customizable character with OpenJK uix86.dll file and the one on right with uix86.dll from JA unlimited mod. This is the only diffrence between these photos, Which means it's uix86.dll file related and thus I'm 100% sure it's part of OpenJK engine =) 

Posted

The screenshots I presented, First one from the left shows a customizable character with OpenJK uix86.dll file and the one on right with uix86.dll from JA unlimited mod. This is the only diffrence between these photos, Which means it's uix86.dll file related and thus I'm 100% sure it's part of OpenJK engine =) 

 

uix86.dll is 100% not part of OpenJK engine.  It is the mod portion of the OpenJK project which means fs_game should be fs_game OpenJK.

Posted

The weekend's only just started :P! A rough count would be good, yeah. e.g. to the nearest 10.

Sorry for the rush. I think the count is around "51". 52nd character is bugged.  

Posted

What do you mean by 'bugged'? What problems do you see? Please give as much information as you can :D

 

EDIT: I've looked through the code and don't see limits in place for the customisable characters so it might be a different issue.

Posted

Are you setting fs_game when you load OpenJK? And can you post a list of all your character PK3s? I can't fix this unless I can reproduce the same issue.

Posted

It will take a while to upload them all but I found some interesting line in ui_main.c
numfiles = trap->FS_GetFileList( va("models/players/%s",dirptr), ".skin", filelist, 2048 );
Does it mean there is 2048 limit of .skin files or smth?


OpenJK loads fine 

Posted

It will take a while to upload them all but I found some interesting line in ui_main.c

numfiles = trap->FS_GetFileList( va("models/players/%s",dirptr), ".skin", filelist, 2048 );

Does it mean there is 2048 limit of .skin files or smth?

 

OpenJK loads fine

It means the total lengths of all the skin file names for a single model have to be less than 2048 characters.

 

EDIT: You would need over 100 skin files for a single model to reach that limit.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...