Welcome to the RaGEZONE - MMORPG development forums.

Update Notification [UberEmu, C#]

This is a discussion on Update Notification [UberEmu, C#] within the Habbo Releases forums, part of the Habbo Hotel category; Hello, Today im Releasing my Update Notification System : You need a Web Host for Hosting the Update File Step ...

LyncusMU
Results 1 to 12 of 12
  1. #1
    RaGEZONER
    Rank
    Newbie
    Join Date
    Mar 2011
    Posts
    99
    Liked
    19

    Update Notification [UberEmu, C#]

    Tabo Hotel
    Hello,
    Today im Releasing my Update Notification System :

    You need a Web Host for Hosting the Update File


    Step 1: Create the Update File
    Create a file called update.php
    PHP Code:
    <?php
    $v 
    $_GET['version'];
    if(
    $v == "BUILDNUMMER")
    {
        echo 
    "No Updates";
    }
    else
    {
        echo 
    "Version X is avaible!";
    }
    ?>
    Step 2 : Code in Emulator

    Search in UberEnvironment.cs :
    Code:
    private static Game Game;
    And put under it :
    Code:
    public static string Message;
    public static int Version = 100;
    Under the uberEmulator Logo add:
    Code:
    string[] update = new string[6];
    update[0] = new System.Net.WebClient().DownloadString("URL?v=Version");
    Message = update[0];
    Message = Message.Substring(0, 70); // Many Hoster add javascript -.- The Substring clean it.
    Console.WriteLine(UberEnvironment.Message);
    Sry for my bad english i am german ;)

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    MEHHREKHwhgfkehrkgthregir
    Rank
    Member +
    Join Date
    Sep 2011
    Location
    υηιтє∂
    Posts
    927
    Liked
    305

    Re: Update Notification [UberEmu, C#]

    Post an image please ;)
    Posted via Mobile Device

  4. #3
    PHP, HTML5, CSS3, JS, C#
    Rank
    Alpha Member
    Join Date
    Jun 2010
    Location
    The Netherlands
    Posts
    1,814
    Liked
    1013
    Quote Originally Posted by ησвяαιη View Post
    Post an image please ;)
    Posted via Mobile Device
    Of what?,

    Simple and easy checker :P
    Posted via Mobile Device

  5. #4
    Works @Duck Hosts (siggy)
    Rank
    Member +
    Join Date
    Dec 2010
    Location
    Australia
    Posts
    1,253
    Liked
    529

    Re: Update Notification [UberEmu, C#]

    That's more of just C#. This isn't Habbo related at all.

  6. #5
    Member
    Rank
    Newbie
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    47
    Liked
    0

    Re: Update Notification [UberEmu, C#]

    Gibt's das schon im Ultimate Emulator?

  7. #6
    Web Application Developer
    Rank
    Moderator
    Join Date
    Apr 2010
    Posts
    2,983
    Liked
    1000
    This is not even relevant to habbo, nor a good checker. Check Blackbird for a decent checker if I even left it in there.

    Sent from my DROID2 GLOBAL using Tapatalk

  8. #7
    Member
    Rank
    Newbie
    Join Date
    Sep 2011
    Posts
    48
    Liked
    0

    Re: Update Notification [UberEmu, C#]

    Wonderful: D

  9. #8
    Back in buisness
    Rank
    Member +
    Join Date
    Nov 2009
    Location
    Norway
    Posts
    295
    Liked
    25

    Re: Update Notification [UberEmu, C#]

    sorry but what is this?

  10. #9
    AWWW YEAH \,,/
    Rank
    Subscriber
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    629
    Liked
    118

    Re: Update Notification [UberEmu, C#]

    Quote Originally Posted by oleaa View Post
    sorry but what is this?
    its like phoenix! when have any update we receive a notification in emulator, but its different, we receive a notification and download of the new emulator version.
    hope you understand.

  11. #10
    Member
    Rank
    Newbie
    Join Date
    Mar 2011
    Location
    Austria
    Posts
    33
    Liked
    1

    Re: Update Notification [UberEmu, C#]

    Uber Logo ???

  12. #11
    C# | C++
    Rank
    Member +
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    457
    Liked
    88

    Re: Update Notification [UberEmu, C#]

    This is a bad base for an Update Notification.
    Use this: http://forum.ragezone.com/f353/v4rok...update-801938/

    It's better :')

  13. #12
    The Omega
    Rank
    Member
    Join Date
    Aug 2007
    Posts
    101
    Liked
    3

    Re: Update Notification [UberEmu, C#]

    Sorry, eh, but...

    Code:
    Message = new System.Net.WebClient().DownloadString("URL?v=" + Version + "");
    Message = Message.Substring(0, 70); // Many Hoster add javascript -.- The Substring clean it.
    Console.WriteLine(UberEnvironment.Message);
    This isn't the same thing, but more optimized? :)

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •