Error on levelup dialog w/Point Planner

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

Error on levelup dialog w/Point Planner

#1 Post by Noel »

When using the UI plugin, after using Zizzo's Points Planner and saving a plan, I get this error from the levelup dialog:

Code: Select all

Lua Error: .../addons/zomnibus/superload/mod/dialogs/LevelupDialog.lua:280: attempt to index local 'item' (a nil value)
    At [C]:-1 __index
    At .../addons/zomnibus/superload/mod/dialogs/LevelupDialog.lua:280 status
    At /mod/dialogs/LevelupDialog.lua:734 super_createDisplay
    At .../addons/zomnibus/superload/mod/dialogs/LevelupDialog.lua:160 createDisplay
    At /mod/dialogs/LevelupDialog.lua:100 init
    At /engine/class.lua:97 new
    At /mod/class/Player.lua:1368 playerLevelup
    At /mod/class/Game.lua:1723
    At /engine/KeyBind.lua:235

Zizzo
Sher'Tul Godslayer
Posts: 2524
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: Error on levelup dialog w/Point Planner

#2 Post by Zizzo »

[We Apologize for the Delay™; was neck-deep in module coding for a while.]
Noel wrote:When using the UI plugin, after using Zizzo's Points Planner and saving a plan, I get this error from the levelup dialog:

Code: Select all

Lua Error: .../addons/zomnibus/superload/mod/dialogs/LevelupDialog.lua:280: attempt to index local 'item' (a nil value)
    At [C]:-1 __index
    At .../addons/zomnibus/superload/mod/dialogs/LevelupDialog.lua:280 status
    At /mod/dialogs/LevelupDialog.lua:734 super_createDisplay
    At .../addons/zomnibus/superload/mod/dialogs/LevelupDialog.lua:160 createDisplay
    At /mod/dialogs/LevelupDialog.lua:100 init
    At /engine/class.lua:97 new
    At /mod/class/Player.lua:1368 playerLevelup
    At /mod/class/Game.lua:1723
    At /engine/KeyBind.lua:235
[sound F/X: source diving] Odd. What game version are you running? Those line numbers don't match the 1.1.5 source code I've got. Does the levelup dialog display at all? If so, what text is under the stat icons on the left? Just the stat levels, or does it include the "[##]" point-plan annotation?
"Blessed are the yeeks, for they shall inherit Arda..."

Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

Re: Error on levelup dialog w/Point Planner

#3 Post by Noel »

Zizzo wrote:[We Apologize for the Delay™; was neck-deep in module coding for a while.]
There's a lot worse places to be! :o
Zizzo wrote:[sound F/X: source diving] Odd. What game version are you running? Those line numbers don't match the 1.1.5 source code I've got. Does the levelup dialog display at all? If so, what text is under the stat icons on the left? Just the stat levels, or does it include the "[##]" point-plan annotation?
...digging...here's the char:
http://te4.org/characters/1768/tome/4eb ... 63e5b712ce

Running 1.1.5 on Linux x86_64, with Zomnibus, Marson UI, Marson speed fix, and Item Notes

Levelup dialog never displays at all - I just get the error.

HTH

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

Re: Error on levelup dialog w/Point Planner

#4 Post by Marson »

I didn't see this until now. I had to play shenanigans to get my UI Mod and Zizzo's Point Planner to play nice together, or at least look nice. Are you still getting the error?

Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

Re: Error on levelup dialog w/Point Planner

#5 Post by Noel »

That was with tome-marson-ui_47.teaa, and the bug only showed up on that char after reaching L10.

I haven't played a char with the marson UI addon since then -- you're up to tome-marson-ui_61.teaa now.

I'll play a bit with the new version, and see if I can duplicate the error.

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

Re: Error on levelup dialog w/Point Planner

#6 Post by Marson »

Point Planner compatibility went in at tome-marson-ui_52.teaa, so hopefully you won't see it again.

Zizzo
Sher'Tul Godslayer
Posts: 2524
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: Error on levelup dialog w/Point Planner

#7 Post by Zizzo »

Noel wrote:Running 1.1.5 on Linux x86_64, with Zomnibus, Marson UI, Marson speed fix, and Item Notes
Interesting. Are you finding Item Notes useful over and above the in-game tagging functionality? I couldn't think of anything the addon did that tagging didn't, so I had deprecated the addon; if you're still finding it useful, I could certainly bring it back.
Marson wrote:I had to play shenanigans to get my UI Mod and Zizzo's Point Planner to play nice together, or at least look nice.
Oh dear, did I do something naughty in the Point Planner? :oops:
"Blessed are the yeeks, for they shall inherit Arda..."

Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

Re: Error on levelup dialog w/Point Planner

#8 Post by Noel »

Marson wrote:Point Planner compatibility went in at tome-marson-ui_52.teaa, so hopefully you won't see it again.
Yup, it's working well -- and looking really good.
Zizzo wrote: Interesting. Are you finding Item Notes useful over and above the in-game tagging functionality? I couldn't think of anything the addon did that tagging didn't, so I had deprecated the addon; if you're still finding it useful, I could certainly bring it back.
I have serious TCADD (Tome Character Attention Deficit Disorder :lol: ) -- I usually have tens of characters running at the same time. I use the item notes to keep track of item history: when/how I got the item, what character levels I used it for, etc. I use the global notes to track significant events and things remaining to do. That way, when I return to the character, I can restore my mental context. I find the tags useful for tracking specific abilities on items I'm carrying, but not so much for history, since I can't drop tagged items in the fortress sorting room.

If I ever find the time and energy, I'd like to see if I can put together a saga/history plugin that tracks significant events, for some definition of significant: perhaps how I acquired items that I've used for some length of time, where/how I leveled up (including NPCs/battle length/etc), dungeon levels / NPCs that I abandoned/escaped from, etc. For now, I tend to do a lot of that manually.

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

Re: Error on levelup dialog w/Point Planner

#9 Post by Marson »

Zizzo wrote:Oh dear, did I do something naughty in the Point Planner? :oops:
No, nothing like that. We just both needed to make changes in the same function. Mine loads first, so my code goes in, then yours loads and overwrites it, then I have mine overwrite your overwrites. :P It works out in the end.

Love your stuff, BTW.

Code: Select all

	if marson.c_statw then self.c_stat.w = marson.c_statw end
	if self.c_desc then
		if marson.c_descw then self.c_desc.w = marson.c_descw end
		if marson.c_descsepsize and self.c_desc.sep then self.c_desc.sep.size = marson.c_descsepsize end
	end
A character history addon sounds pretty cool, Noel.

Post Reply