Log in

View Full Version : Testing needed for Lich 4.4.0



Tillmen
12-02-2012, 01:57 AM
I finally got around to rewriting the spell list, Spell class, infomon, and waggle to account for all the somewhat recent changes to spells. As far as I can tell, I managed to keep the changes to Lich backwards compatible, so updating to Lich 4.4.0 shouldn't break all your scripts that use the Spell class. I'm not real confident about that though, so I'm not going to put it up for auto updating yet. You can get it at: (edit: instructions removed!)

The major changes were to allow for different duration and cost formulas for self-cast vs. casting at other people. Also, a spell can be listed as stackable when self-cast and refreshable when cast on others and stuff like that. There's more, but I don't really feel like remembering it right now.

infomon should do a better job of tracking spells that come from magic items, scrolls, and food. Instead of just assuming Spirit Guard came from a small statue, it can now use arcane symbols to calculate the duration if you cast it from a scroll. It also tries to use the scroll ranks of other people when they cast a spell from a scroll at you, which it didn't even try to do before.

Everything seems to be working fine for me, but I can only test a small fraction of the spells and various situations. I need some people to try this out and let me know of any bugs or anything inaccurate in spell-list.xml.

Here's a some short examples without explanation that probably won't help you use the changes in your own scripts:

;e echo Spell[503].mana_cost_formula
>[exec1: 3 + (([Spells.majorelemental,Stats.level].min - 3) / 12.0).round]

;e echo Spell[503].mana_cost
>[exec1: 11]

;e echo Spell[503].mana_cost_formula(:target=>'yes')
>[exec1: 3]

;e echo Spell[503].mana_cost(:target=>'yes')
>[exec1: 3]

;e echo Spell[211].time_per_formula
>[exec1: 20 + Spells.majorspiritual]

;e echo Spell[211].time_per_formula(:caster=>'Alfred')
>[exec1: 1]

;e echo Spell[211].time_per_formula(:caster=>'Alfred', :target=>'Alfred')
>[exec1: 20 + SpellRanks["Alfred"].majorspiritual.to_i]

;e echo Spell[211].time_per(:caster=>'Alfred', :target=>'Alfred')
>[exec1: 73.0]

;e echo Spell[211].time_per(:caster=>'Alfred', :target=>'Alfred', :activator => 'invoke')
>[exec1: 20 + (SpellRanks['Alfred'].arcanesymbols / 2).to_i]

;e echo Spell[211].time_per_formula(:caster=>'Alfred', :target=>'Alfred', :activator => 'drink')
>[exec1: 20 + (SpellRanks['Alfred'].magicitemuse / 2 * 0).to_i]

;e echo Spell[211].time_per_formula(:caster=>'Alfred', :target=>'Alfred', :activator => 'raise')
>[exec1: 20 + (SpellRanks['Alfred'].magicitemuse / 2 * 1.33).to_i]

;e echo Spell[211].stackable?
>[exec1: true]

>;e echo Spell[211].stackable?(:target=>'self')
[exec1: true]

>;e echo Spell[211].stackable?(:target=>Char.name)
[exec1: true]

;e echo Spell[211].stackable?(:target=>'anything-else')
>[exec1: false]

;e echo Spell[211].refreshable?(:target=>'bob')
>[exec1: true]

;e echo Spell[211].refreshable?(:caster=>'not-me')
>[exec1: true]

;e echo Spell[211].availability
>[exec1: group]

;e echo Spell['Call Familiar'].availability
>[exec1: self-cast]

;e echo Spell[401].availability
>[exec3: all]

Tenlaar
12-02-2012, 02:11 AM
That's awesome. Did you add a toggle for fixing the map database in go2 yet?

Snoopy Dogg
12-02-2012, 10:12 AM
why does it open a command prompt type window when you run it.. or is that me, and if it is.. how do i make it stop

Tillmen
12-02-2012, 11:17 AM
rename it to lich.rbw

BriarFox
12-02-2012, 11:27 AM
Impressive, Tillman. Thanks for all the work you do with Lich!

Snoopy Dogg
12-02-2012, 11:41 AM
rename it to lich.rbw

yea.. i was having a mind blank on how to get that done correctly, but i finally remembered after i got high

