|
|
 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
misioooo
Joined: 17 Jun 2007
|
Posted: Wed, 11. Jul 07, 10:25 Post subject: |
|
|
Here is part of code responsible for leveling pilots: CLICK - 23 lines of code.
It looks like there are
1. $PilotLevel somehow related to goods.dev.pilotlevel
2. $PilotExperience related to goods.dev.pilotexperience
Then i think that current level is stored in local variable $PilotLevelCurrent
| Mailo wrote: |
The variable is calculated in the script plugin.com.agent.admin
|
Prolly mistake, but i think it is in plugin.economics.admin.xml - the one that comes with EST scripts. Am i right?
_________________
 |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Mailo
Joined: 05 May 2004 Posts: 694 on topic

|
Posted: Wed, 11. Jul 07, 14:12 Post subject: |
|
|
| misioooo wrote: |
| Mailo wrote: |
The variable is calculated in the script plugin.com.agent.admin
|
Prolly mistake, but i think it is in plugin.economics.admin.xml - the one that comes with EST scripts. Am i right? |
Er ... I'll have to recheck tonight, I looked ingame and didn't think to check if the script was packaged with EST. Though I was sure I read in the script description inside the editor that it did belong ... maybe not enough sleep. I'll recheck.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Mailo
Joined: 05 May 2004 Posts: 694 on topic

|
Posted: Wed, 11. Jul 07, 16:40 Post subject: |
|
|
Ok, rechecked, and I slipped into the code for the Commercial agent. Misioooo is correct, the code for the EST is in plugin.economics.admin, the global variable name is the same though, "goods.dev.pilotlevel" and it is still maxed at Level 5.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Laureati
Joined: 20 May 2006 Posts: 140 on topic

|
Posted: Wed, 11. Jul 07, 17:24 Post subject: |
|
|
Since you guys are on this track, this is what I know.
All pilot names, XP, etc. are created from a file named 'lib.le.pilot.dismisses'. This is the file that is called whenever Hire/Dismiss pilot from the Special Commands is used, or whenever a UT, Patrol, etc. automatically assigns the name.
It's a really huge library and stored a heap load of information on your pilot locally (if I remember correctly). So if you want to find out what levels, etc there are for a pilot, check the lib.le.pilot.dismisses file. There's also a lib.le.pilot.move file that is very similar, what this does is take the information from one ship and transfers it all to another ship when the pilot is moved.
To make any levelling pilot script compatible with the move pilot command, it's best to use one of the various types of XP levels available in the lib.le.pilot.dismisses file.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Mailo
Joined: 05 May 2004 Posts: 694 on topic

|
Posted: Wed, 11. Jul 07, 17:30 Post subject: |
|
|
I think you misunderstood a bit, Laureati ... I wasn't talking about the level of the hired escorts.
There is a check in LV's code that decides whether to hire an M4 or an M3 escort. This checks the trader level, 8 or higher leads to an M3, below an M4. This is fine for regular MK3 universe traders, unfortunately the (in my opinion) best alternative EST has a highest level of 5 (instead of 25 as with UTs), so escorts for EST will always be hired as M4.
Though if the escorts level up to higher ships, this might not be too bad.
In the code on my system, I commented out this check (lines 016 and 017 in the script plugin.lv.ut.pro.find), since all of my traders are of maximum rank.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
misioooo
Joined: 17 Jun 2007
|
Posted: Wed, 11. Jul 07, 17:34 Post subject: |
|
|
Maybe it will be of some use. EST scripts also contains lib.le.pilot.dismisses and overwrites the one that comes with Bonus Package or whatever (after installing plain X3, update to 2.0.02 and Bonus Package 3.1.06 when i manually copied scripts from EST to game directory it overwrites this file). So there may be some modifications too in this library.
_________________
 |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
plynak Moderator (České)

Joined: 12 Dec 2003 Posts: 2524 on topic Location: Iivinen, Caldari border zone

|
Posted: Thu, 12. Jul 07, 13:10 Post subject: |
|
|
Hmm, I will try to ask the last time. Is there some way to get rid of the ReadText 7000 instead of the pilot's name?
Please help me someone, otherwise i will have to uninstall this great script.
_________________ 1) Intel Core i5 2500, 2x4GB DDR3 1333l, Asus GTX 560 Ti, Asus P8P67LE MB, 1TB Samsung, Coolermaster SilentPro 700W, 22'' LG. 2) Intel Core 2 Duo E6750, 4x1024MB DDR2 800, Asus 9800GT 1GB, Gigabyte P35-S3, 200GB Seagate + 500GB Samsung SATA2, Enermax Liberty 400W, 19'' Samsung. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
LV Moderator (Script&Mod)


