{"action":"created","issue":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/16466","repository_url":"https://api.github.com/repos/TrinityCore/TrinityCore","labels_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/16466/labels{/name}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/16466/comments","events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/16466/events","html_url":"https://github.com/TrinityCore/TrinityCore/issues/16466","id":131103883,"number":16466,"title":"[3.3.5] Core/Scripts Inconsistent behavior of OnGossiphello/sGossipSelect","user":{"login":"sirikfoll","id":11219553,"avatar_url":"https://avatars.githubusercontent.com/u/11219553?v=3","gravatar_id":"","url":"https://api.github.com/users/sirikfoll","html_url":"https://github.com/sirikfoll","followers_url":"https://api.github.com/users/sirikfoll/followers","following_url":"https://api.github.com/users/sirikfoll/following{/other_user}","gists_url":"https://api.github.com/users/sirikfoll/gists{/gist_id}","starred_url":"https://api.github.com/users/sirikfoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirikfoll/subscriptions","organizations_url":"https://api.github.com/users/sirikfoll/orgs","repos_url":"https://api.github.com/users/sirikfoll/repos","events_url":"https://api.github.com/users/sirikfoll/events{/privacy}","received_events_url":"https://api.github.com/users/sirikfoll/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Branch-3.3.5a","name":"Branch-3.3.5a","color":"188846"},{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Comp-Core","name":"Comp-Core","color":"FF6600"},{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Sub-Gossips/Texts","name":"Sub-Gossips/Texts","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"joschiwald","id":736792,"avatar_url":"https://avatars.githubusercontent.com/u/736792?v=3","gravatar_id":"","url":"https://api.github.com/users/joschiwald","html_url":"https://github.com/joschiwald","followers_url":"https://api.github.com/users/joschiwald/followers","following_url":"https://api.github.com/users/joschiwald/following{/other_user}","gists_url":"https://api.github.com/users/joschiwald/gists{/gist_id}","starred_url":"https://api.github.com/users/joschiwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschiwald/subscriptions","organizations_url":"https://api.github.com/users/joschiwald/orgs","repos_url":"https://api.github.com/users/joschiwald/repos","events_url":"https://api.github.com/users/joschiwald/events{/privacy}","received_events_url":"https://api.github.com/users/joschiwald/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-02-03T17:55:05Z","updated_at":"2016-02-04T19:45:45Z","closed_at":null,"body":"The issue happens with all npcs or GOs that trigger actions using funcions like OnGossiphello and sGossipSelect.\r\n\r\nWhat sould happen:\r\nEven if multiple player manage to use the go/gossip at same time, the action only should be executed once.\r\n\r\nWhat Happens instead:\r\nIf multiple players use the object/gossip option at the same time, all the actions linked to the function will be executed one time for each player who use it.\r\n\r\nSome Examples:\r\n- Icecrown Gunship Battle:\r\n 2 players talk with Muradin Bronzebeard(Entry: 36948), all events tied to sGossipSelect will be scheduled twice, the gunship fight will be \"duplicated\", two opposite gunship boss, duplicate Says, etc\r\n![wowscrnshot_020316_153943](https://cloud.githubusercontent.com/assets/11219553/12791414/32c22cda-ca8e-11e5-87e4-ae131cebba10.jpg)\r\n\r\n- Mimiron:\r\nMultiple players use the go_mimiron_hardmode_button(Entry: 194739) at same time, Computer texts duplicate\r\n![wowscrnshot_020316_152337](https://cloud.githubusercontent.com/assets/11219553/12791433/51a18268-ca8e-11e5-98f8-67be9a35871b.jpg)\r\n\r\n- Algalon:\r\nTwo players use the go_celestial_planetarium_access(Entry: 194628,194752), Algalon will the summoned twice and cause other bugs.\r\n![wowscrnshot_020316_153237](https://cloud.githubusercontent.com/assets/11219553/12791426/47940750-ca8e-11e5-8b8a-8a464aa060bf.jpg)\r\n\r\n- Ulduar hardmode vehicles:\r\nTwo players talk with npc_lorekeeper(Entry: 33686) multiples vehicleswill be summoned\r\nAll these can be avoided by creating a boolean variable to check if the event is already activated.\r\nBut, it would be nice if a more generic solution could be found\r\n![wowscrnshot_020316_155823](https://cloud.githubusercontent.com/assets/11219553/12792044/182dae32-ca91-11e5-9cdf-74c5d5cfe419.jpg)\r\n\r\nhash 815f43be7a0e\r\nbranch 3.3.5"},"comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/comments/180019964","html_url":"https://github.com/TrinityCore/TrinityCore/issues/16466#issuecomment-180019964","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/16466","id":180019964,"user":{"login":"joschiwald","id":736792,"avatar_url":"https://avatars.githubusercontent.com/u/736792?v=3","gravatar_id":"","url":"https://api.github.com/users/joschiwald","html_url":"https://github.com/joschiwald","followers_url":"https://api.github.com/users/joschiwald/followers","following_url":"https://api.github.com/users/joschiwald/following{/other_user}","gists_url":"https://api.github.com/users/joschiwald/gists{/gist_id}","starred_url":"https://api.github.com/users/joschiwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschiwald/subscriptions","organizations_url":"https://api.github.com/users/joschiwald/orgs","repos_url":"https://api.github.com/users/joschiwald/repos","events_url":"https://api.github.com/users/joschiwald/events{/privacy}","received_events_url":"https://api.github.com/users/joschiwald/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T19:45:44Z","updated_at":"2016-02-04T19:45:44Z","body":"try again after 8b6954e81b76f8d7c6700eaf1a8b942bebaa85a0"}}