Sunday 6 May 2007

Release: NavBot rev. D

It's beautiful, it's simple, and now it's even faster than before! NavBot revision D is here. Here's 5 great things about revision D:
  1. It's like, 5 times faster.
  2. Your available isk and cargo are now saved, which means you don't have to keep checking what the cargo size of your Mk 4 Iteron is.
  3. Items with a "-" in the name now work. Long live implant trading!!
  4. The list of trade reports now caculates the age of each report correctly, instead of adding the time difference between you and GMT.
  5. You can click on a button to change the isk/cargo instead of pressing "Enter" and hoping.

I love it, and I hope you will too. NavBot is right here, waiting for you...

28 comments:

Anonymous said...

I've just downloaded the new version. It's great that it can now remember the cargo hold and ISK (other changes are great too, of course)! But the speed... sorry, but I didn't notice any speed increase (maybe I have to few market data).

I have also a question. NavBot shows a percentage (the new and old version). Is it a percentage of the money you have or the money you will spend on the items? If it's the first one, than it's not good. It doesn't meter if you'll make 1 mil on a item that's worth 100 mil because the tax will eat your income. But if it's on a 2 mil worth item than you won't even feel the tax.
And think it's the percentage of your money, because it INCREASES than you DECREASE the money you can spend.

OpenCloud said...

Hi Kenzo,

The percentage is the percentage of the total money you have; e.g. how much will I increase my overall wealth by doing this trade.

Your point about tax is a good one; I think the next version will have to address that...

Anonymous said...

It's me again ;) I have another feature request. It's about the 3rd trade route (the "Fancy a change of scenery?" High Sec). I've notice that NavBot some times can find a start point that is in high sec (of course) but you have to go through a LOW SEC. I think it should be safe all the way.

OpenCloud said...

Hi Kenzo! I wondered when someone would notice that little short-cut :-) I'll put some extra code in to calculate high/low sec routes properly in the next revision.

Anonymous said...

Wow, I just sat down with python to write a market data analyzer and I found your program. I'm anxious to use it but I'm running linux and if there's one thing that Wine hates, it's the .net framework. Is there any chance you'd share some of your source code? :D If not, I noticed on the eve-online forums that you know a way to automate market exports, could you let me in on that nifty little trick?
Cheers,
PwnEx

OpenCloud said...

Hi PwnEx,

I haven't tried it yet, but I would expect Mono (http://www.mono-project.com) to be able to run NavBot under Linux. It supports the HttpListener class, and aside from that I only really use the core classes with some generics, both of which are fairly well-supported in Mono now. Give it a try and let me know - if it doesn't work, it probably wouldn't be much work to make it work, so I'd be willing to take a look at that.

I might open source NavBot in the future, but it's not something I'm thinking much about at the moment.

If you can automate mouse clicks and read pixels from the screen, you can automate data exporting from the quickbar fairly easily...

Anonymous said...

Hi opencloud,
I just gave gave mono a shot, but it always fails with:

Missing method System.Windows.Forms.NotifyIcon::set_BalloonTipTitle(string) in assembly /usr/local/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

This happens with mono 1.2.3.1 and 1.2.3.50 (I couldn't get the latest svn source, there seems to be a configure error with cairo). Apparently the Windows.Forms API used for cross compatibility, although coming along, still leaves a lot to be desired. (They say as much in the project notes, guess I'll just have to wait for the right revision.)

Thanks for the getpixle tip, somehow when I read the post I thought it would involve a passive packet sniffer that would read market strings. Maybe I'll look into that . . .
Thanks,
pwnex

OpenCloud said...

Pwnex: The GUI isn't at all important; I'll try stripping the windows forms stuff out and producing a command-line executable and see if Mono likes that any better.

Felix said...

Hey there,

When i run the setup program I get an error which says "application not found". I check the error log it dumps to and this is its contents:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.2 {version}
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line "C:\DOCUME~1\Felix\LOCALS~1\Temp\VSD12.tmp\DotNetFX\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '6.0.2900.2180'
Setting value '6.0.2900.2180 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 6.0.2900.2180 {string}
Running checks for command 'DotNetFX\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'DotNetFX\instmsia.exe' is 'Bypass'
Running checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'DotNetFX\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': true
Result of checks for command 'DotNetFX\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Launching Application.
Running command 'D:\NavBot.application' with arguments ''
ShellExecuteEx failed with error code -2147221003
Error: The following error occurred attempting to install 'D:\NavBot.application':
"Application not found "

I'm running windows xp pro build 2600.sp2p_sp2_rtm.040803-2158: Service Pack 2

OpenCloud said...

Hi Felix,

Are you extracting the whole zip file to a particular place, or just the "setup.exe" file? You should extract everything from the zip file into a temporary folder, or the desktop, and then run setup.exe.

Anonymous said...

That'd be great, thanks!

Anonymous said...

Hi opencloud,
I managed to get my hands on a windows client for a bit, but when I hit the search command on the IGB I get this dump:

