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
Bushido, Ninjitsu and Spellweaving

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

Author Message
Aeros



Joined: 24 Apr 2006
Posts: 69

PostPosted: Wed May 31, 2006 5:04 pm    Post subject: Bushido, Ninjitsu and Spellweaving Reply with quote

Hi guys,

Thanks for these great additions to RC2. However, the following observations:

1) For bushido and ninjitsu, the books are empty. I then assumed you need scrolls to fill them, and proceed to go through InsideUO to find these scrolls. However, I found no instances of these scrolls. For both books, I have the following settings in the itemdescs (Do note, these books are ALL defined as Spellbook in my itemdescs):

For Bushido:
Code:

    SpellType                  Bushido


and for Ninjitsu:
Code:

    SpellType                  Ninjitsu


2) For the Spellweaving book, I can't drag any of its scrolls into the book. It keeps telling me the item is too heavy for the container.

The spelltype entry for the spellweaving book:
Code:

    SpellType                  Spellweaving


And the itemdesc entry for one of the scrolls:
Code:

Item 0x2D51
{
    Name           arcanecirclescroll
    Desc           Arcane Circle scroll
    Script         spellweavingscroll
    CProp Spellid  i601
    VendorBuysFor  6
    VendorSellsFor 12
    Weight         1/10
}


Also tried the following as an itemdesc entry for a scroll:
Code:

Item 0x2970
{
    Name           arcanecirclescroll
    Desc           Arcane Circle scroll
      Graphic             0x2D51
    Script         spellweavingscroll
    CProp Spellid  i601
    VendorBuysFor  6
    VendorSellsFor 12
    Weight         1/10
}


0x2D51 being the InsideUO graphic number for the scroll, 0x2970 being my internal objtype for the scroll. Neither entry worked, still got the same error - object too heavy for the container.

I should also mention here that I used the exact same methods with the Chivalry and Necromancy books, and they worked there. So I assume something changed, or something may be wrong by how core controls the Bushido, Ninjitsu and Spellweaving books.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Wed May 31, 2006 6:54 pm    Post subject: Reply with quote

Unsure if you have looked into the 096 Distro any yet, so will post it here just so others can see it too.

Itemdesc.cfg entry for a spellbook/ninjitsu.etc using the new systems.
Code:

Spellbook 0xEFA
{
   Name         Spellbook
   Desc         spellbook

   Gump         0xFFFF
   MinX         40
   MaxX         60
   MinY         20
   MaxY         80

   SpellType      Magic

   Newbie         1
   BlocksCastingIfInHand   0
   RequiresAttention   0
   
   VendorSellsFor      22
   VendorBuysFor      11

   Weight         1

   CanRemoveScript      spellBook/canRemove
}


Notice the way SpellID is, and SpellType. They are entries, not cprops, old container info, etc etc.

Also, for spell scroll's itemdesc, you MUST list spelltype there also, so the core knows WHICH book it is for. I would suggest making your system use SpellID as an entry also, instead of a cprop. You can see Distro 096 SVN for how we are doing magery there, for any extra help.

Also, bear in mind, the spell scroll IDs are hardcoded, via being the same objtype as in the UO files (using InsideUO to get their id).

Now, that info is for Spellweaving. Give me a bit on the Bushido and Ninjitsu, as it appears, while on OSI they are identical to the other books (Paladin, Necro, and magery), they come with the spells already inside them when you create a char, AND buy them (fully loaded with all the moves). This might require some hardcoding in the core since it uses the same packet stuff, but, they are spawned on OSI with all the stuff in them.

And yes, I too am not finding "scrolls" in the client for these 2 books, very very odd since it uses the same book system. But I will keep you posted on my progress.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Wed May 31, 2006 7:09 pm    Post subject: Reply with quote

Oh yeah, forgot, they don't have "scrolls", but they use the "icons" from the tiledata instead.

If you search for their names in InsideUO you will find them, right after the bushido book, and ninjitsu book, respectively. I have now added those objtype id's to the core for the next release. (RC3 or Re-publish of RC2 and in Final).

Remember, you MUST use these objtypes!! You CAN change the graphic iirc, to that of anything you wish (correct me if wrong anyone). I'll send you a test core to work with on testing this if you wish. No biggie for me.

Author Message
Aeros



Joined: 24 Apr 2006
Posts: 69

PostPosted: Wed May 31, 2006 7:14 pm    Post subject: Reply with quote

Redefined the scrolls, same problem. Let me list my entries for you.

The spellbook:
Code:

Spellbook 0xB9FE
{
    Name                spellweavingbook
    desc                Book of Bushido
    Graphic                0x2D50
    SpellType                  Spellweaving
    Gump                0xFFFF
    MinX                40
    MaxX                60
    MinY                20
    MaxY                80
    Newbie              1
    BlocksCastingIfInHand 0
    RequiresAttention   0
    VendorSellsFor      22
    VendorBuysFor       11
    weight              1   
}


Then, my scroll entries are now:
Code:

Item 0x2D51
{
    Name           arcanecirclescroll
    Desc           Arcane Circle scroll
    Script         spellweavingscroll
    SpellType          Spellweaving
    SpellID            601
    VendorBuysFor  6
    VendorSellsFor 12
    Weight         1/10
}


And yeah.. same error.

EDIT: I know the desc for the spellweaving book is wrong, btw. Noticed that now.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Wed May 31, 2006 7:20 pm    Post subject: Reply with quote

So is the graphic. no need. Make sure the Objtype is the same as the one given in InsideUO. Then, also no need to set the Graphic entry too Wink

Author Message
Aeros



Joined: 24 Apr 2006
Posts: 69

PostPosted: Wed May 31, 2006 7:30 pm    Post subject: Reply with quote

Have I got bad news for you...

That didnt help either. Spellbook entry is:
Code:

Spellbook 0x2D50
{
    Name                spellweavingbook
    desc                Book of Spellweaving
    SpellType                  Spellweaving
    Gump                0xFFFF
    MinX                40
    MaxX                60
    MinY                20
    MaxY                80
    Newbie              1
    BlocksCastingIfInHand 0
    RequiresAttention   0
    VendorSellsFor      22
    VendorBuysFor       11
    weight              1   
}


Same error. Item is too heavy for this container.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Wed May 31, 2006 7:33 pm    Post subject: Reply with quote

That's cuz you need the next release for the stuff to fully work right Wink

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Thu Jun 01, 2006 12:13 am    Post subject: Reply with quote

Just an update to the post. In a "test" core (with the updates) Aeros got it working perfectly. So in the final release of Core, it will have the fully working version of all 3. I also made some heavy notes in the Core-Changes.txt to make things easier in setting these up.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Thu Jun 01, 2006 4:03 pm    Post subject: Reply with quote

nice work...

Shinigami

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Thu Jun 01, 2006 6:32 pm    Post subject: Reply with quote

Thx, at least you haven't shot me yet Cool

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 256

PostPosted: Thu Jun 01, 2006 7:06 pm    Post subject: Reply with quote

Before you shoot each other, RC2 works fine for me Wink
*smiles*

Author Message
CWO



Joined: 04 Feb 2006
Posts: 691
Location: Chicago, IL USA

PostPosted: Thu Jun 01, 2006 8:51 pm    Post subject: Reply with quote

How about having at least RC3 before they consider even hurting eachother...

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Thu Jun 01, 2006 11:08 pm    Post subject: Reply with quote

lol

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