Bug in the mission system

Find any bugs in Vega Strike? See if someone has already found it, or report them here!
Post Reply
Guest

Bug in the mission system

Post by Guest »

Sometimes vegastrike crashes while selecting missions. A part of the stderr.log says alot:
Traceback (most recent call last):
File "<string>", line 3, in ?
File "C:/vegastrike/data/modules\mission_lib.py", line 18, in LoadLastMission
apply (last_constructor[which],last_args[which])
File "C:/vegastrike/data/modules\defend.py", line 147, in initrandom
enq=vsrandom.randrange(minenquant,maxenquant)
File "C:/vegastrike/data/modules\vsrandom.py", line 302, in randrange
raise ValueError, "empty range for randrange()"
ValueError: empty range for randrange()
MakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/Viper1.Loading bmp file confed_combine.bmp confed_combine.bmp, not found1.Loading bmp file combine.bmp Bind... got dead tex!!! Load Success
2.Loading bmp file tian-hud.png alp tian-hud.png Bind... got dead tex!!!Load Success
dot 0.9899532.Loading bmp file bases/generic/base_entrance.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/base_concourse.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/bar.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/bartender3.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/weapon.png alp true Bind... !!!!Load Success
MakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMission Cleanup Not Yet Implemented1.Loading bmp file weapons/tractorbeam.png Bind... got dead tex!!! Load Success
1.Loading bmp file weapons/particle.png Bind... got dead tex!!! Load Success
2.Loading bmp file mass_driver.bmp alp mass_driver.alp Bind... got dead tex!!!Load Success
1.Loading bmp file confed_hull1.bmp confed_hull1.bmp, not foundusing soft coded script dumbfire.xai1.Loading bmp file weapons/laserred.png Bind... got dead tex!!! Load Success
using soft coded script dumbfire.xai1.Loading bmp file confed_hull1.bmp confed_hull1.bmp, not foundusing soft coded script imrec.xaiusing soft coded script imrec.xaiusing soft coded script dumbfire.xaiusing soft coded script imrec.xaiusing soft coded script imrec.xaiusing soft coded script dumbfire.xaiusing soft coded script dumbfire.xaiusing soft coded script imrec.xaiusing soft coded script dumbfire.xaiDestruct called. If called from C++ this is death 269856548 (0x1015af24)BASE Destruct called. If called from C++ this is death 269856548 (0x1015af24)dot 0.595484dot 0.4067592.Loading bmp file bases/generic/base_entrance.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/base_concourse.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/bar.png alp true Bind... !!!!Load Success
2.Loading bmp file bases/generic/bartender0.png alp true Bind... !!!!Load Success
2.Loading bmp file bases/generic/weapon.png alp true Bind... !!!!Load Success
MakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMission Cleanup Not Yet ImplementedTraceback (most recent call last):
File "C:/vegastrike/data/modules\cargo_mission.py", line 151, in Execute
self.adjsys=go_somewhere_significant(self.you,1,100,self.capship,self.faction)
File "C:/vegastrike/data/modules\go_somewhere_significant.py", line 28, in __init__
significant = unit.getSignificant (randint,landable_only,base_only)
File "C:/vegastrike/data/modules\unit.py", line 47, in getSignificant
return getSignificant(whichsignificant,landable_only,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
RuntimeError: maximum recursion depth exceeded

I'm running self-compiled cvs (latest) and cvs-data (also latest) on win xp sp1.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

thank you for the report! it has everything I need to fix those problems
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Re: Bug in the mission system

Post by hellcatv »

hmm it either appears that you accepted a cargo mission in an empty system without planets-- or something else went seriously wrong

I tried to commit a fix--is there any chance you could try to reproduce the bug again

and search for
fatal error
in the stderr.txt even if nothing odd happened

thanks!!

Anonymous wrote:Sometimes vegastrike crashes while selecting missions. A part of the stderr.log says alot:
Traceback (most recent call last):
File "<string>", line 3, in ?
File "C:/vegastrike/data/modules\mission_lib.py", line 18, in LoadLastMission
apply (last_constructor[which],last_args[which])
File "C:/vegastrike/data/modules\defend.py", line 147, in initrandom
enq=vsrandom.randrange(minenquant,maxenquant)
File "C:/vegastrike/data/modules\vsrandom.py", line 302, in randrange
raise ValueError, "empty range for randrange()"
ValueError: empty range for randrange()
MakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/Viper1.Loading bmp file confed_combine.bmp confed_combine.bmp, not found1.Loading bmp file combine.bmp Bind... got dead tex!!! Load Success
2.Loading bmp file tian-hud.png alp tian-hud.png Bind... got dead tex!!!Load Success
dot 0.9899532.Loading bmp file bases/generic/base_entrance.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/base_concourse.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/bar.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/bartender3.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/weapon.png alp true Bind... !!!!Load Success
MakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMission Cleanup Not Yet Implemented1.Loading bmp file weapons/tractorbeam.png Bind... got dead tex!!! Load Success
1.Loading bmp file weapons/particle.png Bind... got dead tex!!! Load Success
2.Loading bmp file mass_driver.bmp alp mass_driver.alp Bind... got dead tex!!!Load Success
1.Loading bmp file confed_hull1.bmp confed_hull1.bmp, not foundusing soft coded script dumbfire.xai1.Loading bmp file weapons/laserred.png Bind... got dead tex!!! Load Success
using soft coded script dumbfire.xai1.Loading bmp file confed_hull1.bmp confed_hull1.bmp, not foundusing soft coded script imrec.xaiusing soft coded script imrec.xaiusing soft coded script dumbfire.xaiusing soft coded script imrec.xaiusing soft coded script imrec.xaiusing soft coded script dumbfire.xaiusing soft coded script dumbfire.xaiusing soft coded script imrec.xaiusing soft coded script dumbfire.xaiDestruct called. If called from C++ this is death 269856548 (0x1015af24)BASE Destruct called. If called from C++ this is death 269856548 (0x1015af24)dot 0.595484dot 0.4067592.Loading bmp file bases/generic/base_entrance.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/base_concourse.png alp true Bind... got dead tex!!!Load Success
2.Loading bmp file bases/generic/bar.png alp true Bind... !!!!Load Success
2.Loading bmp file bases/generic/bartender0.png alp true Bind... !!!!Load Success
2.Loading bmp file bases/generic/weapon.png alp true Bind... !!!!Load Success
MakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMakingSharedPath serialized_xmlMakingSharedPath serialized_xml/ViperMission Cleanup Not Yet ImplementedTraceback (most recent call last):
File "C:/vegastrike/data/modules\cargo_mission.py", line 151, in Execute
self.adjsys=go_somewhere_significant(self.you,1,100,self.capship,self.faction)
File "C:/vegastrike/data/modules\go_somewhere_significant.py", line 28, in __init__
significant = unit.getSignificant (randint,landable_only,base_only)
File "C:/vegastrike/data/modules\unit.py", line 47, in getSignificant
return getSignificant(whichsignificant,landable_only,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
File "C:/vegastrike/data/modules\unit.py", line 49, in getSignificant
return getSignificant (whichsignificant,0,0)
RuntimeError: maximum recursion depth exceeded

I'm running self-compiled cvs (latest) and cvs-data (also latest) on win xp sp1.
Guest

Post by Guest »

Sure, I'll try.
Ziolas
Explorer
Explorer
Posts: 14
Joined: Fri May 23, 2003 12:28 am
Location: Poland

Post by Ziolas »

Allright, I just registred to the forum. The previous bug seems to be fixed, but I spotted more:
1. The scout missions (where I need to go to just one place) are completed before I launch
2. A mission I got from a bar. I was to help protect a carrier. When I undocked there was no carrier, no enemies and no mission text. It was like I wasn't on any mission at all.
3. After a cargo drop misson suddenly everyone turned hostile toward me.

I'll try to reproduce those bugs and send in the logs.
Post Reply