sober brains are the worst

Allereli
12-02-2012, 11:49 AM
sober brains are the worst

you need to change your PC name to Snoopy Lion

Tillmen
12-02-2012, 12:23 PM
That's awesome. Did you add a toggle for fixing the map database in go2 yet?

Yes, sort of, maybe, not really, but something like that, probably.

Malisai
12-02-2012, 11:36 PM
i messed something up

Tillmen
12-02-2012, 11:43 PM
That sounds like you're not on Lich 4.4.0. Type ;help to check.

Tillmen
12-03-2012, 02:22 AM
Ok... all the feedback I've gotten has to do with trouble actually getting the new files into the right place, rather than if the new files are working or not. So, I've put the new files up for auto updating, except you'll have to confirm you want to update to Lich 4.4.0. The updater script will tell you Lich 4.4.0 needs testing and to unpause updater in 15 seconds if you want to try it. If you don't, it will skip it. Also, infomon and waggle have been updated on the repository without "-test" on the end of their names. The updater script should skip these unless you're actually on 4.4.0.

As always, if you need to revert Lich back to a former version, look in your lich\temp directory. It'll have the former versions of lich.rbw with the version number stuck in the name. Move the one you want up one directory into your lich directory. You also probably need to take the version number out of the name if you have shortcuts set up.

The new versions of infomon and waggle will not work with Lich 4.3, but the old versions that will work are on the repository named infomon-lich4.3.17 and waggle-lich4.3.17.

If you try it, let me know about any problems you find (probably related to spells), but also let me know if it works fine.

Also let me know if spell-list.xml is lacking somehow. It's able to account for a lot more variables than it used to, but they're not all filled in yet.

DaCapn
12-03-2012, 02:59 AM
When I logged in, infomon got updated to the 4.4 version (I'm on lich 4.3) before the whole "unpause updater within the next 15min" bit (I didn't update to 4.4 yet). I just downloaded the 4.3 version from the repo (as you mentioned) renamed it to infomon.lic, ran it, and everything was fine. Not sure if I'm an anomaly or not. (EDIT: I logged back in with a different character and infomon didn't get tampered with but I'm assuming that's because of the modification date of the file.)

I'll probably play around with 4.4 in the next couple of days. Anything you're looking for other than the new spell features?

Two bits of silliness while I'm here:
(1) Suggestion: add the sort method to line 285 of go2 so that the custom targets get listed alphabetically (I can see the logic either way, I'm content to add it after updates):

elsif script.vars[0] =~ /^list$/i
for target_name,target_num in Settings['custom targets'].sort
respond " #{target_name.ljust(20)} = #{target_num.to_s.rjust(5)} #{Map[target_num].title.first}"
end
exit

(2) Are you interested in incorporating a block of XML to the gameobj data file for LM trap components? I'm doing some testing with components right now and have multiples of every type of sphere, vial, etc on hand right now. If you want, I'll write it up, test it with sorter, then post it up.

Caithris
12-03-2012, 03:16 AM
Just a small complaint of mine so far, everything else seems to work fine.

Any chance we could get ;magic back?

Tillmen
12-03-2012, 03:20 AM
When I logged in, infomon got updated to the 4.4 version (I'm on lich 4.3) before the whole "unpause updater within the next 15min" bit (I didn't update to 4.4 yet). I just downloaded the 4.3 version from the repo (as you mentioned) renamed it to infomon.lic, ran it, and everything was fine. Not sure if I'm an anomaly or not. (EDIT: I logged back in with a different character and infomon didn't get tampered with but I'm assuming that's because of the modification date of the file.)

I hope you're an anomoly. That would happen if updater is not set to update itself, which is generally a bad idea because this isn't the first time I've relied on updater updating itself to avoid updating something else.


I'll probably play around with 4.4 in the next couple of days. Anything you're looking for other than the new spell features?

Nope.


