Bug - Cannot Reproduce Significant diffuclty logging in.

QVamp

Member
Sorry, first post here. I searched as well as I could, and couldn't find this listed.

I have never had a problem logging in successfully using 14.6 (and still can) using the windows exe (windows XP). However, I tried to use a daily build a few days ago and found I was unable to log in. When 14.7 came out, I was still not able to log in, it just hangs at the login screen saying 'sending login request'

I've gotten around this twice so far. On one computer, I used the IP address instead of the DNS and was able to log in multiple times. On my laptop, it failed 5 times, I went to 14.6, logged in successfully that way, and THEN was able to log in using 14.7.

For the life of me I cannot find a log to post that shows where the login is failing.
 

roippi

Developer
So there's a handful of people over on GD who have reported this.

I have tracked it down to some preference you have set in GLOBAL_prefs that is not letting you log in. Temp fix: rename/move to another folder your GLOBAL_prefs file. Another will be created from defaults and everything will work; unfortunately, you'll lose some settings.

Could you post your settings/GLOBAL_prefs.txt file? Note that if you save your password, this file contains an encrypted version of your password so I'd recommend removing that before posting it. Look for saveState.<name> = <long series of numbers> and delete that.
 

QVamp

Member
Here you go. I took out display names too.

PHP:
addChatCommandLine=false
addCreationQueue=true
addStatusBarToFrames=false
allowCloseableDesktopTabs=false
allowNegativeTally=true
allowNonMoodBurning=true
allowSocketTimeout=false
allowSummonBurning=true
alwaysGetBreakfast=true
autoHighlightOnFocus=true
autoLogin
autoPlantHardcore=true
autoPlantSoftcore=true
autoSatisfyWithCloset=true
autoSatisfyWithCoinmasters=false
autoSatisfyWithMall=false
autoSatisfyWithNPCs=true
autoSatisfyWithStash=false
breakfastHardcore=Advanced Cocktailcrafting,Advanced Saucecrafting,Pastamastery,Summon Crimbo Candy
breakfastSoftcore=Advanced Cocktailcrafting,Advanced Saucecrafting,Pastamastery,Summon Crimbo Candy
browserBookmarks
cacheMallSearches=false
charsheetDropdown=1
chatBeep=false
chatFontSize=small
chatLinksUseRelay=false
chatStyle=0
cloverProtectActive=false
coinMasterIndex=1
combatHotkey0
combatHotkey1
combatHotkey2
combatHotkey3
combatHotkey4
combatHotkey5
combatHotkey6
combatHotkey7
combatHotkey8
combatHotkey9
commandLineNamespace
compactChessboard=false
connectViaAddress=false
cookies.inventory
copyAsHTML=false
createHackerSummons=true
customizedTabs=true
debugBuy=false
debugConsequences=false
debugPathnames=true
defaultBorderColor=blue
defaultDropdown1=0
defaultDropdown2=7
defaultDropdownSplit=-1
defaultLimit=5
defaultLoginServer=5
displayName
eSoluScriptType=0
externalEditor
gapProtection=false
getBreakfast=true
getBreakfast.<name>=true
grabCloversHardcore=false
grabCloversSoftcore=false
greenScreenProtection=false
grimoireSkillsHardcore=all
grimoireSkillsSoftcore=all
guiUsesOneWindow=false
harvestGardenHardcore=none
harvestGardenSoftcore=none
hideServerDebugText=false
highlightList
http.proxyHost
http.proxyPassword
http.proxyPort
http.proxyUser
initialDesktop=AdventureFrame,CommandDisplayFrame,MallSearchFrame,GearChangeFrame,SkillBuffFrame
initialFrames=RecentEventsFrame
innerChatColor=\#ffa98c
innerTabColor=\#8ca9ff
itemManagerIndex=6
lastBuffRequestType=3
lastRelayUpdate=KoLmafia v14.7
lastRssUpdate=0
lastRssVersion=KoLmafia v14.7
lastUserAgent=Mozilla/5.0 (Windows NT 5.1; rv\:5.0) Gecko/20100101 Firefox/5.0
lastUsername=queVee
libramSkillsHardcore=all
libramSkillsSoftcore=all
logAcquiredItems=true
logBattleAction=true
logBrowserInteractions=false
logChatMessages=true
logCleanedHTML=false
logDecoratedResponses=false
logFamiliarActions=false
logGainMessages=true
logMonsterHealth=false
logReadableHTML=false
logReverseOrder=false
logStatGains=true
logStatusEffects=false
logStatusOnLogin=false
loginRecoveryHardcore=true
loginRecoverySoftcore=true
loginScript
loginServerName=www3.kingdomofloathing.com
loginWindowLogo=lantern.jpg
logoutScript
lucreCoreLeaderboard=false
macroDebug=false
macroLens=false
mementoListActive=true
mergeHobopolisChat=false
outerChatColor=\#b4460f
outerTabColor=\#0f46b4
pathedSummonsHardcore=true
pathedSummonsSoftcore=false
preferredWebBrowser=C\:\\Program Files\\Mozilla Firefox\\firefox.exe
previousNotifyList=<><scripts\\bumpork.ash>
previousUpdateRevision=9598
previousUpdateVersion=KoLmafia v14.7
protectAgainstOverdrink=true
proxySet=false
readManualHardcore=true
readManualSoftcore=true
relayAddsCustomCombat=true
relayAddsDiscoHelper=false
relayAddsGraphicalCLI=false
relayAddsKoLSimulator=false
relayAddsQuickScripts=false
relayAddsRestoreLinks=true
relayAddsRoundNumber=false
relayAddsUpArrowLinks=true
relayAddsUseLinks=true
relayAddsWikiLinks=true
relayAllowsOverrides=false
relayBrowserOnly=false
relayFormatsChatText=true
relayHidesJunkMallItems=true
relayMaintainsEffects=false
relayMaintainsHealth=true
relayMaintainsMana=false
relayOverridesImages=false
relaySkillButtonCount=5
relayTextualizesEffects=false
relayTrimsZapList=true
relayUsesCachedImages=false
relayUsesInlineLinks=false
relayUsesIntegratedChat=false
relayViewsCustomItems=false
removeMalignantEffects=true
saveSettingsOnSet=true
saveState
saveStateActive=true
scriptButtonPosition=0
scriptList=restore hp | restore mp
sharePriceData=false
showAllRequests=false
showExceptionalRequests=false
statusDropdown=0
stealthLogin=true
swingLookAndFeel=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
switchEquipmentForBuffs=true
tomeSkillsHardcore=all
tomeSkillsSoftcore=all
toolbarPosition=1
useChatMonitor=false
useChatToolbar=true
useContactsFrame=true
useCrimboToysHardcore=true
useCrimboToysSoftcore=true
useDecoratedTabs=true
useDockIconBadge=false
useLastUserAgent=false
useSeparateChannels=true
useShinyTabbedChat=true
useSystemTrayIcon=false
useTabbedChatFrame=true
useToolbars=true
useZoneComboBox=false
userAgent
visitLoungeHardcore=true
visitLoungeSoftcore=true
visitRumpusHardcore=true
visitRumpusSoftcore=true
 
