opentibiabr / otservbr-global-archived

Archived, read-only repository. New repository: https://github.com/opentibiabr/otservbr-global
GNU General Public License v2.0
330 stars 331 forks source link

FEATURE: Autoloot option on config.lua #2432

Closed leonardoelias300 closed 3 years ago

leonardoelias300 commented 3 years ago

Option to enable an autoloot system when the player kill a monster, using the QuickLoot whitelist/ignore list already implemented or a function doPlayerQuickLoot to call from a script using the onKill method, replacing the need to click on the dead corpse.

oualid6496 commented 3 years ago

@leonardoelias300 Is that the same as real tibia? Haven't played it in a long time but I don't think it is. If it indeed isn't then that's more a suggested feature then missing content.

leonardoelias300 commented 3 years ago

_

@leonardoelias300 Is that the same as real tibia? Haven't played it in a long time but I don't think it is. If it indeed isn't then that's more a suggested feature then missing content.

_ I haven't played the real tibia in a long time too, only OT. I changed the title but idk how to change the tag. I'm trying to figure out how to do it without changing the source code but haven't got success yet. A call function doPlayerQuickLoot to call the void Game::internalQuickLootCorpse would come in handy. Its a content on most OT servers but I really don't know if its present on real tibia since the engine is kinda diffrent. At this time, the player needs to press [ Alt ] + [ Mouse Click ] on dead corpse to send a opCode to server to activate the QuickLoot.

henriquesameshima commented 3 years ago

Tibia Global doesn't have this automatic quick loot function. It would be a feature that could be implemented.

hyresu commented 3 years ago

This was added before and removed as well because it isn't a global feature, this is custom and if you want to add it use this link

https://forums.otserv.com.br/index.php?/forums/topic/169047-tfs-13-autoloot-modal-window/