Tudo que helix758 postou
-
DISTO OTX COM PROBLEMAS
Bom cara, como vc mudou de tfs para otx, algumas scripts podem mudar saco.
- Acc manager nao cria contas com numero 1
-
Script ao matar player não aparece o kill todo
@Vodkart acredito eu que esteja relacionado aqui local targetKills = (getPlayerStorageValue(cid, config.killStorageValue) > 0 and getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = (getPlayerStorageValue(cid, config.deathStorageValue) > 0 and getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = (getPlayerStorageValue(killer, config.killStorageValue) > 0 and getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = (getPlayerStorageValue(killer, config.deathStorageValue) > 0 and getPlayerStorageValue(killer, config.deathStorageValue)) + 1
-
Script ao matar player não aparece o kill todo
x
- ANTI MC [EVENTOS]
-
Script ao matar player não aparece o kill todo
@Vodkart Vodka o bug é que não sai do 3 tlgd? @login12 Rpz, eu usava tfs, aí to mudando pra Otx, só que baixei uma otx veia ai ja compilada e essa script veio bugado, ai alguem ajudou fazer-la funcionar, Porem ao matar o Player ela aparece 15:04 You owned Xoxota! You have now 1 kills! // 15:04 You owned Xoxota! You have now 2 kills! // 15:04 You owned Xoxota! You have now 3 kills! , Depois não sai mais do 3 tlgd? ja tentei de todas as formas, kkk. Obs: antes parecia 1/ 2/ 3/ 4/ 5/ 6/.....
-
Script ao matar player não aparece o kill todo
@KotZletY
-
error connection refused (10061)
Provavelmente O ip está errado, Ou a database vc colocou errado, Verifica isso aí pow
-
Script ao matar player não aparece o kill todo
Alguém da uma ajudinha aí Poha :D @Fir3element @Snowsz
-
Script ao matar player não aparece o kill todo
Galera, recentemente pedi aqui no forum para ajeitar um script de tfs para otx, Foi ajeitado, Mas porem fazendo os teste percebi que na script há um pequeno bug , ao matar vários players , Simplesmente fica frezado isso -> 15:04 You owned Xoxota! You have now 3 kills! ,, Ou seja, Deveria aparecer 1 ,2,3,4,5,6,7,8,9,10 , Etc... antes da script ser corrigida no tfs funcionava normalmente. Quem puder corrigir esse pequeno bug, Agradeço desde já. Script abaixo \/ local config = { affected = 10, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 5953, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, killerAnimation = { use = false, text = "Frag!", -- Only 9 letters! No "commands" here. color = 1 }, targetAnimation = { use = false, text = "OWNED!!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do local killer = deathList if(isPlayer(killer) == TRUE) then if getPlayerIp(cid) == getPlayerIp(killer) then return true end local targetKills = (getPlayerStorageValue(cid, config.killStorageValue) > 0 and getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = (getPlayerStorageValue(cid, config.deathStorageValue) > 0 and getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = (getPlayerStorageValue(killer, config.killStorageValue) > 0 and getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = (getPlayerStorageValue(killer, config.deathStorageValue) > 0 and getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 1) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end @Snowsz @Vodkart
-
[Script] Item ao matar um player
Aí mano brau para Tfs local config = { affected = 10, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 2152, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "Voce matou o player |TARGETNAME|!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, broadcastMessage = { use = false, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). text = "|KILLERNAME| [|KILLERLEVEL|] just killed |TARGETNAME| [|TARGETLEVEL|]!", messageClass = MESSAGE_STATUS_WARNING }, killerAnimation = { use = true, text = "MIX KILL!", -- Only 9 letters! No "commands" here. color = 144 }, targetAnimation = { use = true, text = "Morri!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do local killer = deathList if(isPlayer(killer) == TRUE) then local targetKills = math.max(0, getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = math.max(0, getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = math.max(0, getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = math.max(0, getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 5) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.broadcastMessage.use and (not config.broadcastMessage.minLevel or getPlayerLevel(cid) >= config.broadcastMessage.minLevel) and (not config.broadcastMessage.minLevelDiff or levelDiff >= config.broadcastMessage.minLevelDiff)) then broadcastMessage(formateString(config.broadcastMessage.text), config.broadcastMessage.messageClass) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end
-
Servidor não fica online(uso ip fixo)Plano de internet para Gamers
@Sepultura e aí mano brau. Esse erro ocorria antes do site? ou sempre? se não funcionava provavelmente vc abriu a porta virtual incorreto , ou até mesmo o config.lua;
-
(Resolvido)Alguém ajuda a ajeitar essa script :(
@Snowsz Funcionou!! Leks @Snowsz Boa mano,. Funcionou porem houve um bug não sei se faz parte dessa script mas acredito que sim, Se liga. 19:29 You owned Qoiqweq! You have now 3 kills! <- eu mato mais de 100 Players e só fica em 3 Kills , tlgd? deveria aumenta 4 Kill, 5 KIll, Poderia ajeitar isso
- (Resolvido)TRADUZIR ACCOUNT MANAGER
-
(Resolvido)Alguém ajuda a ajeitar essa script :(
Olá amigo, Mesmo problema. [26/11/2016 18:44:43] [Error - CreatureScript Interface] [26/11/2016 18:44:44] data/creaturescripts/scripts/deathBroadcast.lua:onDeath [26/11/2016 18:44:44] Description: [26/11/2016 18:44:45] data/creaturescripts/scripts/deathBroadcast.lua:37: bad argument #3 to 'max' (number expected, got nil) [26/11/2016 18:44:45] stack traceback: [26/11/2016 18:44:46] [C]: in function 'max' [26/11/2016 18:44:46] data/creaturescripts/scripts/deathBroadcast.lua:37: in function <data/creaturescripts/scripts/deathBroadcast.lua:29>
-
(Resolvido)Alguém ajuda a ajeitar essa script :(
Não foi cara @WhiteBubble Vc poderia me falar Qual parte eu modifico , Pq tipo quando eu copio e colo nem funciona e o bug está relacionado a essa parte Max. eu acredito. Help-m,e plx kkk
-
(Resolvido)Alguém ajuda a ajeitar essa script :(
Galera estou mudando meu ot para otx , só que na transferencia o unico bug que está ocorrendo é essa script, Alguém ajuda aí ? Segue a foto a baixo \/ Script local config = { affected = 10, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 5953, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, killerAnimation = { use = false, text = "Frag!", -- Only 9 letters! No "commands" here. color = 1 }, targetAnimation = { use = false, text = "OWNED!!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do local killer = deathList if(isPlayer(killer) == TRUE) then if getPlayerIp(cid) == getPlayerIp(killer) then return true end local targetKills = math.max(0, getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = math.max(0, getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = math.max(0, getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = math.max(0, getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 1) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end Quem poder ajudar vou agradecer
-
Criei meu mapa 8.60 com itens/paredes de versões maiores poderia me ajudar? Leia pf <3
Ai mano brau não existe paredes de versão maiores em 8.6 , Simplesmente aquela parede também pertence a mesma versão. Provalvemente vc esteja com os itens totalmente diferente saco ?
-
não juntar spear
Mas se editar o cliente, o player vai ter que usar cliente propio Né? e acredito caso ele utiliza o cliente do tibia normal quando houver 2 spear toma debug
-
não juntar spear
será que não exista uma script? para que possa colocar na enchanted spear, Que seja vip para não poder juntar.
-
não juntar spear
Onde fica esse object bluider?
-
[CTF] Capture The Flag
Funciona pra otx? doido?
-
não juntar spear
up
- Erro na hora de compilar
-
Tirem uma duvida galera
galera tirem uma duvida, se eu montar um ot Otx 1 e quiser depois colocar otx 2 ou otx 3 , Eu vou precisar mudar os scripts? ou todas otx é uma script só ?