You are on page 1of 4

Soyouwanttolookintheageofwushugamefiles?Ok!

Justtoletyouknow,youcantdo
anythingmaliciousbylookingintothese.Youcangetsomegameinfo,buteditingthesefiles
doesnothingtotheclientnordoesitchangeanythingontheserver.Soletsgetstarted!
Firstthingyouneedisthisfile.
http://pan.baidu.com/share/link?shareid=127289&uk=3507358410

Donotclickthehttp://pan.baidu.com/share/link?shareid=127289&uk=3507358410bluebutton.
Thatistheirdownloadersoftware.
Onceyoudownloadthisyoucanextractitanywhere.
Firstrunthefile++=Package+v1.4
Heyifyoudon'thaveasianlanguagesinstalledthislooksfunny.IfyoursystemhasChineselanguage
support,youcanuseAppLocaleorchangeSystemLocale/Languagefornonunicodeprogramstostartthe
programwiththemenuswiththecorrectcharacters(theprogramisinChineseSimplified).

Clickonthe(C)

Browsetoyourprogramfiles/snailgamesusa/ageofwushufolder
Gototheresfolderandfindtext.packageandselectopen.
share.packageandgui.packagearealsouseful.
Anewwindowwillpopupaskingyoutochosewheretosaveit.Irecommendanewfoldforthis.The

programwillmakeasubfolderwhereeveryoupointitat.
Youwillthengetapopupaskingifyouwanttoviewthefolder.
Youwillwanttwoorthreepackagesopenedup.
Share.packageformostthings
Text.packageformostthings
GUI.packageformapsoridentifyingsomevariables

ForREinformationyouwillwantthefollowfilesopenedup
text.package.files\res\text\english\desc.idresthishasthedescriptivetextonitemsaswellas
mostnpcdialog
text.package.files\res\text\english\stringname.idresthishasthenamesofmostitemsandthe
namesofsomelocations
text.package.files\res\text\english\stringname_npc.idresthislinkstheNPCnamesandtitles
totheNPCvariables.
share.package.files\res\share\rule\optiontalk_dialog_pack.inithisismostoftheREinfo.Itis
notcomplete.SomeREsarenotinthisfile.Iwillgooverhowtoreadthislater.
share.package.files\res\share\rule\optionatalk_npc.inithislinksthenpcvariabletoadialogID
foundintheoptiontalk_dialog_pack.ini.

Thereisalsoagossipfilecalledtidings.idresandafewotherimportantones.Ifyouwantto
beabletoeasilysearchforthisstuff,youwillneedtoconvertalltheidresfilestotxt.Just
manuallyrenameeachoneyouwanttosearchthrough.Nowyoucanusethewindows
searchoptiontojustlookupvariables.Thisbecomesusefullateron.

SoletstalkabouttheREinfo,theoptiontalk_dialog_pack.ini.Thisfilehasmostofthedialog
optionswithanynpc.SothishasREinfoandnonREinfoinside.Letspullanexamplefrom
there,thestarterRE.

[588]
MenuID=qy_menu_yyz_yd_01
TitleID=qy_title_yyz_yd_01
IsKarma=0
Option=giveitem|qy_menu_yyz_yd_01_1|qy_yyz_003*1/qy_yd_002*1|10300|6000000|1|qy_y
d_001*1|

Howyoushouldreadthisisasfollows.
588isthedialogID,thisshouldlinktoanpcintheoptiontalk_npc.inifile(thereisatricktothis
explainedlater)
MenuIDiswhattheysaytoyou.Youcanlookupthatstringqy_menu_yyz_yd_01inthe
rdesc.idres.Theqystandsforrandomencounter,yyzisyanyuvilla,and01isthefirstthings

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvvsaid.
TitleIDarethethingsyoureplywith.Imayhavethesetwothingsreversed,butwhocares
really.
Optioniswhathappens.Itmaygiveyouanitem,invokeaLUAscript,orsayletsplayagame.
Inthisspecificcaseitwillgiveyouanitem.qy_yyz_003times1andqy_yd_002times1.
Thesearetwodifferentitems.Itwillsayqy_menu_yyz_01_1whenyougetthem.

10300,6000000,and1areflagsortimersoranonandoffswitch.Findingwhattheseflags
meanisabitharderandwontbecovered.
qy_yd_001times1istheitemyouneedinordertoturnthisquestin.

Sowhycantyouturnitin?Seethoseflags?Youmayneedacertainamountofrepwhich
maybeinoneofthoseflags.Normallythisrequirementisreallylow.

SowhycantwefindanpcthatsaidDialogID588?Lookonelineabove[588]inthefile
optiontalk_dialog_pack.ini

[566]
MenuID=qy_menu_yyz_yd_02
TitleID=qy_title_yyz_yd_02
IsKarma=0
NextPage=588

ThelastlineheresaysNextPage=588,thismeansthefirstthingthisnpcsaystoyouis
qy_menu_yyz_yd_02andqy_title_yyz_yd_02.Afteryoumakeaselectionthereisanew
dialogoptionwhichis588.Soletslookup566inoptiontalk_npc.ini

[WorldNpc00909]
DialogID=566

Therewego!AnpcvariabletiedtoaDialogID!Letuslookupthenpcvariable!

worldnpc00909=ShanKairui
worldnpc00909_1=Commoner

ShanKairui(Commoner).Alright,thatiseasyenough.Nowweknowyyzisyanyuvilla,sowe
knowheisthere.Wecanalsolookupworldnpc00909inthesharefolderandfindthatheisin
thisfile.
share.package.files\res\share\creator\npc_creator\born03_yanyuzhuang\commonnpc.xml
Whatisinthatfile?
<itemNo="82C28401314846B1BA1101F01A081865"x="488.102"y="2.899"

z="1082.813"ay="1.615"id="WorldNpc00909"BornAction="ty_sitchair_drinkloop_free01"
RefreshTime="30000.0"PatrolMode="1"WakeupRange="12.0"ChaseRange="13.0"
NotPositive="0"desc=""ChildList=""PosList=""/>

ThatishisXandZposition(yisheight,soforgetaboutit)andmoreinfoabouthim.So488,
1082willhavehimthere.Whywouldyoueverwanttolookthisup?

Thesexmlfileshavealltheboxspawnlocations,resourcenodelocations(includingthe
hiddenones)andworldbossspawnlocations.

IfyoueverfindaLUAfileinvoked,youmightaswellstoplookinginthe
optiontalk_dialog_pack.inifileandstartlookingatthedialogtoseeifyoucanfigureitout.The
LUAfilesinvokedareontheserverandwehavenoaccesstothem.