tags: WoW

Action executed in 0.000

Each Tag

WoW

Common tags - number of posts

blacksmith (2), Sirion (2), project (1), game (1), Katie (1), ideas (1), Rough Science (1), memoization (1), server (1), GUI (1), Debian (1), CPU (1), screenshot (1), Java (1), smelt (1),

2 way join

WoW, blacksmith, Sirion, WoW

Java on Debian

tags: Debian, WoW, Java

Would you believe my mom actually scolded me for not updating my blog!? But she's right, it's been a while.

3 weekends ago i wrote some code to find the shortest path between two points in WoW. 2 weekends ago i wrote some code to maximize profit given items in your bag and recipes you know.

Last weekend i tried to complete a paper i started about the routing algorithm. I started it at work using XML, XSLT, and Sun's JDK. However at home i prefer to use an open source Java compiler, like GCJ GIJ or Jikes and Kaffe.

Unfortunately they've both given me problems when running Apache's Xalan.

========= Parsing file:/home/brian/Workshop/Projects/RoutingAlg/xml2html.xsl ==========
XSL Error: pattern = 'node()'
Could not find function: node
 Remaining tokens: ( '(' ')'), style tree node: org.apache.xalan.xslt.ElemApplyTemplates@1094df00
XSL Error: Could not parse file:/home/brian/Workshop/Projects/RoutingAlg/xml2html.xsl document!
XSL Error: processStylesheet not successful!
XSLT: pattern = 'node()'
Could not find function: node
 Remaining tokens: ( '(' ')')
Xalan: was not successful.
XSLProcessor: done

This worked at work, so i'm not sure what the problem is. I was gonna trace Xalan, but can't seem to get the compilers to compile that.

So the state of OSS Java on Debian is sad.

Non-idled CPU and Maximizing Profit

I'm finally putting my computer to the work it can do. Instead of sitting around idle, the CPU -- well one of them -- is at maximum load. I wrote a program to pick which items i should build in WoW, given all the items i have, and recipes i know.

It's not that intelligent. Basically it uses a brute force approach. But just like this even 40 items in my bag would take 8 minutes to run.

Then i realized i was solving the same sub-problem more than once. For example let's say that with the items, say 13 copper bars, you have you can build an axe, a mace, a sword, a dagger, and a ring. First you choose to build the axe, which requires 6 copper bars. Assuming you built the axe, from the items you have left (7 copper bars) let's assume you can build a sword, a dagger, and a ring. There isn't enough copper to build a mace (8 copper bars). You first pick the sword (4 copper bars) and build it. Now you have even less resources (3 copper bars). Let's say all you can build is 3 rings. So it's important to remember that with 3 copper bar, all you can build is 3 rings.

Some time later you will you will get back to the stage when you had 13 bars and you're up to trying the 3 item on your list, the sword. Then you build an axe. Now your at that point again with 3 copper bars. Well you've solved this problem already. You know the answer is 3 rings. So just return that answer.

After incorporating this technique, called memoization, my program became much faster.

Despite this. After adding 30 new recipes and 10 more items, it is once again taking a long time to complete.

Smelting

Katie's article on her ring was interesting, as i'm learning about smelting. It's one of Sirion's trades. And i recently saw a show called Rough Science where they made gold.

In WoW, i smelt copper ore into copper bars, tin ore into tin bars, and copper and tin bars into bronze. Yes that's what bronze is.

Rough Science is a great show. It's about a collection of cool scientists from various fields. They're given a mission to produce something using limited resources and simple tools. They currently have 4 series. Besides smelting gold in the last one, they also built a metal detector, built a furnace with bellows, and built a altimeter using a coiled tube. They were able to measure the difference in air pressure over 50 vertical feet.

untitled

tags: GUI, WoW
are you using a gui?
parent post: Meet Sirion
notify me: yes

Meet Sirion

Sirion's Face
2005 January 18th Level 14
Sirion's Face
strength 41
agility 30
stamina 41
intellect 30
spirit 31
armor* 496
melee 82
power 113
main hand off hand ranged
Mace Buckler
Blacksmithing 84/150
Mining 95/150
Cooking 57/75
First Aid 50/150
Fishing 46/75

* this is without weapons or shields

Not Working Late Tonight

tags: WoW, game, ideas

So i usually work late to avoid traffic. But tonight, i have something better to do.

World of Warcraft is almost everything i wished it would be circa 1997 when i was playing Warcraft II: Tides of Darkness. I distinctly remember writing on Stamp Student Union stationary a wish list, as my girlfriend at the time and i sat by her pool. The list included ideas such as exploring the land, gathering information, and passing it to other online players. I'll search for it.

Whoot!

tags: WoW, server
Welcome! Make certain you're Alliance and on Elune! We almost have enough for a guild now!
parent post: World of Warcraft
notify me: yes

World of Warcraft

tags: WoW

The klan grows...

Thanks for your order, Brian DeRocher!
Delivery estimate: January 3, 2005 - January 5, 2005
1 "World of Warcraft" CD-ROM;
Thanks again for shopping with us.
Amazon.com