[BETA] Gather monster stats from Media.pk2

A place for general discussion about Silkroad Online. Talk about the game or ask questions. Please keep threads Silkroad Online related.
Post Reply
User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

[BETA] Gather monster stats from Media.pk2

Post by Nixie »

First off all, this has been just finished, so code is still messy, it takes a bit long to load (40~60 seconds on my computer). But after all, this is supposed to be run only once to create a database or something like that, nothing more. The table in the program is just to show what the results look like.

Image

And the link to the project source (used Visual C++ from VS2005):
Link #1
Link #2

What does it do? It collects all monster data from characterdata.txt (in newer media.pk2 you'll have to merge the 5 files together) and textdataname.txt (for the real names, not the ID like once). You will also notice than you can get a list of NPCs or anything else if you change the filter variable.

I'll keep the thread updated if I should have any improvement for the application. Until then, have fun by exploring the mess of my source (not a big mess, but surely there is some unneeded code). ^^

Update (30.1.2009): As some of you really need the information, here's the MS Access packet with 3 queries which will gather information about pets, thiefs/hunters and all other monsters (normal, unique, FW etc.).

Link #1
Last edited by Nixie on Fri Jan 30, 2009 1:55 pm, edited 1 time in total.
<< banned for proof of botting. -cin >>

User avatar
Cruor
Loyal Member
Posts: 1999
Joined: Wed Apr 12, 2006 1:22 am
Quick Reply: Yes
Location: Off topic

Re: [BETA] Gather monster stats from Media.pk2

Post by Cruor »

Why not just use Access?
Image

User avatar
ineedhelp
Frequent Member
Posts: 1137
Joined: Fri Mar 23, 2007 9:59 pm
Quick Reply: Yes
Location: off topic

Re: [BETA] Gather monster stats from Media.pk2

Post by ineedhelp »

wow most mobs have double even the ammount of mag def than phy def
damn wonder how much a pure int spear nuker will do to mob whos phy def is the same as mag def
Last edited by ineedhelp on Sun Sep 07, 2008 4:10 am, edited 1 time in total.
Image
Woohoo wrote:There's a two-handed? Is that the axe one?

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

Cruor wrote:Why not just use Access?

Huh? How would access help here? o_O

(didn't really work a lot with access so far...)

Edit: just tried it and... blah. I failed at this project, access can get all the data. x[
But at least I learned some more coding if not anything else, lol. ^^'
<< banned for proof of botting. -cin >>

User avatar
Mango
Common Member
Posts: 171
Joined: Sun Jul 15, 2007 5:32 pm
Quick Reply: Yes
Location: Venus

Re: [BETA] Gather monster stats from Media.pk2

Post by Mango »

ineedhelp wrote:wow most mobs have triple double even quadruple the ammount of mag def than phy def

Not really, they have about 50% more mag defence. Have you looked at your defence recently?
Apricot!

User avatar
ineedhelp
Frequent Member
Posts: 1137
Joined: Fri Mar 23, 2007 9:59 pm
Quick Reply: Yes
Location: off topic

Re: [BETA] Gather monster stats from Media.pk2

Post by ineedhelp »

Mango wrote:
ineedhelp wrote:wow most mobs have triple double even quadruple the ammount of mag def than phy def

Not really, they have about 50% more mag defence. Have you looked at your defence recently?

loool damn i was looking at the diff of lvl and phy def lool
Image
Woohoo wrote:There's a two-handed? Is that the axe one?

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

ineedhelp wrote:
Mango wrote:
ineedhelp wrote:wow most mobs have triple double even quadruple the ammount of mag def than phy def

Not really, they have about 50% more mag defence. Have you looked at your defence recently?

loool damn i was looking at the diff of lvl and phy def lool

lol ^^

Btw... I'll make the connections within these 2 files with Access when I'll have time. Should be faster and easier to do. And what's more important, it will be loading faster. =)
<< banned for proof of botting. -cin >>

User avatar
X3minater
New Member
Posts: 25
Joined: Thu Feb 14, 2008 11:26 am
Quick Reply: Yes
Location: Portugal - Almada_capitaL

Re: [BETA] Gather monster stats from Media.pk2

Post by X3minater »

How do i work with it? :S
Image

User avatar
Lempi
Veteran Member
Posts: 3202
Joined: Tue Oct 07, 2008 3:53 pm
Location: England

Re: [BETA] Gather monster stats from Media.pk2

Post by Lempi »

X3minater wrote:How do i work with it? :S

:roll:
Image
Saddam✓ Osama✓ Gaddafi✓ Justin Bieber☐ Rebecca Black☐

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

It's old and you can do the same with access.
<< banned for proof of botting. -cin >>

User avatar
X3minater
New Member
Posts: 25
Joined: Thu Feb 14, 2008 11:26 am
Quick Reply: Yes
Location: Portugal - Almada_capitaL

Re: [BETA] Gather monster stats from Media.pk2

Post by X3minater »

Nixie wrote:It's old and you can do the same with access.


OK

But where do i get the data?

The program looks cool on the SS!
Image

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

What does it do? It collects all monster data from characterdata.txt (in newer media.pk2 you'll have to merge the 5 files together) and textdataname.txt (for the real names, not the ID like once). You will also notice than you can get a list of NPCs or anything else if you change the filter variable.
<< banned for proof of botting. -cin >>

User avatar
X3minater
New Member
Posts: 25
Joined: Thu Feb 14, 2008 11:26 am
Quick Reply: Yes
Location: Portugal - Almada_capitaL

Re: [BETA] Gather monster stats from Media.pk2

Post by X3minater »

Nixie wrote:
What does it do? It collects all monster data from characterdata.txt (in newer media.pk2 you'll have to merge the 5 files together) and textdataname.txt (for the real names, not the ID like once). You will also notice than you can get a list of NPCs or anything else if you change the filter variable.



I know...i read that!

But its kinda messy in those files... i think your program was supose to organize that "trash" and show it in a cleaner form ... like in the screen shot u put there.

So... i was just wondering how do i get your program to start? Do i need any extra program, like Visual C++ for instance??
Image

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

X3minater wrote:
Nixie wrote:
What does it do? It collects all monster data from characterdata.txt (in newer media.pk2 you'll have to merge the 5 files together) and textdataname.txt (for the real names, not the ID like once). You will also notice than you can get a list of NPCs or anything else if you change the filter variable.



I know...i read that!

But its kinda messy in those files... i think your program was supose to organize that "trash" and show it in a cleaner form ... like in the screen shot u put there.

So... i was just wondering how do i get your program to start? Do i need any extra program, like Visual C++ for instance??

You can use Microsoft Access to open the file and parse it.
<< banned for proof of botting. -cin >>

/Pi
Senior Member
Posts: 4590
Joined: Fri May 18, 2007 3:49 am
Quick Reply: Yes
Location: Off Topic

Re: [BETA] Gather monster stats from Media.pk2

Post by /Pi »

I did this a few months back but with Excel >.<" I had to cross reference the info that's already in the wiki to find out what the numbers mean.

If any of you guys are interested in completing the mob stats on the wiki with this program, here's the link to the pages that are incomplete:

http://silkroadwiki.com/wiki/Oasis_Kingdom
http://silkroadwiki.com/wiki/Asia_Minor
http://silkroadwiki.com/wiki/Central_Asia
http://silkroadwiki.com/wiki/Donwhang_Cave
http://silkroadwiki.com/wiki/Taklamakan

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

Just checked it. I'd edit it, if there was a template for those pages. Maybe I'll later check the wiki syntax and make a template for monsters.
<< banned for proof of botting. -cin >>

User avatar
X3minater
New Member
Posts: 25
Joined: Thu Feb 14, 2008 11:26 am
Quick Reply: Yes
Location: Portugal - Almada_capitaL

Re: [BETA] Gather monster stats from Media.pk2

Post by X3minater »

Prophet Izaach wrote:I did this a few months back but with Excel >.<" I had to cross reference the info that's already in the wiki to find out what the numbers mean.

If any of you guys are interested in completing the mob stats on the wiki with this program, here's the link to the pages that are incomplete:

http://silkroadwiki.com/wiki/Oasis_Kingdom
http://silkroadwiki.com/wiki/Asia_Minor
http://silkroadwiki.com/wiki/Central_Asia
http://silkroadwiki.com/wiki/Donwhang_Cave
http://silkroadwiki.com/wiki/Taklamakan


Can you share your knoledge :D I found a couple of them but im still missing some..

I think access parsses it in a wierd form =\
Image

User avatar
AznFury
Loyal Member
Posts: 1513
Joined: Sun Jul 06, 2008 10:59 pm
Quick Reply: Yes
Location: The Billows

Re: [BETA] Gather monster stats from Media.pk2

Post by AznFury »

i thought http://www.sro.mmosite.com had these stats :/
Full Force Nuker Guide

Image


Come and play Jade Dynasty with me!
In USA-East The Billows, my name is AznFury. My Inductor ID is 6440043X060206013007425Z3f9d22
Copy the code when you make your first character and get lots of free stuff!

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

<< banned for proof of botting. -cin >>

/Pi
Senior Member
Posts: 4590
Joined: Fri May 18, 2007 3:49 am
Quick Reply: Yes
Location: Off Topic

Re: [BETA] Gather monster stats from Media.pk2

Post by /Pi »

That looks excellent! If this makes it much easier to input the data, then by all means, implement it. There are just a few things to note. This template would be used on the monster spawn map pages such as the ones that I linked. We already have templates for these data though they're separated for some reason (e.g. Mangyang).

We're trying to limit the amount of info on the monster spawn map pages since each monster will be getting their own page where we can put as much information as we can.

Oh, and is there a way to change the orange bar on the name?

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

Prophet Izaach wrote:That looks excellent! If this makes it much easier to input the data, then by all means, implement it. There are just a few things to note. This template would be used on the monster spawn map pages such as the ones that I linked. We already have templates for these data though they're separated for some reason (e.g. Mangyang).

We're trying to limit the amount of info on the monster spawn map pages since each monster will be getting their own page where we can put as much information as we can.

Oh, and is there a way to change the orange bar on the name?

http://silkroadwiki.com/wiki/Template:Creature
<< banned for proof of botting. -cin >>

User avatar
Konpaku
Regular Member
Posts: 202
Joined: Sun Dec 02, 2007 10:28 pm
Quick Reply: Yes
Location: Brazil

Re: [BETA] Gather monster stats from Media.pk2

Post by Konpaku »

Konpaku Aege
http://www.konpaku.com.br

Thanks Cruor for guide model 3d

User avatar
SwordCloud
Active Member
Posts: 837
Joined: Tue May 13, 2008 7:40 pm
Quick Reply: Yes
Location: Nice question O,O

Re: [BETA] Gather monster stats from Media.pk2

Post by SwordCloud »

Konpaku always there for us,thx you man. :love:
Sword d12:
Spoiler!

User avatar
X3minater
New Member
Posts: 25
Joined: Thu Feb 14, 2008 11:26 am
Quick Reply: Yes
Location: Portugal - Almada_capitaL

Re: [BETA] Gather monster stats from Media.pk2

Post by X3minater »



LOL, now that i found a way to use Nixie's Tool :D (I had to install Visual C++... i was going to install it anyways :P)
Image

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

So it actually didn't work at all? You could mentioned that earlier... ><
<< banned for proof of botting. -cin >>

User avatar
X3minater
New Member
Posts: 25
Joined: Thu Feb 14, 2008 11:26 am
Quick Reply: Yes
Location: Portugal - Almada_capitaL

Re: [BETA] Gather monster stats from Media.pk2

Post by X3minater »

Nixie wrote:So it actually didn't work at all? You could mentioned that earlier... ><


I thought you knew :P

I just build the stuff u linked into a Release form and copyed the data files to that folder and runned the SilkMobEdit thing...


I tryed to parse it with access but i was too much work :banghead: eventualy i found the level, hp, hit and parry ratio, etc. columns but it had too much "trash" :roll:


But it looks good now 8) (a little slow to load though :banghead: )
Image

User avatar
nohunta
Loyal Member
Posts: 1561
Joined: Sun Jun 17, 2007 7:06 pm
Quick Reply: Yes
Location: Off Topic Lounge

Re: [BETA] Gather monster stats from Media.pk2

Post by nohunta »

what is this used for..?
Image

Playing Jade Dynasty
2x Lupin Wdfmymoney

User avatar
X3minater
New Member
Posts: 25
Joined: Thu Feb 14, 2008 11:26 am
Quick Reply: Yes
Location: Portugal - Almada_capitaL

Re: [BETA] Gather monster stats from Media.pk2

Post by X3minater »

nohunta wrote:what is this used for..?


Its just what you see on the screen shot! ;) To check the mobs stats.



BTW, I uploaded the SilkMobEdit (working :P), so if you want to link it on the first post feel free to do it ;)

http://files.filefront.com/SilkMobEditb ... einfo.html

I think you need to have MySQL server instaled... just follow these steps:
http://forums.mysql.com/read.php?11,195 ... msg-195569
Image

User avatar
Nixie
Frequent Member
Posts: 1108
Joined: Fri Aug 03, 2007 7:58 am
Quick Reply: Yes
Location: Off Topic
Contact:

Re: [BETA] Gather monster stats from Media.pk2

Post by Nixie »

Updated the first post with the access database and queries, hope you'll like it in Access now. ;)
<< banned for proof of botting. -cin >>

Post Reply

Return to “Silkroad General Discussion”