Problem with FullBook Pol 0.99

Open discussion forum. For topics that do not fit anywhere else.

Moderator: POL Developer

Post Reply
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Problem with FullBook Pol 0.99

Post by DerexScript »

Hi, good afternoon to all of you.
I have a problem.
I have a complete SpellBook, but when I open it, nothing appears!
It's as if the magic book is empty.
But the SpellBook works! Without it I can not use any magic.
I have the impression that it is complete. But I can not see.

I'm using the latest version of Core of PoL, which is at this link >> https://github.com/polserver/polserver

And I'm using the same Distro as this server >> uo.hell-yeah.eu, 2594

This server has an automatic account. And from what I saw, the same thing happens with the SpellBook.

Ultima Online Version: UO TOL (Ultima Online Time Of Legends.)
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Problem with FullBook Pol 0.99

Post by boberski »

I logged in minute ago, delete all my spellbook and create new one by .spellbook cmd. Everything worked fine, I got full book and I can cast spells from it.
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Re: Problem with FullBook Pol 0.99

Post by DerexScript »

DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Re: Problem with FullBook Pol 0.99

Post by DerexScript »

https://youtu.be/UP9EY-4Gll8

Ancaria Alt - PolServer Test ^^
OWHorus
Grandmaster Poster
Posts: 105
Joined: Sat Feb 04, 2006 1:24 pm
Location: Vienna, Austria

Re: Problem with FullBook Pol 0.99

Post by OWHorus »

Hello,

just an idea: POL changed the mode how spellbooks are filled - but years before. If the scripts are old, maybe this is the problem?

See this entry from core-changes:

09-18-2009 MuadDib:
Removed: Storing scrolls inside spellbooks. Destroyed after insert is complete.
Changed: Pre-AOS Clients still get the same packet they always did when opening a spellbook, built entirely
off the bitflag system for newer spellbooks. So no more keeping scrolls inside of books. :D
Note: As spellbooks are loaded for the first time with newer cores and as added to books, scrolls are
marked SaveOnExit 0. Newly inserted scrolls from then on, are destroyed during insertion after spell
contents are updated on the book.


There are new methods for spellbooks too. In a nutshell: Spellbooks were containers, with scrolls inside, which were the spells known. This was changed, so that a bitmap is stored, and not a scroll. Spellbooks should no longer be containers!

Hope this helps...

OWHorus
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Problem with FullBook Pol 0.99

Post by boberski »

So... You can not use spell because spellbook is empty...? How it is a bug? To give self a full book you need to have minimum gm rights and use .spellbook cmd. It is WORKING on Ancaria ALT (check how it is generated to be full).

ALSO:
check Official distro for the same conditions.
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Re: Problem with FullBook Pol 0.99

Post by DerexScript »

My really problem is, i can´t see how scrolls i have on my spell book.
Sure, when i use .spellbook, this command creates a complete spell book on my bag. It´s working well, no problem with this.
But, when i open my spellbook, i can´t see how scroll i have. Don´t show anything. But i still using my spells.
Understand?
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Re: Problem with FullBook Pol 0.99

Post by DerexScript »

Look at the videos.
That you will understand!
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Problem with FullBook Pol 0.99

Post by boberski »

Also when I insert scroll to the empty book spell shows in a proper circle.
https://youtu.be/XemdEhY33g8
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: Problem with FullBook Pol 0.99

Post by CWO »

Just a thought, it might not be too relevant anymore. In the itemdesc.cfg entry for the spellbook, is it defined as a spellbook or the old way as a container? Specifically...

Code: Select all

Container 0x0EFA
{
...
}
or

Code: Select all

Spellbook 0x0EFA
{
...
}
it should be the second way in 0.96 and higher.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Problem with FullBook Pol 0.99

Post by boberski »

In alt distro it is defined as:

Code: Select all

Spellbook 0x0EFA
{
    Name                Spellbook
    desc                spellbook
    Gump                0xFFFF
    MinX                40
    MaxX                60
    MinY                20
    MaxY                80
    Newbie              1
    SpellType		Magic
    BlocksCastingIfInHand 0
    RequiresAttention   0
    VendorSellsFor      22
    VendorBuysFor       11
    weight              1
    canRemoveScript     spellBook/canRemove
}
In official distro:

Code: Select all

Spellbook 0xEFA
{
	Name			Spellbook
	Desc			spellbook

	Gump			0xFFFF
	MinX			40
	MaxX			60
	MinY			20
	MaxY			80

	SpellType		Magic

	Newbie			1
	CanCastIfInHand 	1
	RequiresAttention	0

	VendorSellsFor		22
	VendorBuysFor		11

	Weight			1
 
	MagicPenalty	        -3

	CanRemoveScript		:magicBooks:book/canRemove
	MethodScript	        :magicBooks:book/method
	DestroyScript	        :equipment:onDestroy
}
So both in a new way. There is a problem with Derex client, but I do not know what it is.
Post Reply