Habbo Retro EVPanel

Results 1 to 10 of 10
  1. #1
    Apprentice haaan is offline
    MemberRank
    Aug 2013 Join Date
    ya mom's closetLocation
    13Posts

    idea Habbo Retro EVPanel

    Hello RageZONE,

    I was wondering if anyone had a release for the Event Panel. An event panel is an alert sent through the website describing what game is going to be played on the hotel by the event team, for those who didn't know . And if they did, I'm wondering if you could help me out setting it up .

    Thanks in advance,

    haaan !


  2. #2
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: Habbo Retro EVPanel

    Do you mean like having a page in your HK that can be edited and then to display something like this on the /me page?


  3. #3
    Apprentice haaan is offline
    MemberRank
    Aug 2013 Join Date
    ya mom's closetLocation
    13Posts

    Re: Habbo Retro EVPanel

    Quote Originally Posted by FatalLulz View Post
    Do you mean like having a page in your HK that can be edited and then to display something like this on the /me page?

    Thanks for the reply, and no I don't. You know how owners of the hotel get the :ha command, and event people don't. I want something like :ha for the event staff when the owners aren't online.

    So the alert would say something like:
    "Search haaan for a game of ff and win a throne. -Sent by EvPanel."

    Hopefully you understand what I mean.

  4. #4
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: Habbo Retro EVPanel

    Quote Originally Posted by haaan View Post
    Thanks for the reply, and no I don't. You know how owners of the hotel get the :ha command, and event people don't. I want something like :ha for the event staff when the owners aren't online.

    So the alert would say something like:
    "Search haaan for a game of ff and win a throne. -Sent by EvPanel."

    Hopefully you understand what I mean.
    Why not edit the permission of the :ha command then?

  5. #5
    Apprentice haaan is offline
    MemberRank
    Aug 2013 Join Date
    ya mom's closetLocation
    13Posts

    Re: Habbo Retro EVPanel

    I don't want to specifically give the event team the :ha command.

    Here's a more detailed example:

    The event team can go to a page on the website called /evpanel.
    They select the game they want to be hosted, for instance ff.
    Then they click send alert, and the alert will go to the hotel saying, "Search haaan for a game of ff and win a throne. -Sent by EvPanel."

  6. #6
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,074Posts

    Re: Habbo Retro EVPanel

    Which emu are you using? If it have RCON properly coded, you can use that with a few lines of code in your CMS (perhaps, if your CMS have support, not even that), otherwise you would have to code the RCON.

    The idea is like that:
    CMS communicates with the Emulator with a Packet telling exactly what it want;
    Emulator receives the data;
    Emulator parses the data;
    Send packet to the main core in case the RCON packet exists.

  7. #7
    Apprentice haaan is offline
    MemberRank
    Aug 2013 Join Date
    ya mom's closetLocation
    13Posts

    Re: Habbo Retro EVPanel

    Quote Originally Posted by Droppy View Post
    Which emu are you using? If it have RCON properly coded, you can use that with a few lines of code in your CMS (perhaps, if your CMS have support, not even that), otherwise you would have to code the RCON.

    The idea is like that:
    CMS communicates with the Emulator with a Packet telling exactly what it want;
    Emulator receives the data;
    Emulator parses the data;
    Send packet to the main core in case the RCON packet exists.
    I am using Phoenix emulator.

  8. #8
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,074Posts

    Re: Habbo Retro EVPanel

    Quote Originally Posted by haaan View Post
    I am using Phoenix emulator.
    Read those threads/posts:
    http://forum.ragezone.com/f353/phoen...0-mus-1029914/
    http://forum.ragezone.com/f333/phoen...2/#post7714572

    On the first thread, you can see this: http://pastebin.com/t90mg25q

    It is an simple script to connect with your Emulator using RCON (or MUS if you preffer to call like that, even being wrong).

    Example for sending a HA (as seen on http://pastebin.com/t90mg25q , but with full form, and 'hal'):
    PHP Code:
    <?php
    function Mus($header$data '')
    {
        
    $port 30001;
        
    $ip "127.0.0.1";
        
    $musData $header chr(1) . $data;
        
    $sock =   [MENTION=1333431411]Socket[/MENTION]_create(AF_INETSOCK_STREAMgetprotobyname('tcp'));
          [
    MENTION=1333431411]Socket[/MENTION]_connect($sock$ipintval($port));
          [
    MENTION=1333431411]Socket[/MENTION]_send($sock$musDatastrlen($musData), MSG_DONTROUTE);
          [
    MENTION=1333431411]Socket[/MENTION]_close($sock);
    }
    Mus("ha""your message");
    ?>
    Command List/Params (as seen on http://forum.ragezone.com/f333/phoen...2/#post7714572 ):
    PHP Code:
    unloadroom [id]
    updategroup [id]
    updatepixels [id]
    updatepoints [id]
    giveitem [userid] [itemid] [pageid] [gift-message]
    updatevip [id]
    updateusersgroups [id]
    shutdown
    update_filter
    updatecredits 
    [id]
    reloadbans
    update_bots
    signout 
    [id]
    exe [SQL]
    alert [id] [message]
    ha [message]
    hal [url] [message]
    updatelook [id]
    updatemotto [id]
    update_items
    update_catalogue
    update_catalog
    updateusersrooms 
    [id]
    senduser [userid] [roomid]
    roomalert [id] [message]
    update_filter
    refresh_filter
    sa 
    [message
    I can't tell for sure if those works.

    Basically is the same as running a command.

    Example:
    Code:
    :sa Hello Staffs!
    So, you'd run:
    Code:
    <?php
    function Mus($header, $data = '')
    {
        $ip = "127.0.0.1"; // ip of your emulator
        $port = 30001; // port of your emulator
        $musData = $header . chr(1) . $data;
        $sock =   @Socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
          @Socket_connect($sock, $ip, intval($port));
          @Socket_send($sock, $musData, strlen($musData), MSG_DONTROUTE);
          @Socket_close($sock);
    }
    Mus("sa", "Hello Staffs!");
    ?>
    As you can see, running
    Code:
    Mus("sa", "Hello Staffs!");
    Will be the exact the same as :sa Hello Staffs!

    PS: Do not use :command, instead use command (Don't use :, only the command trigger)
    PS²: Not all commands are avaliable, so please, use the ones provided by @Vrop93 up there

  9. #9
    Apprentice haaan is offline
    MemberRank
    Aug 2013 Join Date
    ya mom's closetLocation
    13Posts

    Re: Habbo Retro EVPanel

    Thank you so much.

    I was wondering if you could help me out as well with making the command say, "Sent by evPanel."
    As of right now, it doesn't say anything.
    http://prntscr.com/5mihsi
    Where the red box is is where I want it to say "Sent by evPanel"

    Would I have to go and edit some commands or something?

  10. #10
    Enthusiast Hayd3n is offline
    MemberRank
    Oct 2012 Join Date
    40Posts

    Re: Habbo Retro EVPanel

    It would be something like this
    PHP Code:
    Mus("sa""Hello! \r - Sent by evPanel"); 



Advertisement