Closed smurfix closed 8 years ago
I tested it few mins and its working good for now, but the mousedown handler needs some updates. I forgot that when i was pulling the click to split function. There should be a handler for left & right click, so on both buttons you can have binded some function. I will do that tomorow (If I dont forget :smile:). Also I will look up for all the changes.
I could have sworn I commented on this earlier today, so forgive me if this is a duplicate somehow. The fix looks request looks good -- How did you arrive at protocol changes?
Anyway, I will be merging this in the next day or two, just as soon as I can play with it a little and PepinCZ agrees with the merge.
Sorry for the delay!
Actually, you know what? Let's just do it and see what happens :)
I simply fed the original code through a jacascript formatter and compared what they now do to what they did when you copied the script. ;-)
I've been running my version for days now and didn't observe any problems.
For me works good too. But where you come to the prococol chnages? Maybe post link? Thanks!
The Javascript is strong with this one. I did that myself to write this script and it sucks
That's why I haven't done the overhaul/update yet. Since you've already sort of done the work @smurfix were there any other significant changes? Could I actually be fortunate enough that a complete update not needed?
I didn't notice any; however I only looked at the handler for packet type 16 really close.
I'll probably check the thing again during the next few days or so.
Hi, I present you with (a) a client-side protocol update, derived by inspecting the current official client (the first commit), (b) a fix to the mouse click handler (it took to splitting and then shooting, which is not quite what I want), (c) a heap of Javascript cleanup which helped me debug this code (everything else).
Please do take at least the first two commits. All of them would be nice. ;-)