API?

Custom mods, stories, and artwork based on the Evochron / Arvoch universe.
Razer
Ensign
Ensign
Posts: 1
Joined: Sat Jun 11, 2011 4:22 pm

API?

Post by Razer »

I want to write an app that records ship location, docking station, mats, prices, etc. Does anyone know a way to hook in to that? I'll be writing the program in C# or Java, depending on how you get the info. Is it a direct memory location read? Text file somewhere thats written live? DLL API? Any point in the right direction would be awesome. :)
User avatar
SeeJay
Captain
Captain
Posts: 3507
Joined: Wed Aug 11, 2010 9:03 am
Location: Sweden

API?

Post by SeeJay »

Hi and welcome.

If you create a file "savedatasettings.txt" in your main game folder and set the value in it to 2000
you set update to 2sec. (Default C:\\sw3dg\\EvochronMercenary\\)

Also create a file "savedata.txt" in the same game forlder.
This file will be updated every 2 seconds in this scenario.

Try this and just check what info you'll get.

This feature is used for the EvoMetric program that is a map/GPS for the Game.
You'll find that on my website: http://evochron.junholt.se in the download section.

Also check the Customizing Kit here: http://www.starwraith.com/evochronmerce ... nloads.htm

Hope this helps to get you started.;)
\"Nothing is impossible, it only takes a bit longer!\"
\"We are not retreating, we are advancing in another direction!\"


http://evochron.junholt.se (Old)
http://www.evochron2.junholt.se (New)
http://mercenary.junholt.se (Map)
http://www.junholt.se/evoschool/index.htm (No spoilers)
-8- Bzzzzzzzzz! -8- -8-
Image
49rTbird
Captain
Captain
Posts: 2954
Joined: Sun Oct 28, 2007 10:57 pm
Location: Pinole,Ca,USA,Earth,Orion Spur,Milkyway, Etc.

API?

Post by 49rTbird »

Hello Razer, Welcome to the forum and the Sim. Have fun and hope to see you in "Multi-Player" sometime. :)
Explore! Explore! Explore! \"There is no going back (Yet) so Make Today Count!
Atollski
Lieutenant
Lieutenant
Posts: 153
Joined: Sun Sep 26, 2010 2:17 pm
Location: Weymouth, UK

API?

Post by Atollski »

Hi Razer,

My MapLog program is open source - in Visual C++ 2008 Express, feel free to take it apart and lift anything useful from it if that is any help to you...
Like exploring? - Ver. 1.0 (13/02/2011) What is this?

Image
Maarschalk
Captain
Captain
Posts: 7641
Joined: Wed Feb 25, 2009 12:24 am
Location: USA, Also check your six!

API?

Post by Maarschalk »

Hi Razer, welcome to the game and forum. Hope to see you out there some time....;):cool:
Arvoch Alliance Stat:


Evochron Legends Stats:


Evochron Mercenary Stats:


Darkness is the absence of Light as Evil is the absence of Good
User avatar
Sinbad
Commander
Commander
Posts: 765
Joined: Mon Sep 28, 2009 7:28 pm
Location: Medellin, Colombia

API?

Post by Sinbad »

Hi Razer, welcome to Evochron.

And hi Atollski! You're still alive! When we will see you back in space?

Universe Explorers Clan
[UE]Sinbad
Clan Leader

Somewhere, something incredible is waiting to be known. - Carl Sagan
Atollski
Lieutenant
Lieutenant
Posts: 153
Joined: Sun Sep 26, 2010 2:17 pm
Location: Weymouth, UK

API?

Post by Atollski »

Pretty soon I think! Still haven't installed it on my new laptop yet, but will have to sort that out as a matter of urgency...
Like exploring? - Ver. 1.0 (13/02/2011) What is this?

Image