Evometrics problem

Custom mods, stories, and artwork based on the Evochron / Arvoch universe.
Bear42
Ensign
Ensign
Posts: 25
Joined: Fri Mar 21, 2014 4:32 pm
Location: Tukwila WA

Evometrics problem

Post by Bear42 »

Okay, I have been working on this problem ever since I downloaded Evometrics. I have EMTool up and running just fine and it sure works for me. Installed (not sure if I didi it correctly) Created the savedatasettings file and it created the savedata file in the root directory. Thought it was working when it came right up on the screen, but I realized that it loads direct from the internet. Problem is I cannot get the "Tracker" to connect, no blip on the map nor any info for my ship.

Did I mess up the install or have messed up the path or what? (Bear scratches head on fence post)

Any Ideas what I can try. Have all instructions and have spent a lot of time trying to track down posts that may give me and idea.

No avail yet.

Lost in space!
Regards, Grizz(Bear42)
It\'s not old age, just high mileage!
User avatar
DaveK
Global Moderator
Global Moderator
Posts: 4164
Joined: Mon Apr 19, 2010 9:04 pm
Location: Leeds UK

Evometrics problem

Post by DaveK »

I had this problem ages ago! I have recollections that there were some issues with the slash direction \\ or / in the path-name

Could you post the contents of the savedatasettings.txt file - mine contains:

1000
C:\\sw3dg\\EvochronMercenary\\

plus a third blank line

1000 gives you a 1 second delay

Have a quick look in the savedata.txt file - does it have 100 lines starting with your pilot name, then fuel then $$$?

It's been ages since I installed the prog but I'm happy to help you track it down if SeeJay doesn't do it first :P

:)
Callsign: Incoming
Image
Life is like a sewer... what you get out of it depends on what you put into it. - Bob Newhart
Hell is being in a pure platinum asteroid field... with a diamond mining beam
ImageImage
Bear42
Ensign
Ensign
Posts: 25
Joined: Fri Mar 21, 2014 4:32 pm
Location: Tukwila WA

Evometrics problem

Post by Bear42 »

Thanks, I'll start this morning and compare our information. I do know I have the \\ at the end of the path. Still don't know exactly where the install program is supposed to locate the install and how they should be connected. I will try and find all of the locations.

Thanks and regards,
Grizz(Bear42)
It\'s not old age, just high mileage!
Bear42
Ensign
Ensign
Posts: 25
Joined: Fri Mar 21, 2014 4:32 pm
Location: Tukwila WA

Evometrics problem

Post by Bear42 »

Yes, I checked the savedata.txt file and have 100 lines there starting exactly the way you asked. I have also noticed that there are several savedata and savedatasettings files in both \\user\\ location and also in the Evochron root directory as well. Could this add to the problem? I'm not sure exactly where all of the different file locations should/can be located. Also, don't remember exactly where, found a savedatapath file as well.

It appears that, I guess, I need a real noobie's install map as to where everything should be placed, and/or where to find it.

Sorry for my limited knowledge.
Regards, Grizz(Bear42)
It\'s not old age, just high mileage!
User avatar
SeeJay
Captain
Captain
Posts: 3507
Joined: Wed Aug 11, 2010 9:03 am
Location: Sweden

Evometrics problem

Post by SeeJay »

Hi and welcome.

It doesn't matter where you install Evometrics.
The important thing is the path you set in "Settings" once Evometrics is running.
It should be: C:\\sw3dg\\EvochronMercenary\\savedata.txt

Click on Tracker to show your position.

There is a ReadMe here: http://evochron2.junholt.se/ in the MODS section.
\"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
User avatar
DaveK
Global Moderator
Global Moderator
Posts: 4164
Joined: Mon Apr 19, 2010 9:04 pm
Location: Leeds UK

Evometrics problem

Post by DaveK »

Ahhh - I remember now!" doh!

:P
Callsign: Incoming
Image
Life is like a sewer... what you get out of it depends on what you put into it. - Bob Newhart
Hell is being in a pure platinum asteroid field... with a diamond mining beam
ImageImage
Bear42
Ensign
Ensign
Posts: 25
Joined: Fri Mar 21, 2014 4:32 pm
Location: Tukwila WA

Evometrics problem

Post by Bear42 »

When I click the "settings" button in Evometrics the button blinks, but it doesn't show the settings window. Is this not opening for some reason. How could I troubleshoot this problem?

Thanks and kind regards

Grizz(Bear42)
It\'s not old age, just high mileage!
User avatar
DaveK
Global Moderator
Global Moderator
Posts: 4164
Joined: Mon Apr 19, 2010 9:04 pm
Location: Leeds UK

