Showing Posts For ifoxe.4890:

In-Game Overlay Objects (Full-Screen Mode)

in API Development

Posted by: ifoxe.4890

ifoxe.4890

Hey ifoxe,

I’d like to refer you to a post I made earlier today: https://forum-en.gw2archive.eu/forum/community/api/Overwolf-s-In-Game-GW2-Apps-and-App-Contest/first#post2181735.

Although you’ll be limited to a browser window for now, it does have a transparency feature, and we’re working on adding borderless windows in future SDK versions.

Hello Boogeh,

Thx a lot for your info.

In-Game Overlay Objects (Full-Screen Mode)

in API Development

Posted by: ifoxe.4890

ifoxe.4890

Well , that’s not directly related to the API but on developer programs.

Playing a little with Java and the Event API Anet recently published , tryd to create some transparent Frames over GW2 running in full-screen window or windowed. After playing with those items i found there is a significant performance degradation of FPS. Investigated a little and found that .Net and other Lenguages that create Frame over Windows have exactly the same problem.

So investigated a little more on Mumble code , Fraps, and other APP’s that have support for Overlay Objects on in-game full-screen mode. Found a guy called Matt’s that created an API to do what Mumble do . As He specifies in his website the Direct3D 9 API Interceptor can do what i was looking for , intercept GW2 objects and giving me the option to implement my own Overlay object without ( i hope ) any performance degradation and Full-Screen Mode support.

Well , so my question is , any1 have any development running on for that kind of implementations?

Java Event Timer

in API Development

Posted by: ifoxe.4890

ifoxe.4890

Hello,

Just created a new APP since i didnt found something for my taste. Its just an Event Timer for the 9 events that drop chests. U will be notified by sound when a pre-event spawns on your server.

The code isn’t perfect and it will work only on java 1.6 > . The functionality to work behind proxy is beeing implemented … so don’t expect it to work out of the box.

Fixed on 0_5 > " Atm you only can choose server and the events r alrdy defined. In next releases you will be able to turnoff notifications for the events you already done or change the sound Volume."

To Execute it just double-click the Jar or if u prefer go to CMD> and type:
java -jar gw2dt.jar.

The app drop some output so if u have troubles with it , execute it throught CMD and send me the log.

You can find the JAR here:
https://code.google.com/p/gw2dt/

The source is on SRC Folder.

If have any problem just email me to xifoxex@gmail.com.

Rev_0_4:

  • Enabled Bar on Swing Frame With Events and File Items.
  • Enable or Disable Sound Notifications within this Items.
  • Elemental Timer Fixed.

Rev_0_5:

  • Added Visual Notifications to events. Now if a PRE-Event is Active a Visual Notification on left side will appears. ( Only works on Full-Screen Windowed or Windowed ).
  • Clicking this Notification Will Disable future notifications for this event. Closing the Notification will just Close the Tab. ( working on a better solution ).
  • Added Karka Queen Event to the list.

Rev_0_6:

  • Improved Notifications.
  • Button is now displayed on right corner.
  • Closing the Tab with the X Button will just Close the notification. It will pop-up next time you recive a warning for the event.
  • Clicking inside the Notification will disable Sound and Visual notifications for the event.
  • Multiple Visual Notifications can appear at the same time.

(edited by ifoxe.4890)

Java access to the api

in API Development

Posted by: ifoxe.4890

ifoxe.4890

Wont be better to include your own keystore inside your jar ?

keytool.exe -importcert -file $(GW2 Cert) -keystore MyTrustStore -alias “GW2”

then

System.setProperty(“javax.net.ssl.keyStorePassword”,“123456”);
System.setProperty(“javax.net.ssl.trustStore”, “MyTrustStore.jks”);

I am generating an emtpy keystore during runtime, add a single key to it, and use that keystore just on the SSLSockets generated by the jGW2API class.

If I would instead use a prebuild keystore, and set the properties to use that one default, then I would also affect other SSLsockets. What if someone wants to access to GW2 API but also needs a SSL connection to another server. Unless that server also used StartCom for verification, the connection would fail (unless I include that certificate aswell).

Nice Point. Anyways if someone else use SSL Connections to other sources, im pretty sure they will know how to add Theyr own Certs to your keystore.

Java access to the api

in API Development

Posted by: ifoxe.4890

ifoxe.4890

Wont be better to include your own keystore inside your jar ?

keytool.exe -importcert -file $(GW2 Cert) -keystore MyTrustStore -alias “GW2”

then

System.setProperty(“javax.net.ssl.keyStorePassword”,“123456”);
System.setProperty(“javax.net.ssl.trustStore”, “MyTrustStore.jks”);

(edited by ifoxe.4890)