Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spellbook problem
Author Message
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #1
Spellbook problem
I don't know if it's from my updating my server to the newest version or what but now when I try to cast a spell with "GM OFF" it says I do not have a spellbook handy. I haven't done anything script wise that would cause this to happen. I have the correct reags, spellbook, and magery skill.
(This post was last modified: 12-22-2017 01:46 PM by Leonidas.)
12-22-2017 01:45 PM
Find all posts by this user Like Post Quote this message in a reply
invernizzi
Apprentice
*

Posts: 24
Likes Given: 8
Likes Received: 1 in 1 posts
Joined: Jul 2016
Reputation: 0



Post: #2
RE: Spellbook problem
Check if u have other book (scripted) with the same ID as the spellbook, try to put it in bank.

[Image: banner_2.jpg]
12-23-2017 10:59 PM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #3
RE: Spellbook problem
I don't have any other spellbooks besides the default one "i_spellbook". I haven't changed anything with the spellbook.

This just started happening randomly, everything use to work fine now shit just keeps popping up left and right.
12-25-2017 09:42 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Spellbook problem
did you update sphere_spells.scp
12-25-2017 08:27 PM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #5
RE: Spellbook problem
No i didn't but nothing looks different from my current one and I'd really rather not go through spells again redoing everything lol.
(This post was last modified: 12-26-2017 10:10 AM by Leonidas.)
12-26-2017 10:10 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Spellbook problem
Check if your spellbook script looks like that
Code:
[ITEMDEF 0efa]
DEFNAME=i_spellbook
NAME=Spellbook
TYPE=t_spellbook
TDATA3=0
TDATA4=64
VALUE=16
WEIGHT=3.0
RESOURCES=10 i_scroll_blank
SKILLMAKE=Inscription 50.0,i_pen_and_ink
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Books
DESCRIPTION=Spellbook
ReqStr=20
TEVENTS=t_equipitem
ON=@Create
   ATTR=attr_magic|attr_newbie
   //MORE1=0ffffffff
   //MORE2=0ffffffff
Especially check if the TDATA3 / TDATA4 values are set
12-26-2017 08:54 PM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #7
RE: Spellbook problem
....apparently tdata3 and 4 were both removed somehow, added them and it's fixed. thanks alot!
12-28-2017 01:41 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Leonidas's post
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #8
RE: Spellbook problem
Code:
13-02-2017, Coruja
Changed: Spellbooks now store spell offset / max spells using TDATA3/TDATA4 instead MOREZ/MOREX. This will optimize worldsave files, because TDATA* can be used directly from itemdef script and doesn't need to be saved on worldfiles.
    -IMPORTANT: It's HIGHLY recommended update these scripts above, otherwise spellbooks will stop working.
[items/sphere_item_magic_magery.scp]: Updated i_spellbook
[items/sphere_item_magic_necromancer_aos.scp]: Updated i_spellbook_necromancy
[items/sphere_item_magic_chivalry.scp]: Updated i_spellbook_chivalry
[items/sphere_item_magic_ninjitsu_bushido.scp]: Updated i_spellbook_bushido, i_spellbook_ninjitsu
[items/sphere_item_magic_spellweaving.scp]: Updated i_spellbook_spellweaving
[items/sphere_item_magic_mysticism.scp]: Updated i_spellbook_mystic
[items/sphere_item_magic_skillmasteries.scp]: Updated i_spellbook_mastery
12-30-2017 01:09 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)