Evometrics problem

Post by DaveK »

I'd try an uninstall and reinstall of Evometrics first - the procedure solves many a problem! If the reinstall doesn't work you could check these three files out in a text editor and see if they are OK.

I've got Evometrics installed in the C:\\program files(x86) folder but, as SeeJay said, you can pop it where ever is convenient.

In the Evometrics\\Resources\\app\\views\\ folder there should be a file called settings.js which I think creates the settings box - mine contains:


/**
* @class Evochron.settings
* @extends Ext.Window
* Settings dialog that saves back to mercenary settings
*/
Evochron.settings = Ext.extend(Ext.Window, {
layout:'fit',
width:400,
height:200,
title:'Settings',
initComponent: function() {


this.grid = new Ext.grid.PropertyGrid({
source: {
"SaveData_FilePath": Evochron.app.props.getString('SaveData_FilePath'),
"SaveData_Interval": Evochron.app.props.getString('SaveData_Interval')

}
});
Ext.applyIf(this, {
items:[this.grid],
buttons:[{text:'Close', handler:function(){this.destroy()}, scope:this}]
});

Evochron.settings.superclass.initComponent.apply(this, arguments);

this.grid.on('propertychange',function(source, recId, newvalue, oldvalue){
Evochron.app.props.setString(recId, newvalue);
Evochron.app.props.saveTo(Titanium.Filesystem.getApplicationDataDirectory() + "/mercenary.settings");
}, this)
}

});

Ext.reg('settings', Evochron.settings);


the Evochron.app referred to is in the app.js file in the folder Evometrics\\Resources\\app\\ folder and mine contains:


Ext.BLANK_IMAGE_URL = 'lib/ext/resources/images/default/s.gif';

Ext.ns('Evochron');

var Titanium





Evochron.app = function() {

return {
init: function() {
if (Titanium) {
var myTestFile = Titanium.Filesystem.getFile(Titanium.Filesystem.getApplicationDataDirectory(), 'mercenary.settings');
if (myTestFile.exists()) {
this.props = Titanium.App.loadProperties(Titanium.Filesystem.getApplicationDataDirectory() + "/" + 'mercenary.settings');
} else {
this.props = Titanium.App.createProperties({
'SaveData_FilePath': Titanium.Filesystem.getProgramsDirectory() + separator + 'EvochronMercenary' + separator + 'savedata.txt',
'SaveData_Interval': '5000'


});
}

this.db=new Evochron.privateDB()
this.db.createDB()



}

this.ui = new Evochron.Viewport();
}
};
} ();



Ext.onReady(Evochron.app.init, Evochron.app);


Finally there viewport.js which is in the same folder as settins.js - too long to show here but around line 460 onwards you should see:


