Ir para conteúdo
Banner com Efeitos

idlerpl

Membro
  • Registro em

  • Última visita

  1. Under reagiu a uma resposta no tópico: [OTC Module] Game Upgrade
  2. yuriowns reagiu a uma resposta no tópico: Postman Quest TFS 0.X Versão 7.4
  3. idlerpl postou uma resposta no tópico em Suporte Tibia OTServer
    https://github.com/Wirless/NekiroDowngrade772
  4. idlerpl postou uma resposta no tópico em OTClient
    https://www.virustotal.com/gui/file/350f2b5121318a194fe84c4a30766fd1cad70ef5cdb49dc54e6c61aa987b6ac9?nocache=1 game_upgrades.zip https://gyazo.com/512aca60b9b260f5588afe4dc03fb449 https://gyazo.com/99d4756d47dad405639818c2b9453c20
  5. yeah but cursor is sonnet 3.7 coding model that reads your entire repository plus if you set public not private it learns from the repo i have been teaching it alongspellcaster.luawith others it can easily identify TFS distro and write scripts with correct guidance example of stuff i wrote using good prompts Its funny for you to assume my lack of knowledge yet i have been building servers for over 14 years now :) gen_floor.lua gen_killmonster.lua
  6. yeah maybe eventually I will this is just for people who were stuck on XML for years and didnt wanna watch 20-60minutes videos i made one in 5 :)
  7. correct i was wrong about the function name.
  8. Under reagiu a uma resposta no tópico: [OTC] Module - game_bank
  9. Under reagiu a uma resposta no tópico: RME MAP Editor 5.8.0 update
  10. Under reagiu a uma resposta no tópico: [OTC] Module - game_fishing
  11. https://github.com/Wirless/tfs04island take from my repo
  12. https://github.com/Wirless/NekiroDowngrade772 full compiled engine everything ready login and play just follow video 7 minutes to fulyl working ots!
  13. idlerpl postou uma resposta no tópico em OTClient
    TFS 1.5 https://gyazo.com/b42464c4e3689d5d1a199e738208fb24 game_fishing (1).zip
  14. idlerpl postou uma resposta no tópico em OTClient
    . What server or website do you use as a base? TFS 1.5 What is the reason for this topic? Free module share game_bank.zip
  15. hey contact me on discord idler_pl i can help you finish this system
  16. idlerpl postou uma resposta no tópico em Remere's Map Editor
    https://github.com/wirless/OTARMEIE very crazy nobody posted this here!
  17. use onstatschange and lua table = {} to store the damage then count total damage divide it by the expereince and give correct experience to players aditionally to loot just use events monster ondroploot and add validity check there if its boosted creature to give double loot function Monster:onDropLoot(corpse) if configManager.getNumber(configKeys.RATE_LOOT) == 0 then return end local player = Player(corpse:getCorpseOwner()) local mType = self:getType() if not player or player:getStamina() > 840 then local monsterLoot = mType:getLoot() -- Generate primary loot for i = 1, #monsterLoot do local item = corpse:createLootItem(monsterLoot[i]) if not item then print('[Warning] DropLoot:', 'Could not add loot item to corpse.') end end -- Check for extra loot with 2% chance if player has specific storage value if player and player:getStorageValue(656002) > 0 and math.random(1, 100) <= 2 then --print("Extra loot generated due to 2% chance!") local secondaryLoot = mType:getLoot() -- Assume you have a method to get secondary loot for i = 1, #secondaryLoot do local item = corpse:createLootItem(secondaryLoot[i]) if not item then print('[Warning] DropLoot:', 'Could not add secondary loot item to corpse.') end end end -- Send loot message to player or party if player then local text = ("Loot of %s: %s"):format(mType:getNameDescription(), corpse:getContentDescription()) local party = player:getParty() if party then -- Broadcast to the party party:broadcastPartyLoot(text) else --player:sendTextMessage(MESSAGE_INFO_DESCR, text) --sendChannelMessage(9, TALKTYPE_CHANNEL_O, text) player:sendChannelMessage("", text, TALKTYPE_CHANNEL_O, 9) --9 is the channel ID, yours might be different if player:getStorageValue(48484848) > 0 then player:sendTextMessage(MESSAGE_INFO_DESCR, text) end end end else -- Send message about no loot due to low stamina if player then local text = ("Loot of %s: nothing (due to low stamina)"):format(mType:getNameDescription()) local party = player:getParty() if party then party:broadcastPartyLoot(text) else --sendChannelMessage(9, TALKTYPE_CHANNEL_O, text) player:sendChannelMessage("", text, TALKTYPE_CHANNEL_O, 9) --9 is the channel ID, yours might be different --player:sendTextMessage(MESSAGE_INFO_DESCR, text) if player:getStorageValue(48484848) > 0 then player:sendTextMessage(MESSAGE_INFO_DESCR, text) end end end end end

Informação Importante

Confirmação de Termo