← Back to team overview

mudlet-makers team mailing list archive

[Bug 883075] Re: Error in error message in TLuaInterpreter.cpp

 

Thanks for reporting. I've fixed the example on the wiki and attached a
patch here for the sources.

** Changed in: mudlet
       Status: New => Confirmed

** Changed in: mudlet
   Importance: Undecided => Low

** Patch added: "fix bug 883075.diff"
   https://bugs.launchpad.net/mudlet/+bug/883075/+attachment/2577094/+files/fix%20bug%20883075.diff

** Changed in: mudlet
     Assignee: (unassigned) => Vadim Peretokin (vperetokin)

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/883075

Title:
  Error in error message in TLuaInterpreter.cpp

Status in Mudlet the MUD client:
  Confirmed

Bug description:
  Mudlet version: latest git pull
  OS:  Linux 2.6.39 i686 (ARCH)

  In TLuaInterpreter.cpp, in function setCustomEnvColor (line 5828), in case of passing incorrect arguments, error message says: 
  <setRoomCoordinates: wrong argument type>

  Caused me a hell of confusion!
  Also, in documentation there is:
  setCustomEnvColor(environmentID, r,g,b)

  while now this function requires 5 arguments (alpha at the end)
  This causes example to stop working as well, as you cannot do setCustomEnvColor(id, unpack(...), alpha)

  Regards,
  Garagoth.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/883075/+subscriptions


References