-
Notifications
You must be signed in to change notification settings - Fork 8
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
dx11 mode customFonts are not displayed and errors are reported #38
Comments
Oct 27 09:52:18 error: intercepted crash from hardware exception at "??? +0x0000000000000000" |
In addition, according to the source code, the json file with all the skill ids at once would exceed the page link length, |
Which font file were you trying to load and could you please also provide sct.log?
Which json file with all the skill ids do you mean? Currently I still save the skill icon information as a ini file. |
I look at your source code, the link to get the skill API will append all skill ids to "IDS =" and then according to my test, it will return a message" the page connection address is out of bounds ", Because the log file is empty and I can't provide it |
this is my font and Translation files(Not the latest version. I'll give you the latest when I get home |
I modified the SkillIconManager.cpp, it will divide the id size by 180, then get all the skill json, save them locally, remove some extra strings, and then integrate them together, then parse them, and then Start downloading the pictures, and determine whether they need to be re-downloaded according to the size of the existing pictures, because sometimes the picture file size may be 0kb i use std::string getjsonstring(std::string url, std::string urfs, std::string urls) void to get json and save to local |
I think you code presumes the "preload all skill icons" option is always enabled. Otherwise the first time an Icon gets requested, the allskell.txt is created and after that only there information are looked up but it contains only information about that one skill. Secondly I strongly refrained from caching the API results in the past since skill icons could get updated or even skill ids could change in future updates meaning the cached information would be out of date. Therefore it is useful to always send a new request to the API about skill information. I already pushed a commit limiting the requested skill id's per API call to 10 which should solve the original problem you mentioned with exceeding the HTTP URL length limit. |
I tested both the language and font file you provided, and both work fine with the newest dll version 2.0 RC2. could you make sure you have the latest dll (it changed twice yesterday, you can check if you have the newest by comparing file size - should be around 3.4 MB). Otherwise your sct.ini or sct.json could be in some way problematic. |
is use fanzhengmiaowu.ttf |
I tried other fonts and still had problems. |
lang.zip |
Oh I missed you were using dx11. Yeah there seem to be some issues with dx11 currently. |
this log im not ues preload all skill icons |
Before the release of v2.0 RC2 ,in Issues, you released the test support dx11 version of the display is normal |
Text in dx11 is fixed with newest commit and release. |
Font library display not complete, such as "症状" only show "症",And have more of that |
Fixed with commit b008e74 |
not releases file? |
You can test it with this dll: I won't change the current pre release until there are some major problems with the changed code. Reason for that is that I plan to soon finish the complete 2.0 release. |
No description provided.
The text was updated successfully, but these errors were encountered: