[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2017-01-08 Thread Stephen Lyons
Currently: 3. should work with direction as one of the given strings OR numbers (1 to 12). 2. not working due to a coding bug that treats the second roomId as a direction number (and only accepts value of 1 to 12) before even spotting that there are three rather than two arguments. 1. Can't

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2017-01-06 Thread Garagoth
1. roomId, roomId - not working and not sure how it could guess direction (by coordinate difference?) 2. roomId, roomId, direction - not working (is working fine im 2.1) 3. roomId, direction - working, but first invocation does not connect anything. Second, same, does connect. Seems very

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2017-01-05 Thread Stephen Lyons
Looking at the code in TLuaInterpreter::connectExitStub(...) in the C++ code I see that it is supposed to exist in two forms: A) connectExitStub( (number)fromRoomId, (number OR string)direction) B) connectExitStub( (number)fromRoomId, (number) toRoomId, (number OR string)direction) If the

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2017-01-04 Thread Garagoth
I see this is a must have for 3.0 release. I am testing my mapper script wrote for 2.1 on 3.0-iota. Trouble that I have is with connectExitStub(). I am passing 3 arguments to it: roomId, second roomId, direction number. All I get is error message: and script execution is stopped. I am sure

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2016-07-18 Thread Stephen Lyons
Work in progress on the above, should also act on https://bugs.launchpad.net/mudlet/+bug/1097543 ** Changed in: mudlet Status: Fix Committed => In Progress ** Changed in: mudlet Assignee: Chris (chrismudlet) => Stephen Lyons (slysven) -- You received this bug notification because

Re: [Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2014-04-19 Thread Vadim Peretokin
That sounds good. -- You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. https://bugs.launchpad.net/bugs/1114594 Title: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names Status in

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2014-04-17 Thread Stephen Lyons
There is a bit of a dichotomy with the way that exit directions are treated but in the long term I think we may have to split exit directions into two groups, the normal exits which we can represent with a (short unsigned) numeric constant internally and special exits with a string representation.

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2013-12-25 Thread Chris
This has been changed so any variation of direction is now accepted for exit arguments (#,short,long names) ** Changed in: mudlet Status: New = Fix Committed ** Changed in: mudlet Milestone: None = 3.0 ** Changed in: mudlet Assignee: (unassigned) = Chris (chrismudlet) -- You

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2013-02-25 Thread Heiko
** Changed in: mudlet Importance: Undecided = Low -- You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. https://bugs.launchpad.net/bugs/1114594 Title: setExit, setExitStub, queryRoomExits - fix inconsistency in direction

[Mudlet-makers] [Bug 1114594] Re: setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names

2013-02-16 Thread Garagoth
** Description changed: setExit() accepts a number or a short direction name (like e, ne) setExitStub() accepts a number as direction getRoomExits() returns a long direction name (like east, north) connectExitStub() is even more bizarre, it does not work with 2 arguments as stated in