[Q] How do you send IMAGE of monster/npc/boss from core to client 362?

Salty Mike

hella salty
VIP
Неукротимое пламя
Сообщения
348
Розыгрыши
0
Решения
4
Репутация
163
Реакции
134
Баллы
1 438
Хроники
  1. Prelude
Исходники
Присутствуют
Сборка
Scripts Essence 362
Does anybody know how to push the image to the client (or rather, once pushed, how to call it)?

Back on H5, there was a Crest.utx in SysTextures, but it is no longer there.
The feature in question is the in-game Database that comes with many of the server packs. On H5, it shows the images just fine, but on 362 it shows black screen.
 
You mean in png format to crest?
 
Let me rephrase:
If you still send the monster images through the ClanCrest packet, how do you call them to show in the client itself?

On H5, you could send the images through the ClanCrest packet (the small clan crest, no the clan insignia), and you could make them show in the client like this:
Java:
html.replace("%image%", "Crest.crest_" + Config.SERVER_ID + "_" + imageId);

However, the Crest.crest_SERVERID_imageID call no longer works, because there is no Crest.utx to store the images, I recon.
 
Назад
Сверху Снизу