[HELP] Emulator Exception?

Results 1 to 1 of 1
  1. #1
    Enthusiast HabFree is offline
    MemberRank
    Jul 2012 Join Date
    41Posts

    [HELP] Emulator Exception?

    Hello Ragezone,
    I have for a long time now this error.


    13-9-2015 16:31:36: Error in thread Room [ID: 753] cycle task -- Process Floor Items:
    System.FormatException: The format of the input string is incorrect.
    at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    at System.Convert.ToDouble(String value)
    at Skywave4.HabboHotel.Items.RoomItem.method_2() in c:\Users\Administrator\Desktop\Skywave4\Skywave4.HabboHotel.Items\RoomItem.cs:rule 763
    at Skywave4.HabboHotel.Rooms.Room.method_33() in c:\Users\Administrator\Desktop\Skywave4\Skywave4.HabboHotel.Rooms\Room.cs:rule 3101


    Code from RoomItem.cs rule 763:

    case "wf_trg_timer":
    if (this.ExtraData == "1")
    {
    this.ExtraData = "0";
    this.UpdateState(false, true);
    }
    if (this.string_2.Length > 0)
    {
    this.method_8().method_15(this);
    this.ReqUpdate(Convert.ToInt32(Convert.ToDouble(this.string_2) * 2.0));
    }
    break;

    Code from Room.cs rule 3101:

    if (this.hashtable_0 != null)
    {
    foreach (RoomItem class2 in this.Hashtable_0.Values)
    {
    if (class2.AnimatedRoomItem != null)
    {
    class2.AnimatedRoomItem.OnCycle();
    }
    if (class2.bool_1)
    {
    class2.method_2();
    }
    }
    }
    }

    The rule in the codes with the fat fond is the row from the error.




Advertisement