Last edited by a moderator:

Theraze

Active member
What does the "allowSocketTimeout" value do? I notice that QVamp's is set to false, while mine (and the defaults) have that set to true...

Edit: According to this post Veracity made, it appears to be the "try another server if your first server fails" setting, and is probably the reason why QVamp was having login difficulty.
 

QVamp

Member
Probably not a 'try another server' problem. I had probably a 99% success rate with 14.6 (many, many logins), and a <10% success rate with 14.7 (though probably only about 20 tries total). So, while trying another server may have found the 1 server that worked, it doesn't explain the great many that didn't.
 

Theraze

Active member
Still... that's a connection setting that's different between your system and the defaults. I'd suggest trying to use the default setting there if there isn't an actual reason why you want it to fail more.
 

roippi

Developer
To be clear, the rename-global-prefs temp fix works, ya?

I don't see anything that jumps out in me in a diff that would cause login to hang, other than maybe incorrect browser default settings?

I'll go through the prefs individually, but there may be something user-environment specific.
 
I hope this might help. I'm using 14.7 on multiple accounts, but only having login trouble with one account. For years I have kept a separate directory tree for each account (and still do). WinXP SP3.
It's hanging at the "Sending login request...." After a couple of minutes, I went to General menu, Graphical CLI, and an additional window opened for the Main Interface, where I have GCLI as a tab. The Login window stayed open and stuck at "Sending login request...." Contents of GCLI, unchanged for over 5 minutes:
Code:
Using data override: data/tradeitems.txt
Using data override: data/itemdescs.txt
Incorrect version of "itemdescs.txt". Found 1 require 2
Validating login server (www7.kingdomofloathing.com)...
808 players online.
Sending login request...
Unknown item found: packet of orchid seeds
Unknown ingredient (packet of orchid seeds) for concoction: tropical orchid (6)
Unknown concoction: honeypot
Unknown item found: handful of honey
Unknown ingredient (handful of honey (3)) for concoction: honeypot
Unknown concoction: honey mead
Unknown item found: handful of honey
Unknown ingredient (handful of honey (4)) for concoction: honey mead
Unknown concoction: wild honey pie
Unknown item found: handful of honey
Unknown ingredient (handful of honey (5)) for concoction: wild honey pie
Unknown concoction: honeycap
Unknown item found: handful of honey
Unknown ingredient (handful of honey (37)) for concoction: honeycap
Unknown concoction: honeybritches
Unknown item found: handful of honey
Unknown ingredient (handful of honey (42)) for concoction: honeybritches
Unknown concoction: honey dipper
Unknown item found: handful of honey
Unknown ingredient (handful of honey (69)) for concoction: honey dipper
Unknown concoction: reconstituted crow
Unknown item found: busted wings
Unknown ingredient (busted wings) for concoction: reconstituted crow
Unknown item found: bird brain
Unknown ingredient (bird brain) for concoction: reconstituted crow
Unknown item found: ultrasoldier serum
Unknown item found: field guide to skeletal anatomy
Unknown item found: mirrored aviator shades
Unknown item found: leather aviator's cap
Unknown item found: mint-in-box moonthril circlet
Unknown item found: mint-in-box moonthril flamberge
Unknown item found: mint-in-box moonthril longbow
Unknown item found: mint-in-box moonthril greaves
Unknown item found: mint-in-box moonthril cuirass
Unknown item found: plush alielf
Unknown item found: plush dogcat
Unknown item found: plush hamsterpus
Unknown item found: plush ferrelf
Unknown item found: plush mutated alielf
Unknown item found: plush alien hamsterpus
Unknown item found: plush mutated alielephant
Unknown item found: saison du lune
Unknown item found: moonthril schnapps
Unknown item found: wrecked generator
Unknown item found: spaghetti with moonballs
Unknown item found: crepes a la lune
Unknown item found: moon pie
Unknown item found: comet pop
Unknown item found: flan in the moon
Unknown item found: 1/6th pound cake
Unknown item found: corrupted data (10)
Bad item for monster "Antique Database Server": corrupted data (10)
Unknown item found: squirming egg sac (5)
Bad item for monster "Antique Database Server": squirming egg sac (5)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee Gunners": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Moneybee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Mumblebee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee Queue": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee Queue": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Swarm": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Swarm": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Buzzerker": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Buzzerker": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee King": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee King": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee King": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Thoven": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Thoven": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Thoven": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Queen Bee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Queen Bee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Queen Bee": handful of honey (0)
Unknown item found: elven medi-pack (0)
Bad item for monster "Alielef": elven medi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alielef": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alielef": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alielef": lunar isotope (0)
Unknown item found: elven medi-pack (0)
Bad item for monster "Cat-Alien": elven medi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Cat-Alien": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Cat-Alien": lunar isotope (0)
Unknown item found: elven magi-pack (0)
Bad item for monster "Dog-Alien": elven magi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dog-Alien": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dog-Alien": lunar isotope (0)
Unknown item found: elven magi-pack (0)
Bad item for monster "Dogcat": elven magi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dogcat": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dogcat": lunar isotope (0)
Unknown item found: elven magi-pack (0)
Bad item for monster "Ferrelf": elven magi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Ferrelf": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Ferrelf": lunar isotope (0)
Unknown item found: elven hardtack (25)
Bad item for monster "Grizzled Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Grizzled Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Grimace Prime (10)
Bad item for monster "Grizzled Survivor": Map to Safety Shelter Grimace Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter II (15)
Bad item for monster "Grizzled Survivor": Notes from the Elfpocalypse, Chapter II (15)
Unknown item found: elven medi-pack (0)
Bad item for monster "Hamsterpus": elven medi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Hamsterpus": lunar isotope (0)
Unknown item found: elven hardtack (25)
Bad item for monster "Overarmed Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Overarmed Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Ronald Prime (10)
Bad item for monster "Overarmed Survivor": Map to Safety Shelter Ronald Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter V (15)
Bad item for monster "Overarmed Survivor": Notes from the Elfpocalypse, Chapter V (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Primitive Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Primitive Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Ronald Prime (10)
Bad item for monster "Primitive Survivor": Map to Safety Shelter Ronald Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter VI (15)
Bad item for monster "Primitive Survivor": Notes from the Elfpocalypse, Chapter VI (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Unhinged Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Unhinged Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Grimace Prime (10)
Bad item for monster "Unhinged Survivor": Map to Safety Shelter Grimace Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter I (15)
Bad item for monster "Unhinged Survivor": Notes from the Elfpocalypse, Chapter I (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Unlikely Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Unlikely Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Ronald Prime (10)
Bad item for monster "Unlikely Survivor": Map to Safety Shelter Ronald Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter IV (15)
Bad item for monster "Unlikely Survivor": Notes from the Elfpocalypse, Chapter IV (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Whiny Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Whiny Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Grimace Prime (10)
Bad item for monster "Whiny Survivor": Map to Safety Shelter Grimace Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter III (15)
Bad item for monster "Whiny Survivor": Notes from the Elfpocalypse, Chapter III (15)
Unknown item found: elven magi-pack (25)
Bad item for monster "Alien Hamsterpus": elven magi-pack (25)
Unknown item found: elven medi-pack (25)
Bad item for monster "Alien Hamsterpus": elven medi-pack (25)
Unknown item found: lunar isotope (0)
Bad item for monster "Alien Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alien Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alien Hamsterpus": lunar isotope (0)
Unknown item found: elven magi-pack (25)
Bad item for monster "Mutated Alielephant": elven magi-pack (25)
Unknown item found: elven medi-pack (25)
Bad item for monster "Mutated Alielephant": elven medi-pack (25)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: elven magi-pack (25)
Bad item for monster "Mutated Alielf": elven magi-pack (25)
Unknown item found: elven medi-pack (25)
Bad item for monster "Mutated Alielf": elven medi-pack (25)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielf": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielf": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielf": lunar isotope (0)
Unknown item found: honeycap
Unknown item found: honey dipper
Unknown item found: honey britches
Unknown item found: Moonthril Circlet
Unknown item found: Moonthril Flamberge
Unknown item found: Moonthril Greaves

Weird. Does it matter that if I use the php tags, it changes colors? Like this:

PHP:
Using data override: data/tradeitems.txt
Using data override: data/itemdescs.txt
Incorrect version of "itemdescs.txt". Found 1 require 2
Validating login server (www7.kingdomofloathing.com)...
808 players online.
Sending login request...
Unknown item found: packet of orchid seeds
Unknown ingredient (packet of orchid seeds) for concoction: tropical orchid (6)
Unknown concoction: honeypot
Unknown item found: handful of honey
Unknown ingredient (handful of honey (3)) for concoction: honeypot
Unknown concoction: honey mead
Unknown item found: handful of honey
Unknown ingredient (handful of honey (4)) for concoction: honey mead
Unknown concoction: wild honey pie
Unknown item found: handful of honey
Unknown ingredient (handful of honey (5)) for concoction: wild honey pie
Unknown concoction: honeycap
Unknown item found: handful of honey
Unknown ingredient (handful of honey (37)) for concoction: honeycap
Unknown concoction: honeybritches
Unknown item found: handful of honey
Unknown ingredient (handful of honey (42)) for concoction: honeybritches
Unknown concoction: honey dipper
Unknown item found: handful of honey
Unknown ingredient (handful of honey (69)) for concoction: honey dipper
Unknown concoction: reconstituted crow
Unknown item found: busted wings
Unknown ingredient (busted wings) for concoction: reconstituted crow
Unknown item found: bird brain
Unknown ingredient (bird brain) for concoction: reconstituted crow
Unknown item found: ultrasoldier serum
Unknown item found: field guide to skeletal anatomy
Unknown item found: mirrored aviator shades
Unknown item found: leather aviator's cap
Unknown item found: mint-in-box moonthril circlet
Unknown item found: mint-in-box moonthril flamberge
Unknown item found: mint-in-box moonthril longbow
Unknown item found: mint-in-box moonthril greaves
Unknown item found: mint-in-box moonthril cuirass
Unknown item found: plush alielf
Unknown item found: plush dogcat
Unknown item found: plush hamsterpus
Unknown item found: plush ferrelf
Unknown item found: plush mutated alielf
Unknown item found: plush alien hamsterpus
Unknown item found: plush mutated alielephant
Unknown item found: saison du lune
Unknown item found: moonthril schnapps
Unknown item found: wrecked generator
Unknown item found: spaghetti with moonballs
Unknown item found: crepes a la lune
Unknown item found: moon pie
Unknown item found: comet pop
Unknown item found: flan in the moon
Unknown item found: 1/6th pound cake
Unknown item found: corrupted data (10)
Bad item for monster "Antique Database Server": corrupted data (10)
Unknown item found: squirming egg sac (5)
Bad item for monster "Antique Database Server": squirming egg sac (5)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee Gunners": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Moneybee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Mumblebee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee Queue": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee Queue": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Swarm": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Swarm": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Buzzerker": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Buzzerker": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee King": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee King": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Beebee King": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Thoven": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Thoven": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Bee Thoven": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Queen Bee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Queen Bee": handful of honey (0)
Unknown item found: handful of honey (0)
Bad item for monster "Queen Bee": handful of honey (0)
Unknown item found: elven medi-pack (0)
Bad item for monster "Alielef": elven medi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alielef": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alielef": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alielef": lunar isotope (0)
Unknown item found: elven medi-pack (0)
Bad item for monster "Cat-Alien": elven medi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Cat-Alien": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Cat-Alien": lunar isotope (0)
Unknown item found: elven magi-pack (0)
Bad item for monster "Dog-Alien": elven magi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dog-Alien": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dog-Alien": lunar isotope (0)
Unknown item found: elven magi-pack (0)
Bad item for monster "Dogcat": elven magi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dogcat": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Dogcat": lunar isotope (0)
Unknown item found: elven magi-pack (0)
Bad item for monster "Ferrelf": elven magi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Ferrelf": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Ferrelf": lunar isotope (0)
Unknown item found: elven hardtack (25)
Bad item for monster "Grizzled Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Grizzled Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Grimace Prime (10)
Bad item for monster "Grizzled Survivor": Map to Safety Shelter Grimace Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter II (15)
Bad item for monster "Grizzled Survivor": Notes from the Elfpocalypse, Chapter II (15)
Unknown item found: elven medi-pack (0)
Bad item for monster "Hamsterpus": elven medi-pack (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Hamsterpus": lunar isotope (0)
Unknown item found: elven hardtack (25)
Bad item for monster "Overarmed Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Overarmed Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Ronald Prime (10)
Bad item for monster "Overarmed Survivor": Map to Safety Shelter Ronald Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter V (15)
Bad item for monster "Overarmed Survivor": Notes from the Elfpocalypse, Chapter V (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Primitive Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Primitive Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Ronald Prime (10)
Bad item for monster "Primitive Survivor": Map to Safety Shelter Ronald Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter VI (15)
Bad item for monster "Primitive Survivor": Notes from the Elfpocalypse, Chapter VI (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Unhinged Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Unhinged Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Grimace Prime (10)
Bad item for monster "Unhinged Survivor": Map to Safety Shelter Grimace Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter I (15)
Bad item for monster "Unhinged Survivor": Notes from the Elfpocalypse, Chapter I (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Unlikely Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Unlikely Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Ronald Prime (10)
Bad item for monster "Unlikely Survivor": Map to Safety Shelter Ronald Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter IV (15)
Bad item for monster "Unlikely Survivor": Notes from the Elfpocalypse, Chapter IV (15)
Unknown item found: elven hardtack (25)
Bad item for monster "Whiny Survivor": elven hardtack (25)
Unknown item found: elven squeeze (25)
Bad item for monster "Whiny Survivor": elven squeeze (25)
Unknown item found: Map to Safety Shelter Grimace Prime (10)
Bad item for monster "Whiny Survivor": Map to Safety Shelter Grimace Prime (10)
Unknown item found: Notes from the Elfpocalypse, Chapter III (15)
Bad item for monster "Whiny Survivor": Notes from the Elfpocalypse, Chapter III (15)
Unknown item found: elven magi-pack (25)
Bad item for monster "Alien Hamsterpus": elven magi-pack (25)
Unknown item found: elven medi-pack (25)
Bad item for monster "Alien Hamsterpus": elven medi-pack (25)
Unknown item found: lunar isotope (0)
Bad item for monster "Alien Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alien Hamsterpus": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Alien Hamsterpus": lunar isotope (0)
Unknown item found: elven magi-pack (25)
Bad item for monster "Mutated Alielephant": elven magi-pack (25)
Unknown item found: elven medi-pack (25)
Bad item for monster "Mutated Alielephant": elven medi-pack (25)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielephant": lunar isotope (0)
Unknown item found: elven magi-pack (25)
Bad item for monster "Mutated Alielf": elven magi-pack (25)
Unknown item found: elven medi-pack (25)
Bad item for monster "Mutated Alielf": elven medi-pack (25)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielf": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielf": lunar isotope (0)
Unknown item found: lunar isotope (0)
Bad item for monster "Mutated Alielf": lunar isotope (0)
Unknown item found: honeycap
Unknown item found: honey dipper
Unknown item found: honey britches
Unknown item found: Moonthril Circlet
Unknown item found: Moonthril Flamberge
Unknown item found: Moonthril Greaves
I'm completely ignorant of PHP, didn't know the tag existed until this thread. derp?

Here's my GLOBAL_prefs.txt:
Code:
addChatCommandLine=false
addCreationQueue=true
addStatusBarToFrames=false
allowCloseableDesktopTabs=false
allowNegativeTally=true
allowNonMoodBurning=false
allowSocketTimeout=true
allowSummonBurning=false
alwaysGetBreakfast=true
autoHighlightOnFocus=true
autoLogin
autoPlantHardcore=false
autoPlantSoftcore=false
autoSatisfyWithCloset=false
autoSatisfyWithCoinmasters=false
autoSatisfyWithMall=false
autoSatisfyWithNPCs=true
autoSatisfyWithStash=false
breakfastHardcore
breakfastSoftcore
browserBookmarks
cacheMallSearches=false
charsheetDropdown=1
chatBeep=false
chatFontSize=small
chatLinksUseRelay=false
chatStyle=0
cloverProtectActive=true
coinMasterIndex=1
combatHotkey0
combatHotkey1
combatHotkey2=item little parachute guy
combatHotkey3=skill shoot web
combatHotkey4
combatHotkey5
combatHotkey6
combatHotkey7=item dictionary
combatHotkey8
combatHotkey9
commandLineNamespace
compactChessboard=false
connectViaAddress=false
cookies.inventory
copyAsHTML=false
customizedTabs=true
debugBuy=false
debugConsequences=false
debugPathnames=true
defaultBorderColor=blue
defaultDropdown1=7
defaultDropdown2=5
defaultDropdownSplit=-1
defaultLimit=2
defaultLoginServer=7
displayName
displayName.storelladeville=storelladeville
eSoluScriptType=0
externalEditor
gapProtection=false
getBreakfast=true
getBreakfast.storelladeville=true
grabCloversHardcore=false
grabCloversSoftcore=true
greenScreenProtection=false
grimoireSkillsHardcore=Summon Alice's Army Cards
grimoireSkillsSoftcore=all
guiUsesOneWindow=false
harvestGardenHardcore=pumpkin
harvestGardenSoftcore=pumpkin
hideServerDebugText=false
highlightList
http.proxyHost
http.proxyPassword
http.proxyPort
http.proxyUser
initialDesktop=AdventureFrame,ItemManageFrame,MallSearchFrame,OptionsFrame,CommandDisplayFrame,GearChangeFrame,SkillBuffFrame
initialFrames=LocalRelayServer
innerChatColor=\#ffa98c
innerTabColor=\#8ca9ff
itemManagerIndex=12
lastBuffRequestType=0
lastRelayUpdate=KoLmafia v14.7
lastRssUpdate=0
lastRssVersion=KoLmafia v14.7
lastUserAgent=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
lastUsername=storelladeville
libramSkillsHardcore=none
libramSkillsSoftcore=none
logAcquiredItems=true
logBattleAction=true
logBrowserInteractions=false
logChatMessages=true
logCleanedHTML=false
logDecoratedResponses=false
logFamiliarActions=false
logGainMessages=true
logMonsterHealth=false
logReadableHTML=false
logReverseOrder=false
logStatGains=true
logStatusEffects=false
logStatusOnLogin=false
loginRecoveryHardcore=false
loginRecoverySoftcore=true
loginScript
loginServerName=www7.kingdomofloathing.com
loginWindowLogo=lantern.jpg
logoutScript
macroDebug=false
macroLens=false
mementoListActive=false
mergeHobopolisChat=false
outerChatColor=\#b4460f
outerTabColor=\#0f46b4
pathedSummonsHardcore=false
pathedSummonsSoftcore=false
preferredWebBrowser
previousNotifyList=<><C\:\\Frank\\KoL\\KoLmafia\\Storella\\scripts\\optimal11v2.ash><C\:\\Frank\\KoL\\KoLmafia\\Storella\\scripts\\optimal11v3.ash><scripts\\optimal11v2.ash><scripts\\optimal11v3.ash><scripts\\optimal11v4.ash><scripts\\snapshot-2.0.ash><scripts\\networth.ash><scripts\\snapshot-2.1.ash><C\:\\Frank\\KoL\\KoLmafia\\Storella\\relay\\relay_AdventureAdvisor.ash><scripts\\snapshot-2.2.ash>
previousUpdateRevision=9598
previousUpdateVersion=KoLmafia v14.7
protectAgainstOverdrink=true
proxySet=false
readManualHardcore=true
readManualSoftcore=true
relayAddsCustomCombat=true
relayAddsDiscoHelper=true
relayAddsGraphicalCLI=false
relayAddsKoLSimulator=false
relayAddsQuickScripts=false
relayAddsRestoreLinks=true
relayAddsRoundNumber=false
relayAddsUpArrowLinks=true
relayAddsUseLinks=true
relayAddsWikiLinks=false
relayAllowsOverrides=false
relayBrowserOnly=false
relayFormatsChatText=true
relayHidesJunkMallItems=false
relayMaintainsEffects=false
relayMaintainsHealth=false
relayMaintainsMana=false
relayOverridesImages=false
relaySkillButtonCount=3
relayTextualizesEffects=false
relayTrimsZapList=false
relayUsesCachedImages=false
relayUsesInlineLinks=false
relayUsesIntegratedChat=false
relayViewsCustomItems=false
removeMalignantEffects=false
saveSettingsOnSet=true
saveState
saveState.storelladeville= OBVIOUSLY A BIG SECRET
saveStateActive=true
scriptButtonPosition=0
scriptList=restore hp | restore mp
sharePriceData=true
showAllRequests=false
showExceptionalRequests=false
statusDropdown=0
stealthLogin=true
swingLookAndFeel=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
switchEquipmentForBuffs=true
tomeSkillsHardcore=none
tomeSkillsSoftcore=none
toolbarPosition=1
useChatMonitor=false
useChatToolbar=true
useContactsFrame=true
useCrimboToysHardcore=true
useCrimboToysSoftcore=true
useDecoratedTabs=true
useDockIconBadge=false
useLastUserAgent=false
useSeparateChannels=true
useShinyTabbedChat=true
useSystemTrayIcon=false
useTabbedChatFrame=true
useToolbars=true
useZoneComboBox=false
userAgent
visitLoungeHardcore=true
visitLoungeSoftcore=true
visitRumpusHardcore=true
visitRumpusSoftcore=true

In fact, just in case it helps, here's GLOBAL_prefs.txt from an account (and directory) that has had no trouble with 14.7 login:

Code:
addChatCommandLine=false
addCreationQueue=true
addStatusBarToFrames=false
allowCloseableDesktopTabs=false
allowNegativeTally=true
allowNonMoodBurning=false
allowSocketTimeout=true
allowSummonBurning=true
alwaysGetBreakfast=true
autoHighlightOnFocus=true
autoLogin
autoPlantHardcore=false
autoPlantSoftcore=false
autoSatisfyWithCloset=false
autoSatisfyWithCoinmasters=false
autoSatisfyWithMall=true
autoSatisfyWithNPCs=true
autoSatisfyWithStash=false
breakfastHardcore=Summon Crimbo Candy
breakfastSoftcore
browserBookmarks
cacheMallSearches=false
charsheetDropdown=1
chatBeep=false
chatFontSize=small
chatLinksUseRelay=false
chatStyle=0
cloverProtectActive=true
coinMasterIndex=1
combatHotkey0
combatHotkey1=item spices
combatHotkey2=item dictionary
combatHotkey3
combatHotkey4
combatHotkey5
combatHotkey6
combatHotkey7
combatHotkey8
combatHotkey9
commandLineNamespace
compactChessboard=false
connectViaAddress=false
cookies.inventory
copyAsHTML=false
createHackerSummons=true
customizedTabs=true
debugBuy=false
debugConsequences=false
debugPathnames=true
defaultBorderColor=blue
defaultDropdown1=0
defaultDropdown2=5
defaultDropdownSplit=-1
defaultLimit=6
defaultLoginServer=1
displayName
displayName.christoph=Christoph
eSoluScriptType=0
externalEditor
gapProtection=false
getBreakfast=true
getBreakfast.christoph=true
grabCloversHardcore=false
grabCloversSoftcore=true
greenScreenProtection=false
grimoireSkillsHardcore=Summon Alice's Army Cards
grimoireSkillsSoftcore=all
guiUsesOneWindow=false
harvestGardenHardcore=pumpkin
harvestGardenSoftcore=pumpkin
hideServerDebugText=false
highlightList
http.proxyHost
http.proxyPassword
http.proxyPort
http.proxyUser
initialDesktop=AdventureFrame,ItemManageFrame,MallSearchFrame,OptionsFrame,CommandDisplayFrame,GearChangeFrame,SkillBuffFrame
initialFrames=LocalRelayServer
innerChatColor=\#ffa98c
innerTabColor=\#8ca9ff
itemManagerIndex=3
lastBuffRequestType=0
lastRelayUpdate=KoLmafia v14.7
lastRssUpdate=0
lastRssVersion=KoLmafia v14.7
lastUserAgent=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
lastUsername=Christoph
libramSkillsHardcore=none
libramSkillsSoftcore=none
logAcquiredItems=true
logBattleAction=true
logBrowserInteractions=false
logChatMessages=true
logCleanedHTML=false
logDecoratedResponses=false
logFamiliarActions=false
logGainMessages=true
logMonsterHealth=false
logReadableHTML=false
logReverseOrder=false
logStatGains=true
logStatusEffects=false
logStatusOnLogin=false
loginRecoveryHardcore=false
loginRecoverySoftcore=true
loginScript
loginServerName=www3.kingdomofloathing.com
loginWindowLogo=lantern.jpg
logoutScript
lucreCoreLeaderboard=false
macroDebug=false
macroLens=false
mementoListActive=false
mergeHobopolisChat=false
outerChatColor=\#b4460f
outerTabColor=\#0f46b4
pathedSummonsHardcore=true
pathedSummonsSoftcore=false
preferredWebBrowser
previousNotifyList=<><C\:\\Frank\\KoL\\KoLmafia\\Christoph\\scripts\\optimal11v2.ash><C\:\\Frank\\KoL\\KoLmafia\\Christoph\\scripts\\optimal11v3.ash><scripts\\optimal11v3.ash><scripts\\optimal11v4.ash><scripts\\snapshot-2.0.ash><scripts\\networth.ash><scripts\\snapshot-2.1.ash><scripts\\snapshot-2.2.ash><C\:\\Frank\\KoL\\KoLmafia\\Christoph\\relay\\relay_slime.ash>
previousUpdateRevision=9598
previousUpdateVersion=KoLmafia v14.7
protectAgainstOverdrink=true
proxySet=false
readManualHardcore=false
readManualSoftcore=true
relayAddsCustomCombat=true
relayAddsDiscoHelper=true
relayAddsGraphicalCLI=false
relayAddsKoLSimulator=false
relayAddsQuickScripts=false
relayAddsRestoreLinks=true
relayAddsRoundNumber=false
relayAddsUpArrowLinks=true
relayAddsUseLinks=true
relayAddsWikiLinks=false
relayAllowsOverrides=true
relayBrowserOnly=false
relayFormatsChatText=true
relayHidesJunkMallItems=false
relayMaintainsEffects=false
relayMaintainsHealth=false
relayMaintainsMana=false
relayOverridesImages=false
relaySkillButtonCount=5
relayTextualizesEffects=false
relayTrimsZapList=false
relayUsesCachedImages=false
relayUsesInlineLinks=false
relayUsesIntegratedChat=false
relayViewsCustomItems=false
removeMalignantEffects=true
saveSettingsOnSet=true
saveState
saveState.christoph= ALSO A SECRET
saveStateActive=true
scriptButtonPosition=0
scriptList=restore hp | restore mp
sharePriceData=false
showAllRequests=false
showExceptionalRequests=false
statusDropdown=0
stealthLogin=true
swingLookAndFeel=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
switchEquipmentForBuffs=true
tomeSkillsHardcore=none
tomeSkillsSoftcore=Summon Snowcones
toolbarPosition=1
useChatMonitor=false
useChatToolbar=true
useContactsFrame=true
useCrimboToysHardcore=false
useCrimboToysSoftcore=true
useDecoratedTabs=true
useDockIconBadge=false
useLastUserAgent=false
useSeparateChannels=true
useShinyTabbedChat=true
useSystemTrayIcon=false
useTabbedChatFrame=true
useToolbars=true
useZoneComboBox=false
userAgent
visitLoungeHardcore=true
visitLoungeSoftcore=true
visitRumpusHardcore=true
visitRumpusSoftcore=true

Also, I've looked for itemdescs.txt in the \data subdirectory for each account, and there is no such file. So I don't know why it claimed to find 1, much less why it complained about not finding 2 of them, in the GCLI.

EDIT: By the way, when it didn't finish login, but I had the Main Interface open, I noticed it said I was level 1.
 
Last edited:
I'm thinking maybe double post will actually help in this case. The account that would not finish login was set to try www7.kingdomofloathing.com. The one that logged in successfully was set to use www3. I changed the problem child to use www3 -- changed nothing else -- and it logged right in nice & smooth.

Logged out without closing the login window. Changed it back to www7. Smooth login on server 7.

Logged out, closed the login window, leaving it set to www7. Re-launched, logged in -- and it used www4. What? The Connection tab now says to try using www4.kingdomofloathing.com.

Logged out, changed it to try www7, closed the login window.

Re-launch KoLmafia, and now it's set to try using www6.

Does this setting change for some reason? I mean, is it supposed to change?

It worked again:
Validating login server (www6.kingdomofloathing.com)...
Redirected to www7.kingdomofloathing.com...

I was going to see if renaming GLOBAL_prefs.txt helped, but I didn't need to. It just started working.
 

roippi

Developer
You'll notice above that QVamp had the issue but was set to www3.

The changing server behavior is normal. That is in fact KOL rebalancing server load. Your "default" server is in a different preference, defaultLoginServer

I'm at a loss for why it was hanging and not being redirected to another server properly, nor do I have an explanation for why fiddling with the preference made rebalancing work again.
 

parastra

New member
I've been seeing this issue every time I try and login. I tried deleting the GLOBAL_prefs.txt file and letting it be recreated, that doesn't fix the problem.

Today, I started KoLmafia (r9679) directly in a linux console window instead of launching it via MafiaUpdate, and I see that the following exception is being thrown when it hangs at the "Sending login request...." message:
Code:
Exception in thread "ConfirmedListener" java.lang.ExceptionInInitializerError
        at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCharacter.java:660)
        at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCharacter.java:538)
        at net.sourceforge.kolmafia.KoLmafia.initialize(KoLmafia.java:792)
        at net.sourceforge.kolmafia.KoLmafiaGUI.initialize(KoLmafiaGUI.java:141)
        at net.sourceforge.kolmafia.KoLmafia.login(KoLmafia.java:699)
        at net.sourceforge.kolmafia.request.LoginRequest.processLoginRequest(LoginRequest.java:425)
        at net.sourceforge.kolmafia.request.GenericRequest.handleServerRedirect(GenericRequest.java:1653)
        at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1583)
        at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1297)
        at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1188)
        at net.sourceforge.kolmafia.request.LoginRequest.run(LoginRequest.java:278)
        at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:73)
        at net.sourceforge.kolmafia.swingui.LoginFrame$LoginPanel.doLogin(LoginFrame.java:353)
        at net.sourceforge.kolmafia.swingui.LoginFrame$LoginPanel.actionConfirmed(LoginFrame.java:300)
        at net.java.dev.spellcast.utilities.ActionPanel$ConfirmedListener.run(ActionPanel.java:164)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at net.sourceforge.kolmafia.persistence.CoinmastersDatabase.registerPurchaseRequest(CoinmastersDatabase.java:275)
        at net.sourceforge.kolmafia.CoinmasterData.registerPurchaseRequests(CoinmasterData.java:350)
        at net.sourceforge.kolmafia.CoinmasterRegistry.<clinit>(CoinmasterRegistry.java:90)
        ... 16 more

I also tried starting it in a Windows console (using "java -jar KoLmafia-9679.jar") and I see the same exception when it hangs at "Sending login request..."

In both cases, if I press ESC (causing "KoLmafia declares world peace" to be displayed), then wait about 15-20 seconds, I can then press the "Login" button and either it will log in straight away or I get a "Login reattempt in 1 minute, 15 seconds..." countdown. If I don't wait 15-20 seconds, then I usually see "Too many login attempts, please wait 5 minutes and try again".

Also, once I have logged in, if I choose "General | Exit KoLmafia" from the menu (or press the system "Close" button), instead of exiting from KoLmafia, it throws the following exception and goes back to the Login window:
Code:
[ConditionalEventPump] Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: Could not initialize class net.sourceforge.kolmafia.CoinmasterRegistry
        at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCharacter.java:660)
        at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCharacter.java:538)
        at net.sourceforge.kolmafia.request.LogoutRequest.run(LogoutRequest.java:98)
        at net.sourceforge.foxtrot.AbstractWorkerThread$1.run(AbstractWorkerThread.java:40)
        at java.security.AccessController.doPrivileged(Native Method)
        at net.sourceforge.foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:36)
        at net.sourceforge.foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:199)
        at net.sourceforge.foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:182)
        at java.lang.Thread.run(Unknown Source)

