{"action":"created","issue":{"url":"https://api.github.com/repos/Mudlet/Mudlet/issues/545","repository_url":"https://api.github.com/repos/Mudlet/Mudlet","labels_url":"https://api.github.com/repos/Mudlet/Mudlet/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/Mudlet/Mudlet/issues/545/comments","events_url":"https://api.github.com/repos/Mudlet/Mudlet/issues/545/events","html_url":"https://github.com/Mudlet/Mudlet/issues/545","id":218580516,"number":545,"title":"setExit, setExitStub, queryRoomExits - fix inconsistency in direction parameters and returned names","user":{"login":"vadi2","id":110988,"avatar_url":"https://avatars2.githubusercontent.com/u/110988?v=3","gravatar_id":"","url":"https://api.github.com/users/vadi2","html_url":"https://github.com/vadi2","followers_url":"https://api.github.com/users/vadi2/followers","following_url":"https://api.github.com/users/vadi2/following{/other_user}","gists_url":"https://api.github.com/users/vadi2/gists{/gist_id}","starred_url":"https://api.github.com/users/vadi2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadi2/subscriptions","organizations_url":"https://api.github.com/users/vadi2/orgs","repos_url":"https://api.github.com/users/vadi2/repos","events_url":"https://api.github.com/users/vadi2/events{/privacy}","received_events_url":"https://api.github.com/users/vadi2/received_events","type":"User","site_admin":false},"labels":[{"id":573838665,"url":"https://api.github.com/repos/Mudlet/Mudlet/labels/low","name":"low","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-31T18:27:58Z","updated_at":"2017-03-31T18:28:03Z","closed_at":null,"body":"setExit() accepts a number or a short direction name (like \"e\", \"ne\")\nsetExitStub() accepts a number as direction\ngetRoomExits() returns a long direction name (like \"east\", \"north\")\nconnectExitStub() is even more bizarre, it does not work with 2 arguments as stated in manual as well\nsetDoor() and getDoors() requires and returns direction in short form (\"e\", \"ne\")\n\nAlso writing scripts for non-english mud is painful as I have to maintain 3 name mappings just for directions... translating in one or another way.\n\nspeedwalk also outputs short directions and I have to translate them into correct ones (and why up and down was not shortened as well?).\n\nIs it possible to make it consistent and more friendly? Make it all english short names for example or numbers everywhere (less friendly IMHO)?\n\nMudlet: 2.1\n\nLaunchpad Details: [#LP1114594](https://bugs.launchpad.net/bugs/1114594) Garagoth - 2013-02-03 20:44:48 +0000"},"comment":{"url":"https://api.github.com/repos/Mudlet/Mudlet/issues/comments/290791436","html_url":"https://github.com/Mudlet/Mudlet/issues/545#issuecomment-290791436","issue_url":"https://api.github.com/repos/Mudlet/Mudlet/issues/545","id":290791436,"user":{"login":"vadi2","id":110988,"avatar_url":"https://avatars2.githubusercontent.com/u/110988?v=3","gravatar_id":"","url":"https://api.github.com/users/vadi2","html_url":"https://github.com/vadi2","followers_url":"https://api.github.com/users/vadi2/followers","following_url":"https://api.github.com/users/vadi2/following{/other_user}","gists_url":"https://api.github.com/users/vadi2/gists{/gist_id}","starred_url":"https://api.github.com/users/vadi2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadi2/subscriptions","organizations_url":"https://api.github.com/users/vadi2/orgs","repos_url":"https://api.github.com/users/vadi2/repos","events_url":"https://api.github.com/users/vadi2/events{/privacy}","received_events_url":"https://api.github.com/users/vadi2/received_events","type":"User","site_admin":false},"created_at":"2017-03-31T18:28:03Z","updated_at":"2017-03-31T18:28:03Z","body":"1. roomId, roomId - not working and not sure how it could guess direction (by coordinate difference?)\n2. roomId, roomId, direction - not working (is working fine im 2.1)\n3. roomId, direction - working, but first invocation does not connect anything. Second, same, does connect. Seems very unreliable... does it scan whole map in given direction?\n\nFor me it is regression. Any chance of fixing this or should I start rewriting code to use setExit() ?\nOr, if 1 and 3 are impossible to implement properly anyway and setExit() removes stubs anyway, what is the reason for this function then?\n\n\nLaunchpad Details: [#LPC](https://bugs.launchpad.net/mudlet/+bug/1114594/comments/7) Garagoth - 2017-01-06 22:02:27 +0000"}}
{"actor":{"display_login":"vadi2"}}