Joined: 06 Nov 2002 Posts: 6299 on topic Location: The Dark Side

|
Posted: Thu, 12. Jul 07, 14:48 Post subject: |
|
|
install the forum name library spk that is in the download file
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
plynak Moderator (České)

Joined: 12 Dec 2003 Posts: 2524 on topic Location: Iivinen, Caldari border zone

|
Posted: Thu, 12. Jul 07, 15:24 Post subject: |
|
|
I did. That is the problem 
_________________ 1) Intel Core i5 2500, 2x4GB DDR3 1333l, Asus GTX 560 Ti, Asus P8P67LE MB, 1TB Samsung, Coolermaster SilentPro 700W, 22'' LG. 2) Intel Core 2 Duo E6750, 4x1024MB DDR2 800, Asus 9800GT 1GB, Gigabyte P35-S3, 200GB Seagate + 500GB Samsung SATA2, Enermax Liberty 400W, 19'' Samsung. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Laureati
Joined: 20 May 2006 Posts: 140 on topic

|
Posted: Thu, 12. Jul 07, 18:33 Post subject: |
|
|
| Mailo wrote: |
| I think you misunderstood a bit, Laureati ... |
It was just an FYI since you guys were looking into the XP variables. Which is something I did when I was mucking around with the Realpilots scripts.
To plynak: AFAIK, if it's a problem with a pre-existing pilot that won't fix it, but it will solve the problem for your next pilot. Not sure if you can fix it for a pre-existing pilot, but if you can, the only way is to uninstall the script and then reinstall it again (or manually rename the pilot, if you know how to). But I have NO idea what that will do to with this script and how it runs in the game.
Optionally you can try to "Move" the pilot to another ship. (but you're probably talking about the hired pilot and not the UT/EST so that would mean you can't move him.)
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
plynak Moderator (České)

Joined: 12 Dec 2003 Posts: 2524 on topic Location: Iivinen, Caldari border zone

|
Posted: Thu, 12. Jul 07, 21:48 Post subject: |
|
|
Well the problem is that I have always installed the name library. I have even tried to reinstall the script. But I always get ReadText. Shall I install the library prior to the script? Or it does not matter?
_________________ 1) Intel Core i5 2500, 2x4GB DDR3 1333l, Asus GTX 560 Ti, Asus P8P67LE MB, 1TB Samsung, Coolermaster SilentPro 700W, 22'' LG. 2) Intel Core 2 Duo E6750, 4x1024MB DDR2 800, Asus 9800GT 1GB, Gigabyte P35-S3, 200GB Seagate + 500GB Samsung SATA2, Enermax Liberty 400W, 19'' Samsung. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
LV Moderator (Script&Mod)


Joined: 06 Nov 2002 Posts: 6299 on topic Location: The Dark Side

|
Posted: Fri, 13. Jul 07, 10:22 Post subject: |
|
|
try the separate forum name library thread in the community stickie index
I'll be uploading again tonight hopefully
$CAG = $trader -> get local variable: name='goods.dev.pilotlevel'
i've added this which will bypass m4 option if CAG >=5
is there another one i need to check for as i'm tempted to just randomize the choice so it gives m4's or m3's
_________________ LV's TC Scripts
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
LV has left the building |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Mailo
Joined: 05 May 2004 Posts: 694 on topic

|
Posted: Fri, 13. Jul 07, 11:14 Post subject: |
|
|
| LV wrote: |
| is there another one i need to check for as i'm tempted to just randomize the choice so it gives m4's or m3's |
If the pilots change to bigger ships after a while anyway, I'd say go with this. a) you remove your headache of how to detect all kinds of trader scripts, and b) diversity is good
--
edit LV, agreed and done upload sometime this weekend
--
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Laureati
Joined: 20 May 2006 Posts: 140 on topic

|
Posted: Fri, 13. Jul 07, 15:13 Post subject: |
|
|
You know, I'm really jealous that the pilots are buying M6s with what I'm paying them. Obviously I'm paying them too much. And when did they find the time to visit a shipyard and order one in? They're supposed to be guarding my UT!!!

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
LV Moderator (Script&Mod)


Joined: 06 Nov 2002 Posts: 6299 on topic Location: The Dark Side

|
Posted: Sat, 14. Jul 07, 22:37 Post subject: |
|
|
ok i made the slight tweak

_________________ LV's TC Scripts
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
LV has left the building |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|
 |
|
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 vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
 |
|
|
|
|
|