These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
12Next page
 

The IGB JS Callbacks

First post First post
Author
CCP FoxFour
C C P
C C P Alliance
#1 - 2015-09-30 12:06:30 UTC
Hey people,

We have started to gather metrics on the usage of the IGB JS callbacks. You can see the first 24 hours of this here: https://imgur.com/a/DtJSj

The first few hours are actually blank as we were fixing something after DT with our metrics intake.

I will of course let this run for a while longer before making any decisions but I thought these were both interesting graphs to look at and to make sure that if anyone is using the JS callbacks that I currently have being reported as not used you can tell me my **** is broken.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Sentient Blade
Crisis Atmosphere
Coalition of the Unfortunate
#2 - 2015-09-30 12:59:52 UTC
I'm assuming the low levels in these charts are to provide the justification for removing the IGB in the near future?
CCP FoxFour
C C P
C C P Alliance
#3 - 2015-09-30 14:15:48 UTC
Sentient Blade wrote:
I'm assuming the low levels in these charts are to provide the justification for removing the IGB in the near future?


No. It was decided to remove the IGB without looking at these at all. These are to help focus our efforts in what we prioritize replacing before we remove the IGB.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#4 - 2015-09-30 14:45:01 UTC
The justification for removing the IGB is:

It's ancient.
It's insecure.
Updating it would be an ongoing task, which would eat at least one developer.
Most people aren't playing on Potatoes, which lets people use their system browser, developed by specialists, letting CCP get on with their core competency, which is developing Eve.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Max Kolonko
Caldari Provisions
Caldari State
#5 - 2015-09-30 16:07:56 UTC
Steve Ronuken wrote:
The justification for removing the IGB is:

It's ancient.
It's insecure.
Updating it would be an ongoing task, which would eat at least one developer.
Most people aren't playing on Potatoes, which lets people use their system browser, developed by specialists, letting CCP get on with their core competency, which is developing Eve.


HEY, Potatoes are valid platform for highly sophisticated systems
Jack Hayson
The Scope
Gallente Federation
#6 - 2015-09-30 16:17:53 UTC
CCP FoxFour wrote:
These are to help focus our efforts in what we prioritize replacing before we remove the IGB.

Pretty sure you know this already, but since it won't show up in those metrics:
The header data is very important for wormhole mapping tools.
Captain Thunk
Explode. Now. Please.
Alliance. Now. Please.
#7 - 2015-09-30 17:06:48 UTC
Yeah as I understand it, most things heavily using the IGB right now are the tools that rely on it being open when changing systems. These tools will lose a lot of functionality once the IGB is taken out back and double tapped in the head.

These aren't shown in the metrics you've given.
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#8 - 2015-09-30 17:37:07 UTC
Captain Thunk wrote:
Yeah as I understand it, most things heavily using the IGB right now are the tools that rely on it being open when changing systems. These tools will lose a lot of functionality once the IGB is taken out back and double tapped in the head.

These aren't shown in the metrics you've given.



Location data isn't being ignored. Options are bring considered.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Carhn Mose
Astromechanica Maxima
#9 - 2015-09-30 19:06:26 UTC
I'm wondering the meaning of IGB JS Callback ? Is it crest api request ?
Jack Hayson
The Scope
Gallente Federation
#10 - 2015-09-30 19:54:25 UTC
Carhn Mose wrote:
I'm wondering the meaning of IGB JS Callback ? Is it crest api request ?

If a webpage is running in the IGB it can call various javascript methods that interact with the game, e.g. open the fitting window or set your autopilot destination to somewhere.
https://wiki.eveonline.com/en/wiki/IGB_Javascript_Methods
The functionality these methods provide will be moved to CREST.
Mr Twinkie
Republic Military School
Minmatar Republic
#11 - 2015-10-01 02:09:46 UTC
I'm entirely for the removal of the IGB and ingame links linking to the OOG browser ASAP... I'm tired of having to dumb down code just to make it work in game.
CCP FoxFour
C C P
C C P Alliance
#12 - 2015-10-01 08:13:17 UTC
As others have mentioned we are looking at ways of providing the information found in the headers. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Sentient Blade
Crisis Atmosphere
Coalition of the Unfortunate
#13 - 2015-10-01 09:51:37 UTC
Steve Ronuken wrote:
The justification for removing the IGB is:
It's ancient. It's insecure. Updating it would be an ongoing task, which would eat at least one developer.


I was under the impression it was Chromium, and it simply had not been updated.

To my mind I think one of the best options available would be to run an extremely lightweight http server in the background with privileged access to IPC with the EVE clients.

Have it reject any connections not from localhost, serve up an appropriate crossdomain policy, and local web browsers could fire requests at it all day long to both push/pull JSON to/from the clients.