System.IO.FileNotFoundException: Unable to find the specified file.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.FileInfo.MoveTo(String destFileName)
at EveMarketTool.TradeFinderFactory.ArchiveFiles(String logFilePath, List`1 files)
at EveMarketTool.TradeFinderFactory.ArchiveOutOfDateLogs(String logFilePath)
at EveMarketTool.TradeFinderFactory.Create(Map map, Market market, String logFilePath, Parameters parameters)
at EveMarketTool.TradeFinderFactory.Create()
at EveMarketTool.SearchPage.Render(String systemName, String charName, String charId, NameValueCollection headers, NameValueCollection query)
at EveMarketTool.PageServer.WebRequest(IAsyncResult ar)

This is on windows XP pro, version 2002, sp2

OpenCloud said...

Hi pwny,

Do you have a EVE\capture\Marketlogs\Archive directory? Is there anything in it? Try deleting or renaming the directory; NavBot should then create a new one. Let me know how it goes!

Unknown said...

I tried to install it and I get the error:

The following error occurred attempting to install 'C:\Documents and Settings\Alan\Desktop\NavBot rev D\NavBot.application':
"Application not found "

What am I doing wrong?

Felix said...

Hey,

Yeah - i'm extracting the contents of the zip to a directory so more than just the setup.exe file is in the directory. I'm kinda at a loss as this works fine on my other computer.

OpenCloud said...

Hi Alan, Felix,

I'm at a loss too - the installer is automatically generated by Visual Studio and I can't find anything helpful-looking in the docs. You could try installing the .NET 2.0 redistributable package from Microsoft's website first, although the installer should check for this and automatically download it if necessary...

Anonymous said...

Hey opencloud, got a chance to try it again, apparently there is a problem with either the implant or hardwiring market data. Don't know which, but the problem disappears when I delete the corresponding entries in the marketcapture folder.

Unknown said...

When I try to start Navbot it complains about a wrong EVE folder:
System.Runtime.InteropServices.ExternalException: Der angeforderte Clipboard-Vorgang war nicht erfolgreich.
bei System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
bei System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
bei System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
bei System.Windows.Forms.Clipboard.SetText(String text)
bei NavBot.InitialForm.TryToStartNavBot()

If I click on ok then there's a second error:
System.ObjectDisposedException: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: System.Net.HttpListener.
bei System.Net.HttpListener.EndGetContext(IAsyncResult asyncResult)
bei EveMarketTool.PageServer.WebRequest(IAsyncResult ar)

OpenCloud said...

Hallo Klaus,

es tut mir leid, dass Navbot fuer dich nicht funktioniert! Anscheinend, kann es die Windows Clipboard nicht erreichen - das ist doch aergerlich, weil es ist eigentlich egal ob es es benutzen kann oder nicht - ausser dass es diese Error gibts und nicht weiter kommt.
Hmm. Ich werde in den nechtse Revision es so machen, das es geht auch ohne Clipboard! Hast du etwas besonderes installiert? Ich verstehe auch nicht, warum es diese Problem damit hat. Dann soll es auch fuer dich funktionieren!

Anonymous said...

Hey opencloud,
I'm still getting the missing file error pretty frequently and I can't quite figure out why (or what causes it). It seems that the offending file is removed with each dump, so if I keep reloading navbot, eventually the problematic files are purged and the data goes through. What's strange is that I'm using the same quickbar to gather data (across a few regions) and sometimes the data will trip it, sometimes not. Any thoughts?

OpenCloud said...

Hi Pwny,

Are you running any other market data capture/upload programs? It sounds as if NavBot can write to a file because something else is using it. Could you post the list of items that causes problems? I'll give it a go here and see if I can reproduce. I'll not publish the comment, to avoid everyone seeing what you like to trade :-)

Anonymous said...

Hi opencloud, my list is pretty big. Unless you can think of a better way, I can just .zip a copy of a set of the problematic marketcapture data and mail it to you. (Maybe it has something to do with my localization settings -- english, us -- like unforeseen file names? If you want to try it with your own scans, the majority of what I trade are implants and hardwiring, datacores, and salvage components.)

It's really weird, I haven't changed the quickbar list since I started using navbot and I usually stick to the same few regions and, nonetheless, the glitches are completely erratic. Today I started from scratch with data from domain and I couldn't get it to go through despite restarting navbot 20+ times. When I did this last (a few days ago), I had a couple Domain scans that went through on the first try.

I'm not running anything else, i've disabled antivirus, indexing, and anything else I can think of that may interfere with file writes. I've also noticed that, despite the revision notes, the timestamps on the data is still off. Navbot reports all scan times at +3 hours (in my timezone anyway). Could this discrepancy have something to do with the writes?

On another note, a future version would benefit from displaying the quantity of buy and sell orders on a reports. "Limited by availability" is helpful but requires checking the market data again by hand to figure out just how limited things are.

OpenCloud said...

Hi Pwny,

Sorry for the long delay in getting back to you. Yeah, maybe it's best to zip it up and email it to [my profile name]@bigstring.com - either way I've made a note to make the next version more tolerant about such errors. I might even include an option not to archive anything (I know I never use my archives...)

Quantity to buy is already on my list of improvements (saves working out by hand how much of an item to buy, too) - when limited by availability, this would naturally be all of the items available. Would that help you?

Unknown said...

I think I found the reason for the clipboard problem. Looks like Utopia Angel (from www.utopiatemple.com) is blocking the clipboard.

Anonymous said...

Hey opencloud, I just sent a zipped folder your way with some of my data.

Quantity to buy would be helpful, but I think just giving a more detailed market report would do. For instance, listing the quantity and price of the sell and buy orders on a trade would allow one to figure out exactly how much to buy and allow for changes in quantity to purchase upon arrival (as well as indicate that someone else has picked up on your supplier).

In the case where an item's buy orders exceeds the number of sell orders at a single price, one could figure out how many additional units to buy at slightly less profit per unit to get a greater overall income.

OpenCloud said...

Hi pwny,

Thanks for the files, exactly what I needed. Found and fixed the problem - part of the code was parsing the file names incorrectly, leading it to try to archive the same file twice. Works great now, will try to upload a revision E tonight!

OpenCloud said...

Sorry pwny, the graphics card on in my laptop has died and hp demand 10+ working days before I get it back. Looks like revision E will be a little while off :-(

Anonymous said...

Ouch, too bad about the video card. Looking forward to rev E, though. :D