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

Icons are not properly loading / shown ingame #209

Open
RobiSE9722 opened this issue Apr 30, 2023 · 15 comments
Open

Icons are not properly loading / shown ingame #209

RobiSE9722 opened this issue Apr 30, 2023 · 15 comments
Labels
not our bug We didn't break this

Comments

@RobiSE9722
Copy link

RobiSE9722 commented Apr 30, 2023

I have a issue where not all icons are loaded, i am not sure if it is client sided or server sided since some players say everything is loaded and some say it is not.
Any causes?

(edit) i also noticed that sometimes more icons load and sometimes less icons load when i join but they never all load.

https://i.gyazo.com/7f2dc63d7ec9746e44969da8ff561b60.jpg

@wsrvn
Copy link
Collaborator

wsrvn commented Apr 30, 2023

this has been the main issue with our ui since the very beginning. it is client-side most certainly, as we're (temporarily) using the discord servers (google cdn) to host them. there's no fix that i'm aware of. clearing the game cache would be your best bet.

@wsrvn wsrvn added the not our bug We didn't break this label Apr 30, 2023
@RobiSE9722
Copy link
Author

Thanks for your quick reply.
Would it not be better to store the icon sets locally instead?
Also do you have a discord server i could join?

@wsrvn
Copy link
Collaborator

wsrvn commented Apr 30, 2023

each player would have to load the icons independently of their location.. the only somewhat working solution is letting the player extract all the icons we currently use inside their cache directory manually.

@wsrvn
Copy link
Collaborator

wsrvn commented Apr 30, 2023

also no server atm. we do programming, not marketing and promoting (unlike some other very interesting figure in the community). later, when there's a bigger demand for it, perhaps?

@RobiSE9722
Copy link
Author

RobiSE9722 commented Apr 30, 2023

Thanks for your reply, i appreciate it.
What do you mean independently of their location? I was thinking letting them be stored locally on the server but there probably isn't a way to push them to the client that way... didn't think about that. Weird though that they wont properly load when hosted on Discords and google's cnd, i have never had any issues with those outside of this project.
Discord server would be nice just for discussions and troubleshooting. No clue which figure you are talking about.

@lythx
Copy link
Owner

lythx commented May 1, 2023

Icon loading stuff is a problem related to the game itself, it can technically be solved by putting the iconpack manually into the cache folder, but that's a lot of effort and the issue usually just goes away after some time. Make sure that you have "locators" option enabled in PeerToPeer menu in game settings, without it the downloads are very slow.

@wsrvn
Copy link
Collaborator

wsrvn commented Oct 7, 2023

this issue is now relevant due to discord changing their attachment hotlinking policy. cannot use their cdn anymore, gotta move the icons elsewhere (FAIL)

@felacek
Copy link
Collaborator

felacek commented Oct 7, 2023

Moved to https://trakman.ptrk.eu/icons

@sangfroid70
Copy link

sangfroid70 commented Nov 5, 2023

Icons are no longer available on https://trakman.ptrk.eu/icons

@wsrvn
Copy link
Collaborator

wsrvn commented Nov 8, 2023

@felacek

@felacek
Copy link
Collaborator

felacek commented Nov 8, 2023

Icons are no longer available on https://trakman.ptrk.eu/icons

The listing is 403 forbidden by design, the icons themselves should work?

@Skorlok
Copy link

Skorlok commented Nov 8, 2023

the autoindex is disabled by default on NGINX, so the folder return 403, I can personally download individual icons

@sangfroid70
Copy link

sangfroid70 commented Nov 19, 2023

https://trakman.ptrk.eu/icons/FRA.png https://trakman.ptrk.eu/icons/JPN.png https://trakman.ptrk.eu/icons/ISR.png https://trakman.ptrk.eu/icons/PeopleGaming.png https://trakman.ptrk.eu/icons/Stats.png https://trakman.ptrk.eu/icons/PaySkip.png

are these available for you ?

Yes available with direct links, but not in game. Strange. Is it possible to have a .zip with icons to put on a local server ? Thank's for your answers anyway

EDIT 2023-11-21 : Finally it works but I don't know why ;)
Thank's for your help anyway

@wsrvn
Copy link
Collaborator

wsrvn commented Nov 21, 2023

Yes available with direct links, but not in game. Strange. Is it possible to have a .zip with icons to put on a local server ?

local server or not, you'd still need to download the pictures through the game for them to appear. the solution we found to be working was to put the icons directly into the game's cache. that ensures each image's availability, but is impossible to influence from our code. the most we could do is to put a warning message for every joining player to download and extract an archive into god knows which directory on their system, which does not sound very convincing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not our bug We didn't break this
Projects
None yet
Development

No branches or pull requests

6 participants