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
(POL096 03-17-2006) Crash on AI thats *Not?* pathfinding...

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

Author Message
CWO



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

PostPosted: Sun Mar 19, 2006 10:07 am    Post subject: (POL096 03-17-2006) Crash on AI thats *Not?* pathfinding... Reply with quote

Code:
[03/19 14:52:45] Unhandled Exception! Writing Minidump file.
This file with explanation and last lines from log files should be given to the development team.
Saved dump file to 'POL096-2006-03-17-20060319060721-0.dmp'
Last Script: scripts/ai/merchant.ecl PC: 916


merchant.lst
Code:

function CountExisting( container, objtype )
887: pop param 'objtype'
888: pop param 'container'
var count := 0;
889: decl local #2
890: 0L
891: :=
892: #
if(TypeOf(objtype)=="String")
893: local #0
894: Func(0,9): TypeOf
895: "String"
896: ==
897: if false goto 901
objtype:=GetObjTypeByName(objtype);
898: local #0
899: Func(4,33): GetObjtypeByName
900: local0 :=
foreach item in EnumerateItemsInContainer( container )
901: local #1
902: 0L
903: Func(4,5): EnumerateItemsInContainer
904: initforeach @918
if (item.objtype == objtype)
905: local #3
906: get member id 'objtype' (4)
907: local #0
908: ==
909: if false goto 915
count := count + item.amount;
910: local #2
911: local #3
912: get member id 'amount' (13)
913: +
914: local2 :=
SleepMs(10);
915: 10L
916: Func(3,4): sleepms
917: #
918: stepforeach @905
919: leave block(3)
return count;
920: local #2
921: return


No pathfinding anywhere in here, in fact none in this entire script at all... Unless of course, the log listed the wrong script and wrong spot.

Author Message
MuadDib
POL Developer


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

PostPosted: Sun Mar 19, 2006 2:08 pm    Post subject: Reply with quote

Doesn't look like it was there, cuz that is on a Sleepms command, hehe.

Soon as I can process DMP files I'll check into these.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Bug Reports 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