My idea is that I convert the uploaded bitmaps to .png or .jpg via a graphics library via PHP and make some kind of web management system. However when I try to manually open the bitmap file, I can't do it.
I've come across the function that saves the crests to the drive:
public boolean savePledgeCrest(int newId, byte[] data)
{
File crestFile = new File(Config.DATAPACK_ROOT, "data/crests/Crest_" + newId + ".bmp");
try
{
FileOutputStream out = new FileOutputStream(crestFile);
out.write(data);
out.close();
_cachePledge.put(newId, data);
return true;
}
catch (IOException e)
{
_log.log(Level.INFO,"Error saving pledge crest" + crestFile + ":", e);
return false;
}
}
Which I trace into RequestSetPledgeCrest.java, but there it doesn't really shed anymore light on the situation. The file itself seems to be stored in a byte array which is read from readB();, but I can't venture any further into this function.
I'm using l2aCis interlude. Anybody have any extra information on this?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
dpbBryan
My idea is that I convert the uploaded bitmaps to .png or .jpg via a graphics library via PHP and make some kind of web management system. However when I try to manually open the bitmap file, I can't do it.
I've come across the function that saves the crests to the drive:
Which I trace into RequestSetPledgeCrest.java, but there it doesn't really shed anymore light on the situation. The file itself seems to be stored in a byte array which is read from readB();, but I can't venture any further into this function.
I'm using l2aCis interlude. Anybody have any extra information on this?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.