View unanswered posts | View active topics
|
Page 1 of 1
|
[ 8 posts ] |
|
| Author |
Message |
|
innominabile
|
Post subject: login.src priority Posted: Thu Sep 28, 2006 12:59 pm |
|
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 |
|
 |
|
MuadDib
|
Post subject: Posted: Thu Sep 28, 2006 1:02 pm |
|
 |
| POL Developer |
 |
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 |
|
 |
|
innominabile
|
Post subject: Posted: Thu Sep 28, 2006 1:04 pm |
|
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 |
|
 |
|
Lagoon
|
Post subject: Posted: Thu Sep 28, 2006 5:08 pm |
|
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 |
|
 |
|
MuadDib
|
Post subject: Posted: Thu Sep 28, 2006 5:23 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
In Laymon terms for lagoon : RTFM 
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
Marilla
|
Post subject: Posted: 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! 
|
|
| Top |
|
 |
|
innominabile
|
Post subject: Posted: Thu Sep 28, 2006 9:54 pm |
|
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 |
|
 |
|
Austin
|
Post subject: Posted: Thu Sep 28, 2006 11:02 pm |
|
 |
| POL Developer |
 |
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 |
|
 |
|
Page 1 of 1
|
[ 8 posts ] |
|
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
|
|