Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
I know a few years ago this was the shit also this is a leak edition when a hotel was being hacked with the exploit from Nillus.
Correct me if i'm wrong but i'm just curious.
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Eronisch
There is a bug with laying down on beds as well, you won't lay in the middle. It's a bit messed up.
You just have to do some calculations. It's not very hard to fix. ;p
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Near
You just have to do some calculations. It's not very hard to fix. ;p
Mind sharing the fix?:blushing:
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Eronisch
Mind sharing the fix?:blushing:
Yeah, sure. I kind off "hacked" it in. I haven't figured out how to re-route the players movement. So I just prevent the user from clicking on the parts of the bed where you shouldn't go.
In roomMap.cs replace the code that that's there with this:
Code:
if (lItem.Z >= heightMap[lTile.X, lTile.Y])
{
if (lItem.Definition.Behaviour.canStandOnTop)
{
if (lItem.Z > heightMap[lTile.X, lTile.Y] || lItem.Definition.Behaviour.isRoller)
{
stateMap[lTile.X, lTile.Y] = roomTileState.Free;
heightMap[lTile.X, lTile.Y] = lItem.totalHeight;
}
}
else if (lItem.Definition.isInteractiveStance)
{
stateMap[lTile.X, lTile.Y] = roomTileState.Interactive;
//If this is a bed, we need to redirect the tile to the top/block the tiles under it so you can't have sex
if (lItem.Definition.Behaviour.canLayOnTop)
{
if (lItem.Rotation == 0 || lItem.Rotation == 4)
{
if (lItem.Definition.Sprite.Contains("two") || !lItem.Definition.Sprite.Contains("one"))
{
stateMap[lItem.X, lItem.Y + 1] = roomTileState.Blocked;
stateMap[lItem.X, lItem.Y + 2] = roomTileState.Blocked;
stateMap[lItem.X + 1, lItem.Y + 1] = roomTileState.Blocked;
stateMap[lItem.X + 1, lItem.Y + 2] = roomTileState.Blocked;
}
else
{
stateMap[lItem.X, lItem.Y + 1] = roomTileState.Blocked;
stateMap[lItem.X, lItem.Y + 2] = roomTileState.Blocked;
}
}
if (lItem.Rotation == 2 || lItem.Rotation == 6)
{
if (lItem.Definition.Sprite.Contains("two") || !lItem.Definition.Sprite.Contains("one"))
{
stateMap[lItem.X + 1, lItem.Y] = roomTileState.Blocked;
stateMap[lItem.X + 2, lItem.Y] = roomTileState.Blocked;
stateMap[lItem.X + 1, lItem.Y + 1] = roomTileState.Blocked;
stateMap[lItem.X + 2, lItem.Y + 1] = roomTileState.Blocked;
}
else
{
stateMap[lItem.X + 1, lItem.Y] = roomTileState.Blocked;
stateMap[lItem.X + 2, lItem.Y] = roomTileState.Blocked;
}
}
}
}
else
stateMap[lTile.X, lTile.Y] = roomTileState.Blocked;
}
If anyone figures out something better, be sure to share it! :)
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Thanks for the share, instead of preventing you could direct it to the right place.
I'll modify it in the weekend and share it.
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Near
Yeah, sure. I kind off "hacked" it in. I haven't figured out how to re-route the players movement. So I just prevent the user from clicking on the parts of the bed where you shouldn't go.
In roomMap.cs replace the code that that's there with this:
If anyone figures out something better, be sure to share it! :)
Quote:
Originally Posted by
Eronisch
Thanks for the share, instead of preventing you could direct it to the right place.
I'll modify it in the weekend and share it.
The future of the Habbo Section relies on posts like these. Keep it up!
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
By the way, i just added your code and it seems that laying down is still messed up.
It indeed prevents, but it still lays down in the wrong place. I'll try to work some things out.
Edit: Can't figure it out ..
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
I like your work, my friend :D
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Hey,
How do packets work in woodpecker v3?
As an example packet "BK" is message id 139.
How can i know what message id "AO" is?
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Caustik
Download NPS and decode it :P
I can't find any software called "NPS"
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Yesterday i tested another time Woodpecker(the WJJ one) and this is the list of the bugs that i found(if someone wants to help us fixing them):
- Private rooms
-Pets only walk(they dont make any actions: drink,eat,talk,play and the petcommands dont work)
-Laying down on beds(You dont lay on the middle and you can walk around your room laying xD)
-Trax & Camera(but it doesnt matter,they aren't basic things)
-When a Habbo is in a room and he is disconnects,he stays in the room even if you reload the room or the Hotel(like in debbo xD)
-If you put the role 7 or 0 you cant enter in to the Hotel and minutes after the server closes
-When you register the Hotel disconnects you(i think its easy to fix,it only has to start the session with the proper packet;because it was adapted for ticket sso)
- Public rooms(it isn't a basic thing,but only to know)
-Little bugs on some heightmaps of the public rooms(for example a chair where you can't sit or a place where you can walk and its supposed that you can't do it;but it doesnt matter..)
-You can't change your clothes for swim;and of course Lido & Wobble Squabble dont work
-Infobus poll doesn't work - Basic things for add or remove
-Add welcome message(it doesnt appear)
-Remove the annoying message of the catalogue that appears when you buy a furni: "Yay! it's being delivered now..." (i know that is not a bug but is annoying xd)
-Add more commands(If it has the same than in debbo or more,its okay :P)
-Add petcommands
If we are be able to fix all of the basic things(im not talking about camera,trax,lido,wobble squabble,..) Woodpecker will be even better than Debbo in coded things,because for example it has stack 100%(And if we talk that C# is much much better than VB6..).
PD: CFH works 100% on Public and private rooms(if it doesnt work for you,it means that you dont have configured properly your DCRS):
http://oi48.tinypic.com/29eg3er.jpg
http://oi50.tinypic.com/2wd58ps.jpg
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Welcome message is very easy to do, i am not sure what "send to helpers" suppose to do so i changed it to remove cfh xD.
I can't solve the laying on bed thing unfortunately.
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Eronisch
Welcome message is very easy to do, i am not sure what "send to helpers" suppose to do so i changed it to remove cfh xD.
I can't solve the laying on bed thing unfortunately.
Yes,welcome message is very easy to do,and Moogly told me that is already coded it in Thor (v9) ;)