koluch said:#1 - Had a player recall while sleeping, leaving his snoring body on the bed.
#2 - THEN he customized his house with his other player, leaving the one he recalled out of bed with stuck - body on bed and on login , his player was of course unable to move.
Had to delete the sleeping body and set him to CanWalk, but I'm sure this is an easy thing to avoid, I just dont have the time to work on that right now and figured someone elase might want to post a fix :]
Mo Khan said:this is such a cool script...however, I wanted to use them in my Inns, so I modded the two small elven sleepers to be used outside of a house. I am including them here for anyone who may desire this "public" application on their shard. All Credit goes to the original scripter. Thanks for this one!
You would have to be the original author of the script to upload it in the first post, you may upload any fixes you have made via forum attachments, but I would ask the author first.antilogic said:
Errors:
+ Customs/sleepablebeds/SleeperBedBody.cs:
CS0506: Line 168: 'Server.Items.SleeperBedBody.SendInfoTo(Server.Network.Net
State)': cannot override inherited member 'Server.Item.SendInfoTo(Server.Network
.NetState)' because it is not marked virtual, abstract, or override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
When RunUO changed the some packet scripts, it also changed what you need to have in that portion.TalRave;629985 said:Code:Errors: + Customs/sleepablebeds/SleeperBedBody.cs: CS0506: Line 168: 'Server.Items.SleeperBedBody.SendInfoTo(Server.Network.Net State)': cannot override inherited member 'Server.Item.SendInfoTo(Server.Network .NetState)' because it is not marked virtual, abstract, or override Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again.
Any clue??
[SIZE=2][COLOR=#008000]// public override void SendInfoTo( NetState state )
[/COLOR][/SIZE][B][SIZE=2][COLOR=#0000ff]protected [/B][/COLOR][/SIZE][SIZE=2][COLOR=#a52a2a]override [/COLOR][/SIZE][SIZE=2]Packet [/SIZE][B][SIZE=2][COLOR=#191970]GetWorldPacketFor[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]NetState state [/SIZE][SIZE=2][COLOR=#006400])
{
[/COLOR][/SIZE][SIZE=2]Mobile mob [/SIZE][SIZE=2][COLOR=#006400]= [/COLOR][/SIZE][SIZE=2]state[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][SIZE=2]Mobile[/SIZE][SIZE=2][COLOR=#006400];
[/COLOR][/SIZE][SIZE=2][COLOR=#008000]// base.SendInfoTo( state );
[/COLOR][/SIZE][SIZE=2][COLOR=#000080]return [/COLOR][/SIZE][B][SIZE=2]base[/B][/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][B][SIZE=2][COLOR=#191970]GetWorldPacketFor[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]state [/SIZE][SIZE=2][COLOR=#006400]);
[/COLOR][/SIZE][B][SIZE=2][COLOR=#0000ff]if [/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]ItemID [/SIZE][SIZE=2][COLOR=#006400]== [/COLOR][/SIZE][SIZE=2][COLOR=#00008b]0x2006 [/COLOR][/SIZE][SIZE=2][COLOR=#006400])
{
[/COLOR][/SIZE][SIZE=2]state[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][B][SIZE=2][COLOR=#191970]Send[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][B][SIZE=2][COLOR=#008b8b]new [/COLOR][/SIZE][SIZE=2][COLOR=#191970]SleeperBedBodyContent[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]state[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][SIZE=2]Mobile[/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][B][SIZE=2]this [/B][/SIZE][SIZE=2][COLOR=#006400]) );
[/COLOR][/SIZE][SIZE=2]state[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][B][SIZE=2][COLOR=#191970]Send[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][B][SIZE=2][COLOR=#008b8b]new [/COLOR][/SIZE][SIZE=2][COLOR=#191970]SleeperBedBodyEquip[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]state[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][SIZE=2]Mobile[/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][B][SIZE=2]this [/B][/SIZE][SIZE=2][COLOR=#006400]) );
}
}
[/COLOR][/SIZE]
public override void SendInfoTo( NetState state, bool sendOplPacket ) {
base.SendInfoTo( state, sendOplPacket );
...