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 ... 15 16 [17] 18 19 ... 93

Author Topic: [0.96a] Console Commands v2023.05.05  (Read 1536462 times)

EvilWaffleThing

  • Lieutenant
  • **
  • Posts: 73
    • View Profile
Re: [0.65.2a] Console Commands v2.3 (released 2014-12-22)
« Reply #240 on: March 05, 2015, 06:40:17 PM »

Could a command be made that increases/alters the logistics capacity?
I've tried several different means of increasing it but none seem to work on an existing save.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.65.2a] Console Commands v2.3 (released 2014-12-22)
« Reply #241 on: March 05, 2015, 08:10:37 PM »

there should be a command that unlocks the Ordnance point limit for player's ships
also commands that removes the limits for cargo and fuel will also be nice.

Added AddOrdnancePoints. Just use a ridiculous number with it if you want to go crazy. I'll see what I can do about cargo/fuel limits. :)


Could a command be made that increases/alters the logistics capacity?
I've tried several different means of increasing it but none seem to work on an existing save.

Added AddLogistics. I'll try to get a release out within the next few days.
Logged

EvilWaffleThing

  • Lieutenant
  • **
  • Posts: 73
    • View Profile
Re: [0.65.2a] Console Commands v2.3 (released 2014-12-22)
« Reply #242 on: March 06, 2015, 06:48:33 AM »

Added AddLogistics. I'll try to get a release out within the next few days.

Wow that is awesome. I was afraid I was gonna have to bumblefuck my way through writing it up myself!
Nobody wants that, trust me. Thank you so much, you're awesome.
Logged

JamesBai03

  • Ensign
  • *
  • Posts: 26
    • View Profile
Re: [0.65.2a] Console Commands v2.3 (released 2014-12-22)
« Reply #243 on: March 06, 2015, 01:18:08 PM »

there should be a command that unlocks the Ordnance point limit for player's ships
also commands that removes the limits for cargo and fuel will also be nice.

Added AddOrdnancePoints. Just use a ridiculous number with it if you want to go crazy. I'll see what I can do about cargo/fuel limits. :)


Could a command be made that increases/alters the logistics capacity?
I've tried several different means of increasing it but none seem to work on an existing save.

Added AddLogistics. I'll try to get a release out within the next few days.

man you're fantastic. Amazing Job. ;)
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.65.2a] Console Commands v2.3 (released 2014-12-22)
« Reply #244 on: March 06, 2015, 07:34:02 PM »

Here's something that should make life a bit easier:
Spoiler
[close]
Logged

JamesBai03

  • Ensign
  • *
  • Posts: 26
    • View Profile
Re: [0.65.2a] Console Commands v2.3 (released 2014-12-22)
« Reply #245 on: March 06, 2015, 07:47:29 PM »

Here's something that should make life a bit easier:
Spoiler
[close]
that's awesome, Im just wondering if there'd be an ETA or does the ETA entirely depend on the monthly update of the game?
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.65.2a] Console Commands v2.3 (released 2014-12-22)
« Reply #246 on: March 06, 2015, 07:51:11 PM »

It'll be out either within the next few hours or some time tomorrow.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.65.2a] Console Commands v2.4 (released 2015-03-06)
« Reply #247 on: March 06, 2015, 09:23:27 PM »

Version 2.4 is up, get it here (mirror). LazyLib is still required, get that here.

This is a huge update with ten new commands and changes to several existing ones, along with a few other features. Let me know if you spot any bugs.

Here's the full changelog:
Quote
2.4 (March 06, 2015)
======================
The keystroke to summon the console is now shown when you first load a game
Combat output is now centered on the top of the screen, not the player ship
Added isInCampaign()/isInCombat() to CommandContext enum
Added alias support, aliases are defined in data/console/aliases.csv
Default aliases:
 - aap -> AddAptitudePoints
 - acp -> AddCommandPoints
 - aop -> AddOrdnancePoints
 - asp -> AddSkillPoints
 - ia -> InfiniteAmmo
 - if -> InfiniteFlux
 - nc -> NoCooldown
New commands:
 - AddLogistics, modifies the maximum logistics of the player fleet
 - AddOrdnancePoints, modifies the max OP for all ships in player fleet
 - AllCommodities, adds all trade items to the specified station/player cargo
 - FindItem, lists all markets that sell a resource or weapon and their
   location/faction
 - FindShip, lists all markets that sell that ship and their location/faction
 - InfiniteFuel, prevents fuel from draining in hyperspace
 - InfiniteSupplies, prevents supplies from draining while flying
 - Respec, resets player skills/aptitudes to 0 and refunds all spent points
 - ToggleAI, disables or re-enables the AI of the targeted ship
 - Traitor, toggles the side of the targeted ship
