Images in hotel alerst

Results 1 to 13 of 13
  1. #1
    LETS REACH 666 POSTS?!!!! ImNotSatan is offline
    MemberRank
    Apr 2013 Join Date
    google.devLocation
    573Posts

    Images in hotel alerst

    So i was wondering here,

    I would like to try to add like:

    An imabe in my :about orsomthing

    But how would i start

    System.Drawing wont do good in the hotel cuz yeah, that doesnt fit.
    Converting images from base64 did not work.

    Im guessing i have to add the image to the habbo swf, but i might be wrong

    Could anny1 give me like a start with this?


  2. #2
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: Images in hotel alerst

    Just search for it (https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx), you need also send the correct packetheader that supports HTML in it. For loading the image into your application you'll use the Image.FromFile method for C#.

  3. #3
    LETS REACH 666 POSTS?!!!! ImNotSatan is offline
    MemberRank
    Apr 2013 Join Date
    google.devLocation
    573Posts

    Re: Images in hotel alerst

    Quote Originally Posted by streamhotel View Post
    Just search for it (https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx), you need also send the correct packetheader that supports HTML in it. For loading the image into your application you'll use the Image.FromFile method for C#.
    Yeah the image will do but the packet mmm? Im using yupi atm

  4. #4
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: Images in hotel alerst

    Quote Originally Posted by ImNotSatan View Post
    Yeah the image will do but the packet mmm? Im using yupi atm
    I'm not sure but I thought it was already registered in the outgoing packetlist of yupi (Azure) and was used for a event command :) It looks like the image below.


  5. #5
    LETS REACH 666 POSTS?!!!! ImNotSatan is offline
    MemberRank
    Apr 2013 Join Date
    google.devLocation
    573Posts

    Re: Images in hotel alerst

    Quote Originally Posted by streamhotel View Post
    I'm not sure but I thought it was already registered in the outgoing packetlist of yupi (Azure) and was used for a event command :) It looks like the image below.

    Yeah i know that message but how would i insert an image there? I dont tink i can add an image in such a packet

  6. #6
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: Images in hotel alerst

    Quote Originally Posted by ImNotSatan View Post
    Yeah i know that message but how would i insert an image there? I dont tink i can add an image in such a packet
    No, thats not possible but for the packet you need to use the url ( example: localhost/c_images/notifications/image.png). I just checked the old Azure emulator and theres a definition called "SendSuperNotif" for sending those alerts!

  7. #7
    LETS REACH 666 POSTS?!!!! ImNotSatan is offline
    MemberRank
    Apr 2013 Join Date
    google.devLocation
    573Posts

    Re: Images in hotel alerst

    Quote Originally Posted by streamhotel View Post
    No, thats not possible but for the packet you need to use the url ( example: localhost/c_images/notifications/image.png). I just checked the old Azure emulator and theres a definition called "SendSuperNotif" for sending those alerts!
    This is my about:

    How would i add this?

    ServerMessage message = new ServerMessage(LibraryParser.OutgoingRequest("SuperNotificationMessageComposer"));


    message.AppendString("Yupi");
    message.AppendInteger(4);
    message.AppendString("title");
    message.AppendString("Yupi");
    message.AppendString("message");
    StringBuilder info = new StringBuilder();
    info.Append("<h5><b>Yupi - Based on Azure Emulator</b><h5></br></br>");
    info.Append("<br />");
    info.AppendFormat(
    "<b><br />Developed by:</b> <br />Kessiler Rodrigues (Kessiler)<br />Claudio Santoro (sant0ro/bi0s) <br />Rafael Oliveira (iPlezier) <br /><br /> ");
    info.AppendFormat(
    "<b>Thanks to:</b> <br />Jamal, Mike Santifort, Martinmine, Rockster, The old Azure Team, Bruna F., and to all people that uses Yupi.<br /> <br /> ");
    info.AppendFormat(
    "<b>Warning:</b><br />1. This emulator was planned to be used for ManiaHotel (maniahotel.com.br) <br />2. Please don't sell this emulator or earn money with it<br />3. All rights reserved to Sulake Corporation Oy<br />4. All Emulator rights for Mania Dev<br />");
    message.AppendString(info.ToString());
    message.AppendString("linkUrl");
    message.AppendString("event:");
    message.AppendString("linkTitle");
    message.AppendString("ok");
    client.SendMessage(message);


    return true;

  8. #8
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: Images in hotel alerst

    Quote Originally Posted by ImNotSatan View Post
    This is my about:

    How would i add this?
    Change the first string "Yupi" to your image url, let me know if it works :)

  9. #9
    LETS REACH 666 POSTS?!!!! ImNotSatan is offline
    MemberRank
    Apr 2013 Join Date
    google.devLocation
    573Posts

    Re: Images in hotel alerst

    Quote Originally Posted by streamhotel View Post
    Change the first string "Yupi" to your image url, let me know if it works :)
    Mmm apparently there was an image in the notif did not see that before thx m8

    - - - Updated - - -

    Edit this image is like

    IMAGE --- TEXT
    TEXT

    Anny idea how i could do like

    IMAGE
    TEXT
    TEXT

  10. #10
    Account Upgraded | Title Enabled! YoWesty is offline
    MemberRank
    Oct 2012 Join Date
    285Posts

    Re: Images in hotel alerst

    Quote Originally Posted by ImNotSatan View Post
    So i was wondering here,

    I would like to try to add like:

    An imabe in my :about orsomthing

    But how would i start

    System.Drawing wont do good in the hotel cuz yeah, that doesnt fit.
    Converting images from base64 did not work.

    Im guessing i have to add the image to the habbo swf, but i might be wrong

    Could anny1 give me like a start with this?
    What emulator are you using?

  11. #11
    LETS REACH 666 POSTS?!!!! ImNotSatan is offline
    MemberRank
    Apr 2013 Join Date
    google.devLocation
    573Posts

    Re: Images in hotel alerst

    Quote Originally Posted by YoWesty View Post
    What emulator are you using?
    Already got it but read my second post i want to change the position

    Yupi emu btw


    Verzonden vanaf mijn iPhone met Tapatalk

  12. #12
    Valued Member Troll Hotel is offline
    MemberRank
    Nov 2012 Join Date
    SlovakiaLocation
    144Posts

    Re: Images in hotel alerst

    add info.Append("<br />"); after the first string ;p

  13. #13
    LETS REACH 666 POSTS?!!!! ImNotSatan is offline
    MemberRank
    Apr 2013 Join Date
    google.devLocation
    573Posts

    Re: Images in hotel alerst

    Quote Originally Posted by Troll Hotel View Post
    try adding info.Append("<br />"); after first string ;p
    Dont tink thatll work but ill try later today


    Verzonden vanaf mijn iPhone met Tapatalk



Advertisement