Histórico de Curtidas
-
worthdavi recebeu reputação de Johncore em [TFS 1.3] Otg Server Global - 12.85 (Updates Diarios)Seria essa mais uma tentativa de melhorar a comunidade que se tornou o chernobyl da programação? Veremos!
rep+
-
worthdavi recebeu reputação de QuebradaZN em [TFS 1.3] Otg Server Global - 12.85 (Updates Diarios)Seria essa mais uma tentativa de melhorar a comunidade que se tornou o chernobyl da programação? Veremos!
rep+
-
worthdavi recebeu reputação de Chriistian em [PEDIDO] SCRIPT DE DAR ITENS PARA TODOS OS PLAYERS ONLINE 1.0Em talkactions.xml
<talkaction words="/giveitem" separator=" " script="giveitem.lua" />
Em giveitem.lua
function onSay(player, words, param) if not player:getGroup():getAccess() or player:getGroup():getId() < 6 then return true end if param == "" then player:sendCancelMessage("Invalid parameter.") return false elseif not tonumber(param) then player:sendCancelMessage("Invalid parameter. Parameter must be a number.") return false end local id = param local item = ItemType(id) if item then for _, c in pairs(Game.getPlayers()) do if c then c:addItem(id, 1) c:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You received a " .. ItemType(id):getName() .. ".") end end else player:sendCancelMessage("Item with this id does not exist.") return false end return false end
Só usar o comando /giveitem id
-
worthdavi recebeu reputação de Cat em [PEDIDO] SCRIPT DE DAR ITENS PARA TODOS OS PLAYERS ONLINE 1.0Qual script tu tá usando? E como tá o talkactions.xml? Acabei não entendo nada que vocês falaram.
Me responde isso que resolvo seu problema.
-
worthdavi recebeu reputação de Pedro. em [TFS 1.3] Otg Server Global - 12.85 (Updates Diarios)Seria essa mais uma tentativa de melhorar a comunidade que se tornou o chernobyl da programação? Veremos!
rep+
-
worthdavi deu reputação a Johncore em [TFS 1.3] Otg Server Global - 12.85 (Updates Diarios)Open Source MMORPG emulador de Tibia escrito em C++.
Servidor Global 12.85 Oficial para o Tibiaking!
Baseado no TFS 1.3
Novidades!
- Protocolo 12.85
- Bestiary
- Charms
- Boosted Creature
- Quick Loot
- Supply Stash
- Event Schedule
- GLOBAL MAP FULL
- Quests com Quest Log 100%
- Bounac
- Wherehyenas
- Mirrored Nightmare
Imagens :
THAIS TEMPLE
Downloads
Servidor + Database + Source:
»» PROJETO OFFICIAL:
https://github.com/otg-br/global1285
GRUPO WHATSAPP OTG SERVER:
https://chat.whatsapp.com/EWV3dVvS6nt1em7q23FGu7
Créditos :
The Forgotten Server
Otg contribuidores
Johncore
Erick Nunes
Mattyx
Cjaker
Leu
Marson Schneider
Rafhael Oliveira
-
worthdavi recebeu reputação de lusgo em Anunciar quem Matou um MonstroComo você registra o script no próprio XML do monstro, então acho que não é preciso usar o nome dos mesmos no script.
function onDeath(monster, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) Game.broadcastMessage("O jogador " .. killer:getName() .. " matou o monstro " .. monster:getName() .. "!") return true end
Essa função simplesmente já faz o trabalho, já que os monstros vão ser inseridos no script por meio do XML.
-
worthdavi recebeu reputação de Cat em (Resolvido)[TFS1.3] Outfit ao matar certo monstrolocal config = { addon_name = "Percht Raider", addon_male = 1162, addon_female = 1161 } function onKill(creature, target) local player = creature:getPlayer() if not player then return true end local targetMonster = target:getMonster() if not targetMonster then return true end if targetMonster:getName():lower() == 'the percht queen' then for pid, _ in pairs(targetMonster:getDamageMap()) do local attackerPlayer = Player(pid) if attackerPlayer:hasOutfit(config.addon_male) or attackerPlayer:hasOutfit(config.addon_female) then attackerPlayer:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You already got this oufit.") else attackerPlayer:addOutfitAddon(config.addon_male, 3) attackerPlayer:addOutfitAddon(config.addon_female, 3) attackerPlayer:getPosition():sendMagicEffect(29) attackerPlayer:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Addon " .. config.addon_name .. " adicionado!!") end end end return true end
-
worthdavi recebeu reputação de Cat em (Resolvido)[TFS1.3] Outfit ao matar certo monstroEm creaturescripts.xml:
<event type="kill" name="killingPercht" script="nomedoarquivo.lua"/> Em data/creaturescripts/scripts/others/login.lua, na tabela local events, adicionar:
'killingPercht',
-
worthdavi recebeu reputação de Bruxo Ots em (Resolvido)[TFS1.3] Outfit ao matar certo monstroEm creaturescripts.xml:
<event type="kill" name="killingPercht" script="nomedoarquivo.lua"/> Em data/creaturescripts/scripts/others/login.lua, na tabela local events, adicionar:
'killingPercht',
-
worthdavi recebeu reputação de Toruk em (Resolvido)[TFS1.3] Outfit ao matar certo monstroEm creaturescripts.xml:
<event type="kill" name="killingPercht" script="nomedoarquivo.lua"/> Em data/creaturescripts/scripts/others/login.lua, na tabela local events, adicionar:
'killingPercht',
-
worthdavi recebeu reputação de L3K0T em Anunciar quem Matou um MonstroComo você registra o script no próprio XML do monstro, então acho que não é preciso usar o nome dos mesmos no script.
function onDeath(monster, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) Game.broadcastMessage("O jogador " .. killer:getName() .. " matou o monstro " .. monster:getName() .. "!") return true end
Essa função simplesmente já faz o trabalho, já que os monstros vão ser inseridos no script por meio do XML.
-
worthdavi recebeu reputação de Chriistian em [Event] Battlefield for 4 teams, fully working!O evento é feito por mim e usado em diversos servidores por aí afora.
Consiste em uma guerra automática que divide todos os participantes em quatro times, sendo todos contra. Espero que gostem.
Para bloquear a troca de outfit dentro do evento, em player.cpp, depois de:
C++: if (outfit->premium && !isPremium()) { return false; }
... cole isso:
C++: int32_t value; if (getStorageValue(81723, value)){ sendTextMessage(MESSAGE_EVENT_ADVANCE, "You cannot change your outfit inside the Battlefield."); return false; } Battlefield (4 teams version).zip
-
worthdavi recebeu reputação de L3K0T em [Event] Battlefield for 4 teams, fully working!O evento é feito por mim e usado em diversos servidores por aí afora.
Consiste em uma guerra automática que divide todos os participantes em quatro times, sendo todos contra. Espero que gostem.
Para bloquear a troca de outfit dentro do evento, em player.cpp, depois de:
C++: if (outfit->premium && !isPremium()) { return false; }
... cole isso:
C++: int32_t value; if (getStorageValue(81723, value)){ sendTextMessage(MESSAGE_EVENT_ADVANCE, "You cannot change your outfit inside the Battlefield."); return false; } Battlefield (4 teams version).zip
-
worthdavi deu reputação a Bruxo Ots em [Event] Battlefield for 4 teams, fully working!Você é simplismente o melhor Davi san.
-
worthdavi recebeu reputação de Jeff Delay em [Event] Battlefield for 4 teams, fully working!O evento é feito por mim e usado em diversos servidores por aí afora.
Consiste em uma guerra automática que divide todos os participantes em quatro times, sendo todos contra. Espero que gostem.
Para bloquear a troca de outfit dentro do evento, em player.cpp, depois de:
C++: if (outfit->premium && !isPremium()) { return false; }
... cole isso:
C++: int32_t value; if (getStorageValue(81723, value)){ sendTextMessage(MESSAGE_EVENT_ADVANCE, "You cannot change your outfit inside the Battlefield."); return false; } Battlefield (4 teams version).zip
-
worthdavi recebeu reputação de Bruxo Ots em [Event] Battlefield for 4 teams, fully working!O evento é feito por mim e usado em diversos servidores por aí afora.
Consiste em uma guerra automática que divide todos os participantes em quatro times, sendo todos contra. Espero que gostem.
Para bloquear a troca de outfit dentro do evento, em player.cpp, depois de:
C++: if (outfit->premium && !isPremium()) { return false; }
... cole isso:
C++: int32_t value; if (getStorageValue(81723, value)){ sendTextMessage(MESSAGE_EVENT_ADVANCE, "You cannot change your outfit inside the Battlefield."); return false; } Battlefield (4 teams version).zip
-
worthdavi recebeu reputação de William Ferreira em [Event] Battlefield for 4 teams, fully working!O evento é feito por mim e usado em diversos servidores por aí afora.
Consiste em uma guerra automática que divide todos os participantes em quatro times, sendo todos contra. Espero que gostem.
Para bloquear a troca de outfit dentro do evento, em player.cpp, depois de:
C++: if (outfit->premium && !isPremium()) { return false; }
... cole isso:
C++: int32_t value; if (getStorageValue(81723, value)){ sendTextMessage(MESSAGE_EVENT_ADVANCE, "You cannot change your outfit inside the Battlefield."); return false; } Battlefield (4 teams version).zip
-
worthdavi recebeu reputação de ITALOx em [Event] Battlefield for 4 teams, fully working!O evento é feito por mim e usado em diversos servidores por aí afora.
Consiste em uma guerra automática que divide todos os participantes em quatro times, sendo todos contra. Espero que gostem.
Para bloquear a troca de outfit dentro do evento, em player.cpp, depois de:
C++: if (outfit->premium && !isPremium()) { return false; }
... cole isso:
C++: int32_t value; if (getStorageValue(81723, value)){ sendTextMessage(MESSAGE_EVENT_ADVANCE, "You cannot change your outfit inside the Battlefield."); return false; } Battlefield (4 teams version).zip
-
worthdavi recebeu reputação de Cat em [Event] Battlefield for 4 teams, fully working!O evento é feito por mim e usado em diversos servidores por aí afora.
Consiste em uma guerra automática que divide todos os participantes em quatro times, sendo todos contra. Espero que gostem.
Para bloquear a troca de outfit dentro do evento, em player.cpp, depois de:
C++: if (outfit->premium && !isPremium()) { return false; }
... cole isso:
C++: int32_t value; if (getStorageValue(81723, value)){ sendTextMessage(MESSAGE_EVENT_ADVANCE, "You cannot change your outfit inside the Battlefield."); return false; } Battlefield (4 teams version).zip