BCSTORM R63B EMULATOR ERROR! help please!

Results 1 to 7 of 7
  1. #1
    Account Upgraded | Title Enabled! bnmz4 is offline
    MemberRank
    Jun 2012 Join Date
    208Posts

    shout BCSTORM R63B EMULATOR ERROR! help please!

    Hello i enter my r63b hotel which is on bcstorm by leon and it just loads to 100 then goes black and i get this error in the emulator error logs:

    Error in packet [1930] BODY: [0][0][0][0]:
    TokenID: 0System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.
    Parameter name: minValue
    at System.Random.Next(Int32 minValue, Int32 maxValue)
    at Butterfly.HabboHotel.Navigators.Navigator.SerializePublicRooms() in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\HabboHotel\Navigators\Navigator.cs:line 325
    at Butterfly.Messages.GameClientMessageHandler.GetPubs() in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\Messages\GameClientMessageHandler.cs:line 2178
    at Butterfly.Messages.StaticMessageHandlers.SharedPacketLib.GetPubs(GameClientMessageHandler handler) in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\Messages\StaticMessageHandlers\SharedPacketLib.cs:line 350
    at Butterfly.Messages.StaticMessageHandlers.StaticClientMessageHandler.HandlePacket(GameClientMessageHandler handler, ClientMessage message) in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\Messages\StaticMessageHandlers\StaticClientMessageHandler.cs:line 29
    at Butterfly.Messages.GameClientMessageHandler.HandleRequest(ClientMessage request) in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\Messages\GameClientMessageHandler.cs:line 2814
    at Butterfly.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientMessage Message) in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\HabboHotel\GameClients\GameClient.cs:line 136





    PLEASE HELP!
    Last edited by bnmz4; 24-02-13 at 11:01 PM.


  2. #2
    C# Developer neto737 is offline
    MemberRank
    Oct 2010 Join Date
    Environment.csLocation
    274Posts

    Re: BCSTORM R63B EMULATOR ERROR! help please!

    I'm having the same error ...

  3. #3
    lol Disguised is offline
    MemberRank
    Jan 2011 Join Date
    521Posts

    Re: BCSTORM R63B EMULATOR ERROR! help please!

    TokenID: 0System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.

    It says right there.


  4. #4
    Account Upgraded | Title Enabled! bnmz4 is offline
    MemberRank
    Jun 2012 Join Date
    208Posts

    Re: BCSTORM R63B EMULATOR ERROR! help please!

    so how do i fix LOL.

  5. #5
    Im Back! PythoneX12 is offline
    MemberRank
    Sep 2010 Join Date
    634Posts

    Re: BCSTORM R63B EMULATOR ERROR! help please!

    Simply do this: Go to ur db. And open i believe would be navigator_publics. Delete everything inside of it. And for the question u asked on msn. Go to ur swfs folder. Open banner.php, And scroll wayyyy down. Edit the sql config to ur info. Then save it. Clear cache and reload ur client. Should be set.

  6. #6
    Account Upgraded | Title Enabled! bnmz4 is offline
    MemberRank
    Jun 2012 Join Date
    208Posts

    Re: BCSTORM R63B EMULATOR ERROR! help please!

    untitled.png

  7. #7
    Account Upgraded | Title Enabled! bnmz4 is offline
    MemberRank
    Jun 2012 Join Date
    208Posts

    Re: BCSTORM R63B EMULATOR ERROR! help please!

    <?php

    /*
    *****************
    * @author capos *
    *****************
    */

    header("Expires: Tue, 03 Jul 2001 06:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");

    $width = 100;
    $height = 114;

    function buildimg($bytes, $width, $height)
    {
    $img=imagecreatetruecolor($width, $height);imagealphablending($img, false);imagesavealpha($img, true);$x=0;$y=0;
    $colors=unpack("N*", implode("",$bytes));
    foreach($colors as $color)
    {
    imagesetpixel($img, $x, $y, (0x7f-($color>>25)<<24)|($color&0xffffff));
    if(++$x==$width)
    {$x=0;$y++;}
    }
    header('Content-Type: image/png');
    imagepng($img);
    }

    //if($_GET)
    //{
    $token = trim($_GET["token"]);
    //if(strlen($token) >= 10)
    //{
    /**

    // Stuff to connect to mus and get banner data.. (prime and generator)
    $fp = fsockopen("ip", 30001, $errno, $errstr, 1);
    if (!is_resource($fp))
    {
    exit("LE FAIL...");
    }

    $packet = 'setToken'.chr(1).$token;

    fwrite($fp, $packet);
    fflush($fp);

    stream_set_timeout($fp, 1);
    $data = fgets($fp, 512);
    fclose($fp);

    ***/


    $conexion = mysql_connect("localhost","root","password here?");
    mysql_select_db("db name here?", $conexion);
    $result = mysql_fetch_assoc(mysql_query("SELECT bannerdata FROM server_status;",$conexion));
    $data = $result['bannerdata'];

    //$data="1342451846182550614618898458778670684120590689881624754130339:1135845477726102894817523431022206527949967456094879262187953";
    list($prime, $generator) = explode(':', $data);


    $insert = chr(strlen($prime)).$prime.chr(strlen($generator)).$generator;
    $Length = strlen($token);$Length2 = strlen($insert);
    $p = 0;$bitsnum = "";
    for($i=0;$i<$Length2;$i++)
    {
    $bits = base_convert(ord($insert[$i]) ^ ord($token[$p]),10,2);
    $need = 8 - strlen($bits);
    for($o=0;$o<$need;$o++)$bits = "0".$bits;
    $bitsnum .= $bits;
    if (++$p == $Length) $p = 0;
    }
    $insertpos = 0;$Length = strlen($bitsnum);
    for ($y = 39; $y < 69; $y++)
    {
    $a = 0;
    for ($r = 4; $r < 84; $r++)
    {
    $pos = (($y + $a) * $width + $r) * 4;
    $b = 1;
    while ($b < 4)
    {
    if($insertpos < $Length)
    {
    $binaryData = base_convert(ord($pixels[$pos + $b]),10,2);
    $need = 8 - strlen($binaryData);
    for($o=0;$o<$need;$o++) $binaryData = "0".$binaryData;
    $binaryData[7] = $bitsnum[$insertpos];
    $pixels[$pos + $b] = chr(base_convert($binaryData,2,10));
    $insertpos++;$b++;
    continue;
    }
    break 3;
    }
    if ($r % 2 == 0) $a++;
    }
    }

    //}
    //}
    buildimg($pixels, $width, $height);
    ?>



Advertisement