Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: [1] 2

Author Topic: [0.7.2a] Extra salvage/boarding v1.43 (Two versions)  (Read 28343 times)

Snrasha

  • Admiral
  • *****
  • Posts: 705
    • View Profile
[0.7.2a] Extra salvage/boarding v1.43 (Two versions)
« on: December 23, 2015, 12:40:04 PM »

This mod do not go update, because 0.8 fix the problem of salvage.






Download 1.43 for SS+
[Version for SS+ => he can be put in current save (and removed, but always dangerous).]

Download 1.43 for no SS+
[Version for no SS+ => he can be put in current save but not removed.]

This mod can break fun to play.




Description:

Quote
This miscellany mod give more salvage and chance have to boarding ship if you are friend with a pirate faction. (Give a less bonus if you are not friend with pirate faction)
Do not require LazyLib or shaderlib (Just require game) and 26Ko

If you play with SS+, SS+ have others bonus in extra salvage. (More salvage if defeat fleet is templar, or others and 100% chance have a boarding with special boss ship.)

Effect:
Quote
Spoiler
X is your numbers of points in your best relation with pirate faction. (And, you require 15+ in relation for have bonus)

-Value for salvage is (100 + X/2)% extra salvage.
Else, just a 25% extra salvage if you have not pirate friend. You want a curly?

-Value for extra chance for have a boarding is (10 + X/4)%+ 1% per level in combat aptitude. (Not chance for success boarding)
Else,  extra chance for have a boarding 1% per level in Leadership aptitude  if you have not pirate friend. You are sure, you wannot a curly?

[per level in aptitude is not write in game, because, can create useless incompatibility with SS+ and nexerelin]


[Options who can be disabled]-A ship disabled in this list in fleet ennemi have 100% chance boarding. If you have many ships in fleet ennemi, you have a first ship calculated per your computer: This effect is general for all players, not for only pirate. I add to the request
Spoiler
Quote

       /// SPECIAL SS+ ///
        "ii_boss_praetorian"
        "ii_boss_olympus"
        "ii_boss_dominus"
        "msp_boss_potniaBis"
        "ms_boss_charybdis"
        "ms_boss_mimir"
        "tem_boss_paladin"
        "tem_boss_archbishop"
        "syndicate_asp_boss_copperhead"
        "junk_pirates_boss_dugong"
        "ssp_boss_phaeton"
        "ssp_boss_hammerhead"
        "ssp_boss_sunder"
        "ssp_boss_tarsus"
        "ssp_boss_medusa"
        "ssp_boss_falcon"
        "ssp_boss_hyperion"
        "ssp_boss_paragon"
        "ssp_boss_mule"
        "ssp_boss_aurora"
        "ssp_boss_odyssey"
        "ssp_boss_atlas"
        "ssp_boss_afflictor"
        "ssp_boss_brawler"
        "ssp_boss_cerberus"
        "ssp_boss_conquest"
        "ssp_boss_dominator"
        "ssp_boss_doom"
        "ssp_boss_euryale"
        "ssp_boss_heron"
        "ssp_boss_hound"
        "ssp_boss_lasher_b"
        "ssp_boss_lasher_r"
        "ssp_boss_onslaught"
        "ssp_boss_shade"
        "ssp_boss_stheno"
        "ssp_boss_tempest"
        "ssp_boss_eagle"
        "ssp_boss_beholder"
        "ssp_boss_dominator_luddic_path"
        "ssp_boss_onslaught_luddic_path"
        "ssp_boss_astral"
        "ssp_boss_wasp_wing"
        "tiandong_boss_wuzhang"
        "pack_bulldog_bullseye"
        "pack_pitbull_bullseye"
        "pack_komondor_bullseye"
        "pack_schnauzer_bullseye"
        "diableavionics_IBBgulf"
         ///Artefact mod///
         "Noir_Ame"
        ///Looters mod///
         "Lt_Bernouilli"
        ///Vanilla game///
        All capital ship of vanilla. (Atlas also!)
        ///////////////////
        
[close]
[close]

Compatibility:
Quote
-Compatible with SS+
- Compatible with Nexerelin
- Compatible with all mod factions.
- Have version checker. (can be forgot, so sorry)
- Compatible with others utility mods
- Can be no compatible with mod who are no compatible with SS+.(But, not to my knowledge)
- THIS MOD CANNOT BE REMOVED FOR YOUR SAVE [ This is wrong for SS+]
- Maybe not compatible with total conversion.