If I choose "General | Exit KoLmafia" again from the Login window, then KoLmafia exits normally.
Attempting to login again at that point hangs at "Sending login request..." and produces the first exception again.

Testing with an older version (r9651), I see exactly the same exception and stack trace when trying to log in (other than a few differences in some of the line numbers):
Code:
Exception in thread "ConfirmedListener" java.lang.ExceptionInInitializerError
        at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCharacter.java:660)
        at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCharacter.java:538)
        at net.sourceforge.kolmafia.KoLmafia.initialize(KoLmafia.java:792)
        at net.sourceforge.kolmafia.KoLmafiaGUI.initialize(KoLmafiaGUI.java:141)
        at net.sourceforge.kolmafia.KoLmafia.login(KoLmafia.java:699)
        at net.sourceforge.kolmafia.request.LoginRequest.processLoginRequest(LoginRequest.java:425)
        at net.sourceforge.kolmafia.request.GenericRequest.handleServerRedirect(GenericRequest.java:1646)
        at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1576)
        at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1288)
        at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1179)
        at net.sourceforge.kolmafia.request.LoginRequest.run(LoginRequest.java:278)
        at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:73)
        at net.sourceforge.kolmafia.swingui.LoginFrame$LoginPanel.doLogin(LoginFrame.java:353)
        at net.sourceforge.kolmafia.swingui.LoginFrame$LoginPanel.actionConfirmed(LoginFrame.java:300)
        at net.java.dev.spellcast.utilities.ActionPanel$ConfirmedListener.run(ActionPanel.java:164)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at net.sourceforge.kolmafia.persistence.CoinmastersDatabase.registerPurchaseRequest(CoinmastersDatabase.java:275)
        at net.sourceforge.kolmafia.CoinmasterData.registerPurchaseRequests(CoinmasterData.java:348)
        at net.sourceforge.kolmafia.CoinmasterRegistry.<clinit>(CoinmasterRegistry.java:90)
        ... 16 more

