View Bug Report
Bug in 2.5
Bug #: 1627
File: ShardAce
Date: 07-07-2006 09:21 AM
By: docthis
Status: Fixed
When casting a summon I get this error:

NewSA.lua :152: bad argument #2 to format (expected string got nil)

That happens because at line 150 you do:

self.Flags.summonCasting = FALSE

so the string becomes a 'nil' value before it's used. Move this line after the if..end statement and it should work fine. Final block should look like this:

elseif(self.Flags.summonCasting)then
if(self:Get("ShowMsgSum1"))then
self:SendMsg(format(self:Get("SummonMsg1"), self.Flags.summonCasting), self:Get("custChannelSum"))
end
self.Flags.summonCasting = FALSE
end

 
Menu
» Home



Stats
Files: 5
Downloads: 73,976
Favorites:

New & Updated
» BUFX
» Orbz


WOWInterface




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.