Giter VIP home page Giter VIP logo

omniscanner's Introduction

OmniScanner (DEPRECATED - NOT SUPPORTED ANYMORE)

OmniScanner has been decommissioned.

An EDMC plugin for scanning commanders and getting their background info.

About

OmniScanner is a plugin for scanning commanders and get their background profiles from Inara and from the [Ronin of Amarak (ROA) PVP Database][1].

Usage

OmniScanner works only when another player is scanned (obviously), after the scan is complete you will receive any info found on Inara or on ROA DB.

Only open mode is supported, this plugin is deactivated solo mode and private group mode.

Example response in EDMC

example_overlay

Inara
  • Red is for combat rank.
  • Yellow is for trade rank.
  • Blue is for exploration rank.
  • Role in Inara database.
  • Etc.
ROA
  • Clan name (could differ from Inara).
  • Last update shows when the record was updated for the last time.
  • Combat Logger if the scanned commander is a know combat logger.
  • Kill on Sight for people flagged by ROA.

Example response using EDMCOverlay

example_overlay

Installation

  • Run the the installer for the latest version.
  • If you want to use the overlay you have to install EDMCOverlay too and enable Use Overlay in OmniScanner settings.
  • Restart ED Market Connector and pray the Great Attractor.

Overlay limitations

  • Supports only 64bit Elite:Dangerous (Horizons) on Windows only.
  • No Apple support.
  • "Windowed" or "Borderless Fullscreen" mode only, Fullscreen is not supported.

Features

  • Full Inara profile with public data.
  • [ROA][1] profile with KOS and combat logging commanders.
  • Customizable onscreen TTL (Time To Live) for the overlay.
  • Customizable date format with normal UTC and Elite UTC (330x years).
  • Automatic deactivation when deploying hardpoints.
  • Commander tracking for combat loggers (highly experimental, not public).
  • Customizable GUI and overlay through config file omniscanner.ini.
  • Scanner history with the latest 15 scans, you can configure the history length by changing the parameter log_len in omniscanner.ini.

Customization

  • log_len: the length for the history log, you shouldn't use a value higher than 50 to avoid the GUI to start acting funny, default is 15.
  • width: The width of the output text area for the EDMC GUI, default is 30,
  • height: The height of the output text area for the EDMC GUI, default is 15.
  • font: Font type for the output text area.
  • size: Font size for the output text area.

Commander Tracking

As an experimental feature, if you scan a commander that is flagged by ROA DB as Combat Logger or is in ROA KOS list, the position of the scanned commander will be logged and saved until another commander will update that entry with another scan.

Being an experimental feature these info will not be usable for now but only used for testing and see how it goes with a small/medium userbase.

Versions

  • 0.4.0: Add EDMC Gui and multiple improvements.
  • 0.3.0: Add status message on EDMC panel.
  • 0.2.1: Update EDMCOverlay version.
  • 0.2.0: Customizable configuration for overlay.
  • 0.1.1: Add startup message with version check.
  • 0.1.0: Initial testing version.

Contacts

Thanks

  • To Cmdr Artie for Inara.
  • To Cmdr Lou Baron for access to ROA DB.
  • To Ian Norton for EDMCOverlay.

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?

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'])

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?

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.