
Tudo que Celulose postou
-
(Resolvido)Colocar Level Para Usar Essa Scroll
function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) >= 1 then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTENOUGHLEVEL) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return true end if getVocationInfo(getPlayerVocation(cid)).name == "Madara" then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Voce ja é um madara!") else doPlayerSetVocation(cid, 210) doCreatureSay(cid, "Madara Owns!!", 19) doSendMagicEffect(getCreaturePosition(cid), 224) doCreatureChangeOutfit(cid, {lookType = 368}) if getPlayerStorageValue(cid, 5) < 1 then setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+100) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+100) setPlayerStorageValue(cid, 5, 1) end setPlayerStorageValue(cid, 16200, 1) setPlayerStorageValue(cid, 300, (getPlayerVocation(cid))) doRemoveItem(item.uid) end return TRUE end
-
Tutorial 2 em 1 - Magic e Shoot Effects
@Maickao Jackson Está correto sua forma. Na otx falta apenas um arquivo para completar. em spectators.h procura por void sendMagicEffect(const Position& pos, uint8_t type) deixa assim void sendMagicEffect(const Position& pos, uint16_t type) Mesma coisa com o distanceshoot @isac001 você também. @KotZletY caso queira atualizar TÓPICO para colocar em otx.
-
Senzu/Cura Usando varias vezes
coloca a mesma storage que ele não vai usar
-
Como dar extented cliente sem dll
@ZoR Eu sei uai , foi oque falei .
-
Como dar extented cliente sem dll
@TheFabian567 Não , porém se quiser enviar o .exe , quando eu tiver um tempinho faço ...
-
Como dar extented cliente sem dll
Da pra extended sim, porém precisa alterar algumas função usando ollydbg
-
Premium Account
actions. <action itemid="1027" event="script" value="premium.lua"/>
-
Dropar item so se tiver determinada storage
@maicao22 No caso seria apenas 1 criatura ? e seria apenas um player que teria essa storage ?
-
Premium Account
@Ricardo Tibia function onUse(cid, item, frompos, item2, topos) if item.itemid == 1027 then local playerpos = getCreaturePosition(cid) doRemoveItem(item.uid,1027) doPlayerAddPremiumDays(cid, 10) doSendMagicEffect(playerpos, 34) doPlayerSendTextMessage(cid,22,"Voce recebeu 10 dias de premium account.") end end
-
(Resolvido)ITEM+Outfit
function onUse(cid, item, fromPosition, itemEx, toPosition) if item.itemid == 7379 and (getPlayerStorageValue(cid, 8002) == EMPTY_STORAGE) then doPlayerAddOutfitId(cid, 44, 3) setPlayerStorageValue(cid, 8002, 1) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE) doPlayerSendTextMessage(cid,22,"Congratulations, you have received the Outfit!") doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid,"You have already received this outfit!.") end end outfits.xml <outfit id="44" premium="no" default="0"> <list gender="0-3" lookType="264" name="Brutetamer"/> </outfit>
-
[support c++] Almentar Limite de skills
Você precisa deixar na source em 16... e alterar no client , apenas com alterações bem complexa.
-
EMOTED ON/OFF SPELLS TFS 0.4 AJUDA
- [System] Trade Points
- war system erro
@Emooooo Você está usando com o leader né ? Está funcional- (Resolvido)Erro Na Sourcer OT Caindo [AJUDA]
protocolgame.cpp @KR3 Compila e testa ? --------------------- Existe uma falha , no qual os veado anda derrubando os game com programas Acredito que nem todos sabia disso No caso dele acima não posso falar que é isso . Porém caso vocês quiser corrigir. - Procure por msg.skip(6) em protocolgame.cpp adiciona if(!IOLoginData::getInstance()->playerExists(character)) { disconnectClient(0x14, "This character does not exist."); return; } Fix.- (Resolvido)Erro Na Sourcer OT Caindo [AJUDA]
Quando ocorrer esse ataque você deve verificar , se o site cai tambem , deve usar o comando top e verificar quando % ta usando de mysql ,cpu, memoria entre outros .- (Resolvido)Erro Na Sourcer OT Caindo [AJUDA]
@KR3 Vai fecha um game por causa disso ? Meu deus. Posta seu protocolgame.cpp e game.cpp .- PZ locked magic wall tfs 1.3
Posta o script ..- Erro> WARNING: max_allowed_packet might be set too low for binary map storage. [21/4/2019 22:53:39] Use the following query to raise max_allow_packet: SET GLOBAL max_allowed_packet = 16776192;
abre o phpmyadmin (se você usa mysql) e adiciona em sql ! SET GLOBAL max_allowed_packet = 16776192;- (Resolvido)Porque meu código não funciona?
function onUse(cid, item, itemEx, toPosition, fromPosition) if getPlayerLevel(cid) >= 8 then doPlayerAddItem(cid, 2160, 100) setPlayerStorageValue(cid, 32504, 1) doPlayerSendTextMessage(cid, 22, 'Você recebeu o seu item.') elseif getPlayerLevel(cid) <= 8 then doPlayerSendTextMessage(cid, 22, 'Você recebeu o seu item.') end return true end- [Pedido] Gesior Pagamento Automatico
Tem que da uma procurada.. Usei 1 ano e meio esse ai está 100%. Paypal tem no fórum , porém é via IPN .- (Resolvido)Script de Anuncio
@ITALOx isso é erro do forum só você editar no seu arquivo.lua ...- (Resolvido)Script de Anuncio
@ITALOx local config = { storage = 19400, -- storage em que será salvo o tempo cor = "green", -- de acordo com o constant.lua da lib tempo = 60, -- em segundos itemid = 2159, --item que sera removido price = 1, -- quantidade de item que sera removido level = 1000 -- level necessario para poder utilizar o comando. } function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end if getPlayerLevel(cid) >= config.level then if getPlayerStorageValue(cid, config.storage) - os.time() <= 0 then if doPlayerRemoveItem(cid, config.itemid, config.price) then setPlayerStorageValue(cid, config.storage, os.time() + (config.tempo*1)) doBroadcastMessage(""..getCreatureName(cid).." [ANUNCIO]: "..param.."", config.cor) doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Vc Falo Com Sucesso " ..config.tempo.. " second(s) espere.") else doPlayerSendCancel(cid, "Você precisa " ..config.price.. " Scarab Coins para falar novamente no Anuncio.") return true end else doPlayerSendCancel(cid, "Você Falo no Anuncio " ..(getPlayerStorageValue(cid, config.storage) - os.time()).. " seconds Espere.") return true end else doPlayerSendCancel(cid, "You have to be level " ..config.level.. " or more in order to use broadcast.") end return true end- Item que dá Outfit
troca doPlayerAddOutfit por player:addOutfit @floW Deveria ficar assim function onUse(player, item, fromPosition, target, toPosition, isHotkey) player:setStorageValue(18101, 1) item:remove(1) if player:getSex() == PLAYERSEX_FEMALE then player:addOutfit(289) else player:addOutfit(288) end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Você adquiriu a outfit Demonhunter.') return true end ou function onUse(player, item, fromPosition, target, toPosition, isHotkey) player:setStorageValue(18101, 1) item:remove(1) player:addOutfit(player:getSex() == PLAYERSEX_MALE and 289 or 288) end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Você adquiriu a outfit Demonhunter.') return true end- Ajuda com as texturas
Extended ... deixa o seu obj Estendido.. e testa
Informação Importante
Confirmação de Termo