Extra bonus for this pirates:  
I add to the request
Spoiler
Quote
Vanilla factions:
-Pirates
-Luddic path

Modded factions:
-Radical ORI
-exipirated
-Junk Pirates
-Oculian Berserks  
-Protonian Technologies
-Looters
-The cartels
-New Terran Dawn
-Hammer of Light
-Anti_Fleaden

*: Faction do not exist for the moment but already put
**:Not implemented in this version, i update version if you want play a faction not implemented, so say, thank. (Or, if i have 2+ factions)
[close]

Credits:
Quote
- Dark.Revenant for help me for build a utility mod. (And compatibility with SS+)
- Firkounet for script.(He did know not Starsector before meet me *w*)
- Snrasha: For research in library , tester and be creator of this mod!
- Thank Histidine and Exerelin for research in pirate faction, ah ah.
- LazyWizard for listen to my cry.(I hate me)







Changelog:

Code
Version 1.43:
-Upgrade for SS+ 3.4
- i have not follow SS+ for new chance capture of IBB ship, maybe after, my script is not very good because  you can capture just only first IBB ship (0% capture all others ship, if you have a IBB ship, so, if you have more than 1 IBB ship, you can just have first.)

Version 1.42:
-Downgrade Java 8 =>  Java 7 => Compatibility with 0.7.2a
-Small fix.
-Can contains errors.

Version 1.4:
-Compatible with SS+.
-Add two options for "cheat"

Version 1.3:
-Add options.

Version 1.2:
- All factions,  boss ship in a external file, very more easy for edit after.
- Like SS+, the mod add now also for no-SS+, for the moment, only boss of my Looters and Artefact mod.
-Because, i have not say, shadow industry and templar, if defeated, give extra ressources. (This is a SS+ effect than i have included in my mod(for compatibility, also, but no just for that))

Version 1.1a:
-Because problem, file have more weight.

Version 1.1(2):
-Clean file.

Version 1.1:
-For less work, my basic script contains also script(salvage/i have not take boarding) of SS+. (Because, this is universal script!(listen just after))
-So, kill templar without SS+: 3x salvage and 0 credits. (SS+)    and, if you are pirate, you have so 5x salvage(150%+100%, not 150%*100%)
-Destroy templar or shadow industry give special ressources (SS+)
Version 1.1betab:
-A bug and more! (Ah ah ah)

Version 1.1beta:
-Compatibility with SS+
-Utility mod => Miscellany mod.

Version 1.0c:
-Add others pirates factions (No, i have not permission, but why i need for this thing who need compatibility with all pirates faction? '.')
-Delete previous add, because, same if you are a semi-pirate who have good relation with a non faction pirate, you are a pirate.

Version 1.0b:
-Delete faction The Mayorate as pirate.
-Add a more high requirement if you are "semi-pirate" as Luddic path.

Version 1.0a:
-Change chance for have a boarding for pirate because. (You have not less, this is a upgrade):  
          - 25% => 10% in bonus
          - it is now: extra chance, so more chance have a boarding.(Or not)

Version 1.0:
-Clean mod , 2.5 Mo => 13 Ko
-Add all pirate factions.

Bug:
- Crash? This bug?
Spoiler
62988 [Thread-5] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at com.fs.starfarer.loading.scripts.ScriptStore.Ò00000(Unknown Source)
   at com.fs.starfarer.settings.StarfarerSettings.o00000(Unknown Source)
   at com.fs.starfarer.launcher.ModManager.getEnabledModPlugins(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]

Look this answer who solve your problem: (Thank DinoZavarski)
Spoiler
Quote
Unfortunately i may be of little help with this. For me upgrading java to 8.1 was what solved the problem.

My only guess is that the way java updater service in Windows worked before (not using Windows so not shure if current versions are same) previous versions were not deleted on upgrade. With this may be possible that actually outdated version is used on his PC.

He may try to download .zip version of JRE and unpack it in SS folder (or copy the installed 8.1 there), then edit the .bat to use it instead of the system Java
[close]

Reason why i have created this mod:
-When you are pirate , you cannot have a easy trade currently(in version 0.7.1a) and you cannot also bounty(with a few pirates factions), so you cannot win money....

Screenshoots of compatibility without SS+: same fleet ennemi
Spoiler
If you have a max relation with a pirate faction:

If hostile with all pirate faction(or neutral):  

[close]

Screenshoots of compatibility with SS+: Same fleet ennemi:
Spoiler
One ship retreated  and i have full max relation with a pirate faction:

0 ship retreated and i am full neutral with all pirate:

