Ir para conteúdo

Session Start

Conde
  • Total de itens

    752
  • Registro em

  • Última visita

  • Dias Ganhos

    9

Session Start venceu a última vez em Agosto 31 2016

Session Start had the most liked content!

5 Seguidores

Sobre Session Start

Perfil

  • Gênero
    Masculino

Informações

  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    Scripter

Últimos Visitantes

3844 visualizações

Session Start's Achievements

  1. local bridgepos = {x=32410, y=32231, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos2 = {x=32410, y=32232, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos3 = {x=32411, y=32231, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos4 = {x=32411, y=32232, z=10, stackpos=0 } -- Position of the bridge tile local bridgeposCheck = {x=32410, y=32231, z=10} local bridgepos2Check = {x=32411, y=32232, z=10} local jogaPlayerMonstro = {x=32409, y=32231, z=10} local frompos = {x=32409, y=32231, z=10} local splash = {x=32413, y=32230, z=10, stackpos=1} -- Position of the liquid pool local leverUID = 15004 -- Unique ID of the lever local liquidId = 4611 -- Item ID of the liquid pool local liquidType = 0 -- Subtype of the liquid pool function onUse(cid, item, frompos, item2, topos, topos) local bridge = getThingfromPos(bridgepos) local bridge2 = getThingfromPos(bridgepos2) local bridge3 = getThingfromPos(bridgepos3) local bridge4 = getThingfromPos(bridgepos4) local liquid = getThingfromPos(splash) for x = bridgeposCheck.x, bridgepos2Check.x do for y = bridgeposCheck.y, bridgepos2Check.y do if isMonster(getThingFromPos({x=x, y=y, z=bridgeposCheck.z, stackpos=253}).uid) then doTeleportThing(getThingFromPos({x=x, y=y, z=bridgeposCheck.z, stackpos=253}).uid,jogaPlayerMonstro) end end end for x = bridgeposCheck.x, bridgepos2Check.x do for y = bridgeposCheck.y, bridgepos2Check.y do if isPlayer(getThingFromPos({x=x, y=y, z=bridgeposCheck.z, stackpos=253}).uid) then doTeleportThing(getThingFromPos({x=x, y=y, z=bridgeposCheck.z, stackpos=253}).uid,jogaPlayerMonstro) end end end if item.uid == leverUID and item.itemid == 1946 and bridge.itemid == 5769 then doTransformItem(bridge.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge.itemid == 4611 then doTransformItem(bridge.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge2.itemid == 5769 then doTransformItem(bridge2.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge2.itemid == 4611 then doTransformItem(bridge2.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge3.itemid == 5769 then doTransformItem(bridge3.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge3.itemid == 4611 then doTransformItem(bridge3.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge4.itemid == 5769 then doTransformItem(bridge4.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge4.itemid == 4611 then doTransformItem(bridge4.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end return TRUE end
  2. local bridgepos = {x=32410, y=32231, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos2 = {x=32410, y=32232, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos3 = {x=32411, y=32231, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos4 = {x=32411, y=32232, z=10, stackpos=0 } -- Position of the bridge tile local frompos = {x=32409, y=32231, z=10} local splash = {x=32413, y=32230, z=10, stackpos=1} -- Position of the liquid pool local leverUID = 15004 -- Unique ID of the lever local liquidId = 4611 -- Item ID of the liquid pool local liquidType = 0 -- Subtype of the liquid pool function onUse(cid, item, frompos, item2, topos, topos) local bridge = getThingfromPos(bridgepos) local bridge2 = getThingfromPos(bridgepos2) local bridge3 = getThingfromPos(bridgepos3) local bridge4 = getThingfromPos(bridgepos4) local liquid = getThingfromPos(splash) if isPlayer((getThingFromPos(bridgepos).uid) or (getThingFromPos(bridgepos2).uid) or (getThingFromPos(bridgepos3).uid) or (getThingFromPos(bridgepos4).uid)) then doTeleportThing(getThingFromPos(bridgepos).uid,frompos) end if item.uid == leverUID and item.itemid == 1946 and bridge.itemid == 5769 then doTransformItem(bridge.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge.itemid == 4611 then doTransformItem(bridge.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge2.itemid == 5769 then doTransformItem(bridge2.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge2.itemid == 4611 then doTransformItem(bridge2.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge3.itemid == 5769 then doTransformItem(bridge3.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge3.itemid == 4611 then doTransformItem(bridge3.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge4.itemid == 5769 then doTransformItem(bridge4.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge4.itemid == 4611 then doTransformItem(bridge4.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end return TRUE end tinha uma linha errada no inicio, tenta isso, caso dê erro, manda o log novamente...
  3. o +55 é o ddi, que representa ser do Brasil, o 55 é da região sul. Como a gente é do Brasil não preciso citar o +55
  4. Cara, não tenho facebook, caso queira ajuda, meu whatsapp
  5. tenta isso getThingfromPos(player2pos) local bridgepos = {x=32410, y=32231, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos2 = {x=32410, y=32232, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos3 = {x=32411, y=32231, z=10, stackpos=0 } -- Position of the bridge tile local bridgepos4 = {x=32411, y=32232, z=10, stackpos=0 } -- Position of the bridge tile local frompos = {x=32409, y=32231, z=10} local splash = {x=32413, y=32230, z=10, stackpos=1} -- Position of the liquid pool local leverUID = 15004 -- Unique ID of the lever local liquidId = 4611 -- Item ID of the liquid pool local liquidType = 0 -- Subtype of the liquid pool function onUse(cid, item, frompos, item2, topos, topos) local bridge = getThingfromPos(bridgepos) local bridge2 = getThingfromPos(bridgepos2) local bridge3 = getThingfromPos(bridgepos3) local bridge4 = getThingfromPos(bridgepos4) local liquid = getThingfromPos(splash) if isPlayer((getThingFromPos(bridgepos).uid) or (getThingFromPos(bridgepos2).uid) or (getThingFromPos(bridgepos3).uid) or (getThingFromPos(bridgepos4).uid)) then doTeleportThing(getThingFromPos(bridgepos).uid,frompos) end if item.uid == leverUID and item.itemid == 1946 and bridge.itemid == 5769 then doTransformItem(bridge.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge.itemid == 4611 then doTransformItem(bridge.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge2.itemid == 5769 then doTransformItem(bridge2.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge2.itemid == 4611 then doTransformItem(bridge2.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge3.itemid == 5769 then doTransformItem(bridge3.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge3.itemid == 4611 then doTransformItem(bridge3.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end if item.uid == leverUID and item.itemid == 1946 and bridge4.itemid == 5769 then doTransformItem(bridge4.uid, 4611) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1945) end if item.uid == leverUID and item.itemid == 1945 and bridge4.itemid == 4611 then doTransformItem(bridge4.uid, 5769) doSendMagicEffect(splash, CONST_ME_MAGIC_RED) doTransformItem(item.uid, 1946) end return TRUE end
  6. Session Start

    Aba

    Procura por <title> nos códigos, e altera o que tiver dentro dessa tag...
  7. Cara, não tenho facebook, caso queira ajuda, meu whatsapp é: 55 996487164
  8. local configuration = {storage = {41651651}} look type (male)id_outfit_female = 511, look type (female)id_mergulhador_male = 1034, look type (male)id_mergulhadora_female = 1035, look type (female)more_player_speed = 300, local random = math.random(1, 150) function onStepIn(cid) if isRiderOrFlyOrSurf(cid) then doChangeSpeed(cid,(getCreatureSpeed(cid)-configuration.less_speed)) end if(isPlayer(cid)) then if getPlayerSex(cid) == 1 and isPlayer(cid) then doSetCreatureOutfit(cid, {lookType = configuration.id_mergulhador_male, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1) else if getPlayerSex(cid) == 0 and isPlayer(cid) then doSetCreatureOutfit(cid,{lookType = configuration.id_mergulhadora_female, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1) return true end if getCreatureOutfit(cid).lookType == configuration.id_mergulhador_male or getCreatureOutfit(cid).lookType == configuration.id_mergulhadora_female then doChangeSpeed(cid, getCreatureSpeed(cid)+configuration.more_player_speed) else doChangeSpeed(cid,(getCreatureSpeed(cid))-configuration.less_speed) end end if isWild(cid)or isSummon(cid) thenpoketype1 = pokes[getCreatureName(cid)].type poke type 2 = pokes[getCreatureName(cid)].type 2 if poke type 1 == "water" or poke type 2 == "water" or poke type 1 == "ice" or poke type 2 == "ice" then -- coloque aqui os tipos de pokémon que ganham velocidade na agua doChangeSpeed(cid, -getCreatureSpeed(cid)+configuration.more_pokemon_speed) else doChangeSpeed(cid, -getCreatureSpeed(cid)+configuration.less_speed) end end return true end function onStepOut(cid)if(isPlayer(cid)) thenif getPlayerSex(cid) == 1 and isPlayer(cid) then doSetCreatureOutfit(cid, {lookType = configuration.id_outfit_male, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1)doChangeSpeed(cid,(-getCreatureSpeed(cid))+configuration.speed_normal) else if getPlayerSex(cid) == 0 and isPlayer(cid) then doSetCreatureOutfit(cid, {lookType = configuration.id_outfit_female, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1)doChangeSpeed(cid,(-getCreatureSpeed(cid))+configuration.speed_normal) return true end end if isWild(cid)or isSummon(cid) thenpoketype1 = pokes[getCreatureName(cid)].type poketype2 = pokes[getCreatureName(cid)].type 2 velocidade = pokes[getCreatureName(cid)].agilityif poketype1 == "water" or poke type 2 == "water" or poke type 1 == "ice" or poke type 2 == "ice" then -- coloque aqui os tipos de pokémon que ganham velocidade na aguado ChangeSpeed(cid, velocidade-configuration.more_pokemon_speed) else doChangeSpeed(cid, velocidade-configuration.less_speed) end end return true end Testa ai mano...
  9. Você entende de compilação de servidores?

  10. Adicione isso: if (getTilePzInfo(getCreaturePosition(getPlayerByNameWildcard(tostring(msg)))) == true) then npcHandler:say('O jogador '..getCreatureName(getPlayerByNameWildcard(tostring(msg)))..' está em área PZ no momento.', cid) npcHandler:releaseFocus(cid) return true end Acima disso: if (getCreatureName(getCreatureTarget(getPlayerByNameWildcard(tostring(msg)))) == trainer) then
  11. Meu querido, você conseguir acessar o script que você solicitou?

     

     

  12. Desculpe a demora, vi hoje seu edit! Abaixo de: doPlayerSendTextMessage(getPlayerByNameWildcard(tostring(msg)), MESSAGE_STATUS_CONSOLE_BLUE, "Continue treinando.") OBS: Caso queira que o player que está treinando não receba a mensagem acima, basta remover a linha! Adicione: npcHandler:say('O jogador '..getCreatureName(getPlayerByNameWildcard(tostring(msg)))..' está treinando no momento.', cid)
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...