PDA

View Full Version : Lnet error: Spell.load: No such file or directory



afordhere
04-17-2013, 07:41 PM
C:/Users/Admin/Desktop/Everything/Lich/lich-4.2.7/lich/scripts/spell-list.xml
--- error: Spell.load: No such file or directory - C:/Users/XXXX/XXXX/Everything/Lich/lich-4.2.7/lich/scripts/spell-list.xml

That just scroll the screen and nothing else happens. It never stops.

I opened the file and tried a Ctrl+F for Spell.load but it didn't find anything. I have no reference in what to look for.

Any ideas?

DaCapn
04-18-2013, 12:54 AM
Do `;updater list` and you probably won't see "spell-list.xml" in the list of scripts to update. Do `;updater add spell-list.xml` then `;updater update` then log out and back in.

Ausek
04-18-2013, 02:05 AM
Actually, I had this same problem. If you have spell-list.xml.txt in your scripts folder just delete it. Then when you log into the game do ';repos download spell-list.xml'. Logout then log back in. That's how I fixed mine.

DaCapn
04-18-2013, 02:25 AM
I suppose I'll elaborate as to what's going on here.

Spell.load reads the data from your spell list file (contains messaging, durations, bonuses, mana costs, etc). When those spell updates were released (multicast, increased durations, disparities in self-cast and non-self-cast durations, etc), Tillmen created a new spell list file which contained more info (to account for the self-cast and non-self-cast durations being different among other things). That new list is "spell-list.xml" the old one is "spell-list.xml.txt"

Most people ask "why is my waggle broken?" or something like that. If Spell.load can't find the list of GS spells (not your character's spells), it doesn't know what spells exist in order to make a list of the spells you know. So this error can manifest when using basically any script that has anything to do with spells.

Ausek
04-18-2013, 02:32 AM
Ah, that does make sense then, and I should go ahead add in the updater edit too.

afordhere
04-18-2013, 07:24 PM
Thank you! It worked fine. After being gone 8 months, coming back to that was confusing.

crb
04-19-2013, 09:00 AM
related error just starting happening for me

--- error: SpellRanks.load: dump format error(0x0)

DaCapn
04-19-2013, 12:28 PM
related error just starting happening for me

--- error: SpellRanks.load: dump format error(0x0)

You might try just re-downloding the spell list.

Tillmen
04-19-2013, 02:17 PM
SpellRanks.load is trying to load spell-ranks.dat, not the spell list. That error will probably fix itself. If it doesn't you can delete the file while you're logged out. It'll be in lich\data\GSIV\spell-ranks.dat or lich\data\GSPlat\spell-ranks.dat or lich\data\GSF\spell-ranks.dat depending on the game.

DaCapn
04-20-2013, 01:33 AM
Heh, didn't see the word "Ranks" in there.

crb
04-20-2013, 09:32 AM
It switched to this:

error: SpellRanks.load: undefined class/module @paladin

Though deleting the file removed that message.

But it still is borked for me. I login, things seem good, I type ";magic" and lich hangs. Won't process any scripts.... if I let it hand for about 5 minutes it seems to resolve itself and start working. Tried rebooting. Seemed to start when lich was updated recently.

debug log



info: Sat Apr 20 09:04:56 -0400 2013
info: Lich 4.4.12
info: Ruby 1.8.6
info: i386-mswin32
info: $lich_dir: //Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/
info: $script_dir: //Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/scripts/
info: $data_dir: //Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/data/
info: $temp_dir: //Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/temp/
info: HAVE_GTK: true
info: no launch file given
info: no force-mode info given
info: gamehost: storm.gs4.game.play.net
info: gameport: 10024
info: game: WIZ
info: launcher_cmd: "C:\Program Files\SIMU\SGE\Launcher.exe" \\Home-PC\Users\Home\Desktop\Gemstone\lich-4.0.9\lich\temp\lich2016.sal
info: Windows version: 6.0info: waiting for client to connect...

info: connected
info: connecting to game server (storm.gs4.game.play.net:10024)
info: connected
slib:337: warning: parenthesize argument(s) for future version
error: SpellRanks.load: undefined class/module @paladin
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:3374:in `load'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:3374:in `load'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:3373:in `open'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:3373:in `load'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:3412:in `timestamp'
lnet:1120:in `start_script'
lnet:1116:in `loop'
lnet:1116:in `start_script'
lnet:1115:in `initialize'
lnet:1115:in `new'
lnet:1115:in `start_script'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:5841:in `eval'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:5853:in `start_script'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:5841:in `initialize'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:5841:in `new'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:5841:in `start_script'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:1823:in `init'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:1823:in `each_pair'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:1823:in `init'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:1019:in `tag_start'
C:/Program Files/Ruby-1.8.6/lib/ruby/1.8/rexml/parsers/streamparser.rb:24:in `parse'
C:/Program Files/Ruby-1.8.6/lib/ruby/1.8/rexml/document.rb:200:in `parse_stream'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:2968
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:2945:in `initialize'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:2945:in `new'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:2945
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:1341:in `initialize'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:1341:in `new'
//Home-PC/Users/Home/Desktop/Gemstone/lich-4.0.9/lich/lich.rb:1341