{"action":"created","issue":{"url":"https://api.github.com/repos/Sphereserver/Source-experimental/issues/147","repository_url":"https://api.github.com/repos/Sphereserver/Source-experimental","labels_url":"https://api.github.com/repos/Sphereserver/Source-experimental/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/Sphereserver/Source-experimental/issues/147/comments","events_url":"https://api.github.com/repos/Sphereserver/Source-experimental/issues/147/events","html_url":"https://github.com/Sphereserver/Source-experimental/issues/147","id":377969503,"node_id":"MDU6SXNzdWUzNzc5Njk1MDM=","number":147,"title":"Allow to travel with ships from one corner of the world to another","user":{"login":"cbnolok","id":15048996,"node_id":"MDQ6VXNlcjE1MDQ4OTk2","avatar_url":"https://avatars3.githubusercontent.com/u/15048996?v=4","gravatar_id":"","url":"https://api.github.com/users/cbnolok","html_url":"https://github.com/cbnolok","followers_url":"https://api.github.com/users/cbnolok/followers","following_url":"https://api.github.com/users/cbnolok/following{/other_user}","gists_url":"https://api.github.com/users/cbnolok/gists{/gist_id}","starred_url":"https://api.github.com/users/cbnolok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbnolok/subscriptions","organizations_url":"https://api.github.com/users/cbnolok/orgs","repos_url":"https://api.github.com/users/cbnolok/repos","events_url":"https://api.github.com/users/cbnolok/events{/privacy}","received_events_url":"https://api.github.com/users/cbnolok/received_events","type":"User","site_admin":false},"labels":[{"id":936570499,"node_id":"MDU6TGFiZWw5MzY1NzA0OTk=","url":"https://api.github.com/repos/Sphereserver/Source-experimental/labels/feature%20planned","name":"feature planned","color":"56d8bc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Sphereserver/Source-experimental/milestones/2","html_url":"https://github.com/Sphereserver/Source-experimental/milestone/2","labels_url":"https://api.github.com/repos/Sphereserver/Source-experimental/milestones/2/labels","id":3322786,"node_id":"MDk6TWlsZXN0b25lMzMyMjc4Ng==","number":2,"title":"X1","description":"First officially stable release. Ready to be safely used on servers.","creator":{"login":"cbnolok","id":15048996,"node_id":"MDQ6VXNlcjE1MDQ4OTk2","avatar_url":"https://avatars3.githubusercontent.com/u/15048996?v=4","gravatar_id":"","url":"https://api.github.com/users/cbnolok","html_url":"https://github.com/cbnolok","followers_url":"https://api.github.com/users/cbnolok/followers","following_url":"https://api.github.com/users/cbnolok/following{/other_user}","gists_url":"https://api.github.com/users/cbnolok/gists{/gist_id}","starred_url":"https://api.github.com/users/cbnolok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbnolok/subscriptions","organizations_url":"https://api.github.com/users/cbnolok/orgs","repos_url":"https://api.github.com/users/cbnolok/repos","events_url":"https://api.github.com/users/cbnolok/events{/privacy}","received_events_url":"https://api.github.com/users/cbnolok/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":44,"state":"open","created_at":"2018-05-05T12:59:46Z","updated_at":"2018-11-06T18:07:58Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-11-06T18:07:46Z","updated_at":"2018-11-06T20:01:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The current idea is to have the keywords WRAPX and WRAPY working like that:\r\nWRAPX=Xs, Xe, Xd\r\nWhere: Xs is the starting (top-most) x coordinate of the wrap line, Xe is the ending x of the wrap line and Xd is the starting (top-most) X coordinate of the destination line (at the other corner of the world) where the ship will be teleported. The end of the destination line will be Xd + (Xe - Xs).\r\nSimilar working for WRAPY. The ship will be rotated specularly after the teleport.\r\nAny better ideas?"},"comment":{"url":"https://api.github.com/repos/Sphereserver/Source-experimental/issues/comments/436388874","html_url":"https://github.com/Sphereserver/Source-experimental/issues/147#issuecomment-436388874","issue_url":"https://api.github.com/repos/Sphereserver/Source-experimental/issues/147","id":436388874,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjM4ODg3NA==","user":{"login":"GitMadKing","id":16067766,"node_id":"MDQ6VXNlcjE2MDY3NzY2","avatar_url":"https://avatars0.githubusercontent.com/u/16067766?v=4","gravatar_id":"","url":"https://api.github.com/users/GitMadKing","html_url":"https://github.com/GitMadKing","followers_url":"https://api.github.com/users/GitMadKing/followers","following_url":"https://api.github.com/users/GitMadKing/following{/other_user}","gists_url":"https://api.github.com/users/GitMadKing/gists{/gist_id}","starred_url":"https://api.github.com/users/GitMadKing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitMadKing/subscriptions","organizations_url":"https://api.github.com/users/GitMadKing/orgs","repos_url":"https://api.github.com/users/GitMadKing/repos","events_url":"https://api.github.com/users/GitMadKing/events{/privacy}","received_events_url":"https://api.github.com/users/GitMadKing/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T20:01:18Z","updated_at":"2018-11-06T20:01:18Z","author_association":"NONE","body":"Those wrapx/y should be put in sphere ini so anyone could manage\nautonomally. Think at custom maps.\nShould be put attention to diagonal sailing. X+1 Y+1 / X+1 Y-1 / X-1 Y+1 /\nX-1 Y-1.\nAlso fast sailing if is using two tiles at a time or is just going faster\nbut still with 1 tile per time.\n\n\nIl giorno Mar 6 Nov 2018, 19:54 Javier González Ondina <\nnotifications@github.com> ha scritto:\n\n> Does it need to rotate? if you get to WRAPX in the northern part of the\n> map you will be moved to the shouthern one, but you will be sailing in the\n> same direction or you will come back again to that WRAP, same for southern\n> sailing , east, west, south-east ...\n>\n> I would recommend to set WRAP MAX values to something like 30 tiles away\n> to that limit, eg; WRAPDIST=30 this will make your ship move while being at\n> X =30 or lower, X 7138 or lower for newer maps or 6114 on older ones, the\n> same 30 or 4066 for Y values. The good point on this is that people with\n> custom maps shouldn't require any additional setting since this will\n> automatically adjust the limits.\n>\n> That being said, on each ship movement should be placed 4 checks, one per\n> each direction, if you reach north a loop for all the items and chars\n> inside the ship doing a Move(DIR_S, g_MapList.GetY(m_map) -\n> g_Cfg._iWrapDist);\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/Sphereserver/Source-experimental/issues/147#issuecomment-436366988>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/APUstoChv_XIqkb-9Zx-bqliLrycPgYLks5usdr7gaJpZM4YQ_VJ>\n> .\n>\n"}}
{"actor":{"display_login":"GitMadKing"}}