Age of Empires Online
Now, heres a brilliant game. As addictive as any of their previous releases. First patch night i get LF006 your account is banned or something like that. Now let me make something clear. This is after spending well more than comerical game on all their addons. Never grouped with randoms and done nothing to cheat. Apparently I have cheated, no idea where or how but surely i should get some word of warning prior or at least after the effect……
I’m an AOE newb i get owned PvP so if this is how they welcome new players STAY WELL AWAY FROM Age of Empires ONLINE !!!!!!!!!!!!!
Now Microsoft I have few ideas for you, you can get in touch with me at paul@penguintheory.com
Writing text parsers for mmo’s and other games in C#
This one is written for Rift. Some other games are not forgiving on read access. It’s taken me a while to get this right so I thought I would share it. By all means its not efficient or nice and you’ll have to have some control outside the method to hold the FileStream.Length of the last read so you can pass in the variable fileStreamLastLength. Easy to do as the current Read of the method will = the last read before its called again.
Let me know if this was useful.
public byte[] ReadLogFile(string filePath, int fileStreamLastLength)
{
byte[] buffer;
using (FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
{
int fileStreamCurrentLength = fs.Length;
buffer = new byte[fileStreamCurrentLength - fileStreamLastLength];
if (NewParse)
{
fs.Seek(-(fileStreamLastLength), SeekOrigin.End);
}
else
{
fs.Seek(-(fileStreamCurrentLength - fileStreamLastLength), SeekOrigin.End);
}
fs.Read(buffer, 0, buffer.Length);
}
return buffer;
}
Regards
Rift Game Combat Log Breakdown
I promised a few on the rift forums my findings of the combatlog.txt file rift generates when combat logging is enabled. There is not much info out there on the breakdown so this is what I have found and is in no way complete.
Each line consists of a string looking like this.
20:23:13: ( 23 , T=P#R=C#219972694310931330 , T=N#R=O#9223372040294118230 , T=X#R=X#0 , T=X#R=X#0 , Kirri , Boss Practice Dummy , 669 , 8916230 , Shadow Fire ) Kirri’s Shadow Fire critically hits Boss Practice Dummy for 669 Physical damage.
Ok lets break this down into a number of components
20:23:13 – Ok this first part is obvious. The time. I believe if you add your time offset to this you (e.g. for me +10 Melbourne, Australia) I will get the time the event happened. Server time seems to be -2 Hours.
23 – This part is what confuses a lot of people and its bascially an id for the type of event logged in the combatlog. What I have found out is following and I am still missing some.
BEGIN_CAST=1, INTERUPT=2, ATTACK=3, DOT_TICK=4, HEAL=5, BUFF_GAIN=6, BUFF_FADE=7, AFFLICTION=8, DEBUFF_FADE=9, MISS=10, SLAY=11, DEATH=12, FALLING_DMG=14, DODGE=15, PARRY=16, RESIST=19, CRITICAL_HIT=23, IMMUNE=26, REGAIN=27, CRITICAL_HEAL=28
If anyone finds the ones I am missing or some new ones past 29 let me know. Thanks.
T=P#R=C#219972694310931330 – This part can be broken down into three further parts and is basically about the event initiator(the character or npc that started the event.)
T=P or N (might be more but havent found these yet, P is Player Character, N is Non Player Character)
R=C or R=O (might be more but havent found these yet, C is You, O is Other)
219972694310931330 (is a unique ID for the inititor of the event)
T=N#R=O#9223372040294118230 – Exactly the same as above but this is the Target of the event.
These next parts are interesting and I think they are mainly to do with pets but might have some other uses I haven’t yet determined. As before first part is the event inititator the second part is the event target.
T=X#R=X#0 – if T=X or R=X the iniator isn’t a pet if T=P its a pet R=O its someone elses pet if R=C it’s your pet. At the end if it isn’t =0 and some other number that is the pet owner’s unique ID
T=X#R=X#0 – No idea what these ones are exactly yet but they have something to do with when pets cast buffs, could be other things too.
Kirri - The event initiators name
Boss Practice Dummy – The target’s name
669 – The amount hit for or the amount healed for ( this number doesn’t included overheals or overkill amounts, I’ll get to them later )
8916230 – Is a unique ID for the skill used
Shadow Fire – Is the name of the skill used
Kirri’s Shadow Fire critically hits Boss Practice Dummy for 669 Physical damage. – The last part is what is actually displayed in the combat window in game. It’s not really needed unless there is an overheal or overhit.
Overkills and Overheals
The overkill and overheal amounts are added to the text above in brackets. e.g. (83 overkill) or (100 overheal). You’ll need to parse this out of the text if you want to make use of these numbers.
And thats about it really. If you find any errors or any new things i have missed please let me know. I’m yet to study the logs in a group or raid situation to determine which are group or raid members but I should have this info soon.
Regards
Hello Internet and hello new life!
With the realisation that I am soon to be unemployed (by choice mind you) I thought it would be a good time to start a blog and record my life from here on. Here is a little bit about myself.
I’m a 37 year old male who has had life sort of fall into place around him. I’ve lived in multiple countries around the world and currently live in Australia. I’ve been working in a very good paid job for the past 13.5 years. The company has looked after me, I have no complaints but lately life for me requires something more. Something I am not sure what it is, but something more. I guess you could say I am searching for something. I feel surreal right now, not sure why but I don’t feel myself.
I handed in my resignation approx 4 weeks ago and gave them a long notice of 12 weeks. I finish up on the 1st July 2011. My bosses thanked me for the long notice and appreciate this fact. I’ve worked my head off the past decade for this company and I feel they wouldn’t be where they are today without me. That’s a story for another blog post however. Still here I am with the realisation that I will be unemployed for the first time in a very long time very soon. I do however have a plan. What that plan is I’m not sure, I feel as though I’ve already left a huge chunk of my life behind even though I am still working there. Hopefully only something good will come of this. Of course something good will come of this! I must keep telling myself that.
I plan to spend the first couple of months brainstorming. I am unsure if I wish to return to work for someone, I think I would rather work for myself in the future, but what will that work be? As of this moment I am unsure. I am sure I will come up with something though and as long as it takes to come up with something I need to be prepared for what is to come. When I finish up I calculate I can live with my present lifestyle and rate of spending for approx 6 months. I would like to extend that though and see if I can stretch it to 9 months whilst I come up with a plan of action for my life.
One of the areas I believe I can save money is in my eating. For so long now, I’ve not had a care about what I’ve spent my money on, how much it costs etc, and this is something I want to change. I want to beable to cook good food for myself on a budget and not waste a thing!
Tonight I am going to be cooking some braised chicken. I bought a whole 2kg chicken for $AUD 9.10 for the supermarket. I am going to braise it in water, carrots, onions, bay leaf and peppercorns for about 1.5 hours. Remove the chicken and separate it into 2 dinners and a couple of lunches and freeze the stock for later use to make rissoto and soups and whatever else I can research on the internet. If successful It should be a cheap week for food. I’ll be sure to post my recipes.
I’ll let you know how I go.
Paul
