GithubHelp home page GithubHelp logo

seldonlabs / omniscanner Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 457 KB

EDMC plugin for scanning commanders and getting their background info

License: GNU General Public License v3.0

Python 100.00%
elite-dangerous plugin edmc inara pvp visualization overlay

omniscanner's People

Contributors

seldonlabs avatar

Watchers

 avatar

omniscanner's Issues

I can't seem to start it up

I installed it, and ran the EDMCoverlay.exe from the "C:\Users\jorns\AppData\Local\EDMarketConnector\plugins\OmniScanner\EDMCOverlay" folder as administrator. started EDMC, but it doesn't recognize it :(

Anything I might be doing wrong?

Status: Checking CMDR

It seems that in the EDMC gui, the status: checking takes a long while, and then goes to status: ready. but nothing is showing in the box. I've tried with quite a bunch of commanders already. Are there any servers down?

Documentation for deployment from source lacking.

I wanted to alter the code to not require stowed weapon and to expand it to use a command to look up any commander.

However, trying to 'compile' this, I ran into the issue of the myNotebook module not existing.
I can't seem to find it, and googling it gives me only jupyter notebook results.
Nowhere in your project are the requirements documented to use theese things, how to make the python files into pyo files or anything of the sort.

So I changed load.py as such and now want to use those changes. how do I go about doing so?

L208:

if ou.is_mode(): # and not _hardpoints_deployed:

L185:

    # elif _hardpoints_deployed:
    #    _gui.status.set_disabled_on_hp()

L255: (after if ou.is_target_locked(entry), in open mode check)

            # check for !who <name> command
            if entry["event"] in ["SendText"]:
                command_parts = entry["Message"].split(" ", 1)
                command = command_parts[0].lower()
                if command == "!who":
                    target_cmdr = None
                    if len(command_parts) == 2:
                        target_cmdr = command_parts[1]
                    else:
                        target = EDR_CLIENT.player.target
                        target_cmdr = target.name if target else None
                    if target_cmdr:
                        # log message
                        ou.notify(u"Looking for {}".format(target_cmdr))
                        # gui update
                        _gui.status.set_querying_msg(target_cmdr)
                        # overlay update
                        if _overlay:
                            _overlay.display_notification("Getting info for {}".format(target_cmdr))
                        # get data from cache
                        cache_data = cacheDatabase.check(target_cmdr)
                        
                        if cache_data:
                            cmdr_data = cache_data
                        else:
                            cmdr_data = ou.call_srv(APP_VERSION, cmdr, system, target_cmdr)
                        
                        if not 'error' in cmdr_data:
                            # Add scan to cache
                            cacheDatabase.add_to_cache(search_name, cmdr_data)

                            # Update GUI log and show result on gui
                            _gui.update_log()

                            # Show result on overlay
                            if _enable_overlay:
                                _overlay.display_info(pilot_name_localised, cmdr_data)

                            # update status again after querying message
                            status_update()
                        else:
                            # display error
                            _gui.status.set_error(cmdr_data['error'])

                            if _enable_overlay:
                                _overlay.display_error(cmdr_data['error'])

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.