← Back to team overview

mudlet-makers team mailing list archive

[Bug 883075] [NEW] Error in error message in TLuaInterpreter.cpp

 

Public bug reported:

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.

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References