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
CreateNpcFromTemplate()

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 097
Display posts from previous:   

Author Message
zandor70



Joined: 10 Feb 2006
Posts: 79
Location: Italy

PostPosted: Mon Mar 19, 2007 5:29 pm    Post subject: CreateNpcFromTemplate() Reply with quote

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).

Author Message
MuadDib
POL Developer


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

PostPosted: Wed Mar 28, 2007 11:44 pm    Post subject: Reply with quote

Arrays are handled by CreateNPCFromTemplate. Are all the items contained inside your array, the correct kind for the template?

Author Message
MuadDib
POL Developer


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

PostPosted: Thu Mar 29, 2007 12:58 am    Post subject: Reply with quote

ALso, if crash dumps are created, please post it and the .lst info.

Author Message
MuadDib
POL Developer


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

PostPosted: Sun Apr 08, 2007 9:17 pm    Post subject: Reply with quote

From our working core-changes.
Code:

      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.

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty