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.
The server is running in l2house.com.ar with C4 mode and in L2Tekila within the same login you can also test it in C5, if you want me to raise another chronicle to test, just let me know.
I have a system where Accounts are saved on login screen for fast login. I am playing a server where this feature is not on the logic screen. How I can try to add this feature to the system?
I don't know what files I would have to touch.
Thanks!!
Hello everyone,
Given that he has lots of different projects but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project is the best choice?
For a server that can be custom and which can be suitable for a classic x10 server and an x1000 server for example?
L2J
Or we ideally have the source, in order to be able to add the farming systems, weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Hello everyone,
Given that he has lots of different projects
but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project/emulator
is the best choice?
For a server that can be custom and
which can be suitable for a classic x10 server
and an x1000 server for example?
L2Java ideally
Or we ideally have the source,
in order to be able to add the farming systems,
weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
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.