Giter Site home page Giter Site logo

modernbot's People

Contributors

actions-user avatar jeroenwjb avatar sau1707 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

modernbot's Issues

autogratis - error

Breaks when can click the gratis button for a building that still require the buildings before

AutoHero and AutoResouces

Planned to implement a way to move the heroes automatically, just an Idea for now no idea on how to structure it

Same for the moving of the resources

AutoFarm - multiple calls

When the Autofarm works without che commander, it makes multiple same call to the same bridge, resulting in an error

Next updates

Hey, i wanted to do continue this project since it seems like you aren't updating anymore but got a few questions about it. Could you contact me on discord whenever you got some time ? Thanks !

Discord : futapi

AutoStop & SyncCycles

Planning to automatically stop the execution of the Bot when the user interact with the browser, an interaction will be count as mouse move or click in the last 60 seconds.

SyncCycles will prevent that 2 actions like the rurals collect and the autotroop can happen at the same time, and will be used by the autostop to pause the cycles.

auto-train

optimization possible by checking the free population of the given polis

Bot - spanning error

On chrome, the data don't update once the page is not focus or minimized, therefore keep spanning build request.

AutoBuild

  • try to build cave without the minimum market, therefore fails

Limit Auto Train

Suggestion
Can Auto Train be limited to only train/purchase units in smaller numbers each time?
Example - Only start training 5 Birs on each purchase. Therefore, if you have Administrator you can start training 7 x 5 Birs at any one time.
Reason - Auto Train can use up all resources in one go. To maximise City Festivals it might be better to slow down spend in training and use some resouces to increase Cultural level as early as possible.

new auto train

Hey

The actual auto train is broken af because grepolis use severals request for train troops, and the request who is send by the bot its not same like the game.

so the only method for do an real auto train is simulate player click like :

  1. switch to the city
  2. open the barracks / docks
  3. choose the troops
  4. and recruit with the button ingame

if its not like this, the auto train is detected and you can be banned

Can't start the bot

When the script is loaded into the page, from the console i get a referenceError "let console = $('#modern_console')" $ is not defined.
Mozilla 110.0.1 (64 bit)
GreaseMonkey 4.11

Idea for Auto-Train

Hello, very very nice job.

I suggest adding for the auto-train:

A feature allowing recruitment to be launched only if a spell is available

A feature allowing recruitment to be launched only if a hero is available (mainly for Aristotle)

The addition of a log in the console for each recruitment carried out, because the message disappears quickly

the ability to enter the number of troops via the numeric keypad, and not via buttons

Bonuses:

a feature that automatically calculates the number of usable transport boats for the available population

Not working after last update

The configurations icon no longer show up after the last update, auto farming looks like it's running but the resources are actually not not being delivered

Auto worship god

Hi again bro. Do you know what data needs to be used with gpAjax.ajaxPost('frontend_bridge', 'execute', data) to auto worship a god. like model url, action, etc

Type Error

TypeError: Function.prototype.inherits is undefined

  • createWindowType user-script:raw.githubusercontent.com/ModernBot:1578
  • activate user-script:raw.githubusercontent.com/ModernBot:1596
  • ModernBot user-script:raw.githubusercontent.com/ModernBot:1710
  • userScript user-script:raw.githubusercontent.com/ModernBot:1742

Cannot convert undefined or null to object

 getCelebrationsList = (type)=>{
       const celebrationModels = uw.MM.getModels().Celebration;
       const triumphs = Object.values(celebrationModels).filter((celebration)=>celebration.attributes.celebration_type === type).map((triumph)=>triumph.attributes.town_id);
       return triumphs;
}

If there are no celebrations the celebrationModels it's null and raise an error

Ref error, sorry if i'm stressing you out

const key = ${id}_${Game.world_id};

  1. ReferenceError: Game is not defined [sandbox eval code:41:24]
  • load user-script:raw.githubusercontent.com/ModernBot:41
    
  • AutoGratis user-script:raw.githubusercontent.com/ModernBot:981
    
  • ModernBot user-script:raw.githubusercontent.com/ModernBot:1635
    
  • userScript user-script:raw.githubusercontent.com/ModernBot:1701
    

Glad to be your first user :)

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.