|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
Good afternoon everyone,
I've noticed a nasty little bug that causes any player on my server client to crash upon opening any spell book. I'm not entirally sure what is causing this, but I know it's a client issue as anyone patched to the highest client version suffers from this bug, but people using clients under 5.0.9.1 don't feel the effects. Anyone have any suggestions on this? Thank you all in advance for your assistance.
__________________
Father Time Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!" Server: UO: Extinction ICQ: 146563794 FatherTime@UOExtinction.com UO: Extinction homepage UO: Extinction forum |
|
|
|
|
|
#2 (permalink) | |
|
Forum Novice
Join Date: Sep 2007
Posts: 367
|
Quote:
|
|
|
|
|
|
|
#3 (permalink) |
|
Forum Novice
Join Date: Jul 2003
Location: NY
Age: 38
Posts: 963
|
I had the same problem on my server if anyone patched above 6.0.1.4 I think it was. Now are you using the AllSpells system? If so you did not update the Spellbook.cs with the new coding for the higher clients. I had the same problem and that is what fixed problem. If you want I could send you the Spellbook.cs I am using.
__________________
![]() Your fate is sealed in the end of Time..... |
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
|
This sounds like something that happened a while ago.
This was from a few years ago, same or almost sounds the same error happening... Spellbook problems Hope that points you in the right direction.
__________________
![]() We can be found on joinUO.com or listUO.com, come try us out.
|
|
|
|
|
|
#5 (permalink) | |
|
Forum Novice
Join Date: Sep 2007
Posts: 367
|
Quote:
|
|
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
|
Quote:
p.s. Does anyone have the newest SVN version of SpellBook.cs that is unmodified? It would save me some time. Thank you greatly in advance for your assistance.
__________________
Father Time Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!" Server: UO: Extinction ICQ: 146563794 FatherTime@UOExtinction.com UO: Extinction homepage UO: Extinction forum |
|
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
|
Thanks a million HellRazor.
![]()
__________________
Father Time Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!" Server: UO: Extinction ICQ: 146563794 FatherTime@UOExtinction.com UO: Extinction homepage UO: Extinction forum |
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
|
Good morning everyone,
I was able to resolve my issue, and I thought I would share my findings with everyone just in case anyone else runs into this problem. The problem lied in the DisplayTo method in SpellBook.cs: Code:
public void DisplayTo( Mobile to )
{
// The client must know about the spellbook or it will crash!
if ( Parent == null )
{
to.Send( this.WorldPacket );
}
else if ( Parent is Item )
{
if ( to.NetState == null )
return;
// What will happen if the client doesn't know about our parent?
if ( to.NetState.IsPost6017 )
to.Send( new ContainerContentUpdate6017( this ) );
else
to.Send( new ContainerContentUpdate( this ) );
}
else if ( Parent is Mobile )
{
// What will happen if the client doesn't know about our parent?
to.Send( new EquipUpdate( this ) );
}
to.Send( new DisplaySpellbook( this ) );
if ( to.NetState == null )
return;
if ( Core.AOS ) {
if ( to.NetState.Version != null && to.NetState.Version >= Version_400a ) {
to.Send( new NewSpellbookContent( this, ItemID, BookOffset + 1, m_Content ) );
} else {
to.Send( new SpellbookContent( m_Count, BookOffset + 1, m_Content, this ) );
}
}
else {
if ( to.NetState.IsPost6017 ) {
to.Send( new SpellbookContent6017( m_Count, BookOffset + 1, m_Content, this ) );
} else {
to.Send( new SpellbookContent( m_Count, BookOffset + 1, m_Content, this ) );
}
}
}
![]()
__________________
Father Time Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!" Server: UO: Extinction ICQ: 146563794 FatherTime@UOExtinction.com UO: Extinction homepage UO: Extinction forum |
|
|
|
|
|
#11 (permalink) | |
|
Forum Expert
|
Quote:
![]()
__________________
Father Time Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!" Server: UO: Extinction ICQ: 146563794 FatherTime@UOExtinction.com UO: Extinction homepage UO: Extinction forum |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|