PenUltima Online

It is currently Sat Sep 06, 2008 5:00 pm

All times are UTC - 8 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: POL 96 Distro spawnsystem questions
PostPosted: Thu Jul 27, 2006 11:02 am 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1127
Location: Southern Central USA
I have added the Distro 96 spawn system to my converted scripts.

It appears the cfg files have little or no control over what the spawner sees as valid groups etc because I changed the entries where it references brainai as the package for NPCs and the brainai reference still remains when you view those groups using the spawner command.

I need to know what cfg files to edit to add regions/groups etc. I would rather add them via editing the files rather than entering them manually inside the spawner command interface if possible.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 12:16 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
Are you using the distro gump system also?

It caches gumps and so on. So maybe look at your scripts, to see the command to "refresh" the gump cache for the spawner? :)

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 3:33 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 408
Location: San Diego, California
On the first first time the package runs, it starts a script called 'firstRun' in the initializer folder. It looks into all the realms you have installed then a setup-<realm>.cfg file to set it up.

After that first run and setup, you use .spawner to change information.
The spawner stores information in a data file so it can be edited.

_________________
-Austin


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 12:38 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1127
Location: Southern Central USA
Yes Maud I copied the 96 gump package over to my scriptbase along with the datafile package for 96.

Austin I am having trouble finding the datafile that it uses. As I stated before I have removed all references to brainai in the cfg files that are present and I can't seem to find the datafile that the info is saved in.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 12:42 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1127
Location: Southern Central USA
OK Found the cfg file that contains the regions to be spawned but I can't seem to figure out how to remove the references to the brainAI that appear in the group gumps.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 3:16 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 408
Location: San Diego, California
Could you be more specific on what you mean by 'brain ai references'
Do you mean include files from its package? Or do you mean template names that have it.

_________________
-Austin


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 11:27 am 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1127
Location: Southern Central USA
Sure Austin. Sorry.
I use the .spawner command. The main gump opens. I click on 'Group List' button on the left hand side. I select, let's say 'forestanimals_1', from the list on the right. Then I click on the 'Group Entries' button.

What appears in that list initially are a few NPCs referenced as :brainai:<NPC name>. I try to change one from ':brainai:cow' to just 'cow' and what it does is append the new entry to the end of the list. Now I understand why it does this. Because ya can't remove entries from cfg file. So I want to edit this file directly but I can't seem to fimd the file that contains the list of groups.

I tried editing the 'defaultGroups.cfg' file and removed the ':brainai:' prefixes from that list in the file. The references to the brainai packaged NPCs still remain when I open the spawner gump. I wish to remove them but they are persistent. How can I get them out of the displayed list of NPCs?

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 1:00 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 408
Location: San Diego, California
Ah okay edit the config file defaultGroups.cfg then erase the global property "SpawnSystemInit" then uncomment and call the Test_WipeSpawner() function in firstRun.ecl and compile it and you're set.

_________________
-Austin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl