Fable3mod
Discussions for modifying Fable 3

Home » Modding Forums » Modding Discussion » My Script file is failing to run (I have everything I need done done)
My Script file is failing to run Thu, 15 June 2017 16:27 Go to next message
squark is currently offline  squark
Messages: 45
Registered: February 2015
Location: Ireland
Member
Before I get to the crux of the problem, I just want to know one thing:
Short of making assumptions, is there any way of making sure the DLC is active?

So here's what's what:
I have catspaw's xlive remover 15d, the DLC packs in the DLC folder, the catspaw version of GFWL remover, the dir.manifest switched out and edited and the script file's in the MyMod folder. It's pathed like this in the dir.manifest: scripts\MyMod\MyScript01.lua

What's actually happening is MyScript01.lua is failing to run.

So, DLC folder structure:
01_Understone
02_TraitorsKeep
03_InquisitorPack
10_ScriptInjector
90_DLC_xlive_remover

I'm hoping someone can tell me what's wrong here.
I'm also attaching my script file.

EDIT: I have another script file that works as intended (opening Brightwall and Mistpeak Demon Doors and removing the ***** dog potion)
EDIT 2: Starting a new game doesn't help.

[Updated on: Fri, 16 June 2017 08:16]

Report message to a moderator

Re: My Script file is failing to run Fri, 16 June 2017 23:26 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
DLC is active if your scripts executed (they loaded if 10_ScriptInjector loaded too)
also you don't need InquisitorPack if you add weapons by script (there is nothing inside)
and about script
is msgbox working? it's easy way to check script
just add it to the end of MyScript01.lua
Re: My Script file is failing to run Sat, 17 June 2017 07:01 Go to previous messageGo to next message
squark is currently offline  squark
Messages: 45
Registered: February 2015
Location: Ireland
Member
Deleted Inquisitor Pack.
Still nothing doing.
There's no need to add a msgbox as the weapons should show up in a GUI box when added.
I even tried to start a new game.

[Updated on: Sat, 17 June 2017 08:17]

Report message to a moderator

Re: My Script file is failing to run Sat, 17 June 2017 10:10 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
squark wrote on Sat, 17 June 2017 19:01
There's no need to add a msgbox as the weapons should show up in a GUI box when added.

but if some weapons is wrong, what happened?
add msgbox to the end of script
Re: My Script file is failing to run Sat, 17 June 2017 10:57 Go to previous messageGo to next message
squark is currently offline  squark
Messages: 45
Registered: February 2015
Location: Ireland
Member
The problem actually is that NOTHING is happening with the script.
But... I probably should add it anyhow.
Re: My Script file is failing to run Sat, 17 June 2017 20:18 Go to previous messageGo to next message
squark is currently offline  squark
Messages: 45
Registered: February 2015
Location: Ireland
Member
Okay, can't find a "delete" button, so I have to doublepost.

I decided to try timeslip's method... And it fecking worked.
So unless timeslip's xlive file will cause problems with the DLC, I'm pretty much set.

[Updated on: Sat, 17 June 2017 20:19]

Report message to a moderator

Re: My Script file is failing to run Sat, 17 June 2017 23:28 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
I have problems with timeslip's xlive (DLC are not determined and my saves failed to load)
so that why I switched to catspaw's xlive
Re: My Script file is failing to run Sun, 18 June 2017 08:59 Go to previous messageGo to next message
squark is currently offline  squark
Messages: 45
Registered: February 2015
Location: Ireland
Member
Okay, I'm having problems. It's borked.
Even with Script Injector and my custom scripts removed, it's starting me with all the weapons.
I don't need to tell anyone that'll cause the game to freeze on the first visit to The Road to Rule.

Back to trying to get catspaw's stuff to work.
Re: My Script file is failing to run Sun, 18 June 2017 13:36 Go to previous messageGo to next message
squark is currently offline  squark
Messages: 45
Registered: February 2015
Location: Ireland
Member
Sussed!
I was one "end" statement short!
So, even though I'd ended the if and for statements, I didn't end the script entirely!
Wow, that's a weight off my shoulders... And yours, Arto. Thanks for the support and understanding.
Re: My Script file is failing to run Sun, 18 June 2017 23:35 Go to previous message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
as I say
always keep msgbox at the end of script to know if scripts is correct :)
Previous Topic: Note regarding spawning Fable II weapons
Next Topic: Dlc purchased through steam
Goto Forum:
  


Current Time: Sat Nov 30 03:01:46 PST 2024

Total time taken to generate the page: 0.01150 seconds