PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Spellbook

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096
Display posts from previous:   

Author Message
Poi



Joined: 14 Apr 2006
Posts: 203

PostPosted: Thu Jan 24, 2008 9:11 pm    Post subject: Spellbook Reply with quote

Im having major spellbook issues, when I use one it just shows clumsy over and over, I tried everything(meaning i basically reinstalled pol)

I dunno whats wrong..


Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 517

PostPosted: Thu Jan 24, 2008 10:10 pm    Post subject: Reply with quote

take a look at your itemdesc.cfg entry for the spellbook and compare it to mine.
Here is mine - ignore my custom stuff like the oninserts etc.

Code:
Spellbook 0x0EFA
{
   Name         Spellbook
   Desc         Spell Book
   Gump         0xFFFF
   MinX         40
   MaxX         60
   MinY         20
   MaxY         80
   Spelltype      Magic
   Newbie         1
   BlocksCastingIfInHand   0
   RequiresAttention   0
   Weight         1
   OnInsertScript      oninsert_spellbook
   CanInsertScript      caninsert_spellbook
}

Author Message
dkpat



Joined: 24 Jul 2007
Posts: 38

PostPosted: Thu Jan 24, 2008 10:22 pm    Post subject: Reply with quote

also be sure to note the scrolls, an example scroll entry:
Code:
SpellScroll 0x1F2D
{
   Name         reactivearmorscroll
   Desc         Reactive Armor scroll

   SpellId         7
   SpellType      Magic

   VendorBuysFor      6
   VendorSellsFor      12

   Script         spellScroll/use
}


be sure the spelltype is set to magic. this is from itemdesc.cfg

Author Message
Poi



Joined: 14 Apr 2006
Posts: 203

PostPosted: Thu Jan 24, 2008 11:05 pm    Post subject: Reply with quote

OldnGrey wrote:
take a look at your itemdesc.cfg entry for the spellbook and compare it to mine.
Here is mine - ignore my custom stuff like the oninserts etc.

Code:
Spellbook 0x0EFA
{
   Name         Spellbook
   Desc         Spell Book
   Gump         0xFFFF
   MinX         40
   MaxX         60
   MinY         20
   MaxY         80
   Spelltype      Magic
   Newbie         1
   BlocksCastingIfInHand   0
   RequiresAttention   0
   Weight         1
   OnInsertScript      oninsert_spellbook
   CanInsertScript      caninsert_spellbook
}



Thanks, It was set as container not spellbook

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty