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
DMP Error

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

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Fri Sep 22, 2006 9:23 am    Post subject: DMP Error Reply with quote

Quote:


[scripts/textcmd/questerwf/createnpc.ecl]: Quester Yang Created NPC titan At 1395 3515 0
[09/21 22:26:15] [scripts/textcmd/questerwf/createnpc.ecl]: Quester Yang Created NPC titan At 1395 3516 0
[scripts/ai/firebreather.ecl]: poisonwatcher script PID: 0
[09/21 22:26:16] [scripts/textcmd/questerwf/createnpc.ecl]: Quester Yang Created NPC titan At 1397 3512 0
Character::start_script hiccup
Trying to start script pkg/skills/spells/lightning.ecl
Script pkg/skills/spells/lightning.ecl is already running
Assertion Failed: !start_attached || (script_ex == NULL), .\chrituse.cpp, line 30
Forcing stack backtrace.
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.3-2006-09-16 Vestal Virgin-20060921220145-0.dmp'
Last Script: scripts/textcmd/pager/cast.ecl PC: 5
Exception in: scripts/textcmd/pager/cast.ecl: Assertion Failed: !start_attached || (script_ex == NULL), .\chrituse.cpp, line 30
PC < nLines: (C < nLines: (PC < nLines: (0: 0: get arg 'who'
1: 1: get arg 'number'
2: 2: local #0
3: 3: local #1
4: 4: Func(0,0): CInt
5: 5: Func(2,0): StartSpellEffect
6: >6: #
7: 7: leave block(2)
8: 8: progend
Character::start_script hiccup
Trying to start script pkg/skills/spells/lightning.ecl
Script pkg/skills/spells/lightning.ecl is already running
Assertion Failed: !start_attached || (script_ex == NULL), .\chrituse.cpp, line 30
Forcing stack backtrace.
Exception in: scripts/textcmd/pager/cast.ecl: Assertion Failed: !start_attached || (script_ex == NULL), .\chrituse.cpp, line 30
PC < nLines: (C < nLines: (PC < nLines: (0: 0: get arg 'who'
1: 1: get arg 'number'
2: 2: local #0
3: 3: local #1
4: 4: Func(0,0): CInt
5: 5: Func(2,0): StartSpellEffect
6: >6: #
7: 7: leave block(2)
8: 8: progend
Character::start_script hiccup
Trying to start script pkg/skills/spells/lightning.ecl
Script pkg/skills/spells/lightning.ecl is already running
Assertion Failed: !start_attached || (script_ex == NULL), .\chrituse.cpp, line 30
Forcing stack backtrace.
Exception in: scripts/textcmd/pager/cast.ecl: Assertion Failed: !start_attached || (script_ex == NULL), .\chrituse.cpp, line 30
PC < nLines: (C < nLines: (PC < nLines: (0: 0: get arg 'who'
1: 1: get arg 'number'
2: 2: local #0
3: 3: local #1
4: 4: Func(0,0): CInt
5: 5: Func(2,0): StartSpellEffect
6: >6: #
7: 7: leave block(2)
8: 8: progend



Vestal 0,96 vers 3

Author Message
Shinigami
POL Core Developer


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

PostPosted: Fri Sep 22, 2006 9:25 pm    Post subject: Re: DMP Error Reply with quote

as I can see, someone called via a TextCMD .cast a Spell Lightning. So, in this case u have two opportunities: 1. block the script to get called twice at same time on same opponent, e.g. using temporary cprop:

Code:
Programm Spell_Lightning(who, spell)
  If (!GetObjProperty(who, "#Spell_Lightning"))
    SetObjProperty(who, "#Spell_Lightning", 1);
    // [...]
    EraseObjProperty(who, "#Spell_Lightning");
  EndIf
EndProgram

2. Detach() the Scrit from Character

Code:
Programm Spell_Lightning(who, spell)
  Detach();
  // [...]
EndProgram

now u have to choose what could be the best way in this case. u've called it via textcmd... maybe the best solution would be to transmit a parameter to the spell and Detach() it on TextCMD-Call only... this would be my choice

Shinigami

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Sat Sep 23, 2006 6:35 am    Post subject: Reply with quote

Sorry Shini... fixed Smile and thnaks a lot.

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