Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.08.2005, 06:51   #1
Anubisan
Архивный участник
 
Join Date: Jul 2005
Posts: 50
Default AI.OBJ compiler?

I appologize in advance for posting about the same thing twice... but my issue was far from resolved.

No matter how hard I try, I can't seem to edit ai.obj without the NPC server reporting failures on ALL npcs. Even a small change will sometimes cause all NPCs to load incorrectly. The only editing I have had even minor success with was editing by hand (no cut & paste) and no creation of new lines.

THIS IS DRIVING ME CRAZY because I spend hours editing the ai.obj only to find that the file is completely kaput, and there is nothing I can seemingly do to repair it.

I read in a post somewhere around here that the ai.obj file is partially compiled and that you would need some sort of compiler to get additional editing to work correctly. Does anyone have access to such a compiler? If not, can someone PLEASE share with me their advice for successfully editing the AI.OBJ? Your help in this matter would be GREATLY appreciated... Right now I am pulling my hair out.

EDIT: In case you are wondering, I have tried notepad, wordpad, Ultra Edit, and several other editors with the same result. Also, I have made EXTRA sure there are no typos. There is clearly something else at work here.

- Anubisan
Anubisan is offline  
Old 12.08.2005, 07:03   #2
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

for solve the problem dont use notepad, use ultraedit for edit ai.obj
SoaPy is offline  
Old 12.08.2005, 07:35   #3
Anubisan
Архивный участник
 
Join Date: Jul 2005
Posts: 50
Default

Soapy,

I am trying yet again to edit via Ultra Edit. Maybe it will help to explain a little more about what I am trying to do:

I have an old AI.OBJ with a GM store I got working for a previous version of our server.

Both the old AI.OBJ and the new are working by themselves.

I am trying to CUT & PASTE an NPC's inventory from one AI.OBJ to the other.
I just tried this again with Ultra Edit (this is not the first time) and I get the exact same result. Does cutting and pasting cause this problem? Can you cut and paste without this issue? I thank you for your effort to help me in this matter.

- Anubisan
Anubisan is offline  
Old 12.08.2005, 07:58   #4
Anubisan
Архивный участник
 
Join Date: Jul 2005
Posts: 50
Default

I think I figured it out!

To anyone else that has this problem in the future: You can't cut & paste large bunches of text from AI.OBJ. However, if you use Ultra Edit and you do small cuts and pastes (while saving in-between), you can do all the cutting and pasting you need to! Just do small pieces and you will be fine. Fire up L2NPC in between each edit to make sure its working if you are worried!

- Anubisan
Anubisan is offline  
Old 12.08.2005, 09:12   #5
PiTaGoRaS
Архивный участник
 
Join Date: Aug 2005
Posts: 30
Default

Just a guess, all the l2server text files are stored on UNICODE format, so be carefull if you edit some to save them in the same format, otherwise it will give you that kind of weird errors.
PiTaGoRaS is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:31.