Probably unrelated, but I've also been seeing the GUI stuck in gray mode issue in all the builds I've tried since r9651. Unfortunately since MafiaUpdate overwrites the .jar file each time it downloads a new build, I can't say for certain exactly which ones I've tried, other than to confirm that it still happens in r9679. I have to go back to r9651 if I want to do any automated adventuring at all.
 

slyz

Developer
That's strange. Line 660 of KoLCharacter.java is
PHP:
CoinmasterRegistry.reset();
and CoinmasterRegistry.reset() is simply
PHP:
public static void reset()
{
	// Nothing to do, but calling this will run the static
	// initialization the first time this class is accessed.
}

Does this mean something is up with the static part of CoinmasterRegistry?
 

xKiv

Active member
Code:
java.lang.NoClassDefFoundError: Could not initialize class net.sourceforge.kolmafia.CoinmasterRegistry

That probably happens because static initialization of CoinmasterRegistry throws an exception.


Static initialization of CoinmasterRegistry ... creates CoinmasterData for all known coinmasters and calls registerPurchaseRequests on each of them
... which in turn calls CoinmastersDatabase.registerPurchaseRequest for each item buyable from that coinmaster
... which tries to get a concotion for that item (Concoction concoction = ConcoctionPool.get( itemId ); ) and operates on that
line 275 is the first operation on that concoction (if ( concoction.getMixingMethod() == KoLConstants.NOCREATE )), so that's probably what's null. Which probably happens for items that don't exist in mafia's item database yet.

