EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[AL Plugin] Litcube's Phanon Corporation V1.21
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 25, 26, 27 ... 30, 31, 32  Next
View previous topic :: View next topic
Author Message
TestUnknown





Joined: 06 Apr 2012



PostPosted: Tue, 10. Apr 12, 12:46    Post subject: Reply with quote Print

Teleth wrote:
Phanon is using Race1 exclusively. At least mine is Surprised

PhanonCorpXTCV1.21a.zip should not be confused with PhanonCorp1.21.zip ..

Were you running the XTC version?


I am running XTC version, should I be running the other one?

Back to top
View user's profile Send private message
Teleth





Joined: 31 Mar 2012



modified
PostPosted: Tue, 10. Apr 12, 12:54    Post subject: Reply with quote Print

Let me confirm this:
Are you running XTC? I'm pretty sure this doesn't even work on AP.

Because if you're not running that mod, you should not be running the XTC version of PhanonCorp.


_________________
Phanon Corporation updated for XRM+AP
G19 Applet for X3


Last edited by Teleth on Tue, 10. Apr 12, 12:58; edited 1 time in total
Back to top
View user's profile Send private message
TestUnknown





Joined: 06 Apr 2012



PostPosted: Tue, 10. Apr 12, 12:56    Post subject: Reply with quote Print

Teleth wrote:
Let me confirm this:
Are you running XTC? I'm pretty sure this doesn't even work on AP.

Because if you're not running that mod, you should not be running the XTC version of PhanonCorp.


Oops, I didn't know XTC is a mod. Okay, let me reinstall Phanon Corp.

Back to top
View user's profile Send private message
Teleth





Joined: 31 Mar 2012



PostPosted: Tue, 10. Apr 12, 13:00    Post subject: Reply with quote Print

TestUnknown wrote:
Teleth wrote:
Let me confirm this:
Are you running XTC? I'm pretty sure this doesn't even work on AP.

Because if you're not running that mod, you should not be running the XTC version of PhanonCorp.


Oops, I didn't know XTC is a mod. Okay, let me reinstall Phanon Corp.

Don't worry, you're not the first to fall for this unfortunately.


_________________
Phanon Corporation updated for XRM+AP
G19 Applet for X3
Back to top
View user's profile Send private message
greypanther





Joined: 24 Nov 2010
Posts: 1059 on topic

Thank you for registering your game
PostPosted: Tue, 10. Apr 12, 16:17    Post subject: Reply with quote Print

I think I want to use this mod with TC and XRM. I notice you were unhappy with how it worked with AP + XRM, and altered it for that reason.

Stupid question: Which do I download to work with TC + XRM?

Back to top
View user's profile Send private message
Teleth





Joined: 31 Mar 2012



modified
PostPosted: Tue, 10. Apr 12, 16:50    Post subject: Reply with quote Print

greypanther wrote:
I think I want to use this mod with TC and XRM. I notice you were unhappy with how it worked with AP + XRM, and altered it for that reason.

Stupid question: Which do I download to work with TC + XRM?

You can just use the normal one unless you want the fixes and changes.

You'd have to go through the same steps as TestUnknown just did I believe, though you won't be able to use his locational settings and must modify that to be compatible with your map (/t/8384-L044.xml).

You will have to forgo MakeShip and use the older one, unless you want to figure out what ships AP added. Now that I think about it this may not be too hard, if you are prepared to look at the MakeShip list using the in-game script editor. If so, you should see invalid ships that need an assignment pretty easily I think (if you do this, you cannot just invalid delete ship entries, you must provide it either with duplicates, or select new ships of the correct class).


_________________
Phanon Corporation updated for XRM+AP
G19 Applet for X3


Last edited by Teleth on Wed, 11. Apr 12, 08:24; edited 1 time in total
Back to top
View user's profile Send private message
greypanther





Joined: 24 Nov 2010
Posts: 1059 on topic

Thank you for registering your game
PostPosted: Tue, 10. Apr 12, 17:15    Post subject: Reply with quote Print

Thank you for your answer. Smile

I am not ready yet to fiddle with and alter mods yet; I need to do more reading first. I guess I am going to have to go with the original version. Neutral

Back to top
View user's profile Send private message
Teleth





Joined: 31 Mar 2012



PostPosted: Tue, 10. Apr 12, 17:23    Post subject: Reply with quote Print