Changes to existing commands:
 - AddWeapon can add built-in and system weapons to your inventory again
 - AllHulls, AllWings and AllWeapons work with stations as an argument again
 - AllHulls and AllWings also work with 'player' as the argument again
 - Kill works on targets that have god mode active
 - Reload now reloads settings, commands, tags, aliases, and RunCode's
   imports and macros
 - Repair won't lower your CR on the campaign map if it was over the maximum
 - SpawnFleet re-added, syntax is now "spawnfleet <faction> <totalFP> <quality>
 - Status includes aliases (plus their definitions with "detailed" argument)
 - Storage will now use the first station with an unlocked storage tab if
   there are no abandoned stations in the sector (total conversion support)
 - Added getStorageStation() to Storage command's script
« Last Edit: March 06, 2015, 10:12:24 PM by LazyWizard »
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2846
  • Your Friendly Forum Friend
    • View Profile
Re: [0.65.2a] Console Commands v2.4 (released 2015-03-06)
« Reply #248 on: March 08, 2015, 12:44:33 AM »

Just found a bug with aliases: If you have a single lowercase letter for an alias and you use a capital letter in the console, you will get a fatal:null error when you execute the command
Example:
I have "s" as the storage command alias. If I type it into the console in lowercase, it works. If I type it in uppercase, it crashes

Log entry:
Spoiler
127444 [Thread-5] ERROR com.fs.starfarer.combat.D  - java.lang.NullPointerException
java.lang.NullPointerException
   at org.lazywizard.console.Console.parseInput(Console.java:302)
   at org.lazywizard.console.ConsoleCampaignListener$CampaignPopup$KeyListener.processInput(ConsoleCampaignListener.java:347)
   at com.fs.starfarer.ui.D.F.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.o00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0o0.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.O0o0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.do.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.D.O00O.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.o00O.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0o0.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.O0o0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.o00O.processInput(Unknown Source)
   at com.fs.starfarer.campaign.ooOO.super(Unknown Source)
   at com.fs.starfarer.new.Òôo000(Unknown Source)
   at com.fs.oOOO.oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.Ò00000(Unknown Source)
   at com.fs.starfarer.combat.D.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

[close]
« Last Edit: March 08, 2015, 12:46:09 AM by Midnight Kitsune »
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.65.2a] Console Commands v2.4b (released 2015-03-08)
« Reply #249 on: March 08, 2015, 01:44:52 AM »

2.4b is up, get it here (mirror). Still requires LazyLib.

This update fixes the crash bug reported by Midnight Kitsune. It also makes FindItem/FindShip a bit more useful as they now list the price and legality of goods in each market. Finally, I added a new command, ForceMarketUpdate, that forces every market to refresh its stock as if the player just visited them. You'll probably want to call this command before using FindItem or FindShip. ;)
Logged

JamesBai03

  • Ensign
  • *
  • Posts: 26
    • View Profile
Re: [0.65.2a] Console Commands v2.4b (released 2015-03-08)
« Reply #250 on: March 12, 2015, 08:16:52 PM »

allhulls doesnt seem to work with Nexerlin with supported faction mods installed, nor does the storage work anymore.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.65.2a] Console Commands v2.4b (released 2015-03-08)
« Reply #251 on: March 12, 2015, 08:58:12 PM »

allhulls doesnt seem to work with Nexerlin with supported faction mods installed, nor does the storage work anymore.

The order for storage is abandoned station -> any station with unlocked storage -> player fleet. If there's no abandoned station in Nexerelin you'll have to pay to unlock a storage tab in a station somewhere to get storage working. I just realized planets aren't included in this check, that's fixed for the next version.
Logged

JamesBai03

  • Ensign
  • *
  • Posts: 26
    • View Profile
Re: [0.65.2a] Console Commands v2.4b (released 2015-03-08)
« Reply #252 on: March 12, 2015, 10:12:47 PM »

Yeah thanks man, also note the allhulls problem. ;)
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.65.2a] Console Commands v2.4b (released 2015-03-08)
« Reply #253 on: March 12, 2015, 10:15:39 PM »

AllHulls tries to use storage by default. It'll work fine once you have a storage set up somewhere. Until then, you can direct it to a specific station by entering that station's name as the argument (you must be in the same system as the station), or to the player fleet with "allhulls player". The same goes for AllWings, AllCommodities and AllWeapons.
Logged

JamesBai03

  • Ensign
  • *
  • Posts: 26
    • View Profile
Re: [0.65.2a] Console Commands v2.4b (released 2015-03-08)
« Reply #254 on: March 13, 2015, 11:46:21 PM »

Ive got no idea how addship works. plz help ???
Logged
Pages: 1 ... 15 16 [17] 18 19 ... 93