Post Pacific  

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

Notices

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

Okay...

I have been trying to edit the AI.OBJ file to edit the inventory an existing merchant has in order to move her to a different location and give her different items to sell. We hope to sell quest items through this NPC so that our players are not forced to finish the quests for their second class change.

So far, I have edited NPCs and added the quest items to their NPCs in the AI.OBJ file. When I restart the NPC server, NPCs reboot but none of them respond when talked to. I have tried many different sorts of editing on the AI.OBJ file and most seem to be editable to a certain number of people.

If you know why our editing of the AI.OBJ file has failed and would be willing to share, please respond to this post with the answer.

- Anubisan
Anubisan is offline  
Old 22.07.2005, 17:49   #2
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

Check if you have any typos. Mind that with a merchant every opening tag has a closing tag. i.e. {4985; 10}. A simple typo like {{4983; 10} can cause such an error.
Aikeleer is offline  
Old 22.07.2005, 23:13   #3
tierpunk
Архивный участник
 
Join Date: Jul 2005
Posts: 9
Default

What do the last mean of 2 figures??? {4983; **}
tierpunk is offline  
Old 23.07.2005, 00:01   #4
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

The last 2 figures ar something to do with tax.
(Sorry cant really remember exactly what with tax right now >_<)
Enishi is offline  
Old 23.07.2005, 01:05   #5
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

Certain towns have more tax by default than others. That's why stuff in giran can be cheaper than in gludio.
Aikeleer is offline  
Old 23.07.2005, 11:31   #6
tierpunk
Архивный участник
 
Join Date: Jul 2005
Posts: 9
Default

Thanks...
tierpunk is offline  
Old 24.07.2005, 02:30   #7
Anubisan
Архивный участник
 
Join Date: Jul 2005
Posts: 50
Default Very confused!

Okay... I have tried to follow everyone's suggestions but it still isn't working. I have been trying to add several destinations to our gatekeeper NPC, but every time I make the changes in the ai.obj file, all npcs are unresponsive on reboot. I have tried numerous different editors and have made sure that the format of the file is not changed. Here is one gatekeeper:

Code:
 
class gatekeeper_richlin : teleporter
property_define_begin
	telposlist_begin Position
		{"Talking Island Village"; -84141; 244623; -3729; 18000; 0 }
		{"The Elven Village"; 46951; 51550; -2976; 6400; 0 }
		{"The Dark Elven Village"; 9709; 15566; -4500; 6400; 0 }
		{"The Town of Gludio"; -12694; 122776; -3114; 2900; 1 }
		{"Dion Castle Town"; 15663.7; 142979.1; -2706.6; 1000; 3 }
		{"The Town of Giran"; 83458; 148012; -3400; 9400; 3 }
		{"Orc Village"; -45158; -112583; -236; 6000; 0 }
		{"Dwarven Village"; 115120; -178224; -917; 6000; 0 }
		{"The Southern Entrance of the Wastelands"; -16730; 209417; -3691; 2400; 0 }
		{"Oren Castle Town"; 82956; 53162; -1470; 4900; 4 }
		{"Ivory Tower"; 85343; 16267; -3640; 8200; 4 }
		{"Hardin's Private Academy"; 105846; 109762; -3170; 4100; 0 }
		{"Aden Castle Town"; 146705; 25840; -2000; 11000; 5 }
		{"Cruma Tower Entrance"; 17192; 114178; -3440.6; 1000; 3 }
		{"Floran Village"; 17834.5; 170270.9; -3509; 1000; 3 }
		{"Hunters Village"; 117110; 76883; -2696.6; 1000; 3 }
	telposlist_end
property_define_end
class_end
As far as I know, everything in the above gatekeeper script should be right! Does anyone know what I could be doing wrong??

- Anubisan
Anubisan is offline  
Old 24.07.2005, 02:36   #8
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

Weird...
That seems correct :s

Just edit it in Notepad o_O
Dont need any special programs =/
Enishi is offline  
Old 24.07.2005, 03:11   #9
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

nooooooooo, dont use notepad for ai , try with UltraEdit
SoaPy is offline  
Old 24.07.2005, 16:48   #10
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

I use notepad o_O
Never had any problems yet.
Enishi is offline  
Old 24.07.2005, 18:02   #11
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

sometimes the notepad lost the unicode, and when u want to open a large file, like a npcdata of 11 mb, notepad open this in 10 secs or more, but with UE in 1 sec ^^.
SoaPy 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 21:26.