Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autotrimps error #47

Open
keyserbrian1 opened this issue May 29, 2017 · 0 comments
Open

Autotrimps error #47

keyserbrian1 opened this issue May 29, 2017 · 0 comments

Comments

@keyserbrian1
Copy link

I just fixed this issue, but I'm still logging it because it presents a potential issue for new AutoTrimps users. As it turns out, the "Prestige" dropdown was set to nothing (not "Off", it was completely empty). It should probably have a default value.

Following is my original issue:

AutoTrimps refuses to send out a fighting group once it reaches Zone 6. Checking the javascript console, the following error message is constantly being logged:

unihedro.github.io/AutoTrimps/modules/automaps.js:90 Uncaught TypeError: Cannot read property 'last' of undefined
at autoMap (unihedro.github.io/AutoTrimps/modules/automaps.js:90)
at mainLoop (unihedro.github.io/AutoTrimps/AutoTrimps2.js:206)

I am loading AutoTrimps through TamperMonkey on Chrome. Here's my config:

{"ManualGather2":1,"ATversion":"2.1.5.5u3-unimod-4-17-2017+Modular","BetterAutoFight":2,"AutoStance":2,"BuyStorage":false,"BuyBuildings":true,"BuyUpgrades":true,"BuyJobs":true,"TrapTrimps":false,"AutoHeirlooms":true,"HireScientists":true,"WorkerRatios":true,"ManageBreedtimer":false,"GeneticistTimer":10,"AutoPortal":"Off","HeliumHourChallenge":"None","CustomAutoPortal":"200","HeHrDontPortalBefore":"200","HeliumHrBuffer":"0","AutoFinishDaily":false,"AutoFinishDailyZone":-2,"AutoStartDaily":false,"PauseScript":false,"BuyArmor":true,"BuyArmorUpgrades":true,"BuyWeapons":true,"BuyWeaponUpgrades":true,"BuyShieldblock":false,"Prestige":"","PrestigeBackup":{"selected":{"id":"Prestige","name":"Prestige","description":"Acquire prestiges through the selected item (inclusive) as soon as they are available in maps. Forces equip first mode. Automap must be enabled. THIS IS AN IMPORTANT SETTING related to speed climbing and should probably always be on something. If you find the script getting stuck somewhere, particularly where you should easily be able to kill stuff, setting this to an option lower down in the list will help ensure you are more powerful at all times, but will spend more time acquiring the prestiges in maps.","type":"dropdown","selected":"","list":["Off","Supershield","Dagadder","Bootboost","Megamace","Hellishmet","Polierarm","Pantastic","Axeidic","Smoldershoulder","Greatersword","Bestplate","Harmbalest","GambesOP"]},"id":"PrestigeBackup","name":"PrestigeBackup"},"DynamicPrestige2":-1,"PrestigeSkipMode":false,"AlwaysArmorLvl2":true,"WaitTill60":true,"DelayArmorWhenNeeded":true,"CapEquip2":-1,"AutoMaps":true,"RunUniqueMaps":true,"DynamicSiphonology":true,"LowerFarmingZone":true,"MinutestoFarmBeforeSpire":"0","RunBionicBeforeSpire":false,"ExitSpireCell":"-1","CorruptionCalc":true,"FarmWhenNomStacks7":true,"VoidMaps":165,"RunNewVoids":true,"RunNewVoidsUntil":"-1","VoidCheck":"6","MaxTox":true,"DisableFarm":false,"FarmerRatio":1,"LumberjackRatio":1,"MinerRatio":1,"MaxScientists":"-1","MaxExplorers":"150","MaxTrainers":"-1","MaxHut":"100","MaxHouse":"100","MaxMansion":"100","MaxHotel":"100","MaxResort":"100","MaxGateway":"25","MaxWormhole":"0","MaxCollector":"-1","FirstGigastation":6,"DeltaGigastation":4,"MaxGym":"-1","MaxTribute":"-1","MaxNursery":"-1","BreedFire":false,"AutoMagmamancers":false,"WarpstationCap":true,"WarpstationWall3":-1,"WarpstationCoordBuy":true,"AutoRoboTrimp":"60","AutoGoldenUpgrades":"Off","AutoHeirlooms2":true,"AutoUpgradeHeirlooms":false,"TrainerCaptoTributes":"-1","NoNurseriesUntil":-1,"ForceAbandon":true,"GymWall":-1,"DynamicGyms":false,"AutoAllocatePerks":false,"SpireBreedTimer":-1,"ManualCoords":false,"TrimpleZ":0,"ScryerDieZ":230.6,"IgnoreCrits":0,"ForcePresZ":-1,"PreferMetal":false,"PreSpireNurseries":-1,"FinishC2":-1,"PowerSaving":0,"PrestigeSkip2":false,"AutoEggs":false,"UseScryerStance":true,"ScryerUseWhenOverkill":true,"ScryerMinZone":"181","ScryerMaxZone":"230","ScryerUseinMaps2":0,"ScryerUseinVoidMaps2":0,"ScryerUseinSpire2":0,"ScryerSkipBoss2":0,"ScryerSkipCorrupteds2":0,"ScryerDieToUseS":false,"UseAutoGen":0,"AutoGen2":2,"AutoGen2End":300,"AutoGen2SupplyEnd":false,"AutoGen3":1,"AutoGenDC":1,"AutoGenC2":1,"AutoGen2Override":1,"AutoMagmiteSpender2":1,"SupplyWall":2,"OneTimeOnly":false,"BuyOvclock":true,"SpamGeneral":true,"SpamUpgrades":true,"SpamEquipment":true,"SpamMaps":true,"SpamOther":true,"SpamBuilding":false,"SpamJobs":false}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant