PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
login.src priority

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Feature Suggestions
Display posts from previous:   

Author Message
innominabile



Joined: 30 Aug 2006
Posts: 81
Location: Italy

PostPosted: Thu Sep 28, 2006 4:59 pm    Post subject: login.src priority Reply with quote

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?

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Thu Sep 28, 2006 5:02 pm    Post subject: Reply with quote

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.

Author Message
innominabile



Joined: 30 Aug 2006
Posts: 81
Location: Italy

PostPosted: Thu Sep 28, 2006 5:04 pm    Post subject: Reply with quote

The other logon.src start only after the main is finished?

Author Message
Lagoon



Joined: 05 Mar 2006
Posts: 118
Location: Italy

PostPosted: Thu Sep 28, 2006 9:08 pm    Post subject: Reply with quote

Yes because
1) as you can see , 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

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Thu Sep 28, 2006 9:23 pm    Post subject: Reply with quote

In Laymon terms for lagoon : RTFM Very Happy

Author Message
Marilla



Joined: 02 Feb 2006
Posts: 329

PostPosted: Thu Sep 28, 2006 9:38 pm    Post subject: Reply with quote

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 Evil

Author Message
innominabile



Joined: 30 Aug 2006
Posts: 81
Location: Italy

PostPosted: Fri Sep 29, 2006 1:54 am    Post subject: Reply with quote

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.

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 354
Location: San Diego, California

PostPosted: Fri Sep 29, 2006 3:02 am    Post subject: Reply with quote

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.

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Feature Suggestions All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty