SimCMinMax / AutoSimC

Python script to create multiple profiles for Simcraft to find Best-in-Slot and best enchants/gems/talents combination.
GNU General Public License v3.0
54 stars 17 forks source link

Crashing while trying to simulate vigilance perch ( I think ) #32

Open mactassio opened 6 years ago

mactassio commented 6 years ago
Starting simulation.
Commandline: ['iterations=100', 'threads=8', 'fight_style=LightMovement', 'process_priority=low', 'single_actor_batch=1']
-----------------------------------------------------------------
Starting multi-process simulation.
Number of work items: 1.
Number of worker instances: 7.
-----------------------------------------------------------------
Currently processing: input=C:\Users\marco\OneDrive\Documentos\AutoSimC-master\AutoSimC-master\tmp\stage_1\sim0.simc
Processing: 1/1 (0.0%)
SimulationCraft 801-01 for World of Warcraft 8.0.1 bfa-BETA (wow build 26095)

Simulating... ( iterations=100, threads=8, target_error=0.000,  max_time=300, vary_combat_length=0.20, optimal_raid=1, fight_style=LightMovement )

Error: Initializing: Actor 'None_Perch_None_T20_4p_007': Item 'inactive' Slot 'hands': stoi argument out of range
SimulationCraft error! Worker #0 returned error code 1.
Invalid return code from SimC: 1
Simulation took 0:00:00.185494.

It crashes right after that trying to go to stage 2 without any profiles.

scamille commented 6 years ago

Please share your input.txt file.

This looks like a typo in your hand slot: You wrote a letter where a number should have been, and stoi (string to integer) parsing fails. eg. hands=myhands,id=k99448

mactassio commented 6 years ago
[Profile]
hunter=Sabinno
spec=beast_mastery
level=110
race=human
role=attack
position=back
talents=1323211

[Gear]
head=T20--,id=147142,bonus_id=3563/1498/3528
neck=,id=140898,enchant_id=5437,bonus_id=3445/1499/3337|L--,id=132444,enchant_id=5890,bonus_id=1811/3630,gem_id=130222
shoulder=T20--,id=147144,enchant_id=5883,bonus_id=3562/1483/3528
back=L--,id=151803,enchant_id=5435,bonus_id=3459/3630|,id=142215,enchant_id=5435,bonus_id=3536/1510/3337
chest=L--,id=151805,bonus_id=3459/3630|T20--,id=147139,bonus_id=3562/1808/1488/3336,gem_id=151584
wrist=,id=137522,bonus_id=3418/1808/1525/3337,gem_id=151584
hands=T20--,id=147141,bonus_id=3562/1503/3337|L--,id=146668,bonus_id=3459/3630,gem_id=151583151583151583
waist=,id=147055,bonus_id=3563/1518/3337
legs=T20--,id=147143,bonus_id=3561/1488/3337
feet=,id=134298,bonus_id=3418/1526/3337
finger1=L--,id=132452,enchant_id=5429,bonus_id=3459/3630,gem_id=130222|,id=134487,enchant_id=5429,bonus_id=3536/1530/3528|,id=147021,enchant_id=5429,bonus_id=3563/1808/1508/3336,gem_id=151584|L--,id=137382,enchant_id=5429,bonus_id=1811/3630,gem_id=151584
finger2=L--,id=132452,enchant_id=5429,bonus_id=3459/3630,gem_id=130222|,id=134487,enchant_id=5429,bonus_id=3536/1530/3528|,id=147021,enchant_id=5429,bonus_id=3563/1808/1508/3336,gem_id=151584|L--,id=137382,enchant_id=5429,bonus_id=1811/3630,gem_id=151584
trinket1=,id=134379,bonus_id=3573/1808/605/1511/3336,gem_id=151584|,id=147010,bonus_id=3562/1483/3528|L--,id=144259,bonus_id=3529/1811/3630
trinket2=,id=134379,bonus_id=3573/1808/605/1511/3336,gem_id=151584|,id=147010,bonus_id=3562/1483/3528|L--,id=144259,bonus_id=3529/1811/3630
main_hand=,id=128861,bonus_id=726/1490/1494/1488,gem_id=147115/147079/140815

This was generated using the simpermut addon. maybe the addon generated the typo?

scamille commented 6 years ago

gem_id=151583151583151583 thus the out of range error.

->This is a Simpermut Addon Issue.

@Kutikuti @SimCMinMax/simpermut please have a look. and @mactassio can you please share some info about the gem you have socketed in your gloves?

mactassio commented 6 years ago

this is the gem https://beta.wowdb.com/items/151583-quick-lightsphene

3 of them are slotted in the hand ( it has 3 sockets ).

scamille commented 6 years ago

Ok then the problem is pretty clear: missing separator between gems.

You can also add a / between the gem IDs by hand for now and that should get AutoSimc/SimulationCraft working.