BcStorm Snowboard Patch Fix (Snowboard Effect)

Results 1 to 11 of 11
  1. #1
    Apprentice Inventar Retro is offline
    MemberRank
    Nov 2012 Join Date
    GermanyLocation
    13Posts

    BcStorm Snowboard Patch Fix (Snowboard Effect)

    Hello guys,
    i don't want to talk a lot, so let's do this:

    ItemEffectType.cs:

    Search:
    Code:
    PublicPool
    Add under that:
    Code:
    Snowboard
    ByteToItemEffectEnum.cs

    Search:
    Code:
    case 6:
    return ItemEffectType.PublicPool;
    Add under that:
    Code:
    case 7:
    return ItemEffectType.Snowboard;
    InterractionTypes.cs:

    Search:
    Code:
    case InteractionType.normslaskates:
    return "normalskates";
    Add under that:
    Code:
    case InteractionType.snowboard:
    return "snowboard";
    Edit:
    Search:
    Code:
    case "normalskates":
    return InteractionType.normslaskates;
    Add under that:
    Code:
    case "snowboard":
    return InteractionType.snowboard;
    InterractionType.cs:

    Search:
    Code:
    normslaskates,
    Add under that:
    Code:
    snowboard,
    RoomUserManager.cs:

    Search:
    Code:
    case ItemEffectType.Normalskates:
    if (!(User.GetClient().GetHabbo().Gender.ToLower() == "m"))
    {
    User.GetClient().GetHabbo().GetAvatarEffectsInventoryComponent().ApplyCustomEffect(0x38);
    }
    else
    {
    User.GetClient().GetHabbo().GetAvatarEffectsInventoryComponent().ApplyCustomEffect(0x37);
    }
    User.CurrentItemEffect = type;
    ButterflyEnvironment.GetGame().GetQuestManager().GetQuests().UpdateState("ROLLER_SKATE", User.GetClient());
    return;
    Add under that:
    Code:
    case ItemEffectType.Snowboard:
    User.GetClient().GetHabbo().GetAvatarEffectsInventoryComponent().ApplyCustomEffect(97);
    User.CurrentItemEffect = type;
    ButterflyEnvironment.GetGame().GetQuestManager().GetQuests().UpdateState("SNOWBOARD", User.GetClient());
    return;
    Gamemap.cs:

    Search:
    Code:
    case InteractionType.normslaskates:
    this.mUserItemEffect[Coord.X, Coord.Y] = 2;
    break;
    Add under that:
    Code:
     case InteractionType.snowboard:
    this.mUserItemEffect[Coord.X, Coord.Y] = 7;
    break;
    Now update the Snowboard Patch (Item_ID: 9103)
    Code:
    UPDATE items_base SET interaction_type = "snowboard" WHERE item_id = "9103"
    Pic:


    I think that's all, just restart your Emu and have fun.

    Sorry for my bad english lalala, I'm german.

    ~ Inventar
    Last edited by Inventar Retro; 15-12-13 at 03:54 PM.


  2. #2
    C# / while (!asleep); N0tis is offline
    MemberRank
    Aug 2011 Join Date
    258Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Euhm.


    Edit:

    Bro

    Change:
    Code:
    PublicPool,
    With:
    Code:
    PublicPool
    Last edited by Gies; 15-12-13 at 03:56 AM.

  3. #3
    Apprentice Inventar Retro is offline
    MemberRank
    Nov 2012 Join Date
    GermanyLocation
    13Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Why?
    Screenshot by Lightshot
    Snowboard is the last, so PublicPool has to have an ",".

    Edit:

    Screenshot by Lightshot

  4. #4
    C# / while (!asleep); N0tis is offline
    MemberRank
    Aug 2011 Join Date
    258Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Quote Originally Posted by Inventar Retro View Post
    Why?
    Screenshot by Lightshot
    Snowboard is the last, so PublicPool has to have an ",".
    Yes, thats when you add it.

    When you did nothing to it and search: "PublicPool," it will find nothing.
    Cuz then PublicPool is the last one do you get me?

    Code:
       internal enum ItemEffectType
        {
            None,
            Swim,
            SwimLow,
            SwimHalloween,
            Iceskates,
            Normalskates,
            PublicPool
        }

  5. #5
    Apprentice Inventar Retro is offline
    MemberRank
    Nov 2012 Join Date
    GermanyLocation
    13Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Yes, ok.
    I understand.

    Edit:

    Done.

  6. #6
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    A nice little fix :) Thank you!

  7. #7
    ~|=_=|~ Receiver is offline
    MemberRank
    Sep 2013 Join Date
    PlutoLocation
    624Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Does this work for Plus EMU as well?

  8. #8
    Apprentice Inventar Retro is offline
    MemberRank
    Nov 2012 Join Date
    GermanyLocation
    13Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Quote Originally Posted by Receiver View Post
    Does this work for Plus EMU as well?
    I don't know, I am using this Emu:
    https://mega.co.nz/#!tI1mlTqQ!MqruyB...-jWYz4B2zWkWhc

  9. #9
    ~|=_=|~ Receiver is offline
    MemberRank
    Sep 2013 Join Date
    PlutoLocation
    624Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Quote Originally Posted by Inventar Retro View Post
    That's Swift EMU, So, I asked if this would work with Plus EMU

  10. #10
    Apprentice xXDiabloNLXx is offline
    MemberRank
    Dec 2013 Join Date
    The NetherlandsLocation
    19Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Thanks for this fix I'm going to use it.

    I'd love to see more fixes coming from you & Jerking.

    Good luck to both of you and those who're going to set up their retro's!

  11. #11
    Apprentice Inventar Retro is offline
    MemberRank
    Nov 2012 Join Date
    GermanyLocation
    13Posts

    Re: BcStorm Snowboard Patch Fix (Snowboard Effect)

    Quote Originally Posted by Receiver View Post
    That's Swift EMU, So, I asked if this would work with Plus EMU
    Try it out?

    Quote Originally Posted by xXDiabloNLXx View Post
    Thanks for this fix I'm going to use it.

    I'd love to see more fixes coming from you & Jerking.

    Good luck to both of you and those who're going to set up their retro's!
    Np's.



Advertisement