
Fleets in flight towards the planet will be shown, together with their composition of ships and time of arrival (note that you don't see resources that fleets are carrying). Using the Phalanx you can scan a planet for 5,000 deuterium. This will collect your rubble field at the planet id.The Sensor Phalanx, only buildable on a moon, is one of the most useful buildings in the game. Research If you need to cancel the current ongoing research jump_gateīuildings If you need to cancel the construction or deconstruction of a building Get galaxy empire.galaxy(coordinates) returns list of class(object)įrom ogame. Get defences fences(id) returns class(object) Get ships empire.ships(id) returns class(object) Get research empire.research(id) returns class(object) Get traider aider(id) returns Exception("function not implemented yet PLS contribute") Get moon facilities empire.moon_facilities(id) returns class(object) Get facilities empire.facilities(id) returns class(object)įac.robotics_factory.is_possible returns bool (possible to build)įac.robotics_factory.in_construction returns bool Sup.deuterium_storage returns class(object)

Sup.metal_mine.in_construction returns bool Sup.metal_mine.is_possible returns bool (possible to build) Get supply empire.supply(id) returns class(object) Price(technology, level) return resources Level is mandatory if you pass buildings that exist only once like mines.

list) get prices get prices of buildings or ships. Settings = empire.resources_settings(id, settings) Get/set resources settings empire.resources_settings(id) returns class(object)Įmpire.resources_settings(id, settings) returns class(object) Get resources empire.resources(id) returns class(object) Res = resources(metal=1, crystal=2, deuterium=3) It is used for transport and market functions Resources resources have the format ĭarkmatter & energy are irrelevant, because you cant transport these. Works with planet's and moon's empire.celestial_queue(id) returns list Get research, building and shipyard construction time Works with planet's and moon's empire.celestial_coordinates(id) returns list Works with planet's and moon's celestial = empire.celestial(id) returns class
#Ogame jump gate free#
Returns how many planet slots are free to colonize slot = empire.slot_celestial() returns class planet) or coordinates( 1, 2, 12) get slot celestials debris)Ĭoordinates( 1, 2, 12, destination. constants import coordinates, destination pos = coordinates(Ĭoordinates( 1, 2, 12, destination. When you dont give it an destination it will default to planetįrom ogame. With from nstants import destination the process is much more readable. ** keep in mind that the name must contain at least two characters **Ĭoordinates coordinates have the format ĭestination is referred to planet moon or debris on that coordinate planet=1 debris=2 moon=3įor example = galaxy=1, system=200, position=16, destination=3 for moon Rename planet empire.rename_planet(id,'new_name') returns bool ** keep in mind that this is truly final, that no more fleets are needed at theĭeparture or destination of this planet and that there is no construction or research underway on it. **keep in mind to prefer planets id's moon id dont works on every function**Ībandon planet empire.abandon_planet(id) returns bool Get moon id's empire.moon_ids() returns list Get planet id's anet_ids() returns listĮmpire.id_by_planet_name('name') returns intĮmpire.name_by_planet_id(id) return string

Get characterclass Get the class of your Ogame Account Get neutral empire.neutral() returns bool Get attacked empire.attacked() returns bool Raise RuntimeWarning("Pyogame test failed, there are functions that dont work anymore. If it fails you can set up a telegram message. If this lib is running for long time it is recommended to test it during run time. Test This is a command that will try to run all functions with parameters. ~~ functions login from ogame import OGameįrom nstants import destination, coordinates, ships, mission, speed, buildings, statusĮmpire = OGame(UNI, USER, PASSWORD, user_agent='NCSA_Mosaic/2.0 (Windows 3.1)', Join Discord You wanna try a finished bot
#Ogame jump gate install#
This lib is supposed to help write scripts and bots for your needs.ĭont want to wait for new updates download direct from the develop branch pip install started OGame is a browser-based, money-management and space-war themed massively multiplayer online browser game with over
