Jump to content

[SHARE] Pos na bazis image apo Server side kai na fenete sto game mesa


Recommended Posts

Lipon opos leo kai ston titlo Eine ena share gia na fenete mia image opou tha iparxi sto data/image se client side

 

na o kodikas !

int imgId = 99999999;
    try {
      File pass = new File("data/images/example.png");
      PledgeCrest packet = new PledgeCrest(imgId, DDSConverter.convertToDDS(pass).array());
      activeChar.sendPacket(packet);
    }
    catch (Exception e)
    {
    }

and on htm (on java )

tb.append("<img src=\"Crest.crest_" + Config.SERVER_ID + "_" + imgId + "\" width=128 height=128>");

 

Elpizo na sas fani xrisimos

Link to comment
Share on other sites

tha mpwrouses na mas dikseis mia eikona? to pos kathete .. ;p gt exw periergia kai an m aresei tha to peraso.

 

Eine opos to npc tou elfocrash

 

Credit's dika mou

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...
  • 3 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock