sau1707 / modernbot Goto Github PK
View Code? Open in Web Editor NEWA Bot for Grepolis
Home Page: https://sau1707.github.io/ModernBot/
License: MIT License
A Bot for Grepolis
Home Page: https://sau1707.github.io/ModernBot/
License: MIT License
Breaks when can click the gratis button for a building that still require the buildings before
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
Don't put storage in queee
Line 2026 in 0203b7a
this.console.log('Truppato ' + count + ' ' + unit + ' su ' + town.name)
When the Autofarm works without che commander, it makes multiple same call to the same bridge, resulting in an error
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
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.
if all rurals are under upgrade, the bot stop
optimization possible by checking the free population of the given polis
Hide troops automatically when an attack is incoming.
When I would code a little bit better in JS I would do it by myself...
On chrome, the data don't update once the page is not focus or minimized, therefore keep spanning build request.
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.
Sometimes it's not stopping when there are no enough troops
Error: Permission denied to access object self-hosted:349:19
Try to send attack when troops are not in polis, keep spamming errors
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 :
if its not like this, the auto train is detected and you can be banned
Create a global shutdown for cases like got stucked, or errors
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
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
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
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
Try to trade also with the rurals that are still locked
The success human message has the text in italian
TypeError: Function.prototype.inherits is undefined
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
const key = ${id}_${Game.world_id}
;
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 :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.