PDA

View Full Version : Script Not Working


Bleh
07-10-2004, 01:13 AM
i get Numerous errors when running Cosmos or the standalone Quest Share

1.)
String ["UIParent:OnUpdate"]:1: attempt to call global `FCF_onUpdate`(a nil value)

2.)

[String "....BonusActionBarFrame.lua"]:152:attempt to index global `Default_chat_frame` (a nul value)

3.)[String "Interface\frameXML\optionsframe.lua"]:29: Attempted to resgister to many Cvars.

I would like to try this UI system but the first String NEVER goes away no matter how many times i press Okay. Thanks.

sarf
07-10-2004, 09:04 AM
NOTE: Not a part of the Cosmos team.

First of all, do you have the latest version of Cosmos? What version are you using (Beta or Alpha) ? When was the last time you updated your files?

The answer to these and other questions are useful for the coders to have when they go on their bugsquashing tours through the Cosmos code.

Sarf
---
May we live long and die out. (http://www.vhemt.org/)

geowar
07-26-2004, 11:59 PM
I'm getting a dialog at startup: "[string "Interface\Cosmos\Cosmos\CosmosCommonFunctions.lau"]:21: attempt to index global "DEFAULT_CHAT_FRAME' (a nil value).

I only get it once (at startup).

Don't know when this started. I just installed the 26-July Cosmos_Alpha.

sarf
07-27-2004, 09:31 AM
Hmm... it seems someone calls the Print function before DEFAULT_CHAT_FRAME is initialized.

A quickfix would be to go to line 21 in CosmosCommunFunctions.lua and replaceDEFAULT_CHAT_FRAME:AddMessage(msg, r, g, b);withif(DEFAULT_CHAT_FRAME) then DEFAULT_CHAT_FRAME:AddMessage(msg, r, g, b); endThis should fix the problem temporarily.

Sarf
---
24 hours in a day... 24 beers in a case... coincidence?