PenUltima Online

It is currently Fri Aug 29, 2008 2:19 pm

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: (POL096 03-17-2006) Crash on AI thats *Not?* pathfinding...
PostPosted: Sun Mar 19, 2006 6:07 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 744
Location: Chicago, IL USA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 10:08 am 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 834
Location: Indiana, USA
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl