Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Тема #4282 (https://postpacific.loc-online.com/showthread.php?t=4282)

soldierX.nl 03.05.2006 12:42

Quote:

Originally Posted by k1`
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

Quote:

Originally Posted by k1`
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 :)


All times are GMT. The time now is 15:24.