Finally, World of Warcraft Realm Status for Cataclysm released,
There prase HTML via hpple use XPath, very cool staff for developer.
But hpple has a huge performance question, It’s can’t directly use child element for query result . Have to query search again, If use it at a big table, will take long minutes for parsing.
I was made a hack, add child elements support for hpple, It’s save 95% time when parse a complex html, I will fork this on github soon.
My user Bobby T say:
“This is definitely the best available server status monitor, though it could use a minor adjustment.
The UI is currently set up to be low contrast to look a little more slick. However, this also means the up/down arrow requires a little bit of added attention to be certain I actually comprehend which direction its pointing. It would be nice if the contrast of the arrow was somehow increased, even if only a little, to make the server state a bit more obvious…”
hum, thanks. I hear some user talk about this arrow, when design the UI, I just think the consistency but forgot readable, so I made this change on this update. two colorful arrow now instead of it.
When WoW US official website are maintaining, the server(realm) list will down.
App cache this list in a few hours, but new user can’t download it when them first launch just in maintaining. so if can’t show this list, a tip will show.
UI made a great visually improved, The gradient of cell get cool.
enjoy it: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=324513810&mt=8
在3.3.2的更新文档里,有这么一段修改:
cvar「processAffinityMask」決定了魔獸世界的客戶端可用的CPU核心晶片。之前遊戲程式預設的限制為雙核心,而玩家可在設定檔案中進行調整。在過去,這樣做可以使某些CPU和作業系統的效能提高。我們發現有些作業系統在這種限制之下產生了嚴重的效能問題,所以我們將這個限制移除了。玩家若希望恢復以前的模式,可以在Config.WTF檔案中加入這一行:SET processAffinityMask “3″。
既然移除了对CPU核心的限制,那么WOW会自动尝试使用的CPU核心数量,也就是说手动调整是非必须的.
但是也可以使用下面的设置,来让游戏强制按照你的设置值有效利用系统资源. Continue Reading »
本文记录了过去几年里工作中的一些点滴,当作一个回忆而留下。
在二零零四年末,我接到了一个电话,是当时在网络结交的一个技术人员Pigbay打给我的,当时只是在大一的我,听取了一套很棒的构想,几次漫长的交谈以后,我决定加入来实现这个构想。其中第一步就是即将在国内上市的魔兽世界,这个游戏破先例的加入了玩家定义User Interface(UI,也就是用户界面)系统,使得游戏的扩展性大大的加强了。于是我们也就从这里开始了。 Continue Reading »