Probably for the best!

Phanon is pretty modular thankfully so you can replace it or remove it whenever you feel like it.


_________________
Phanon Corporation updated for XRM+AP
G19 Applet for X3
Back to top
View user's profile Send private message
greypanther





Joined: 24 Nov 2010
Posts: 1059 on topic

Thank you for registering your game
PostPosted: Wed, 11. Apr 12, 00:35    Post subject: Reply with quote Print

I have installed the mod correctly I think, but when I went to activate it in the AL menu there is no sign. There is however: ReadText8384-1. This a problem right? any ideas?

I have just looked, that code represents the Phanon Corporation, do I click yes to get it to work, or is there a problem?

Back to top
View user's profile Send private message
TestUnknown





Joined: 06 Apr 2012



PostPosted: Wed, 11. Apr 12, 04:01    Post subject: Infinite loop detected, script is terminated! Reply with quote Print

[quote="Teleth"]
TestUnknown wrote:

I should mention I'm pretty sure I didn't fix the bug in question, as I have never encountered it.


The Infinite loop error I was talking about, I got it again. This time I just happen to save right before it so I had time to actually read the msg. Here is what is says:
Quote:

Infinite loop detected, script is terminated!
al.LitQB.PhanCorp.Task.GuardSector:63:0:0:390889050:0: hidden goto label -1610602487
RefObj: TandiTech Sector Guardian M1 Raptor (M1IR-1Cool , env=Gunne's Crusade


I am not sure what the numbers after the script name meant. So I may not be looking at the right place, but this loop here looks very resource intensive:

Code:

  while $EnemyEnv == [SECTOR]
    $Fighters = [THIS]->get ship array from sector/ship/station
    $FighterCount = size of array $Fighters
    $Pos = [THIS]->get position as array
    while $FighterCount
      dec $FighterCount =
      $FighterCurrent = $Fighters[$FighterCount]
      START $FighterCurrent->call script '!fight.attack.enemiesrange.land' : station=[THIS]  range=30000  arefpos=$Pos  noidle=[TRUE]
    end
     
    = [THIS]->call script '!fight.attack.object' : victim=$Enemy  follow=[FALSE]  onlyShields=[FALSE]
     
    $Enemy = [THIS]->find nearest enemy ship in range: class=null
    $EnemyEnv = $Enemy->get environment
  end

It doesn't have a wait statement inside and it loops as long as I am in the sector. Calling '!fight.attack.enemiesrange.land' on the same fighters over and over again.

As for how to make it better, I am thinking add a variable $Enemy.last to keep track of the last enemy targetted, if it is the same as the closest one (line 67), wait 10 seconds to avoid issuing the same !fight command again. If it is different, issue the !fight commands again and wait 1 second. What do you guys think?

Back to top
View user's profile Send private message
TestUnknown





Joined: 06 Apr 2012



PostPosted: Wed, 11. Apr 12, 04:25    Post subject: More minor issues Reply with quote Print

Some minor issues:

M8 are big fat targets, easy money if capped and they don't have protection. While this is good for my M3 that have no turret, it sort makes too easy and all race M8 that I saw have fighter protections. I am off to capture the other 6 M8. This new TandiTech is super rich, more reserve M8's coming out of their base.

TandiTech is destroying my satellite network, even the stealth ones deployed with gnasirator's Galaxy Explorer and SSC. They must have better scanner technology than everyone else. Scary to think of it since they seem to align with Xenon.

Back to top
View user's profile Send private message
Teleth





Joined: 31 Mar 2012



PostPosted: Wed, 11. Apr 12, 08:21    Post subject: Re: More minor issues Reply with quote Print

TestUnknown wrote:
Some minor issues:

M8 are big fat targets, easy money if capped and they don't have protection. While this is good for my M3 that have no turret, it sort makes too easy and all race M8 that I saw have fighter protections. I am off to capture the other 6 M8. This new TandiTech is super rich, more reserve M8's coming out of their base.

TandiTech is destroying my satellite network, even the stealth ones deployed with gnasirator's Galaxy Explorer and SSC. They must have better scanner technology than everyone else. Scary to think of it since they seem to align with Xenon.

I actually reduced the number of M8s a bit in my version but I didn't think they were so vulnerable; I was actually more worried about the overkill missile spam.
Phanon will have ~60+ fighters and an M6 before any it produces a single M8 I believe.

Phanon is unfortunately not great at defending itself I don't think, and I wasn't prepared to rewrite it either. Few things in X3 are. Implementing Anarkis Defense System into Phanon would probably make it pretty lethal, sadly this is well beyond my understanding.

I honestly don't know at modifying the guardsector script. I have not nearly spent enough time debugging phanon; I was just trying to get it to run normally in XRM and it has done so in my game thus far. Litcube is a well known scripter, so I'll believe most intensive portions of Phanon Corp are correctly implemented.

For those of you following my instructions on trying to get my version of Phanon into TC or AP without XRM, I have stupidly mistaken SetShopList.xml for MakeShip.xml!

It is MakeShip you need to exclude, rather than SetShopList. Running this MakeShip.xml in a non-ap and/or non-xrm environment could cause it to fail to create new ships, though you would be unlikely to notice until later on!

greypanther wrote:
I have installed the mod correctly I think, but when I went to activate it in the AL menu there is no sign. There is however: ReadText8384-1. This a problem right? any ideas?

I have just looked, that code represents the Phanon Corporation, do I click yes to get it to work, or is there a problem?

Did you place the T file in the correct location? I believe that is the only explanation. Messages about PhanonCorp will be pretty ugly without it in the correct location. (/t/8384-L044.xml)


_________________
Phanon Corporation updated for XRM+AP
G19 Applet for X3
Back to top
View user's profile Send private message
TestUnknown





Joined: 06 Apr 2012



PostPosted: Wed, 11. Apr 12, 11:07    Post subject: Re: More minor issues Reply with quote Print

Teleth wrote:

It is MakeShip you need to exclude, rather than SetShopList. Running this MakeShip.xml in a non-ap and/or non-xrm environment could cause it to fail to create new ships, though you would be unlikely to notice until later on!


Well, that explains why Phanon Corp have so many hyperion vanguard, this and skiron were the only valid M6 Very Happy. I end up still using your MakeShip.xml but replaced the missing ships with ATF, Terran, and Xenon versions.

By the way, Phanon Corp is not using their M7M correctly. These pretty much becomes free ships for me since they don't carry any missiles.

Back to top
View user's profile Send private message
TestUnknown





Joined: 06 Apr 2012



PostPosted: Wed, 11. Apr 12, 11:17    Post subject: Re: More minor issues Reply with quote Print

Teleth wrote:

Phanon is unfortunately not great at defending itself I don't think, and I wasn't prepared to rewrite it either. Few things in X3 are. Implementing Anarkis Defense System into Phanon would probably make it pretty lethal, sadly this is well beyond my understanding.


May be we can wait a little on giving Phanon Corp such power. As it is, TendiTech is sending ~10 M6 and 2 M7 after me. If they even use jumpdrive, i'll be in big trouble. I haven't set up any defense at all since no one attacks me so far. The 100 laser towers I deployed with Ring of Fire around my station are supposely invisible unfortunately they stay that way even when the station is under attack. So far I haven't had the time to figure out why.

Back to top
View user's profile Send private message
Teleth





Joined: 31 Mar 2012



PostPosted: Wed, 11. Apr 12, 11:30    Post subject: Re: More minor issues Reply with quote Print

TestUnknown wrote:
Teleth wrote:

It is MakeShip you need to exclude, rather than SetShopList. Running this MakeShip.xml in a non-ap and/or non-xrm environment could cause it to fail to create new ships, though you would be unlikely to notice until later on!


Well, that explains why Phanon Corp have so many hyperion vanguard, this and skiron were the only valid M6 Very Happy. I end up still using your MakeShip.xml but replaced the missing ships with ATF, Terran, and Xenon versions.

By the way, Phanon Corp is not using their M7M correctly. These pretty much becomes free ships for me since they don't carry any missiles.

Yeah I had considered doing something with the M7M, but I decided I would not mess with things because as it is, most of my changes are not thoroughly tested. Giving it missiles shouldn't be too hard though.


_________________
Phanon Corporation updated for XRM+AP
G19 Applet for X3
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 25, 26, 27 ... 30, 31, 32  Next
 
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
Control Panel
Login Data
The time now is Wed, 22. May 13, 16:52

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.36221 seconds, sql queries = 74