-
Total de itens
110 -
Registro em
-
Última visita
Tudo que leandrozera postou
-
talkaction Help comando para banir player no trade
tópico respondeu ao leandrozera de leandrozera em Lixeira Pública
acho que tem como sim amigo pq vi esse sistema em um ot :s ah uma duvida seria mutar o player apenas no trade e no help isso? se for ajuda tb -
talkaction Help comando para banir player no trade
um tópico no fórum postou leandrozera Lixeira Pública
olá galerinha do Xtibia gostaria de um comando que god banisse o player do trade e do help, deixando ele sem acesso esses 2 channels alguém poderia ajudar ficarei muito agradecido! -
Olá amigos eu to com um script de addon, gostaria de deixá-lo igual do undewar... exemplo player fala !addon first mage ele ganha first addon de mage ou !addon second mage ele ganha second addon de mage. Atualmente o script ta funcionado assim exemplo !addon mage,1 ou !addon mage,2 eu tentei mudar esse paramentos 1, e o 2 para first e second, mais os player quando usa comando n ganha as addons escolhidas.. if (x[2] == '1' or x[2] == '2') then SCRIPT function onSay(cid, words, param) local femaleOutfits = { ["citizen"]={136}, ["hunter"]={137}, ["mage"]={138}, ["knight"]={139}, ["noblewoman"]={140}, ["summoner"]={141}, ["warrior"]={142}, ["barbarian"]={147}, ["druid"]={148}, ["wizard"]={149}, ["oriental"]={150}, ["pirate"]={155}, ["assassin"]={156}, ["beggar"]={157}, ["shaman"]={158}, ["norsewoman"]={252}, ["nightmare"]={269}, ["jester"]={270}, ["brotherhood"]={279}, ["demonhunter"]={288}, ["yalaharian"]={324}, ["warmaster"]={336} } local maleOutfits = { ["citizen"]={128}, ["hunter"]={129}, ["mage"]={130}, ["knight"]={131}, ["nobleman"]={132},["summoner"]={133}, ["warrior"]={134}, ["barbarian"]={143}, ["druid"]={144}, ["wizard"]={145}, ["oriental"]={146}, ["pirate"]={151}, ["assassin"]={152}, ["beggar"]={153}, ["shaman"]={154}, ["norsewoman"]={251}, ["nightmare"]={268}, ["jester"]={273}, ["brotherhood"]={278}, ["demonhunter"]={289}, ["yalaharian"]={325}, ["warmaster"]={335}, ["wayfarer"]={366} } local msg = {"Command requires GOOD param!", "You dont have Addon Doll!", "Bad param!", "Full Addon Set sucesfully added!"} local x = string.explode(param, ",") if(getPlayerItemCount(cid, 9693) > 0) then if param ~= "" then if maleOutfits[x[1]:lower()] and femaleOutfits[x[1]:lower()] then if (x[2] == '1' or x[2] == '2') then doPlayerRemoveItem(cid, 9693, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4]) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) if(getPlayerSex(cid) == 0)then doPlayerAddOutfit(cid, femaleOutfits[x[1]:lower()][1], x[2]) else doPlayerAddOutfit(cid, maleOutfits[x[1]:lower()][1], x[2]) end else doPlayerSendTextMessage(cid, 27, msg[3]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[3]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2]) end return true end
-
bom gostaria de saber como deixo para um mostro fica em só uma posição com speed 0 igual da imagem x mostro com posição virada para direita e x mostro virado para esquerda. obs; na imagem apenas puxei os demons para posição desejadas para servir como demostração. . . up up u´p
-
e pq o script ja tem função de ver quantidade de cap.. ai essa função vai ficar desnecessária :getDataInt("count")) .. " cap oz. and you have only " .. getPlayerFreeCap(cid) .. " oz. free capacity. Put some items to depot and try again.")
-
agora simm tudo certo mais poem para ir para bp do player mesmo foi para dp )
-
deu esse erro amigo [23/5/2015 0:41:26] [Error - TalkAction Interface] [23/5/2015 0:41:26] data/talkactions/scripts/auctionsystem.lua:onSay [23/5/2015 0:41:26] Description: [23/5/2015 0:41:26] (luaDoItemSetAttribute) Item not found
-
dentro de um parcel com uma carta com os dados do comprador só para ter mais rpg amigo teria como fazer ficarei muito grato caso possível tb poderia por então para receber parcel em seu dp de sua town principal
-
[21/5/2015 22:33:22] >>> Loading movements... [Error - LuaInterface::loadFile] data/movements/scripts/trainingroom.lua:21: '=' expected near 'end' [21/5/2015 22:33:22] [Error - Event::checkScript] Cannot load script (data/movements/scripts/trainingroom.lua) [21/5/2015 22:33:22] data/movements/scripts/trainingroom.lua:21: '=' expected near 'end'
-
só que agora so entra 1 player quando tento entrar com outro fala que ta lotada
-
Sim arrumei aqui era um erro meu malz
-
só um detalhe agora ta aparecendo 2 mensagem quando player e level menor que 50 e quando as salas tão cheias
-
s
-
Resolvido! lol descobri erro aqui, eu estava pondo uid ate 3600 sendo que eu tinha criado os uid ate 3200 ai o script continuou lendo as demais sorry
-
Resolvido!
-
Resolvido!
-
tem que ter a função for i = 2700, 3900 do local pos = getThingPos(i) if not isPlayer(getTopCreature(pos).uid) then se n o script n funfa, a função desse escript e checar x getThingPos(i) para ver se tem algum player em algum title com as uid de 2700 até 3900 e teletransportá-lo caso tenha ele pula para próximo getThingPos(i) que eu tive que adicionar em cada title uid do 2700 até 3900.
-
Resolvido!
-
obg se tiver como me ajudar no meu outro tópico tb fico grato vlw amigo é esse aqui http://www.xtibia.com/forum/topic/234038-erro-script-de-tp/
-
ola galera to com um problema quando todas salas de treiners estão lotadas aparece seguinte erro [21/5/2015 15:18:20] [Error - MoveEvents Interface] [21/5/2015 15:18:20] data/movements/scripts/trainingroom.lua:onStepIn [21/5/2015 15:18:20] Description: [21/5/2015 15:18:20] (luaGetThingPosition) Thing not found gostaria tb de por so para players level 50 entrar no tp function onStepIn(cid, item, position, fromPosition) for i = 2700, 3900 do local pos = getThingPos(i) if not isPlayer(getTopCreature(pos).uid) then doTeleportThing(cid, pos) doCreatureSay(cid, 'Using a tool to cast spells or to keep your character online is ok.', TALKTYPE_ORANGE_1, false, cid) doSendMagicEffect(position, CONST_ME_TELEPORT) doSendMagicEffect(pos, CONST_ME_TELEPORT) return true end doTeleportThing(cid, fromPosition, true) doCreatureSay(cid, 'All training slots are taken', TALKTYPE_ORANGE_1, false, cid) doSendMagicEffect(fromPosition, CONST_ME_TELEPORT) end return true end up
-
ola gostaria quando player puxar alavanca automaticamente ele fique cheio. obs: não e para adicionar food na bp e sim "doPlayerFeed". quando ele puxar alavanca ir para os dois lados igual da imagem quando ele tiver cheio por efect pof de fumaça eu fiz esse scrip só que n ta dando erro nem adicionado feed no player function onUse(cid, item, fromPosition, itemEx, toPosition) local size = 40 if(getPlayerFood(cid) + size) then doPlayerSendCancel(cid, "You are full.") doSendMagicEffect(fromPosition, CONST_ME_POFF) return true end doPlayerFeed(cid, size) doSendMagicEffect(fromPosition, CONST_ME_MAGIC_GREEN) return true end
-
onde fica esse creatirescript de war ?
-
mata um player do time contra, conta como frag mais n pega red.
-
pedido Help Globallstorage e player_storage
tópico respondeu ao leandrozera de leandrozera em Lixeira Pública
e pq eu utilizo via lib estou utilizando um script de castle 24h oque eu quero basicamente quando player for dona do castle ganhar x storage caso n for retirar essa x stprage script function onStepIn(cid, item, pos, fromPosition) local pos = getThingPos(cid) if item.actionid == 16203 then if not isPlayer(cid) then return true end if getGlobalStorageValue(COH_STATUS) == getPlayerGuildName(cid) then doSendMagicEffect(getThingPos(cid), 14) doSendAnimatedText(pos, "CoH", math.random(1, 255)) else doSendMagicEffect(getThingPos(cid), 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não pertence á guild "..getGlobalStorageValue(COH_STATUS)..".") end return true end if item.actionid == 16202 then if not isPlayer(cid) then return true end if getPlayerGuildId(cid) > 0 then if (getGlobalStorageValue(COH_STATUS) ~= getPlayerGuildName(cid)) then doPlayerSendTextMessage(cid, 20, "[Castle of Honor] Você e sua guild estão no comando, os antigos donos ["..tostring(getGlobalStorageValue(COH_STATUS)).."] podem se vingar!") setGlobalStorageValue(COH_PREPARE1, -1) setGlobalStorageValue(COH_PREPARE2, -1) setGlobalStorageValue(COH_STATUS, getPlayerGuildName(cid)) doCastleRemoveEnemies() doBroadcastMessage("[Castle of Honor] O jogador ["..getCreatureName(cid).."] e sua guild ["..getPlayerGuildName(cid).."] estão no comando do castelo, vá dominar e impedir isso!") end else doSendMagicEffect(pos, 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não possui uma guild.") end return true end if item.actionid == 16200 then if not isPlayer(cid) then return true end if getPlayerGuildId(cid) > 0 then doSendAnimatedText(pos, "CoH", math.random(1, 255)) if (getGlobalStorageValue(COH_PREPARE1) ~= getPlayerGuildName(cid)) and ((getGlobalStorageValue(COH_PREPARE2) ~= getPlayerGuildName(cid))) then setGlobalStorageValue(COH_PREPARE1, getPlayerGuildName(cid)) doBroadcastMessage("[Castle of Honor] Atenção! A guild "..getPlayerGuildName(cid).." está tentando dominar o castelo, preparem-se!") end else doSendMagicEffect(pos, 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não possui uma guild.") return true end end if item.actionid == 16201 then if not isPlayer(cid) then return true end doSendAnimatedText(pos, "CoH", math.random(1, 255)) if (getGlobalStorageValue(COH_PREPARE2) ~= getPlayerGuildName(cid)) then setGlobalStorageValue(COH_PREPARE2, getPlayerGuildName(cid)) doBroadcastMessage("[Castle of Honor] Atenção! A guild "..getPlayerGuildName(cid).." está muito próxima do domínio, ataquem!") end end return true end
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.