PenUltima Online

It is currently Fri Sep 05, 2008 9:25 am

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: login.src priority
PostPosted: Thu Sep 28, 2006 12:59 pm 
Offline

Joined: Wed Aug 30, 2006 5:24 pm
Posts: 82
Location: Italy
I have more logon.src in more packages.
One logon.src should start as first and shound disable all logon.src to start.

A "masterlogon.src", unique in pol script, that can return 1 to allow all logon.src to start or return 0 to not allow all logon.src to start?

_________________
Admin/Scripter Innominabile
ZuluHotelItalia shard on m4d


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 1:02 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
Scripts/misc/logon.src <-- main logon.

In there, you can set a CProp on the character, that could be to block the others, or allow only certain ones, based on that CProp. Then, in the other logon.src scripts, you can check that CProp at the very beginning, to decide if you want that one to run or not.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 1:04 pm 
Offline

Joined: Wed Aug 30, 2006 5:24 pm
Posts: 82
Location: Italy
The other logon.src start only after the main is finished?

_________________
Admin/Scripter Innominabile
ZuluHotelItalia shard on m4d


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 5:08 pm 
Offline

Joined: Sun Mar 05, 2006 7:25 am
Posts: 118
Location: Italy
Yes because
1) as you can see here, the default priority of logon.ecl scripts is critical
2) the main logon is the first one run by the core
the two things together give you the answer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 5:23 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
In Laymon terms for lagoon : RTFM :D

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 5:38 pm 
Gosh darnit, now who would read the manual, and put together information from it to draw logical conclusions?

Next thing you know, you all will be expecting us to write our own scripts! :twisted:


Top
  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 9:54 pm 
Offline

Joined: Wed Aug 30, 2006 5:24 pm
Posts: 82
Location: Italy
In manual is written yes that is critical but not that logon.src in misc start for first and I like to be sure before do things.

_________________
Admin/Scripter Innominabile
ZuluHotelItalia shard on m4d


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 11:02 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 405
Location: San Diego, California
A good approach .. how many of us learned, long before the docs were put up... experiment, lots. Trial and error. Then you know for sure.

_________________
-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