login.src priority

Archive of the older Feature Request Forum Posts
Locked
innominabile
Adept Poster
Posts: 85
Joined: Wed Aug 30, 2006 5:24 pm

login.src priority

Post by innominabile »

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?
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

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.
innominabile
Adept Poster
Posts: 85
Joined: Wed Aug 30, 2006 5:24 pm

Post by innominabile »

The other logon.src start only after the main is finished?
Lagoon
Grandmaster Poster
Posts: 118
Joined: Sun Mar 05, 2006 7:25 am

Post by Lagoon »

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
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

In Laymon terms for lagoon : RTFM :D
Marilla

Post by Marilla »

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:
innominabile
Adept Poster
Posts: 85
Joined: Wed Aug 30, 2006 5:24 pm

Post by innominabile »

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.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

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.
Locked