PDA

View Full Version : [share] NPC Skill Explorer (updated + re-written on C#)


soldierX.nl
03.05.2006, 12:42
The reason to start making this tool was simple: when I started to make new AI for mobs, I was bored of searching all the IDs throught 3 files and hitting F3 all the time. So finally I was pissed off and made this tool :D
However it's fresh and buggy :( so it needs new ideas and bugfixes, but it still saves your time and nerves a bit ;)

Sounds cool, but how do i open it? I meen, i'v never worked with .jar files before. Can you explane to me how to open the file please? Couse when i click it, there is no reaction.

thnx for any reply.

Peace.

soldierX.nl
03.05.2006, 12:42
The reason to start making this tool was simple: when I started to make new AI for mobs, I was bored of searching all the IDs throught 3 files and hitting F3 all the time. So finally I was pissed off and made this tool :D
However it's fresh and buggy :( so it needs new ideas and bugfixes, but it still saves your time and nerves a bit ;)

Sounds cool, but how do i open it? I meen, i'v never worked with .jar files before. Can you explane to me how to open the file please? Couse when i click it, there is no reaction.

thnx for any reply.

Peace.

mar_tin
03.05.2006, 12:51
You need to install java RE or SDK (www.java.com) and then use this command in the command prompt (run -> cmd): java -jar nameofthefile

oh yes, nice work ;)

mar_tin
03.05.2006, 12:51
You need to install java RE or SDK (www.java.com) and then use this command in the command prompt (run -> cmd): java -jar nameofthefile

oh yes, nice work ;)

k1`
03.05.2006, 13:26
Just install JRE (Java Runtime Environment) or SDK (Software Developer Kit). And then just double-click JAR file ;)

P.S. As I told before, you should put your skilldata.txt into the same folder, where JAR file is.

Enjoy! ;)

k1`
03.05.2006, 13:26
Just install JRE (Java Runtime Environment) or SDK (Software Developer Kit). And then just double-click JAR file ;)

P.S. As I told before, you should put your skilldata.txt into the same folder, where JAR file is.

Enjoy! ;)

soldierX.nl
03.05.2006, 15:25
@mar_tin Works like a charm, thnx for explaining.

@k1` Looks VERY promising :D Thnx again sir. ;) I must add one thing thow. Skills seem to be set for the cliënt's files, correct? couse none of my skills seem to be there :p

Peace.

soldierX.nl
03.05.2006, 15:25
@mar_tin Works like a charm, thnx for explaining.

@k1` Looks VERY promising :D Thnx again sir. ;) I must add one thing thow. Skills seem to be set for the cliënt's files, correct? couse none of my skills seem to be there :p

Peace.

DarkWarrior
03.05.2006, 16:17
amazing nice one k1 :D

DarkWarrior
03.05.2006, 16:17
amazing nice one k1 :D

k1`
03.05.2006, 17:18
soldierX.nl

Well, yeah, that's the main problem. As soon as skill names in client files and server files differ a bit very often, so it's not easy to make the script read server skill names correctly from all possible versions.
For example:
client: s_npc_weakness
server: s_npc_weakness or s_npc_weakness1

Atm the tool automatically determines (while loading skilldata) whether skill is level 1 and has "1" in the end. If yes then tool removes "1", so the server and client skillnames are the same. (Doesn't change original skilldata ofc ;) )

Let's think if there are any other variations of server's s_npc_weakness skill. Then i can fix it too :)


EDIT: Updated version is released (some fixes + some new functions)
Now you can save a list of skills, which NPC uses, into a text file. Also you can generate a list of mobs, which use selected skill, into a text file as well.
Enjoy! ;)

1st post updated

k1`
03.05.2006, 17:18
soldierX.nl

Well, yeah, that's the main problem. As soon as skill names in client files and server files differ a bit very often, so it's not easy to make the script read server skill names correctly from all possible versions.
For example:
client: s_npc_weakness
server: s_npc_weakness or s_npc_weakness1

Atm the tool automatically determines (while loading skilldata) whether skill is level 1 and has "1" in the end. If yes then tool removes "1", so the server and client skillnames are the same. (Doesn't change original skilldata ofc ;) )

Let's think if there are any other variations of server's s_npc_weakness skill. Then i can fix it too :)


EDIT: Updated version is released (some fixes + some new functions)
Now you can save a list of skills, which NPC uses, into a text file. Also you can generate a list of mobs, which use selected skill, into a text file as well.
Enjoy! ;)

1st post updated

Digital
04.05.2006, 03:55
there's a tool to compile java files into .exes
maybe it'd be nice to use it ^^
(just a suggestion)

mantrastic
04.05.2006, 07:28
Thanks! Looking good , thanks for sharing :P

kitchenknife
05.05.2006, 17:48
Ty for sharing man much appreciated

k1`
05.05.2006, 22:47
Any good ideas about new features?
I've got only one idea for 1.03 right now: to improve filter options (1-filter by npc name, 2-filter by skill, 3-both)

k1`
08.05.2006, 22:33
No one wants any updates? eh :roll:

Digital
09.05.2006, 11:25
merging it with npcdata?
and prehaps editing functions?

k1`
15.05.2006, 09:34
Digital, yup, why not...
but how about re-writing the tool in C#?

like that ;) http://dump.ru/files/0/0978697927/

I will share that new version soon, but only with those, who are interested in it and can give me some good fresh ideas about new features ;)

Digital
15.05.2006, 12:19
y not? i love c# :)
would be even nice if u got it to generate client side data as well...
would seriously save many many hours of updating and editing...
just to make sure both side are matched

tpuNIsher
15.05.2006, 12:40
This indeed is interesting.
Waiting new update XD

k1`
15.05.2006, 21:59
Digital
The point is to check, which skills are in the c4 official client and make new AI classes to implement those skills. So there's a list of npcs and skills, which they use (on the left side), and matching skill id in the skilldata of the server (middle-top). Then the tool also shows, which npcs use the same skill (top-right). And which npc use all the same skills, which the highlighted(on the left) npc uses (that list of "clones" is on the right-bottom).

In the newer version I've implemented the feature, to connect all that with npcdata, so the tool also shows the way the highlighted(this time on the right) npc's skills are used on the server side.

This tool is kinda explorer-analyzer. So it's easy to see all the info together, to analyze it, and to save your time, when messing with npc skills/ai, instead of seeking all those ids and skill names through 4 files.

Does anyone know, how to handle a context menu in C#? How do I know that some item was chosen? Found only a popup event.

Digital
16.05.2006, 04:25
i was stating new custom items :x
sorry if i got u to misunderstand...

some examples (not in order, but u'll understand ;)

private void contextMenu_Click(object sender, EventArgs e)
{
System.Windows.Forms.MenuItem b = (System.Windows.Forms.MenuItem)sender;
...
}

contextMenu1 = new System.Windows.Forms.ContextMenu();
menuItems = new System.Windows.Forms.MenuItem();
menuItems.Click += new EventHandler(this.contextMenu_Click);
contextMenu1.MenuItems.AddRange(menuItems);

k1`
16.05.2006, 09:37
Yup, I understood. Thanks! ;)

nish
16.05.2006, 15:34
maybe add some editing options :)

k1`
16.05.2006, 22:28
If I will make an editor, then I will make it as a new tool. This tool is only a viewer/analyzer.

But you all are welcomed to write your ideas for an editor tool as well ;)

P.S. new screen http://dump.ru/files/0/083745382/
P.P.S. however not all of the functions can be seen on the screen above :(

k1`
18.05.2006, 23:17
ok, seems like noone is really interested in it

however here's a screen of the newest version http://dump.ru/files/2/2752918346/

- ability to copy the content of any box (except treeview) to clipboard
- ability to save the content of any of 2 right boxes to a text file
- ability to save a full report of the selected NPC to a text file

P.S. However I'm not sure if ppl are interested in that tool. Show me that I'm wrong and I will share it.

hel
18.05.2006, 23:34
k1`:
You're wrong! :P

k1`
18.05.2006, 23:51
hel
We'll see...
<rus>посмотрим... просто столько времени в прогу угрохал, а народ ничего не пишет особо, вот и создается впечатление что не интересует никого... :(</rus>

hel
19.05.2006, 00:08
Don't believe in illusions. :)

Ну, что поделаешь. Народ ленивый, ничего не пишет по лени.
Ты на это не обижайся. Я сам не пользуюсь этой программой, но уверен, что будут пользоваться другие.

Silentz0r
19.05.2006, 00:12
wow, nice screen dude. good work.

ivasik
19.05.2006, 00:48
thx for sharing 1.02
nice prog! i like screenies of your v2.0
me the one who need that badly.
go on. don't stop.

tpuNIsher
19.05.2006, 00:51
Please do. You are more than welcome for it. Would be great help!
Thank you.

k1`
19.05.2006, 02:56
Sorry, I was wrong ;)
New version released, 1st post updated. Enjoy! ;)

EDIT: few small bugs fixed, 1st post updated.

Thunderstorm
19.05.2006, 08:08
K1 я так понимаю это просто программа для просмотра скиллов взятых из клиента игры ? Если я прав Спасибо очень удобная программа. Именно то что требовалось мне лично на данный момент.

K1 I so understand it simply program for viewing skills taken of the client of game? If I am right Thanks very convenient program. That that was required to me personally at present.
http://smiles2k.net/smiles/big_smiles/00109.gif

k1`
19.05.2006, 20:14
Thunderstorm
yup, exactly / ага, именно

Digital
20.05.2006, 11:17
looking really promising
great things would be expected from u i believe ;)

k1`
20.05.2006, 16:45
Thx, Digital ;)
I'm currently collecting new ideas, to implement them in future versions.
However I cannot see any ideas (except yours maybe) in this thread, and noone said anything about bugs as well, and that makes me bit sad :(
The good(?) work will get stuck this way...

Met45
20.05.2006, 17:07
thx mate nice work !
C# FTW !

Digital
21.05.2006, 02:19
well... u could slowly integrate other functionality,
like npcdata editor as well... items maybe, even ai?
there's really plenty of stuff to be done ;)

u could take a look at other ppl's tools.. and see if it'd be worth it to merge the functionality together into one ;)

k1`
21.05.2006, 03:17
Digital:
Well, I thought about few small enhancements..but won't do big merges, coz it's pointless imo. Sometimes it's better to make two smaller tools, than one huge: it's easier to use them, each tool takes less space on the screen, it's easier to make them as well.

P.S. does anyone except Digital has anything to suggest? :S

k1`
23.05.2006, 15:34
Tool re-attached.