Archive for the ‘EVE Online’ Category
Saturday, December 5th, 2009
Within EVEMon we have started making heavy use of LINQBridge which uses Visual Studio 2008’s Multi-Targeting capabilities to allow a .NET 2.0 applications to use the compiler functionality of C# 3.0. This reduces our need to push EVEMon towards .NET 3.5, and simplifies our dependency stack for the end user (.NET 2.0 is pre-installed on Vista and above, .NET 3.5 is pre-installed in Windows 7 and above).
One of the annoyances I have run into is every time there is a problem with a LINQ statement the debugger will stop in the LINQBridge project rather than EVEMon’s code; this usually tells you nothing useful forcing you to dig into the exception to find the stack trace to find out which line caused the exception.
I found a natty attribute in DebuggerNonUserCode that allows you to tell the debugger to treat a class as Non-User Code:
[System.Diagnostics.DebuggerNonUserCode]
So far, I have not found a disadvantage in doing this. I am being conservative with my use in case I find some glaring problem, however LINQBridge has proven a stable project, and quite frankly I would much rather be looking at my own broken code when something goes wrong, rather than LINQBridges working code.
Posted in EVE Online, Programming | No Comments »
Saturday, October 10th, 2009
I had been intending to post up all sorts of bits of news about life, driving, programming and cats but it didn’t happen. I have been busy which is good, however it doesn’t leave very much room for blogging. This post is going to be one really quick catch up entry to try and get me back into the swing of it.
I finally passed my driving test at the beginning of the summer, it was my fourth try and I passed with three minors which was a great feeling… since then I have driven once, as part of PassPlus, which didn’t really feel vastly different, although it was more enjoyable knowing that I didn’t have a test coming up. Catherine and I have decided to wait for a bit before we get a car so we can assess what Catherine will need in terms of model and adaptations in a car to allow her to get the most out of it.
Sadly Kerry, Zoe’s sister died a few months after Zoe, as a family we weren’t ready to lose her, although it wouldn’t have been fair to let her suffer an operation that might not help anyway, so my parents decided it was best to have her put down. My brother and I got a chance to say good bye to her, she wasn’t her normal self and was in a lot of pain. We are all very sad.
In programming land I spent last weekend learning SQL Server Integration Services and this weekend I plan to get into Analysis Services. Have been doing some utility programming at work to automate some of the file server operations we do, I am trying to automate as much as possible using something similar to duck tape programming to free me up to do more programming to create a more unified and friendly framework for managing the school network. Started using CodeRush Xpress both at home and at work.
In sys. admin world I have been continuing to use and learn Windows 7, I now have RTM installed at work still waiting for RTM to arrive at home on or around the 22nd. Been reading and listening to various resources surrounding Windows 2008 R2 particularly some excellent podcasts on RunAs radio.
Posted in Blog, Diary, Driving, EVE Online, Programming | No Comments »
Saturday, April 18th, 2009
I have been working on EVEMon for about two months now, taking on the responsibility of committing changes to the trunk, fixing bugs and adding new features. As a project I have been involved for several years submitting bug fixes and little features, it was down to my experiences with EVEMon that I decided to implement Subversion and Trac at work.
Unfortunately the first time it came to me to be responsible for a release, it seemed to go terribly wrong. The updated installer worked fine, and it seemed initially there were no problems with the updated code base. However BattleClinic shortly went a little mad with bug reports similar to this one:
EVEMon Version: 1.2.7.1283
.NET Runtime Version: 2.0.50727.1434
Operating System: Microsoft Windows NT 6.0.6001 Service Pack 1
Executable Path: “C:\Program Files\EVEMon\EVEMon.exe”
System.IO.FileLoadException: Could not load file or assembly ‘lgLCDNETWrapper, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0×800736B1)
File name: ‘lgLCDNETWrapper, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null’ —> System.Runtime.InteropServices.COMException (0×800736B1): The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0×800736B1)
at EVEMon.LogitechG15.Lcdisplay.Dispose(Boolean bDisposing)
at EVEMon.LogitechG15.Lcdisplay.Finalize() in D:\EVEMon\EveMon.LogitechG15\Lcdisplay.cs:line 70
For those who are not familiar the above is the crash report generated by EVEMon when a .NET exception is unhandled. lgLCDNETWrapper is the C++ library EVEMon uses to communicate with the Logitech G15. A similar error was generated for EVEMons other C++ component the window relocator.
Tonto Auri quickly spotted that the problem was something to do with the re-compiled C++ DLLs and switching the new DLLs with those from an older package resolved the problems. Whilst this was a fix, I wasn’t willing to just revert the changes and give up on the changes we had made to the G15 library, additionally I was concerned that we had not made changes to the window relocation code and that was causing at least one person a problem.
Quite a bit of searching about with Google and Stack Overflow resulting in finding these two little gems of information:
These two posts basically gave me the tools and the knowledge to fix EVEMon’s problems.
First I made the sudden (and “facepalm”) realization that EVEMon deployed the Visual Studio 2005 Redistributable; we had moved to Visual Studio 2008 SP1 about a month before the release of 1.2.7. I confirmed this with the Dependency Walker utility, by walking lgLCDNETWrapper.dll I was able to confirm that version 9.0.21022.8 of the Microsoft CRT Library (Microsoft.VC90.CRT) would be required.
The next trick was figuring out which re-distributables to deploy with EVEMon to ensure the end user would have all the dependencies required to use all of the features; frustratingly it seems that Microsoft only bundles the latest version of the re-distributables with Visual Studio 2008 and that was version 9.0.30729.1 which was not going to cut it.
Enter Nuonsofts excellent article providing a step by step guide on adding the required compiler flags to ensure the latest version of the CRT was bound. I did find a nice GUI resource editor that was capable of getting the manifests out in XN Resource Editor which made the process a little faster.
A little bit of hacking later the updated Visual Studio 2008 SP1 CRT DLLs and manifest file were deployed to the Microsoft.VC90.CRT folder within the EVEMon program files directory as the VC80 CRT libraries were in the past and the two C++ projects were setup to bind to the latest version with the _BIND_TO_CURRENT_CRT_VERSION=1 preprocessor definition.
A bit more poking arround with XN Resource Editor and Dependency Walker showed we were now in a far better position to have a working copy of EVEMon in the hands of our end users.
Posted in EVE Online, Programming | 1 Comment »
Saturday, December 13th, 2008
Graeme Arthur tagged me, normally I hate these things but this is kind of a reverse chain letter… sort of… maybe if i re-write the rules slightly.
Rules:
- Link to the original tagger(s), and list these rules on my blog.
- Share 7 facts about myself in the post – some random, some weird.
- Tag 7 people at the end of your post by leaving their names and the links to their blogs.
- Let them know they’ve been tagged by leaving a comment on their blogs and/or Twitter.
7 Facts About Me:
- At the time of writing I have been alive for approximately 871 million seconds.
- I first started programming (in Spectrum BASIC) at about the age of 8 since then I have coded projects in Visual Basic, Pascal, C/C++, Java, Ada, PHP and C#.
- I have played EVE Online for almost five years now, have been playing less often of late however I still get to enjoy the time I do spend in EVE, although it is getting increasingly more and more lonely in space.
- I have been learning about Sharepoint over the past few weeks, I have already completed most of the Microsoft e-Learning on the topic and read several blogs, I recently signed up to the Sharepoint User Group UK.
- I wrote my dissertation on the future of MMOGs, I disagree with a good proportion of what I wrote, however it was one of the most enjoyable parts of my Degree.
- I type at between 40 and 60 words per minute, it has taken me 5 minutes to get to 300 words in this blog post, some of them however were copied and pasted from Graeme’s post.
- Like Graeme I also play bass (albeit I play badly) and dabble in live PA, although I don’t really enjoy the later any more.
7 people to tag:
- Catherine over at I Married You
- Haly over at Halycopter
- Tim over at Thoughts of a musing pedant
- CrazyKinux over at CrazyKinux’s Musing
- Winterblink over at winterblink.com
- James Glass over at Outthere
- Peter Arthur over at Robotii
I know the last two were on Graeme’s list, however I honestly can’t think of anyone who would appreciate it most of the blogs I read are a strictly one way thing. I was tempted to link JoCo, Felicia Day and Mark Russinovich – however I really don’t think they would appreciate it.
Posted in Blog, EVE Online, Programming | 2 Comments »
Monday, September 17th, 2007
Nate Combs has again posted on Terra Nova about what makes rare minerals rare. Nate makes the very good point; that rare minerals are not as scarce as the name might suggest. It is well worth a read as his his personal “scratchpad”.
Posted in EVE Online, MMORPG | No Comments »
Tuesday, September 11th, 2007
I have been thinking about the economics of Online Games (specificly MMORPGs) for some time. Most of my interest comes from writing my undergraduate dissertation which was more of an overview of the future of MMOGs than any specific focus. Lately, and most importantly with EVE Online, economics has shot into the public eye.
First CCP Employed an Economist, Dr. Eyjólfur Guðmundsson, which as it turns out is probably the first time an Economist has been employed to study and create reports based upon an ingame economy. Dr Guðmundsson has already posted a blog item about the Mineral Market in EVE Online although he describes it himself as more of a “statistical overview” than an in-depth study.
I am certainly not alone in my interest in Virtual World Economics as there is at least one “research network” who actively post about research found on the internet and in acedemia. A good number of posts over the past few years over at Terra Nova have considered the implications of applying real world economic principals to Virtual Worlds, Edward Castronova wrote a book about them, of which I have a copy which I still haven’t read.
The thing that facinates me most is probably they way you can maniuplate a virtual world’s market and not get sent to prison for it. You can collude with other players to fix prices buy up entire stocks of a particular item only to put it back on the market again at an artificially inflated rate! I am sure that people reading this who play EVE would say that that is unfair or even worthy of outwrite wrath. However who is to say that it is a bad thing? it all leads on to the Good vs. Evil argument and the question “is it wrong to do something in a virtual world just because it is wrong in the real world?”
So what does the future hold for virtual economys, well I can see lots of research comming from big university’s… I mean why wouldn’t they, if an economy such as EVE Online’s can act so much like that of the real world why not use it as a economic study. I also expect real world corporations to start accepting virtual economy “experence” as a creadable experence for job applicants. This has already started happening with MDs and CEOs of small technology companies getting the job because of past leadership experence within World of Warcraft.
Posted in EVE Online, MMORPG | 1 Comment »
Friday, September 2nd, 2005
All the mad hat stuff going on arround here and I have been forgetting to blog, that said before this weekend there was virtualy nothing to blog about!
OK… will start from last Thursday, headed off to RiverCamp at about 10:30. For those that don’t know I am a Christian, I go to a church and count myself as part of an church organisation called Elim (Elim Foursquare Gospel Alliance technicaly) and RiverCamp is our yearly prayer, worship and teaching event. Jon and Carol Arnott were doing most of the teaching this year, which was great for the most part, even though I missed the teaching that you would get at Spring Harvest or similar. All in all it was a really great weekend I feel that RiverCamp is still very young and very much in its infancy but it is growning up fast, huge future ahead of us I am sure.
It seems to be all change season in Radio land, Hitch has left EVE-Radio, it wasn’t a huge surprise as Hitch is one of the more mature (as in responsable) DJs and it seems that there are certain members of E-R management and community who do not agree with his point of view, to the point of totaly annialating his farewell posts and banning his account. All is not lost however as Hitch is going to be creating some more THH Pod Casts, which is much better, because I can listen to them when I have time rather than having to stop listening half way through because I have to do some work or get some much needed sleep. In local radio land Juice FM’s Brooksy is leaving the morning slot and moving up ‘t north, according to the Argus he is being suceeded by Terry Garagan… do do doo doo do do doo do, do do doo do doo da da, do do do doo do doo doo doo, Last Bus To Whitehawk.
Posted in Diary, EVE Online | No Comments »
Wednesday, November 3rd, 2004
I have decided to take a break from EVE and MMOGs in general, I say I have decided… I can’t afford it at the moment so I havn’t got a huge choice in the matter.
I did get a chance to play Guild Wars for a weekend last weekend, which was a huge amount of fun.. not strictly a MMOG but it feels pretty good, kind of a cross between Lineage II and Phantasy Star Online.
I have decided that I will use my time to re-design OcPS which has needed re-working for quite some time. And if I get really bored I have a month of Lineage II waiting for me in the box pack that I bought a couple of months back.
Posted in EVE Online, MMORPG | No Comments »
Tuesday, March 2nd, 2004
I have totaly neglected this blog over the weekend, Catherine came to stay with me for the weekend which was great we had a really great time at both of the wedding shows we went to, we also spent quite a lot of time talking about stuff. I have been feeling quite ill, I have been having all sorts of problems with acid reflux over the last week, the doctor has put me on various things to help calm it down, but we will see.
I finaly got round to finishing my dissertation, it went quite well in the end got a good 300 words over the minimum, any more than that and I would be waffeling about stuff, which dosn’t really make for a good dissertation. In hind-sight I would do much more research and probably work a fair bit harder at it earlier on… the rush to the deadline was far too much strain for me, I only got 12 hours sleep in 5 days which dosnt make for a happy Richard. If you are interested in “The Future of Massivly Multiplayer Online Games” then take a look at my dissertation
… finaly now I have been playing EVE:Online for over a week (I have reviewed it at dooyou.co.uk). I have decided to reset my character to start from scratch and build it up as a miner/refiner.
Posted in EVE Online, University | No Comments »
Wednesday, February 25th, 2004
PHP Integers are really getting on my nerves at the moment, it seems that anything more than 32-bits is just plain not supported in PHP… to be honest that is awful… that is the most apauling degree of accuracy I have come across since BASIC. Oh well never mind rant over.
I am having lots of fun playing EVE and writing my dissertation, it is quite interesting researching the history of MMOGs, something that facinates me while being technical and worthy of a dissertation. Need to crack on with the dissertation bit though 5 days to go… should be fine, pleanty of time.
My stomach seems to be a lot better recently, I havnt had the same acid indegestion problems that I have been having the last week or so, I am still going to talk to the doctor see if there is anything that they can do by way of investigating what the problem might be. I am petrified it might be something serious or not even something serous… just something that would cause me to have to go onto a special diet… its hard enough work not eating meat products and still making interesting food without having to avoid other ingredients too… we will see.
Posted in Diary, EVE Online, Programming | 2 Comments »