Wisling / tibiaauto

Tibia Auto is made to excel in the automation of various aspects of the playing the MMORPG Tibia
31 stars 16 forks source link

Add "timer" option on Auto Go/Log #56

Open felipetnh opened 8 years ago

felipetnh commented 8 years ago

It would be awesome to have a timer trigger on Auto Go/Log. Something like: From 6PM to 6:30PM, do something. That would be specially useful to force our characters to go back to the depot prior to server save. This would prevent the character to log out in the middle of the hunt and dying when it logs back on and there's a full respawn. (it happens to me quite a lot in OF)

Ideally we would have two different time triggers. One for local time (our computers) and one for the Tibia server (if possible).

What do you think? @Rebell @Wisling

dmarszk commented 8 years ago

How about a generic/virtual trigger signal? It could be triggered by python script in response to anything, including specific system time. I think implementing it wouldn't be much more complicated than additional autogo/log trigger, while adding much more possibilities.

2016-05-23 13:54 GMT+02:00 Felipe Teixeira notifications@github.com:

It would be awesome to have a timer trigger on Auto Go/Log. Something like: From 6PM to 6:30PM, do something. That would be specially useful to force our characters to go back to the depot prior to server save. This would prevent the character to log out in the middle of the hunt and dying when it logs back on and there's a full respawn. (it happens to me quite a lot in OF)

Ideally we would have two different time triggers. One for local time (our computers) and one for the Tibia server (if possible).

  • The Tibia server time would be more useful for the server save, since it might vary due to local timezones of each country.
  • The local time can be useful for other things, like going to the depot in a given time that we know a player usually logs in to kill us (has happened to me as well haha), or a time that we know that the power is going down as well (at 6PM every single day the power goes down in my friend's house, for example, and he doesn't know why).

What do you think? @Rebell https://github.com/Rebell @Wisling https://github.com/Wisling

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/Wisling/tibiaauto/issues/56

felipetnh commented 8 years ago

It would be nice, but I think most people wouldn't use it. Pretty much everyone from the forum don't like to mess with Python. In the Portuguese forum there's this guy that finds "too complicated" to just add certain coordinates to an existent script. If it were to be built in the Augo Go/Log more people would use it, in my opinion.

dmarszk commented 8 years ago

I could not care less. This isn't an autoattacking functionality but something more advanced. Don't know about you guys but if I were here to make one-click stuff for dumb people, I wouldn't do it as FOSS. If one wants to have a smart bot, he has to be smart. If one can't be arsed to understand or try something beyond activating a script (though in the end this particular thing should be as simple as loading a script and passing it a parameter or two), basic functionality is all he deserves. ;) That is why I am all for making things generic and low level, and am reluctant to doing specialized stuff. Of course, it is my very own opinion and if anybody wishes to implement this I will happily review and merge it.

W dniu poniedziałek, 23 maja 2016 Felipe Teixeira notifications@github.com napisał(a):

It would be nice, but I think most people wouldn't use it. Pretty much everyone from the forum don't like to mess with Python. In the Portuguese forum there's this guy that finds "too complicated" to just add certain coordinates to an existent script. If it were to be built in the Augo Go/Log more people would use it, in my opinion.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/Wisling/tibiaauto/issues/56#issuecomment-220981463

felipetnh commented 8 years ago

Well... That works for me too. I'm just worried because I am the one that ends up answering the questions of stupid people that don't even try to (or even search the forum) learn... ahahaha But if you could implement it the way you said and provide a list of ways to use it, it would be awesome! :D

craggles17 commented 8 years ago

Why not add the generic trigger and then supply scripts for specific requests. For this specific request we could just write the Python ourselves. Clever users can adjust as they will or use it as a template, the less able can just ask someone else to do it.

Craggles

On 23/05/2016 05:43 PM, Felipe Teixeira wrote:

Wait, what? Where's your comment? ahaha It was here one minute ago... ahaha

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Wisling/tibiaauto/issues/56#issuecomment-221027337

felipetnh commented 8 years ago

That's one way as well, @Craggles17.

By the way: do Python scripts keep running while the character is not logged in?

I mean: if I were to use a Python script to "trigger a trigger" in Auto Go/Log that would make my char go to the depot and disable Login during the server save time of the day. Would it stop the trigger when the trigger is not longer met?

dmarszk commented 8 years ago

Timer-triggered scripts should.

felipetnh commented 8 years ago

How is this going? :)