Coder Social home page Coder Social logo

unihedro / autotrimps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from genbtc/autotrimps

6.0 6.0 3.0 3.44 MB

Automation for the idle incremental game 'Trimps'

JavaScript 96.83% CSS 2.28% HTML 0.88%
automation game idle-game incremental-game userscript webgame

autotrimps's Introduction

testing fix me

SCP-ZH-9288-EX

github stats

Top Langs

autotrimps's People

Contributors

alienc4 avatar anahkiasen avatar autotrimpsmod avatar cheesepoptart avatar genbtc avatar gitter-badger avatar heinervdm avatar iabw avatar ishakaru avatar klusark avatar lucidcrux avatar mikewaraksa avatar moriakaice avatar nelseric avatar ryfeng avatar schikore avatar spindrjr avatar unihedro avatar wg-spacecoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

autotrimps's Issues

Autotrimps error

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}

Option to immediately claim weapon/armor prestiges

Currently, if you set the AutoPrestige to GambesOP, AutoTrimps waits until zone xx5 to run maps for prestiges; in zones xx1, xx2, xx3 and xx4, it often runs lower level maps, due to MapReduce and/or Siphonology. This behavior is very detrimental past the magma wall (~z420); where you want all prestiges immediately (and Dynamic Prestige just flat out doesn't work properly).

It would be really, really nice if there were an option so it would immediately claim all available items less than or equal to the prestige setting. (So for GambesOP ... 3 maps at xx1, 2 each at xx2, xx3, and xx4, and 4 at xx5). I've experimented with workarounds (not buying siphonology in the first place helps...); but it's still less than optimal for what ought to be a very easy thing to implement for someone with access to the code.

[Request] - Implement Grimy Perk Optimizer

I would like to see the Grimy Perk Optimizer implemented into this version of Autotrimps.

https://grimy.github.io/perks.html

This calculator seems to be the only one that takes into effect all of your unlocked perks and is kept up to date, and usually gives best the results.

Also would love the ability for it to also work with the auto portal option from GenBTC which is currently experimental. I think implementing this calculator would be able to bring this feature out of experimental since it always returns the same result, unlike the auto allocate perks now which can require multiple clicks before it allocates all helium.

AutoMaps Not working

for some reason once I did c^2 challenges autotrimps stopped using maps even with automaps on. It just progresses even when it says prestige on automaps. then when I hover over it it will say my ratio is multiple hundreds off of what it should be and enoughhealth and enoughdamage are false but it still just keeps trying to push without maps

A way to alter when AT starts doing maps for dmg bonus

Like in the title, I would like that there would be a way for me to change when AT starts doing maps for zone damage bonus instead of constant "when the value of H:D ratio is above 4". With the default setting, AT starts doing 10 maps per zone when I still can practically overkill most of the cells which is an obvious waste of time.

TooMuchDamage

stop dagger climbing when we're way beyond overkilling bad guys, it's a waste of time.

Delay Portal doesn't work.

The script seems to refresh the dialog box every second or tick, and clicking the 'Delay Portal' button doesn't seem to do anything. It just pops up again (or more accurately, never goes away). After ten seconds of frantically clicking Delay and Cancel, the autoportal goes through anyways.

The BTC version worked normally when I was using it yesterday, so it seems like something's up with this fork.

autogenerator

  • switch stance after zone? (Marval89@dbf0158)
  • step in full fuel if we have challenge2?
  • switch to hybrid after completing challenge2?

fix armor

Sometimes AT doesn't want to buy armor even when !enoughHealth?

reduce lifecycle load

A lot of people have complained that AT load is very high, and it is likely indeed the case! Look into debundling logic that doesn't need to be run so frequently, e.g. only manage stuff like preSpireFarming flag and robotrimp once every zone count

Magmite spender: Urgency detection

if we can afford something and is very near our HZE / auto portal, buy it instead of being stuck on what to buy next

yeah capacity cost is screwing me over

"favourite options" tab

sometimes you just don't want to / need to see options you never change, so bring the ones you care and mess with frequently together

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.