It would be possible to build straight into the main game executable, but as almost everyone multiboxes, that would present its own problems... likely some need to open a URL from in-browser which passes details on which port/auth to use for that particular game instance.
Max Kolonko
Caldari Provisions
Caldari State
#14 - 2015-10-01 10:23:21 UTC  |  Edited by: Max Kolonko
Its chromium, but heavily modified (igb js callbacks, custom headers and other) thats the main problem
Jarno Midumulf
Riders of Sleipnir
Backdoor Crashers
#15 - 2015-10-01 10:41:36 UTC
CCP FoxFour wrote:
As others have mentioned we are looking at ways of providing the information found in the headers. :)


and where is that going to be then? CREST?

Currently i am working on a tracking tool, so when i jump from system to system it will tell me the info i need to know about that System (sometimes even before i finish the jump since the headers will sometimes update fast).
When you move this to CREST we will have to do a lot off calls to the server to keep track off where the player is.
This means a lot off calls to a server what is not necessary to do.. (so more stress on the server to).
And since it will have a cache timer... it wont be accurate any more...

And then we have the removal off the JavaScript functions...

I can see this work whit CREST.. we just send the correct information to it and it will pop up a window in the players screen.
but whit that you probably gone have to have a API key.. otherwise you will a lot off random screens pop up everywhere..
and whit that you also have the problem.. you gone need the API key.. before you didn't need that.. only to be trusted.
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#16 - 2015-10-01 11:15:43 UTC
Max Kolonko wrote:
Its chromium, but heavily modified (igb js callbacks, custom headers and other) thats the main problem



And it's integrated into a 3d engine. Which is not exactly the simplest job in the world.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#17 - 2015-10-01 11:20:53 UTC
Jarno Midumulf wrote:
CCP FoxFour wrote:
As others have mentioned we are looking at ways of providing the information found in the headers. :)


and where is that going to be then? CREST?

Currently i am working on a tracking tool, so when i jump from system to system it will tell me the info i need to know about that System (sometimes even before i finish the jump since the headers will sometimes update fast).
When you move this to CREST we will have to do a lot off calls to the server to keep track off where the player is.
This means a lot off calls to a server what is not necessary to do.. (so more stress on the server to).
And since it will have a cache timer... it wont be accurate any more...

And then we have the removal off the JavaScript functions...

I can see this work whit CREST.. we just send the correct information to it and it will pop up a window in the players screen.
but whit that you probably gone have to have a API key.. otherwise you will a lot off random screens pop up everywhere..
and whit that you also have the problem.. you gone need the API key.. before you didn't need that.. only to be trusted.



There are other options possible.

Without committing CCP to anything (as I like my legs unbroken), possibillities include a long poll based system or something Websocket based, so you get a notification when the client changes system.



Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Jarno Midumulf
Riders of Sleipnir
Backdoor Crashers
#18 - 2015-10-01 12:28:49 UTC
Steve Ronuken wrote:

Jarno Midumulf wrote:
stuff.. read above


There are other options possible.

Without committing CCP to anything (as I like my legs unbroken), possibillities include a long poll based system or something Websocket based, so you get a notification when the client changes system.


Hmm.. Didn't think about that yet... could work to indeed.
but then again the multiple clients on one system..
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#19 - 2015-10-01 15:30:05 UTC
Jarno Midumulf wrote:
Steve Ronuken wrote:

Jarno Midumulf wrote:
stuff.. read above


There are other options possible.

Without committing CCP to anything (as I like my legs unbroken), possibillities include a long poll based system or something Websocket based, so you get a notification when the client changes system.


Hmm.. Didn't think about that yet... could work to indeed.
but then again the multiple clients on one system..



Doesn't matter. the web socket or long poll would be talking to CCP's servers. nothing to do with the client.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Jarno Midumulf
Riders of Sleipnir
Backdoor Crashers
#20 - 2015-10-01 15:35:08 UTC
Steve Ronuken wrote:
Jarno Midumulf wrote:
Steve Ronuken wrote:

Jarno Midumulf wrote:
stuff.. read above


There are other options possible.

Without committing CCP to anything (as I like my legs unbroken), possibillities include a long poll based system or something Websocket based, so you get a notification when the client changes system.


Hmm.. Didn't think about that yet... could work to indeed.
but then again the multiple clients on one system..



Doesn't matter. the web socket or long poll would be talking to CCP's servers. nothing to do with the client.


then you would need the api off the player.. if not you can track any one you want... or you can make a application that can spam any one you want whit lets say fitting windows.. imagine that in a combat situation..
and whit the igb you don't need the api to get the location off the player you just read out the header
12Next page