[1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Killer

A place to post your add ons and ideas for them

Moderator: Moderator

Message
Author
Zireael
Archmage
Posts: 449
Joined: Tue Jun 18, 2013 7:24 pm

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#16 Post by Zireael »

Grabbed the addon, going to integrate the clone removal part (at least).

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#17 Post by Doctornull »

Messing around on 1.2 in the Abashed Expanse, a random NPC got teleported off-screen. The dialog is clear, but the dialog info isn't replicated in the log (so I have to screencap -> share image instead of posting a log trace).

Would you mind putting the dialog info in the log as well?

Thanks!
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#18 Post by Marson »

For every dialog, there should be a corresponding
print("[MARSON-AWOL] "..error_text)
to the log.

Can you point me to the screenshot so I can see exactly which dialog it is?

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#19 Post by Doctornull »

Hmm, I didn't see the log message, but maybe it was still being buffered? Log's gone now so I can't check, sorry.
Marson wrote:Can you point me to the screenshot so I can see exactly which dialog it is?
Here, lower image:
http://forums.te4.org/viewtopic.php?f=42&t=41184
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#20 Post by Marson »

That might have been it. There is one dialog that won't print to log if you escape out of it (which I'll fix), but it's not this one. If it triggered, it should have gone to log. I'll probably add in a log flush as well to avoid that as a possibility.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#21 Post by Doctornull »

Marson wrote:That might have been it. There is one dialog that won't print to log if you escape out of it (which I'll fix), but it's not this one. If it triggered, it should have gone to log. I'll probably add in a log flush as well to avoid that as a possibility.
Ah! I checked the log BEFORE hitting "Yes".

Next time I'll look after hitting "Yes". Thanks!
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#22 Post by Marson »

In the case of this dialog, it prints details to the log just before the dialog pops, and then again with your choice after you make it. Since you looked right after it popped up, it would be queued for the log, but probably not flushed yet. You would have had to have either waited or gone back to the main menu.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#23 Post by Marson »

+ Log will flush after special actions are taken so that cut/paste is available immediately.
+ Refined test parameters for invalid party members.
+ Bugfix: possibility of a nil error on Entity List display

Hellcommander
Archmage
Posts: 362
Joined: Tue Nov 09, 2010 7:43 pm

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#24 Post by Hellcommander »

Found an error related to mod it seems while entering hope city spamed errors of
--------------- Stack Dump Finished ---------------
Lua Error: /hooks/marson-awol/load.lua:144: attempt to index a nil value
At [C]:-1 __index
At /hooks/marson-awol/load.lua:144
At [string "return function(l, self, data) local ok=false..."]:1 triggerHook
At /mod/class/Actor.lua:1117 move
At /mod/class/Player.lua:273 move
At /engine/interface/PlayerRun.lua:137 runStep
At /mod/class/Player.lua:350 act
At /engine/GameEnergyBased.lua:126 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:46 tick
At /mod/class/Game.lua:1141
---------------- Stack Dump ----------------

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#25 Post by Marson »

Thanks. Does this update fix it?

+ Compatible with all ToME 1.2.0 test and RC versions
+ Checks for invalid Dark Fey Clones
+ Bugfix: nil error during move check if living entity exists on non-terrain
+ Bugfix: nil error on NPC List if entity has no x or y coord and is a Dark Fey Clone (should be removed from list now anyway)

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#26 Post by Marson »

+ Ignores Elemental walls, such as Jadir's Pinpoint Toss (grayswandir's Elemental Race addon)
+ Does not remove escorts from party, just in case.
+ Ignores Dreamscape and Fearscape.

• Compatible with ToME 1.1.5 to 1.2.2

FalconGrey
Wayist
Posts: 15
Joined: Mon Mar 31, 2014 1:41 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#27 Post by FalconGrey »

I haven't needed this addon yet thankfully... but if I do will it work being I didn't start the game with it?

More of a curiosity at the moment.

stinkstink
Spiderkin
Posts: 543
Joined: Sat Feb 11, 2012 1:12 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#28 Post by stinkstink »

You can't apply addons to an in-progress game without editing the save file.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#29 Post by Marson »

It will indeed. It involves editing the desc.lua file. Details here: http://forums.te4.org/viewtopic.php?f=64&t=41596

Doing so can mess up your save file, depending on the addon, but UI addons tend to be safe. I've done it with all of mine without issue. (Your mileage may vary).

FalconGrey
Wayist
Posts: 15
Joined: Mon Mar 31, 2014 1:41 am

Re: [1.1.5]Marson's Bosses Gone AWOL -NPC Monitor & Clone Ki

#30 Post by FalconGrey »

stinkstink wrote:You can't apply addons to an in-progress game without editing the save file.
That was what I figured. :) Thanks. Hopefully I'll never need this one. xD

Post Reply