Separate names with a comma.
Discussion in 'External Sites Discussion' started by xShteff, Sep 16, 2014.
Oh, I see, I didn't read that, sorry
Since a new tamboola™ was announced on zz not too long ago, I believe it's the right time to release something I and Diggo have been working on for the past few weeks. What is it? Well, it's pretty much a replacement for the already existing TW-Friends userscript.
After installing the script, if there's a tamboola™ running, you'll see a new counter that'll allow you to open a window from where you can send currency to your friends, see how many currency the friend sent to you and all the timestamps of him doing so.
Here's how the whole thing looks like:
Now you might ask me, "Why make something that's already there and it's working?". Well indeed the old script is indeed working (more or less), but it is coded in such way that it will send a request to the server every 2 minutes.
Why is that bad? Well imagine few hundred of people having the old script installed and sending an useless request every 2 minutes. That'll make the servers lag AND make your browser freeze at the same time every time it sends the request, and I don't think anyone wants that.
Any kind of feedback/suggestions is appreciated. Also bugs/errors/mistakes should be reported here preferably.
Script link: https://xshteff.github.io/userscripts/twbf.user.js
With the old script we could get locked out if we clicked to fast...
Is that a issue with the replacement script???
That depends on the amount of requests you send to the game, so that is indeed still possible.
Nope. That's the server flood protection. The only way of going around that is if I added a timer on the buttons that would stop you from sending eggs too fast.
This script is nice, I love the addition of the ability to see who sent on what days. That is great. However I think you should do a bit more work on it to make it more like TW-Friends in the fact that the bar item was placed in the bar not below, was less cluttered. Also the UI of the table you cannot sort columns, etc.
I would be happy to jump in and help with some of this if you are open to script contributions
Uhm, what? Which bar are you talking about?
The tw-db script does that, the default location of the tw-friends script is below the bar as well.
Ah gotcha, odd that the tw-db script doesn't do that for your but does for tw-friends
Not really odd as I didn't want any other script interfere with mine. (And I find that feature really annoying)
Contribute? Looked through the code? Did you look inside the repo? Because there's two versions. The one that I published is the minified version, which was minified for a reason (Since you mentioned "contribute" I guess you know why having minified code is better). I also have the one we worked on, which is fully documented and obviously not minified.
Well, that's just your opinion . I wanted to build an userscript that doesn't send useless requests and lets me send currency to my friends without too much trouble, and hey, that's what it is right now. I'm the kind of guy that doesn't bother "hunting" people that don't give away any currency, and just sends to everyone no matter what. Because of that, I believe it is already one step ahead. Also, it is still the first public build and it'll probably get improved over time. (If I have time, ofc)
Yes I understand minified code is better and understandable that you would do it like that. I had checked your repo but did not see the tw-best-friends script in there so the only option i had was to copy the code in the userscript and beautify it for better readability. The repository I checked was https://github.com/xShteff/TWScripts I notice you have it in it's own repository and you are correct that code is FAR better and easier to read I think I am stuck on the OOP vs Procedural when it comes to the readability as I have been in OOP land for years now
Yes but if you don't take users opinions into account you won't have many people using the script other than yourself and a few close friends, unless that is your plan Completely understand about it being a first build and please do not take it as an insult it was merely suggestions
Well, the script started under a different name, but it's still pretty close to the current one. https://github.com/xShteff/Better-TW-Friends. You could also guess which one it was
Leaving this here:
Fyi: If you want to place a marker and you're zoomed, change it to 1.0, otherwise the marker will not be precise.
very nice! I could have used this a few months ago but I now have a 5k screen and see a ton of the map Useful for a lot of people, nice work.
It's been more than one year since I released the so-called "Magic Bundle", a pack of all my userscripts (Not anymore all of them, I guess) that can be activated with a single click. Well, I looked over the code like three days ago and I was shocked... it was horrible
Well, not anymore, I guess. The "Magic Bundle" has been updated to version 2.0. How is it different? Well... it isn't really. It's pretty much the same... but different. The current code is 1000 times cleaner than the old one, it is also mostly automatised, so I'll be able to add new features to the pack without too much struggle. The button that enables/disables a feature is no longer a 1080p image that takes ages to load and it should load pretty quick, and it will have this awesome transition whenever you trigger a feature.
The notifications will no longer break whenever you get a message containing emoticons. Oh, and I've also changed that boring golden envelope image inside the actual notifications, to something that'll match the feature.
Here's how they currently look like:
Oh, I've also added a new silly feature. It's pretty much a "Neon" Experience bar, that changes color constantly. Here's how it looks like. (Such a shame I can't display animated gifs here >_>).
I haven't decided yet if I should add TWKappa, TWZoom or TW Best Friends to the Magic Bundle (TWBF will conflict with the VP counter). Any opinions/suggestions are welcome.
Install URL: https://xshteff.github.io/userscripts/magic.user.js
Hello... I have idea to script. Notification to PM, such as whisper .
PM....? You mean telegrams? Do people even use telegrams nowdays?
Ofc Shteff, we do