Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   L2 AI Manager in C++ (https://postpacific.mmorpg-game.online/showthread.php?t=5269)

FBIagent 24.07.2006 22:45

L2 AI Manager in C++
 
L2 AI Manager 9.0 BETA.

Download

Menu instroductions:
Open AI: Open ai.txt in application folder(Copy ai.obj in application folder. Rename it to ai.txt, open it and save it to ASCI format).
Clear AI: Empty the data from application(don't clear the ai.txt file).
Quit: Close the application

Button instroductions:
Add Class: Add a class to the end of the list.
Delete Class: Delete a selected class.
Search Class: Search for a class like your input string from selection(If there is no selection it searches from first position).
Show Class: Show the whole class in the text window.
Save Class: Save class in application memmory(not directly to ai file)
Full Dependence Check: Check all classes for class dependence.
Build AI: Write ai-modi.txt file with AI data.

Support for classes like
Code:

class default_npc : (null)
and like
Code:

class 1 default_npc : (null)
Syntax checks:
Error when...
... class starts and already in class.
... class ends but not currently in class.
... in classes like
Code:

class 1 default_npc : (null)
ich the class type is not 1 or 2.

The application do not touch the original file... only read it.

hel 24.07.2006 23:14

You need an feedbacks?
Program NOT WORK...
Tested on C1 and C4 AI.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
ai.obj.notwork_301.jpg — 90379 байт

FBIagent 24.07.2006 23:22

LOL this error occure only when the expected file is not in
application folder. File have to be named ai.txt, and when the file is not
in ASCI format it will do nothing :P.

Oh... the message "Can not open ai.obj" is a typing error... it should be
"Can not open ai.txt".

P.S: I post nothin tha won't work :)

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
after_load_203.jpg — 67782 байт

MuNLoK 24.07.2006 23:40

Good work FBIagent! ;) now you go to l2off? xD

FBIagent 24.07.2006 23:45

Ah from L2J forum.. right.

No not realy go to L2Off... L2J is the better solution for my hardware :D
I was bored and had nothing to do for 2 hours so i written this :)

MuNLoK 24.07.2006 23:48

;)

hel 24.07.2006 23:52

Well... It's working...
Not bad. :)
Program is less cpu and memory consuming. It's good!
I have a question... For what you make an "show class" button?
I think better idea will be auto load selected class. :)

FBIagent 25.07.2006 00:06

Quote:

Originally Posted by hel
I have a question... For what you make an "show class" button?
I think better idea will be auto load selected class. :)

I do it with "Show Class" button because what is when you make a
wrong click and this class is big? Lost time^^


Quote:

Originally Posted by hel
Program is less cpu and memory consuming. It's good!

I use vectors to store the AI data.

It will be faster with direct access to an array... but normal array is
uncomfortable^^

FBIagent 01.08.2006 22:35

Added "Add Class" method.
CHECK FIRST POST.

Best wishes,
FBIagent

lexa 02.08.2006 01:28

tnx, good share

FBIagent 07.08.2006 16:15

L2 AI Manager 8.0 BETA.

Changes:
Hopefully got all memmory leaks.
Added "Delete Class"
Added "Full Dependence Check"

red978 08.08.2006 16:27

Re: L2 AI Manager in C++
 
Quote:

Originally Posted by FBIagent
L2 AI Manager 8.0 BETA.
Menu instroductions:
Open AI: Open ai.txt in application folder(Copy ai.obj in application folder. Rename it to ai.txt, open it and save it to ASCI format).
Clear AI: Empty the data from application(don't clear the ai.txt file).
Quit: Close the application

i try all the way but i don't find how to save ai.txt in ASCI format.
can someone suggest a program to do this???
i try with block notes of windows saving the file in ANSI code but when i try to open the file i have the problem:
UNHANDLED EXCEPTION

someone can solve this?

FBIagent 09.08.2006 13:49

1. Copy ai.obj in application folder.
2. Rename ai.obj to ai.txt.
3. Open in your favorite text editor.
4. Save as...
5. As file type is selected unicode-textfile, change it to textfile.
6. Save as ai.txt
7.Use it

U use ai with:
Code:

class default_npc : (null)
?

It have to be an ai like this:
Code:

class 1 defailt_npc : (null)
Otherwise the application can't parse the class start because there are
only 3 blanks in the first example.

FBIagent 09.08.2006 16:43

L2 AI Manager 9.0 BETA.

Changes:
Added support for classes like
Code:

class default_npc : (null)
and like
Code:

class 1 default_npc : (null)
Added syntax checks:
Error when...
... class starts and already in class.
... class ends but not currently in class.
... in classes like
Code:

class 1 default_npc : (null)
ich the class type is not 1 or 2.


All times are GMT. The time now is 22:49.