OCD Helper utility thingy

:wink:

Yep, I mean it will take awhile to code but I’m super hyped about the new coming REST API and new UX.
If all works out you can do your own cool stuff with your own API Key.
Let’s see. For now I must sadly do POI stuff etc. :sweat_smile:

2 Likes

I’m not very advanced. What would this mean?

Few suggestions on new HWS connect came to my mind:

  1. Register of cash transactions would be great
  2. Full sorting in OCD (first by item category, then item name etc…)
  3. Being able to execute (at least some like sorting ocd) commands while having the game offline
  4. I understand 10 second time between commands is due to performance issues, but it would be really nice if something could be improved here.

Already available for Patreons:

For the rest: soon™ :slight_smile:

That’s interesting, I don’t see anything on that patreon page about sorting or not having to wait 10 s between commands, what tier is it?

It means that you or someone else could write an external app which would do some additional things with HWS - for example your Economy Utility Tool instead of being simple excel spreadsheet could be a webpage which would automatically get all the data from HWS :slight_smile:

1 Like

Since it may take a while, i’ve spent a few hours today and packaged / published this new extension for chrome so RexXxus can focus on the important stuff we’re all really waiting for!
check it out at: Empyrion HWS OCD Helper

and here’s a screenshot :smiley:

It’s hastily done and may contain bugs :smiley:
Will fix / add features if you guys reports stuff here!

Enjoy ladies!

3 Likes

so cool whats a OCD helper utility and how do it work RexXxuS? :smiley:

hey Syras90,

this has nothing to do with HWS officially or Rexxxus, it’s a standalone Crhome extension that i created and published under my own account on google… you can click the link and install the extension to try it out, it just injects some code over the website to add the functionalities you see in the picture…

Damn mate, that is awesome!! :smiley: :smile:

I checked your code and tested it out. Quite awesome!
If you have 100 slots and swap only the 99 slot it will check all slots and send quite a lot XHR requests but I think Jascha blocked it anyways, if you are not online.
Maybe add a little higher delay per XHR send command though? :slight_smile:

I still haven’t figured out a perfect PHP-FPM children handler :confused:

And maybe you can add the slot numbers near your placeholder images or a hover text explaining?
A lot better than my version though :smiley:

image

That is very smart mate :smiley:

Guess you have a v5 ready before I even started :sweat_smile:

ah cool ty friend i to try it but not sure how to get my head around it :smiley:

Thanks man :slight_smile: i usually have to work with C and wireshark and decoding networking packets and crap that makes me blind… so this is pretty easy and cool stuff for me to do in my spare time!

I didn’t quite get your meaning, which slots have you moved? it’s supposed to check exactly which items changed positions and send as few XHR commands as possible, delaying the commands using the Patron level appropriately + 500ms, i can throttle it more ofcourse, just let me know!

haven’t worked with FPM myself to be honest, i only use Apache + standard php… (and sometimes nodejs)

yeh i’ll add that in next update :slight_smile: the hover currently shows item name + type only…

Glad you like it, hope community finds it useful :slight_smile:
if you need help with any of the front-end code please just let me know, wouldn’t mind at all to help out a bit with that.

PS: i wanted to make the backpack thing directly send the ocd:get, but it seems the current xhr call would only take 1 by 1, so instead i stuck with the copy to clipboard thing!

You go fix those POIs! been a blast finding all those hidden secrets :smiley:

1 Like

:slight_smile:
just mostly drag and drop the icons to swap positions / send them to backpack space on the right side to auto generate an ocd:get string for you to paste ingame and receive the items from OCD.

np and ty all :smiley:

I tried to reproduce and didn’t work. I dragged some stuff crazy around and clicked then apply.
Instead of only swapping the swapped items the script somehow ran through all 100 slots = 100 xhr post request.

Thank! Will do :slight_smile:
Jquery-ui is not my taste. I wanted to go with that :slight_smile:

Yep, the API will lift it up I think.

Interesting, the only way i can imagine this happened is if the drag/drop thing glitched and instead of switching 2 items, it simply moved the 1 you were dragging, thus pushing everything out of its slot by at least 1 spot and causing all the XHR’s… would your level happen to be 5 so no wait was done between calls? :smiley:

Aye, i have been away from web dev a long time and that’s why i just used jqueryui in haste… definitely should look into something new… this Muuri seems interesting, will look into it more :smiley:

If there was just some means to fake commands on behalf of user from web side, then u can just send any command from gui… but i guess that may not be too safe in some cases…

2 Likes

@Hayawen It seems like the button to open OCD Helper, shows pretty much everywhere, and not just in Orbital Cargo Drone. For example Player Info, and Support Us.

@Dr.Dark thank you mate, found and fixed the bug, may take around 60mins or so for google to update the extension on their servers

3 Likes

May I suggest that web app shouldn’t interact directly with Empyrion or your database, but only through REST API? This way you could open source it as there wouldn’t be anything sensitive in it and other people like @Hayawen could contribute much easier :slight_smile:

As for technology I’m not frontend developer myself, but I’d suggest making it in modern and popular framework like Angular, Vue or React. This way more people should be able to help. On the other hand you should also feel comfortable with it :slight_smile: