-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Nillus
Aww, Woodpecker. Does this one have :spawnitem [id] or whatever I called it? It would make an item drop down from the sky. Or :voice (voiceSpeak, you'd hear voice in the room), or :ufos that would send a wave of flying pet nets and flashing lights over the room? And does the item editor work too? Good old Woodpecker! :love: Enjoy.
:ufos does work a bit, it just says something about ufos, ufos, ufos.
:voice (message) does work too :)
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
There is a bug with laying down on beds as well, you won't lay in the middle. It's a bit messed up.
By the way:
http://cdn.memegenerator.net/instanc...x/29224524.jpg
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
/// <summary>
/// 147 - "BS"
/// </summary>
public void VALIDATE_PARENT_EMAIL()
{
Response.Initialize(139); // "BK"
Response.Append("Oops, something went wrong!\rWoodpecker doesn't support mom 'n dad stuff, please re-start the registration!");
sendResponse();
}
Aww yeah. :love:
Try :descenditem 1337 btw, where 1337 is the ID of the item to use it on. (you can see item ID's as an administrator)
Or this.
Quote:
case "ufos":
{
if (!Session.User.hasFuseRight("fuse_funchatcommands"))
return false;
// Hide windows?
bool hideWindows = (Body == "1");
if (hideWindows)
Session.roomInstance.getRoomUser(Session.ID).addStatus("lingo", "cri", "hideWindows()", 1, null, 0, 0);
Random rnd = new Random(DateTime.Now.Millisecond * DateTime.Now.Second);
int ufoAmount = 50 + rnd.Next(0, 45);
Woodpecker.Net.Game.Messages.serverMessage Message = new Woodpecker.Net.Game.Messages.serverMessage();
// Send voice
Message = FunUtils.CreateVoiceSpeakMessage("Help, unknown flying objects! The aliens! There's a swarm of " + ufoAmount + " ufos coming this way! UFOS! Help! The hotel is attacked! Zap zap zap... Houston, we have a problem! Aliens! soi soi soi soi soi. The aliens are coming! We didn't listen! The end of the world! Aargh! Help, Aliens everywhere! I see ufos! I dream about cheese! I mean, beep beep beep! Meep meep meep! Code Red! Code Red! Area 51! Marihuana! Cape Canaveral! Aaron is a fag! Ufos! " + ufoAmount + " of them! I see them everywhere! Oh and I see dead people! UFOS! UFOs from Mars! Or from the Moon! Fuck knows! Whatever! Oh my god! They look like fucking weirdos! Space monsters! They look even worse than Rick Astley! UFOs! It's the end of the world! Ufos! Ufos! Ufos!");
Session.roomInstance.sendMessage(Message);
for (int ufoID = 0; ufoID < ufoAmount; ufoID++)
{
rnd.Next(); rnd.Next();
// Create ufo
Woodpecker.Game.Items.floorItem pUfo = new Woodpecker.Game.Items.floorItem();
pUfo.ID = Int32.MinValue - (ufoID + 1);
pUfo.Definition = new Items.itemDefinition();
pUfo.Definition.Sprite = "nest";
pUfo.Definition.Length = 1;
pUfo.Definition.Width = 1;
pUfo.Definition.Color = "0,0,0";
pUfo.X = (byte)rnd.Next(0, 45);
pUfo.Y = (byte)rnd.Next(0, 45);
pUfo.Z = rnd.Next(-3, 10);
int destX = rnd.Next(-(20 + (pUfo.X * 2)), 20 + (pUfo.Y * 2));
int destY = rnd.Next(-(20 + (pUfo.Y * 2)), 20 + (pUfo.X * 2)) + rnd.Next(-10, -20);
float destZ = rnd.Next(-9, 10);
// Send ufo
Message.Initialize(93); // "A]"
Message.Append(pUfo.ToString());
Session.roomInstance.sendMessage(Message);
// Move ufo
Message.Initialize(230);
Message.appendWired(destX);
Message.appendWired(destY);
Message.appendWired(pUfo.X);
Message.appendWired(pUfo.Y);
Message.appendWired(true);
Message.appendWired(pUfo.ID);
Message.appendClosedValue(Woodpecker.Specialized.Text.stringFunctions.formatFloatForClient(destZ));
Message.appendClosedValue(Woodpecker.Specialized.Text.stringFunctions.formatFloatForClient(pUfo.Z));
Message.appendWired(rnd.Next(0, 100000));
Session.roomInstance.sendMessage(Message);
System.Threading.Thread.Sleep(10);
Core.Logging.Log("Ufo " + pUfo.ID + ": [" + pUfo.X + "," + pUfo.Y + "] >> [" + destX + "," + destY + "];", Woodpecker.Core.Logging.logType.debugEvent);
}
}
break;
Best command ever. Love the Aaron bit. Ugh my code was so ugly back then!
The Lingo injections probably don't work in newer browsers or something. But back then, it would make Microsoft Sam (or similar) speak the message for you. Good times!
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Nillus
The Lingo injections probably don't work in newer browsers or something. But back then, it would make Microsoft Sam (or similar) speak the message for you. Good times!
They don't work anymore indeed. Sadly enough.. Oldschool is just great and that's the reason I'm reviving it using your source. I've implemented Wobble Squabble, Diving, Swimming, Infobus, fixed al LOT of things and now I even have a workaround for the camera... which works! (It uses an external camera app to take photos and displays them with node.js and socket.io). Well, it would never have come to this without you. So thanks Nillus. Geweldig ;)
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Nillus
Aww yeah. :love:
Try :descenditem 1337 btw, where 1337 is the ID of the item to use it on. (you can see item ID's as an administrator)
Or this.
Best command ever. Love the Aaron bit. Ugh my code was so ugly back then!
The Lingo injections probably don't work in newer browsers or something. But back then, it would make Microsoft Sam (or similar) speak the message for you. Good times!
The Rick Astley reference is my favorite bit, back in 2007-2008 everyone was being rick roll'd on here :-)
Great release, thanks!
-
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?
-
Quote:
Originally Posted by
Eronisch
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?
Download NPS and decode it :P
-
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"
-
Quote:
Originally Posted by
Eronisch
I can't find any software called "NPS"
Go to f331 and find the stickied thread by Nillus. Its there somewhere
-
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) ;)
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Nice love it to see old projects!!
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
Ibuprofen
same her
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
lRetros
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
This is a great list. I will update the main post.
Also, the reason you cant enter the hotel as rank 7 is because no such rank exists. Check "userroles.cs"
Code:
/// <summary>
/// Represents a set of values for user roles.
/// </summary>
public enum userRole
{
Banned = 0,
Normal = 1,
Expert = 2,
Silver = 3,
Gold = 4,
Moderator = 5,
Administrator = 6
}
}
Please can you specify whats not configured correctly in the DCR's for the call for help so others can fix?
Will
-
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Use another loader, try mine:
Quote:
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0" id="habbo" width="720" height="540">
<param name="src" value="http://onlineloader.co.cc/v14/habbo.dcr">
<param name="swRemote" value="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' ">
<param name="swStretchStyle" value="none">
<param name="swText" value="">
<param name="bgColor" value="#000000">
<param name="sw6" value="external.texts.txt=http://onlineloader.co.cc/v14/external_texts.txt">
<param name="sw2" value="connection.info.host=127.0.0.1;connection.info.port=3090">
<param name="sw4" value="connection.mus.host=game.habbohotel.nl;connection.mus.port=30001">
<param name="sw3" value="client.reload.url=#">
<param name="sw1" value="site.url=http://www.habbohotel.nl;url.prefix=http://www.habbohotel.nl">
<param name="sw5" value="external.variables.txt=http://onlineloader.co.cc/v14/external_vars.txt">
<embed src="http://onlineloader.co.cc/v14/habbo.dcr" bgColor="#000000" width="720" height="540" swRemote="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'" swStretchStyle="none" swText="" type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/" sw6="external.texts.txt=http://onlineloader.co.cc/v14/external_texts.txt" sw2="connection.info.host=127.0.0.1;connection.info.port=3090" sw4="connection.mus.host=game.habbohotel.nl;connection.mus.port=30001" sw3="client.reload.url=#" sw1="site.url=http://www.habbohotel.co.uk;url.prefix=http://www.habbohotel.co.uk" sw5="external.variables.txt=http://onlineloader.co.cc/v14/external_vars.txt" >
</embed>
</object>
<br>
-
1 Attachment(s)
Re: [OldSchool][v13/14] Woodpecker - Fully Working with DCR's & Translated CMS
Quote:
Originally Posted by
WJJ
This is a great list. I will update the main post.
Also, the reason you cant enter the hotel as rank 7 is because no such rank exists. Check "userroles.cs"
Code:
/// <summary>
/// Represents a set of values for user roles.
/// </summary>
public enum userRole
{
Banned = 0,
Normal = 1,
Expert = 2,
Silver = 3,
Gold = 4,
Moderator = 5,
Administrator = 6
}
}
Please can you specify whats not configured correctly in the DCR's for the call for help so others can fix?
Will
Thanks for the "role fix" WJJ,if you can put in to your Woodpecker and be updating the Server with the fixes that we can find for the server(Nillus released the code of a command before,and also Near released the fix of laying down on beds) we can complete the server faster ^^.
Talking about the CFH,i used your Woodpecker version but i used the special DCRS of Woodpecker that Moogly gaves me 5 or 6 months ago.I have a lot of experiencie with this,and if CFH is coded on the server,its possible that dont work because:
-You have edited the Interface(If you do it and you dont know how to do it proffesional & clean like me,CFH will not work anymore)
-Some texts of the CFH that are important are missing on the external_texts(I tested with my public Loader,and it was because of this)
My theory is that it doesnt work for you and the rest of the people because you dont have some CFH texts on your external_texts(I think is not problem of the interface because you have the original one with any modifications).So,try using the external_texts that i use with woodpecker(in my point of view they're a total mess and kaotic,but they're in english and i only worked with spanish external_texts):
Attachment 116839