BcStorm Snowboard Patch Fix (Snowboard Effect)
Hello guys,
i don't want to talk a lot, so let's do this:
ItemEffectType.cs:
Search:
Add under that:
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:
Add under that:
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:
http://img201.imageshack.us/img201/7426/r0s4.png
I think that's all, just restart your Emu and have fun. :):
Sorry for my bad english lalala, I'm german.
~ Inventar
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
Euhm.
Edit:
Bro
Change:
With:
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
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
Quote:
Originally Posted by
Inventar Retro
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
}
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
Yes, ok.
I understand.
Edit:
Done.
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
A nice little fix :) Thank you!
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
Does this work for Plus EMU as well?
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
Quote:
Originally Posted by
Receiver
Does this work for Plus EMU as well?
I don't know, I am using this Emu:
https://mega.co.nz/#!tI1mlTqQ!MqruyB...-jWYz4B2zWkWhc
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
Quote:
Originally Posted by
Inventar Retro
That's Swift EMU, So, I asked if this would work with Plus EMU
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!
Re: BcStorm Snowboard Patch Fix (Snowboard Effect)
Quote:
Originally Posted by
Receiver
That's Swift EMU, So, I asked if this would work with Plus EMU
Try it out?
Quote:
Originally Posted by
xXDiabloNLXx
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. :wink: