Page 1 of 1

Problem with FullBook Pol 0.99

Posted: Sat Jan 21, 2017 8:08 am
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.)

Re: Problem with FullBook Pol 0.99

Posted: Sun Jan 22, 2017 5:28 am
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.

Re: Problem with FullBook Pol 0.99

Posted: Sun Jan 22, 2017 10:13 am
by DerexScript

Re: Problem with FullBook Pol 0.99

Posted: Sun Jan 22, 2017 10:44 am
by DerexScript
https://youtu.be/UP9EY-4Gll8

Ancaria Alt - PolServer Test ^^

Re: Problem with FullBook Pol 0.99

Posted: Sun Jan 22, 2017 1:26 pm
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

Re: Problem with FullBook Pol 0.99

Posted: Sun Jan 22, 2017 2:07 pm
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.

Re: Problem with FullBook Pol 0.99

Posted: Sun Jan 22, 2017 6:27 pm
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?

Re: Problem with FullBook Pol 0.99

Posted: Sun Jan 22, 2017 9:48 pm
by DerexScript
Look at the videos.
That you will understand!

Re: Problem with FullBook Pol 0.99

Posted: Mon Jan 23, 2017 4:52 am
by boberski
Also when I insert scroll to the empty book spell shows in a proper circle.
https://youtu.be/XemdEhY33g8

Re: Problem with FullBook Pol 0.99

Posted: Tue Jan 24, 2017 1:34 am
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.

Re: Problem with FullBook Pol 0.99

Posted: Tue Jan 24, 2017 3:05 am
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.