We can look this very big random, ah ah.
[close]
« Last Edit: May 09, 2017, 09:46:27 PM by Snrasha »
Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

Spoorthuzad

  • Captain
  • ****
  • Posts: 284
  • Looking right into your soul
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.0a
« Reply #1 on: December 24, 2015, 11:58:06 AM »

This is pretty cool, This makes piracy a lot more attractive  :D
Logged

Weltall

  • Admiral
  • *****
  • Posts: 774
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.0c
« Reply #2 on: December 24, 2015, 04:56:06 PM »

I will be trying this and your other pirate mod after I finish with my current gameplay. It is time to experience being a Cutthroat!
Logged
Ignorance is bliss..

Snrasha

  • Admiral
  • *****
  • Posts: 705
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.0c
« Reply #3 on: December 25, 2015, 02:46:46 AM »

I will be trying this and your other pirate mod after I finish with my current gameplay. It is time to experience being a Cutthroat!

Hum, i have very nerf my faction ( armor 4x => 3x), you are sure? '.' Look others pirates factions, ah ah.

And for chance for have a boarding it is just max 35%, so with test, i have already success fail have a boarding, so... (Or i can upgrade value 10 => 20 or 30...)

Spoiler
But for me, if i can have a response for know if this mod is good (Not compatible with SS+, do not forgot, ah ah!), i would be glady.

This download: Beta of this mod compatible with SS+.
Extra salvage/boarding beta
I do not understand very why, i have just put a test for see if you have SS+ in active mod, then use a script(who merge my script and script of SS+). Or, why? SS+ is priority, no? Why my mod have good results? I need test!
EDIT: YES COMPATIBLE WITH SS+, just nawak, but YEAH!
[close]
UPDATE: If you play with SS+, do not use this mod for the moment, wait juste next version of SS+ (I hope ). No bug if you have not SS+.
« Last Edit: December 26, 2015, 04:25:29 AM by Snrasha »
Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

borator

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.0c
« Reply #4 on: December 27, 2015, 01:12:47 PM »

I will be trying this and your other pirate mod after I finish with my current gameplay. It is time to experience being a Cutthroat!

Hum, i have very nerf my faction ( armor 4x => 3x), you are sure? '.' Look others pirates factions, ah ah.

And for chance for have a boarding it is just max 35%, so with test, i have already success fail have a boarding, so... (Or i can upgrade value 10 => 20 or 30...)

Spoiler
But for me, if i can have a response for know if this mod is good (Not compatible with SS+, do not forgot, ah ah!), i would be glady.

This download: Beta of this mod compatible with SS+.
Extra salvage/boarding beta
I do not understand very why, i have just put a test for see if you have SS+ in active mod, then use a script(who merge my script and script of SS+). Or, why? SS+ is priority, no? Why my mod have good results? I need test!
EDIT: YES COMPATIBLE WITH SS+, just nawak, but YEAH!
[close]
UPDATE: If you play with SS+, do not use this mod for the moment, wait juste next version of SS+ (I hope ). No bug if you have not SS+.


Good God man your english is awful and funny at the same time.  :))
Logged

borator

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #5 on: December 27, 2015, 01:16:07 PM »

It still crashes my game when i load it with SS+.
Logged

Snrasha

  • Admiral
  • *****
  • Posts: 705
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #6 on: December 27, 2015, 01:19:37 PM »

Yeah, for once, a compliment for me *w*  .  

Oh also: My utility mod have not need others updates.  Yes, i use a strange thing for build my mod, so SS+ have not compatibility for this. Now, version 3.1.3 of SS+ (so, not now, wait guys, if you want enabled this utility mod and you have SS+) have compatibility!


This mod do not need to more elements, i build just other utility mod in sub-subject of this mod if need.

Thank you for your support! (8 guys! Number who have luck come on, my 7)


EDIT: Give your log error, thank Borator. (Give also your list of mod)   FOR PIRATE !   (Because i have not crash, so ><)
For log: Starsector/starsector-core/ starsector log :  paste your error with balise spoiler
« Last Edit: December 27, 2015, 01:35:14 PM by Snrasha »
Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

nomadic_leader

  • Admiral
  • *****
  • Posts: 725
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #7 on: December 27, 2015, 01:36:08 PM »

Thank you for making this, I will try it out.
Logged

borator

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #8 on: December 27, 2015, 02:01:08 PM »

Yeah, for once, a compliment for me *w*  .  

