Soge / BigWigs

Big Wigs Feenix Development
0 stars 3 forks source link

Any way to transmit the message to users beyond those ~80(?) yards? #2

Closed Cabro closed 10 years ago

Cabro commented 10 years ago

Can we use a method to receive a message/sync and send it forward? In usage with a throttle method so you don't get spammed? Maybe this will fix the occasions where you lose the Marks @ 4hm?

Soge commented 10 years ago

Hmm, that actually makes sense as to why marks go away on that fight, and why the teleport timer on Twins disappears as well. I'm not really super experienced with lua code so I don't know if it is possible. Maybe could ask some experts, @satan666 would be a good resource maybe :)

Cabro commented 10 years ago

Well it would be super easy to do, you just use recvsync function. I used it in a lot of MC scripts i redid for MC. Was just curious if you had more info.

Cabro commented 10 years ago

I'm just curious how bigwigs transmits between different clients. Is it creating a hidden channel or?

Soge commented 10 years ago

I believe so, similar to SWStats sync...maybe we could improve that for both addons since I know SWStats has problems syncing with people who are far away.

Cabro commented 10 years ago

Cool, but 1 at a time :)

Cabro commented 10 years ago

OK, I saw you used the function BigWigsLucifron:BigWigs_Message(msg) function in your Lucifron script. Can you test with 2 chars see which one sends messages further ingame? Compare to the file I uploaded (Lucifron.lua), i don't know how to use this github much really from a dev's pov, I just put it somewhere in BigWigs folder.

Cabro commented 10 years ago

Hey! Good news! I tested the range for RecvSync and it sends messages even when the others are out of visual range (I tested it in IF, i know the draw distance is bigger in raids, but i don't have another high level on another account to test with). I had 2 chars in opposite sides of Ironforge. IT SENDS IT OUT OF VISUAL RANGE! Let's make this the default method to send info to others for all the bosses!

Soge commented 10 years ago

@Cabro You are going to have to explain exactly what you did here, perhaps upload a lua file or pastebin it so I can see :)

Cabro commented 10 years ago

Ok, here's my latest version for Lucifron.lua for example. I changed everything and added a lot of things there. http://www.mediafire.com/view/9nn5qjz1l9iu69t/Lucifron.lua I took the liberty to do for the other bosses in MC except Ragnaros (too buggy lately to get accurate readings). I'm gonna edit your version of timers. Maybe add something new, who knows? One thing is for sure, this is tons better. We'll merge them later for the best BigWigs ever!