Is today a traveling trader day? Did any new item appear in any of the coinmasters? Does parastra have stale data override files (but how?)?
Was there any coinmaster item added to mafia with ID less than 1 or greater than ItemDatabase.maxItemId()? (that's the only items that are initialized in ConcoctionPool ... and item with ID less than 1 wouldn't even get added to the cache from which ConcoctionPool.get() takes them)
 
Last edited:

parastra

New member
Does parastra have stale data override files (but how?)?)

I don't think so, but how do I check? All the files in my data directory are dated "26/7/2011 6:01 PM" except for itemflags.txt and mallprices.txt which appear to have been updated half an hour ago when I last logged in. Am I looking in the right place?
 

slyz

Developer
The data files are supposed to be internal (except itemflags.txt and mallprices.txt). What files do you have in your data folder exactly, and how did they get there?

Try deleting all the files in your data folders that are in this list (except the two mentioned above).
 

parastra

New member
What files do you have in your data folder exactly, and how did they get there?

Try deleting all the files in your data folders that are in this list (except the two mentioned above).

That did it! Thank you!

Other than itemflags.txt and mallprices.txt there were 4 files from that list in the data folder: equipment.txt, modifiers.txt, statuseffects.txt and tradeitems.txt
Deleting those 4 not only fixed my login issues, but now the close button and "Exit KoLmafia" menu item are once again working correctly.

The rest of the files in that folder were data files for Bumcheekcity's profile script, Bale's OCD Inventory Control, Bale's Autorecovery, and a vars_Parastra.txt file which has some settings for the slimetube script, the OCD script, etc.

I would guess that the old data files were in there because I play on 3 different computers and I copy the KoLmafia folder between them using scp.
At some point I've no doubt copied everything to a machine that had files from an older version of KoLMafia, and when I copied it back again, the old files came along as well.

Thanks again for your help!
 

Theraze

Active member
If you find that computer and mafia still runs on it (but it has those files), you can kill them from within mafia with this command:
update clear

Of course, mafia has to be able to run for that... but worst case, you can run the gCLI before logging in from the drop down menu, type that in, restart mafia, and all should be fixed!
 

roippi

Developer
Going to mark this cannot reproduce for now. I suspect that there was a transient problem with an individual login server causing the original report. This probably shouldn't be a catch-all thread for "can't log in" problems.
 

vinoven

New member
I had a similar issue today, and a google search for (Exception in thread "ConfirmedListener" java.lang.ExceptionInInitializerError) led me here. The only files in that list I had in my data dir were mallprices and itemflags, and removing those solved it.
 
Top