Oh also: My utility mod have not need others updates.  Yes, i use a strange thing for build my mod, so SS+ have not compatibility for this. Now, version 3.1.3 of SS+ (so, not now, wait guys, if you want enabled this utility mod and you have SS+) have compatibility!


This mod do not need to more elements, i build just other utility mod in sub-subject of this mod if need.

Thank you for your support! (8 guys! Number who have luck come on, my 7)



EDIT: Give your log error, thank Borator. (Give also your list of mod)   FOR PIRATE !   (Because i have not crash, so ><)
For log: Starsector/starsector-core/ starsector log :  paste your error with balise spoiler



YES YES COME ONNNNN!!! :D

Spoiler
62988 [Thread-5] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at com.fs.starfarer.loading.scripts.ScriptStore.Ò00000(Unknown Source)
   at com.fs.starfarer.settings.StarfarerSettings.o00000(Unknown Source)
   at com.fs.starfarer.launcher.ModManager.getEnabledModPlugins(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]

Mods used:
SS+
Omnifactory
Nexerelin
Shaderlyb
Lazylib
Radar
Version Checher
Console Commands
Combat Chatter
Steiner Foundation


Logged

Snrasha

  • Admiral
  • *****
  • Posts: 705
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #9 on: December 27, 2015, 02:13:02 PM »

So sorry, i have test with all your mod, same without musiclib for SS+, i can run game.

Reinstall starsector, or look versions of mods.
So, it is your starsector, SS+ or i have not idea.
If you have not SS+ 3.1.2, it is normal, my mod have not bug only with last version of SS+.

Or reinstall my mod, also...


After, you active my mod in a new game/ load game, or crash during loading of starsector?
« Last Edit: December 27, 2015, 02:15:32 PM by Snrasha »
Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

borator

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #10 on: December 28, 2015, 08:51:35 AM »

Crash when I run the desktop app. after it loads.
Logged

Snrasha

  • Admiral
  • *****
  • Posts: 705
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #11 on: December 28, 2015, 09:10:06 AM »

Linux or windows? '.' My mod is not compatible with Linux, i think, maybe.

My mod use JDK 8.1, for know, you have last version of your java?

Because, i have find same error here

It is not my mod who give really this error, just version of compilation of my mod. (Like if you want use a mod 0.7.1a with starsector 0.5)

For test error, download this mod and if you have same error, install new version of java. But, this is a universal problem with mod compiled with JDK 8, i think.  (JDK= Java development kit)

If not success, hum, i have not idea.

Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

borator

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #12 on: December 28, 2015, 01:43:12 PM »

Linux or windows? '.' My mod is not compatible with Linux, i think, maybe.

My mod use JDK 8.1, for know, you have last version of your java?

Because, i have find same error here

It is not my mod who give really this error, just version of compilation of my mod. (Like if you want use a mod 0.7.1a with starsector 0.5)

For test error, download this mod and if you have same error, install new version of java. But, this is a universal problem with mod compiled with JDK 8, i think.  (JDK= Java development kit)

If not success, hum, i have not idea.



Java 8.1

Windows 10.

Logged

Snrasha

  • Admiral
  • *****
  • Posts: 705
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #13 on: December 28, 2015, 02:10:13 PM »

You have sure, you have all last versions of game, mod, etc?

I have Java 8.1 and Windows  10... so, i go post in support for help.

Just wait, now. I send a private message when i have solution, for the moment, you cannot play pirate with this mod, but you can play pirate.
« Last Edit: December 28, 2015, 02:13:43 PM by Snrasha »
Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

borator

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.7.1a] Extra salvage/boarding v1.1a
« Reply #14 on: December 29, 2015, 02:07:37 AM »

You have sure, you have all last versions of game, mod, etc?

I have Java 8.1 and Windows  10... so, i go post in support for help.

Just wait, now. I send a private message when i have solution, for the moment, you cannot play pirate with this mod, but you can play pirate.

Answer of a guys who have solve problem:

Quote
Unfortunately i may be of little help with this. For me upgrading java to 8.1 was what solved the problem.

My only guess is that the way java updater service in Windows worked before (not using Windows so not shure if current versions are same) previous versions were not deleted on upgrade. With this may be possible that actually outdated version is used on his PC.

He may try to download .zip version of JRE and unpack it in SS folder (or copy the installed 8.1 there), then edit the .bat to use it instead of the system Java

Yes, your java 8.1 not work very good, i think.

Thank DinoZavarski for this answer.

IT WORKS. with .beta version. Reinstalled jre and got no crash. Testing the mod now.

THANKS!!!!
Logged
Pages: [1] 2