Two bits of silliness while I'm here:
(1) Suggestion: add the sort method to line 285 of go2 so that the custom targets get listed alphabetically (I can see the logic either way, I'm content to add it after updates):

Done.


(2) Are you interested in incorporating a block of XML to the gameobj data file for LM trap components? I'm doing some testing with components right now and have multiples of every type of sphere, vial, etc on hand right now. If you want, I'll write it up, test it with sorter, then post it up.

I don't know much about LM trap components. If it would be useful, go ahead.

Tillmen
12-03-2012, 03:22 AM
Just a small complaint of mine so far, everything else seems to work fine.

Any chance we could get ;magic back?

;magic wasn't removed. If it's not working, infomon probably crashed, and that's probably because you have the new version of infomon and the old version of Lich.

Caithris
12-03-2012, 03:26 AM
I'm also seeing some wonkyness involving bard spellsong refresh. At least in conjunction with uberspells, the refreshed songs all go to zero, and some songs reappear as new lines while others stay missing until a ;fixspellduration is called.

Rhovan
12-03-2012, 03:33 AM
I'm getting an error with ;magic too. [infomon: NoMethodError]
I've updated to 4.4 and confirmed lich and infomon are the correct versions.

Not related to the update:
By the way, the first time I run ;narost (or use ;go2) after logging in, lich seems to freeze up until ;narost starts working. If I kill ;go2 then start it again immediately I can get around this without waiting. Any idea what causes this?

Tillmen
12-03-2012, 03:37 AM
I'm also seeing some wonkyness involving bard spellsong refresh. At least in conjunction with uberspells, the refreshed songs all go to zero, and some songs reappear as new lines while others stay missing until a ;fixspellduration is called.

Is infomon running?

Tillmen
12-03-2012, 03:41 AM
I'm getting an error with ;magic too. [infomon: NoMethodError]
I've updated to 4.4 and confirmed lich and infomon are the correct versions.

Can you find that error message in lich\temp\debug-#.log and post three or four lines that come after it?



Not related to the update:
By the way, the first time I run ;narost (or use ;go2) after logging in, lich seems to freeze up until ;narost starts working. If I kill ;go2 then start it again immediately I can get around this without waiting. Any idea what causes this?

That's from loading the map database into memory.

Caithris
12-03-2012, 03:49 AM
Is infomon running?


On startup, I see two instances of infomon. I've fav'd infomon-test and infomon is also running, so I usually go ahead and kill infomon and just use infomon-test.

;magic is not showing an error for me, it just claims that it's not in my scripts folder.

I'm also seeing, from trying to go back to my backup lich, that whatever has been pushed out is breaking ;magic there, too. Even without allowing the updater to update, it's messing something up.

Rhovan
12-03-2012, 03:51 AM
Can you find that error message in lich\temp\debug-#.log and post three or four lines that come after it?



That's from loading the map database into memory.


The [infomon: NoMethodError] response is being displayed in Stormfront. Looking at the debug log, I don't see any error from trying to use ;magic. Sorry if I'm missing what you are asking. The debug log is only about 20 lines, so I can post it all if it'll help.
By the way, ;magic help does work correctly


As for loading the map database, since I can move on by restarting ;go2, I'm guessing there is a timer that has to pass before checking if things are ready. Is there an easy way to get ;narost to check if the database is loaded a little quicker?

Rhovan
12-03-2012, 03:53 AM
On startup, I see two instances of infomon. I've fav'd infomon-test and infomon is also running, so I usually go ahead and kill infomon and just use infomon-test.

;magic is not showing an error for me, it just claims that it's not in my scripts folder.

I'm also seeing, from trying to go back to my backup lich, that whatever has been pushed out is breaking ;magic there, too. Even without allowing the updater to update, it's messing something up.

;magic was saying it's not in my scripts folder before I updated to 4.4. I got the new error after updating.

Tillmen
12-03-2012, 03:55 AM
On startup, I see two instances of infomon. I've fav'd infomon-test and infomon is also running, so I usually go ahead and kill infomon and just use infomon-test.

;magic is not showing an error for me, it just claims that it's not in my scripts folder.

I'm also seeing, from trying to go back to my backup lich, that whatever has been pushed out is breaking ;magic there, too. Even without allowing the updater to update, it's messing something up.

That probably explains why ;magic isn't working. ;magic was set up by infomon-test, then overwritten by infomon, and then you killed infomon which also got rid of ;magic.

Your infomon and infomon-test are likely the same thing now. To revert to Lich 4.3, use infomon-lich4.3.17 from the repository.

Tillmen
12-03-2012, 04:04 AM
The [infomon: NoMethodError] response is being displayed in Stormfront. Looking at the debug log, I don't see any error from trying to use ;magic. Sorry if I'm missing what you are asking. The debug log is only about 20 lines, so I can post it all if it'll help.

Yeah, go ahead and post the whole log. Keep in mind there's probably more than one log, and the error messages we're looking for might be in a different one.



As for loading the map database, since I can move on by restarting ;go2, I'm guessing there is a timer that has to pass before checking if things are ready. Is there an easy way to get ;narost to check if the database is loaded a little quicker?

There's no timer. Whenever something tries to use the map database, it checks to see if it's empty (in memory). If it is, it loads it from disk and then immediately continues. You're able to use go2 quicker by restarting it because it's not checking to see if the database is completely loaded, it's only checking to see if it's empty. If it's 20% loaded, and you happen to only need that 20% of the database to get where you're going, everything is fine. If you try that trick to go to one of the higher room numbers, it will probably tell you the room doesn't exist.

Caithris
12-03-2012, 04:13 AM
That probably explains why ;magic isn't working. ;magic was set up by infomon-test, then overwritten by infomon, and then you killed infomon which also got rid of ;magic.

Your infomon and infomon-test are likely the same thing now. To revert to Lich 4.3, use infomon-lich4.3.17 from the repository.

That fixed it. Got rid of infomon-test as will use infomon going forwards. I'll see if it helps with song renewal.

Rhovan
12-03-2012, 04:23 AM
Yeah, go ahead and post the whole log. Keep in mind there's probably more than one log, and the error messages we're looking for might be in a different one.

Looking at the debug logs from the morning, they are all the same except for lines 13, 14, and 18, which don't look like they pertain to ;magic at all. Looking at this post, the other change is that the newer logs refer to Lich 4.4.0

info: Sun Dec 02 23:58:04 -0800 2012
info: Lich 4.3.17
info: Ruby 1.8.6
info: i386-mswin32
info: $lich_dir: D:/Games/Small/SGE/lich-4.2.7/lich/
info: $script_dir: D:/Games/Small/SGE/lich-4.2.7/lich/scripts/
info: $data_dir: D:/Games/Small/SGE/lich-4.2.7/lich/data/
info: $temp_dir: D:/Games/Small/SGE/lich-4.2.7/lich/temp/
info: HAVE_GTK: true
info: no launch file given
info: no force-mode info given
failed to read value 'RealCommand' from key 'command'
D:/Games/Small/SGE/lich-4.2.7/lich/lich.rbw:7990:in `registry_get'
D:/Games/Small/SGE/lich-4.2.7/lich/lich.rbw:714
info: gamehost: storm.gs4.game.play.net
info: gameport: 10024
info: game: STORM
info: launcher_cmd: "D:\Games\Small\SGE\PsiNet2.exe\Launcher.exe" D:\Games\Small\SGE\lich-4.2.7\lich\temp\lich8485.sal
info: waiting for client to connect...
info: connected
info: connecting to game server (storm.gs4.game.play.net:10024)
info: connected
info: stopping scripts...
info: saving script data...
info: closing connections...
info: exiting...

Caithris
12-03-2012, 04:27 AM
To revert to Lich 4.3, use infomon-lich4.3.17 from the repository.

Just as an FYI. I've gotten some notes from a friend saying that infomon is being updated even without them asking it to. Confirmed this when I got her to kill infomon and try using infomon-lich4.3.17.

EDIT: She wasn't trying to upgrade, this was just her trying to log in to play, and running into all sorts of weird issues.

Tillmen
12-03-2012, 04:42 AM
I give up. Almost all the problems are caused by half-upgrades for various reasons. Updater is updating when it isn't supposed to, probably because it didn't update it self, maybe other reasons. Manual updating has all sorts of problems. If you're having problems, just restart a couple times and it should be mostly fixed.

Caithris
12-03-2012, 06:13 AM
Bard spellsong renewal still isn't working quite right with uberspells, but seems to work if I manually refresh with ;fixspelldurations. I'm unwilling to say if it's an infomon issue or an uberspells issue, but it didn't self-correct after a few restarts.

Question: is this update supposed to calculate spell durations with the new fancy incant from other folks?

DaCapn
12-03-2012, 09:26 AM
Yeah, looks like logging in a couple times will result in things getting settled between the updated version of lich running and the updating/running of infomon.

As far as I can tell, basic functions as I've been using them still work. I haven't tested the new odd behaviors of 211 and the like.

Some random things:
(1) MIU timers aren't correct (the new MIU formula halves the base duration as well as the per-rank increase, except for 1712 from small statues, not sure if there's others like that)
(2) I noticed that Gib's burst_calc script broke with the magic system updates (it wasn't able to tell that any spells were active). The problem seemed to lie in XMLData.spellfront, but his script was updated to use XMLData.active_spells (the old line, 62, is commented out in the updated version). The old version was still broken but the new version isn't. I'm not sure if that is useful in the slightest. I assume that changes to the stream broke spellfront and is seems like it's still broken. Maybe it was a deprecated method already, I don't know. Just throwing this out there in case it reminds you of something that needs checking.
(3) I'm sure you're aware that multicast isn't getting tracked properly.

Some things about bard songs:
(1) Bard songs don't get tracked when you're grouped with a bard and a spellsong gets added (or added to you via their renewal). The messaging for the spell isn't the same. There's 3 different messages you get for the spell going active: self-cast, group-cast, and group-renew. If you want the messaging, I can provide it. Also, even when the spell timers are corrected, they don't display with the inactivespells script when you're grouped with a bard.
(2) Bard songs apparently get full duration when cast while others were active. For example, when you cast 1007 then cast 1006 a few minutes later, 1006 has full duration and 1007 has full minus a few minutes. If you STOP 1007, it will still renew on 1007's timer, however. Though 1007 doesn't get renewed.
(3) STOP SINGING (or STOP <bardsong>) should stop the renewal cycle, rather than drop the spell timer to zero. The spells last out the remainder of the duration but lich sets the remaining time to zero. Stopping a single song works correctly.
(4) Duration isn't quite right for the ones I played with (but very close). You're probably aware of this. It looks like the spells renew 10 seconds before their duration is up so you probably have their timer set to expire at the renewal (which makes the most sense to me).
(5) When I was monkeying around with (2) I noticed that lich will, at times, correct durations. I created this by starting 1006, waiting a couple minutes, starting 1007, waiting a couple of minutes, STOP SINGING. A few seconds after the renewal cycle was up, 1007 duration got corrected. Is lich double-checking durations against spell active one timers should be up just to be sure of duration?

I know bard songs are wonky and they never quite worked. I know that the multisong penalty offset was never nailed down. I've also seen some of your comments in scripts which express frustrations with the whole bard system. I doubt it's even on

Also, suggestion for waggle: Add armor specializations and some of the newer CMs (slippery mind, for example) to the list of possible spells in the setup.

SpiffyJr
12-03-2012, 10:39 AM
For anyone using PlayOnLinux you just need to set your WINEPREFIX path prior to launching lich.rb to get it to play nicely.



#!/bin/bash
env WINEPREFIX=~/.PlayOnLinux/wineprefix/gemstone ruby lich.rb


That's the script I use to load Lich.

SpiffyJr
12-03-2012, 10:55 AM
And to answer the question - I'm on 4.4.2 and didn't have to unpause anything.

Velfi
12-03-2012, 03:03 PM
I'm on 4.4.2 and just noticed a couple things when I tried using the new Waggle on my group. 3 chars total in group, empath rogue & wizard. I've always just waggled all three targetss at the same time, this time when the empath did it, it only cast on the rogue and quit. When I took the rogue out of the targets, it only cast on self (empath). When my wizard waggled all three targets, it did the empath and rogue, but not the wizard.

Also, 115 stacks, but Waggle is only casting once and stopping.

Otherwise, so far it's working well for me and it only cast 103/202 once on others which is cool.

Edit: Actually, paying more attention to it, even when my empath uses ;waggle ONLY on my wizard, it just starts waggling self, skipping the wizard entirely.

Wowfool
12-03-2012, 10:40 PM
Infomon is definitely missing bard song renewals. Every thing else is being properly tracked.

Tillmen
12-04-2012, 01:26 AM
(1) MIU timers aren't correct (the new MIU formula halves the base duration as well as the per-rank increase, except for 1712 from small statues, not sure if there's others like that)

Should be fixed. Also changed the formula for scrolls, which I guess is right.



(2) I noticed that Gib's burst_calc script broke with the magic system updates (it wasn't able to tell that any spells were active). The problem seemed to lie in XMLData.spellfront, but his script was updated to use XMLData.active_spells (the old line, 62, is commented out in the updated version). The old version was still broken but the new version isn't. I'm not sure if that is useful in the slightest. I assume that changes to the stream broke spellfront and is seems like it's still broken. Maybe it was a deprecated method already, I don't know. Just throwing this out there in case it reminds you of something that needs checking.

The game just completely stopped sending the spellfront XML with the magic system updates. I've updated the XMLData.spellfront method to piggyback off XMLData.active_spells in case there are other scripts that still use it.



(3) I'm sure you're aware that multicast isn't getting tracked properly.

I'm aware. I've got some ideas for how I might be able to handle it, but I don't know if they'll work.



(1) Bard songs don't get tracked when you're grouped with a bard and a spellsong gets added (or added to you via their renewal). The messaging for the spell isn't the same. There's 3 different messages you get for the spell going active: self-cast, group-cast, and group-renew. If you want the messaging, I can provide it. Also, even when the spell timers are corrected, they don't display with the inactivespells script when you're grouped with a bard.

Messages are good.

I can't find any reason they would show up in ;magic but not in inactivespells. Maybe try it again after this round of updates and after the new messages go in and see if it still does it.



(2) Bard songs apparently get full duration when cast while others were active. For example, when you cast 1007 then cast 1006 a few minutes later, 1006 has full duration and 1007 has full minus a few minutes. If you STOP 1007, it will still renew on 1007's timer, however. Though 1007 doesn't get renewed.

This might be fixed.



(3) STOP SINGING (or STOP <bardsong>) should stop the renewal cycle, rather than drop the spell timer to zero. The spells last out the remainder of the duration but lich sets the remaining time to zero. Stopping a single song works correctly.

Looks like it was this way before the update, and it looks like it was that way on purpose. I'm a little worried about why it was there. Maybe the end message doesn't show up for each individual spellsong? Anyway, I took it out. Let me know if it causes problems.



(4) Duration isn't quite right for the ones I played with (but very close). You're probably aware of this. It looks like the spells renew 10 seconds before their duration is up so you probably have their timer set to expire at the renewal (which makes the most sense to me).

I'm aware of very little when it comes to bards.



(5) When I was monkeying around with (2) I noticed that lich will, at times, correct durations. I created this by starting 1006, waiting a couple minutes, starting 1007, waiting a couple of minutes, STOP SINGING. A few seconds after the renewal cycle was up, 1007 duration got corrected. Is lich double-checking durations against spell active one timers should be up just to be sure of duration?

I updated infomon a couple months ago to pull the timer info and correct the spell timers each time you do a "spell active". So.. when you run ;fixspelldurations, your timers are being set twice.



Also, suggestion for waggle: Add armor specializations and some of the newer CMs (slippery mind, for example) to the list of possible spells in the setup.
Added to the to-do list.



For anyone using PlayOnLinux you just need to set your WINEPREFIX path prior to launching lich.rb to get it to play nicely.

You're alive! ...unless you're a zombie... either way, Hi!



I'm on 4.4.2 and just noticed a couple things when I tried using the new Waggle on my group. 3 chars total in group, empath rogue & wizard. I've always just waggled all three targetss at the same time, this time when the empath did it, it only cast on the rogue and quit. When I took the rogue out of the targets, it only cast on self (empath). When my wizard waggled all three targets, it did the empath and rogue, but not the wizard.

Were you in a crowded room when this happened? If so I might know why it happened and be able to fix it.



Also, 115 stacks, but Waggle is only casting once and stopping.

Should be fixed.

Velfi
12-04-2012, 02:27 AM
Were you in a crowded room when this happened? If so I might know why it happened and be able to fix it.


Was at a table, just my 3 characters, no one else.

Edit: I just tried outside of the table too, same thing. When using my empath, trying to ;waggle my wizard, it ignores the wizard entirely and just waggles self.

Tillmen
12-04-2012, 02:33 AM
Multicast tracking might work now.

Tillmen
12-04-2012, 03:36 AM
I'm on 4.4.2 and just noticed a couple things when I tried using the new Waggle on my group. 3 chars total in group, empath rogue & wizard. I've always just waggled all three targetss at the same time, this time when the empath did it, it only cast on the rogue and quit. When I took the rogue out of the targets, it only cast on self (empath). When my wizard waggled all three targets, it did the empath and rogue, but not the wizard.

This should be fixed now.

DaCapn
12-04-2012, 01:10 PM
Multicast tracking might work now.
Yup, works so far that I can tell.

With respect to MIU:
- I first checked that Skills.magicitemuse reflected the correct number of ranks (30) and that I had run updater (infomon is in the update list)
- Small statues gave me 17.5min but I should get (1200+60*30/2) = 2100sec (35min), SPELL ACTIVE agrees. Previously, lich computed this correctly.
- Using a RAISE imbed, lich computed 29min but I should get (1200+60*30*(4/3))/2.0 = 1800sec (30min). Maybe some kind of truncate error? My wizard with 138 MIU ranks got 101min instead of 102min. At least it's not scaling.
- Using a RUB imbed, lich computed 25min, which is just fine, (1200+60*30)/2.0 = 1500sec (25min)
- I didn't have a spare TAP imbed to test.

More bard stuff later.

Tillmen
12-04-2012, 02:28 PM
With respect to MIU:


Should be more fixed now.

SpiffyJr
12-04-2012, 05:15 PM
I am alive. And I don't kill kittens.

DaCapn
12-10-2012, 01:53 AM
Tillmen:

Regarding the updates: I've got some notes on bard stuff (behavior and messaging, maybe I'll just email the messaging). Also, MIU durations are still off for TAP and RAISE. RUB seemed fine. The method for computing the duration seems a bit convoluted. I crunched some test values and it's not something simple like applying the duration modifier across the board. I'll give more info at some point.

I added the below XML to the end of the types in my gameobj-data.xml file and added "sphere" to the list of nouns under the "magic" type (inside the parentheses with the others). I tested them all in-container and individually in-hand. I think I got all of the wedge adjectives in there.

<type name="lm trap">
<name>^(?:green-tinted|thick glass|clear glass) vial|steel needle$|steel jaws$|(?:light violet|emerald|reddish-brown|wavering|icy blue|stone grey|amethyst|dark red) sphere$|dark crystal$</name>
</type>
<type name="lm tool">
<name>^(?:superior|strong|warped|thin|brittle) wooden wedge$</name>
<noun>calipers$</noun>
</type>

How they shake out with sorter (I thought about adding calipers to the exclude line in 'uncommon' but it may be keep it as-is):


>l in my vest
>In the red fishing vest:
lm trap,magic (42): a small dark crystal (16), a tiny wavering sphere (4), a miniature emerald sphere (3), a small dark red sphere (2), a small light violet sphere (3), a small icy blue sphere (2), a small dark reddish-brown sphere (8), a tiny stone grey sphere, a small amethyst sphere (3).
lm trap (31): a clear glass vial of light yellow acid (9), a pair of small steel jaws, a thick glass vial filled with murky red liquid (11), a slender steel needle (5), a green-tinted vial filled with thick acrid smoke (5).

l in my too
>Peering into the silver-buckled toolkit, you see a lump of squishy white putty with about 55 pinches left, 94 little balls of cotton, a set of narrow metal grips, a thin metal file, a thick steel needle, 10 vials of liquid and:
lm tool,uncommon (1): a pair of slender vaalin calipers.
lm tool (3): a superior wooden wedge (3).
lockpick,uncommon (1): a laje lockpick.


By the way, if anyone wants to reload this data without logging out and back in, you can do the following:
;e GameObj.load_data(filename="#{$script_dir}gameobj-data.xml")

zinzimir
12-11-2012, 08:09 PM
Still getting --- warning: uberspells is using depreciated method XMLData.spellfront

Anyone know how to fix this?

I'm running Lich v4.4.8