CreateNpcFromTemplate()

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.

Moderator: POL Developer

Locked
User avatar
zandor70
Master Poster
Posts: 93
Joined: Fri Feb 10, 2006 10:06 am

CreateNpcFromTemplate()

Post by zandor70 »

CreateNpcFromTemplate( template, x, y, z, override_properties := 0, realm := _DEFAULT_REALM);

POL097 RC2 crashed is override_properties is an array.... ( I think it should only report an error).
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

Arrays are handled by CreateNPCFromTemplate. Are all the items contained inside your array, the correct kind for the template?
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

ALso, if crash dumps are created, please post it and the .lst info.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

From our working core-changes.

Code: Select all

      Removed : CreateNPCFromTemplate() will now only accept Struct for override props.
                Arrays was removed due to core changes in array handling since this
                function was updated to use arrays. 
Locked