showSettings: function() {
console.log('showing')
this.settings = new Evochron.settings().show()

},
checkTask:function(){
if(this.taskIsRunning){
this.taskRunner.stop(this.trackTask)
}
},
toggleTracker: function(btn, state) {
if (state) {
this.mapPanel.addButton.setDisabled(false)
//check if savedata can be accessed in the folder specified
var path = Evochron.app.props.getString('SaveData_FilePath');
var savedata = Titanium.Filesystem.getFile(path);

if (savedata.exists()) {
if(!this.ship){
this.ship= new Evochron.ship()
}
this.tabPanel.setActiveTab(1);

this.trackIsRunning = true
this.trackTask = {
run: this.Track,
args:[path],
scope:this,
interval: 3000
}
this.TaskRunner = new Ext.util.TaskRunner();
this.TaskRunner.start(this.trackTask);



} else {
btn.toggle(false)
this.mapPanel.addButton.setDisabled(true)

Ext.Msg.alert('Error', 'Cant find ' + path + '. Check your settings');
}
} else {
this.mapPanel.addButton.setDisabled(true)
this.stopTracking()


Otherwise, it's back to SuperSwede SeeJay!

Good Luck


:)
Callsign: Incoming
Image
Life is like a sewer... what you get out of it depends on what you put into it. - Bob Newhart
Hell is being in a pure platinum asteroid field... with a diamond mining beam
ImageImage
Bear42
Ensign
Ensign
Posts: 25
Joined: Fri Mar 21, 2014 4:32 pm
Location: Tukwila WA

Evometrics problem

Post by Bear42 »

Thanks Davek,
I really appreciate the info. Am on it this morning and will let you know how I make out.
Regards, Grizz(Bear42)
It\'s not old age, just high mileage!
Bear42
Ensign
Ensign
Posts: 25
Joined: Fri Mar 21, 2014 4:32 pm
Location: Tukwila WA

Evometrics problem

Post by Bear42 »

Okay, I have uninstalled/reinstalled and started from scratch. Compared all the file information you sent me and found absolutely no difference between your document and the files that were installed into my computer. My install went the exact same place as yours "programs(386)" directory. Still no change, still no window to place the data files path and interval.
So I worked on it most of the day today and to no avail. I really like the program and if I could track my progress and monitor my ship in the carrier portion I would be a happy camper.

At this point I'm lost and stuck. So will quit for now and take it up later. Thanks for all your kind help. I really appreciate it.

Kind Regards, Grizz(Bear42)
It\'s not old age, just high mileage!
User avatar
DaveK
Global Moderator
Global Moderator
Posts: 4164
Joined: Mon Apr 19, 2010 9:04 pm
Location: Leeds UK

Evometrics problem

Post by DaveK »

OK - onto Phase II! :P

I've searched the forum and found this from SeeJay (from 2011 when a couple of us were having similar problems!):

This is what you need to do:

1. Find the file "mercenary.settings" on your computer.
2. You can edit that file and it should contain this data:

SaveData_FilePath: /Applications/EvochronMercenary/savedata.txt
SaveData_Interval: 5000


Viper (at the time and therefore pre-Windows 7) found it located in C:\\Users\\user\\AppData\\Roaming\\Titanium\\appdata\\se.starwraith.EvoMetrics\\

I searched my PC this morning (I'm running W7 64bit) and mine's in the same place, specifically C:\\Users\\DaveK\\AppData\\Roaming\\Titanium\\appdata\\se.starwraith.EvoMetrics\\

My file reads:

SaveData_FilePath: C:/sw3dg/EvochronMercenary/savedata.txt
SaveData_Interval: 2000

in line 1 note the '/' direction - it's the location of my install folder
2000 in line 2 = 2000ms = 2 secs refresh time. Set it to whatever you like

I'm not sure if that just solves the problem of seeing your position marker or the problem of opening 'settings' as well!

Good luck! :D

:)
Callsign: Incoming
Image
Life is like a sewer... what you get out of it depends on what you put into it. - Bob Newhart
Hell is being in a pure platinum asteroid field... with a diamond mining beam
ImageImage
User avatar
SeeJay
Captain
Captain
Posts: 3507
Joined: Wed Aug 11, 2010 9:03 am
Location: Sweden

Evometrics problem

Post by SeeJay »

You beat me to it Dave. Giod job.

Editing that file manually has solved it for
most peoples in the past.
\"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
User avatar
DaveK
Global Moderator
Global Moderator
Posts: 4164
Joined: Mon Apr 19, 2010 9:04 pm
Location: Leeds UK

Evometrics problem

Post by DaveK »

Teamwork! :P
Callsign: Incoming
Image
Life is like a sewer... what you get out of it depends on what you put into it. - Bob Newhart
Hell is being in a pure platinum asteroid field... with a diamond mining beam
ImageImage
Bear42
Ensign
Ensign
Posts: 25
Joined: Fri Mar 21, 2014 4:32 pm
Location: Tukwila WA

Evometrics problem

Post by Bear42 »

Yippeeee, whawhooooooo! Thanks so much to DaveK and CeeJay, you guys are the greatest. Finally, after all this work and your help I am now operational with Evometrics. It was Dave'K's last communication that solved the final problem. DaveK and CeeJay it was in the hashmarks going the wrong direction. Reversed them, added the last entry and BOOM! I'm now located on the chart as nice little blinking yellow dot and I can read my ship's condition as well. Thanks again, guys you are the greatest and also thank you for not giving up on me.
Kindest Regards, Grizz(Bear42)
It\'s not old age, just high mileage!
User avatar
DaveK
Global Moderator
Global Moderator
Posts: 4164
Joined: Mon Apr 19, 2010 9:04 pm
Location: Leeds UK

Evometrics problem

Post by DaveK »

Result!!! :P:P:P:P:P
Callsign: Incoming
Image
Life is like a sewer... what you get out of it depends on what you put into it. - Bob Newhart
Hell is being in a pure platinum asteroid field... with a diamond mining beam
ImageImage
User avatar
SeeJay
Captain
Captain
Posts: 3507
Joined: Wed Aug 11, 2010 9:03 am
Location: Sweden

Evometrics problem

Post by SeeJay »

Great that you finally got it working;-)

We never give up on anybody. If the community
can't solve a problem, Vice normally steps in and
fix it with his magic wand.
\"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