-
Total de itens
93 -
Registro em
-
Última visita
Tudo que bilaux postou
-
boa noite, feliz a novo pra todos, saúde e paz, gostaria de saber se tem alguma dica ou algo do tipo como eu pegar um templo de um outro ot, o primeiro e o segundo andar importa ele pro mapa do meu ot ?? meu ot 8.6 qual remere melhor ou mais atual a se usar ??
-
boa noite e feliz ano novo para todos e família, muita saúde e paz, não estou conseguindo compilar está dando isso ?? configure: error: "Lua header not found." chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’: chat.cpp:1144:10: error: converting ‘false’ to pointer type ‘ChatChannel*’ [-Werror=conversion-null] return false; ^ cc1plus: all warnings being treated as errors Makefile:540: recipe for target 'chat.o' failed make[1]: *** [chat.o] Error 1 make[1]: ** Esperando que outros processos terminem. mv -f .deps/container.Tpo .deps/container.Po
-
creatureevent Death System 2016 versão frag consecutivo!
tópico respondeu ao Yan Liima de bilaux em Globalevents e Spells
não achei na soruces - tfs 0.4, não lembro rev q é a minha, tem como eu algum arquivo da source eu descobrir ?? int32_t LuaInterface::luaDoPlayerSendToChannel(lua_State* L)- 18 respostas
-
- death system
- 2016
-
(e 2 mais)
Tags:
-
boa tarde, estava normal o ot, eu dei um renicio, quando fui logar o boneco apareceu isso, já resolvi...
-
bom dia, como faz pra isso aparecer em um canal específico com o nome deitados ou no serv log, atualmente aparece no defautl, obrigado function onDeath(cid, corpse, deathList) if not isPlayer(cid) then return true end local killer = deathList[1] if isMonster(killer) then doBroadcastMessage(getCreatureName(cid).." [Level: "..getPlayerLevel(cid).."] foi morto pelo monstro "..getCreatureName(killer).."." , MESSAGE_EVENT_ORANGE) elseif isPlayer(killer) then doBroadcastMessage(getCreatureName(cid).." [Level: "..getPlayerLevel(cid).."] foi morto pelo jogador "..getCreatureName(killer).." [Level: "..getPlayerLevel(killer).."].", MESSAGE_EVENT_ORANGE) end return true end function onLogin(cid) registerCreatureEvent(cid, "DeathPlayer") return true end
-
[Encerrado] Ajuda Script Frags and Death
tópico respondeu ao bilaux de bilaux em Tópicos Sem Resposta
não da erro, mais o look só aparece pra ti msm, se alguém te dar look não aparece... no xml ta assim <event type="look" name="showKD" event="script" value="KillsandDeath.lua"/> -
[Encerrado] Ajuda Script Frags and Death
tópico respondeu ao bilaux de bilaux em Tópicos Sem Resposta
msm coisa só aparece se dar look em vc msm, se dar em alguém não aparece... -
boa tarde, funciona só quando eu mesmo dou look, se dou em algum não aparece, como resolver ??? function getDeaths(cid) local query, d = db.getResult("SELECT `player_id` FROM `player_killers` WHERE `player_id` = " ..getPlayerGUID(cid)), 0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then return doPlayerSetSpecialDescription(thing.uid, '\n'.. '[Frags: ' .. getPlayerFrags(thing.uid) .. ' - Deaths: ' .. getDeaths(thing.uid) .. ']') elseif thing.uid == cid then local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end string = string..'\n'.. '[Frags: ' .. getPlayerFrags(cid) .. ' - Deaths: ' .. getDeaths(cid) .. ']' if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'\nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'\nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'\nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) end return 1 end
-
não funfa..
-
vou tentar aí, não acho isso int32_t LuaScriptInterface::luaGetResets(lua_State* L) player.h:351:18: error: ‘uint32_t Player::getResets()’ cannot be overloaded uint32_t getResets() { return resets; } ^ player.h:331:12: error: with ‘uint32_t Player::getResets()’ uint32_t getResets() { return resets } ^ player.h: In member function ‘uint32_t Player::getResets()’: player.h:331:40: error: expected ‘;’ before ‘}’ token uint32_t getResets() { return resets } ^ player.h: In member function ‘void Player::setResets(int32_t)’: player.h:352:71: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] void setResets(int32_t amount) { resets += amount; if (resets < 0) {resets = 0;} } ^ Makefile:547: recipe for target 'beds.o' failed make[1]: *** [beds.o] Error 1 make[1]: Leaving directory '********' Makefile:404: recipe for target 'all' failed make: *** [all] Error 2
-
[Encerrado] RESET LV 717217 + DEBUG ERROR - TFS 0.4
um tópico no fórum postou bilaux Tópicos Sem Resposta
boa tarde, alguém saberia se tem como, conserta isso, quando tu reseta nesse lv, tu vai jogar com a barra de skill, e vai upar da debug, ai tu tem q jogar sem a barra de skill, se teria uma forma de continuar usando ela ou desativar ela de vez ?? obrigado é algo no playercpp agora o q tem q alterar não sei... -
nem esse começo, não acha no tfs 0.4 Player.h Procure (ctrl+f) por: uint32_t level;
-
talkaction [Advanced Reset System 2.0]
tópico respondeu ao MarcelloMendes de bilaux em Actions e Talkactions
tfs 0.4 [8:57:01.417] data/talkactions/scripts/advancedResetSystem.lua:onSay [8:57:01.417] Description: [8:57:01.417] data/talkactions/scripts/advancedResetSystem.lua:192: attempt to call field 'executeQuery' (a nil value) [8:57:01.417] stack traceback: [8:57:01.417] data/talkactions/scripts/advancedResetSystem.lua:192: in function 'installReset' [8:57:01.417] data/talkactions/scripts/advancedResetSystem.lua:226: in function <data/talkactions/scripts/advancedResetSystem.lua:225> -
muito bom valeu....
-
[Encerrado] Lugar Escuro e Lugar Claro - TFS 0.4 - REMERE
um tópico no fórum postou bilaux Tópicos Sem Resposta
boa noite, eu reparei no meu ot, q tem lugares q fica claro, e outros fica escuro, tem q dar utevo gran lux, ou usa light do bot pra ficar normal, como faço pra deixar todos lugares claros, sem precisar do bot ou do utevo gran lux ??? obrigado -
[Encerrado] Monstros Mapa - tfs 0.4, tibia 8.60
um tópico no fórum postou bilaux Tópicos Sem Resposta
boa tarde galera, é o seguinte teria como eu editar um respawn de mobs do mapa sem ter q recolocar no mapa os mobs diferente, por mobs q eu criei, sem q ter editar eles no map editor ??? já consegui. -
Servidor TFS 1.3 Versão 8.6 com site Gesior
tópico respondeu ao deglorio de bilaux em Exposições (Show Off)
tfs 0.4 ?? -
boa tarde, gostaria de saber se tem como fazer o npc, vender os itens por gold ingot q no caso id 9971, mais eu gostaria tipo a pessoa traz 100 gold ingot, compra um item, traz 5000 mil outro e etc ?? <?xml version="1.0" encoding="UTF-8"?> <npc name="Items Donate" script="data/npc/scripts/itemsdonate.lua" walkinterval="0"> <health now="100" max="100"/> <look type="302" head="58" body="43" legs="38" feet="76" addons="0"/> <parameters> <parameter key="module_shop" value="1"/> <parameter key="shop_buyable" value="Otfun Rod, 7735, 10000000000;Otfun Wand, 6534, 10000000000;Otfun Arrow, 2352, 10000000000;Otfun Club, 7423, 10000000000;Otfun Axe, 7453, 10000000000;Otfun Sword, 7405, 10000000000;up helmet, 8299, 100000000;up armor, 8302, 100000000;up legs,8301,100000000;up boots,8303,100000000;up shield, 8310,100000000;supremmy holy,2270,50000000000;supremmy sd,2263,50000000000;Trap rune,2299,50000000000;Donate Vip,9003,10000000000;"/> </parameters> <parameters> <parameter key="shop_sellable" value="Enfeite Gem,2155,100000000;"/> </parameters> </npc>
-
boa tarde, galera eu vou no site e clico na aba pra ver os items donates, aparece isso Could not load items!
-
bom dia, galera algum player entrou no gesior e mandou msg na aba news archive do meu site, sem ser eu, como excluo e bloqueio só pra eu poder mandar msg lá??
-
[Resolvido] Mensagem ao pista no tile - TFS 0.4
pergunta respondeu ao bilaux de bilaux em Resolvidos
bom dia, funfou certinho, muito obrigado, reagir a isso é de rep ?? se for já te dei se não diz aonde é q eu dou valeu... -
boa noite, tem como fazer a mensagem aparecer na tela, é eu poder escolher a cor da mensagem ?? atualmente ele aparece na tela, mais em um lugar discreto, gostaria q ela aparecesse na tela só q no centro da tela e não do rodape do ui do jogo..
-
boa tarde, eu gostaria de saber como faço pra aparecer no look o dano da wand, rods e munições, igual aparece nas armas tradcionais e etc ??
-
boa tarde, tem o military rank lá e o rankx
-
boa tarde, único arquivo de look q tem lá, q eu vi pelo creaturescripts.xml é o do kills and death function getDeaths(cid) local query, d = db.getResult("SELECT `player_id` FROM `player_killers` WHERE `player_id` = " ..getPlayerGUID(cid)), 0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then return doPlayerSetSpecialDescription(thing.uid, '\n'.. '[Frags: ' .. getPlayerFrags(thing.uid) .. ' - Frags Totais: ' .. getDeaths(thing.uid) .. ']') elseif thing.uid == cid then local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end string = string..'\n'.. '[Matou: ' .. getPlayerFrags(cid) .. ' - Morreu: ' .. getDeaths(cid) .. ']' if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'\nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'\nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'\nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) end return 1 end
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.