← Back to team overview

mudlet-makers team mailing list archive

[Bug 885605] [NEW] Adding special exits and querying errors

 

Public bug reported:

Mudlet version: latest git pull

addSpecialExit - adds a special exit removing first letter. Error is in src/TRoom.cpp, line 199:
 - other.insertMulti( to, cmd );
 + other.insertMulti( to, _cmd );

getSpecialExitsSwap - does not remove lock status from beginning of command. src/TLuaInterpreter.cpp, line 6940, add stripping of lock status from command as it is done in getSpecialExits function.
 - lua_pushstring( L, exit.toLatin1().data() );
 + QString exitStatus = dir.left(1);
 + QString exit = dir.remove(0,1);
 + lua_pushstring( L, exit.toLatin1().data() );

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/885605

Title:
  Adding special exits and querying errors

Status in Mudlet the MUD client:
  New

Bug description:
  Mudlet version: latest git pull

  addSpecialExit - adds a special exit removing first letter. Error is in src/TRoom.cpp, line 199:
   - other.insertMulti( to, cmd );
   + other.insertMulti( to, _cmd );

  getSpecialExitsSwap - does not remove lock status from beginning of command. src/TLuaInterpreter.cpp, line 6940, add stripping of lock status from command as it is done in getSpecialExits function.
   - lua_pushstring( L, exit.toLatin1().data() );
   + QString exitStatus = dir.left(1);
   + QString exit = dir.remove(0,1);
   + lua_pushstring( L, exit.toLatin1().data() );

  Garagoth.

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


Follow ups

References