Ir para conteúdo

tiuguedor

Membro
  • Registro em

  • Última visita

  1. porque o cast nao funfo aki da erro porque o cast system e quando crio guild nao da pra loga mais
  2. npc e script pow acho que não postei nao
  3. ja tenho o boss pronto so falta a script se auguem poder ajudar agradeço nome do boss e : Animated pumpkin
  4. tiuguedor postou uma resposta no tópico em Suporte Tibia OTServer
    [05/11/2014 20:28:09] OtWar_, version DEV (Crying Damson) [05/11/2014 20:28:09] Compiled with GNU C++ version 3.4.5 (mingw special) at Oct 25 2011, 15:05:46. [05/11/2014 20:28:09] A server developed by Elf, slawkens, Talaturen, KaczooH, Lithium, Kiper, Kornholijo. [05/11/2014 20:28:09] Visit our forum for updates, support and resources: http://otland.net. [05/11/2014 20:28:09] >> Loading config (config.lua) [05/11/2014 20:28:09] > Using SHA1 encryption [05/11/2014 20:28:09] >> Checking software version... failed - could not parse remote file (are you connected to the internet?) [05/11/2014 20:28:09] >> Fetching blacklist [05/11/2014 20:28:09] >> Loading RSA key [05/11/2014 20:28:09] >> Starting SQL connection [05/11/2014 20:28:09] >> Running Database Manager [05/11/2014 20:28:10] > Optimizing table: account_viplist... [success] [05/11/2014 20:28:10] > Optimizing table: accounts... [success] [05/11/2014 20:28:11] > Optimizing table: bans... [success] [05/11/2014 20:28:11] > Optimizing table: environment_killers... [success] [05/11/2014 20:28:11] > Optimizing table: global_storage... [success] [05/11/2014 20:28:11] > Optimizing table: guild_invites... [success] [05/11/2014 20:28:11] > Optimizing table: guild_ranks... [success] [05/11/2014 20:28:12] > Optimizing table: guilds... [success] [05/11/2014 20:28:12] > Optimizing table: house_auctions... [success] [05/11/2014 20:28:12] > Optimizing table: house_data... [success] [05/11/2014 20:28:12] > Optimizing table: house_lists... [success] [05/11/2014 20:28:12] > Optimizing table: houses... [success] [05/11/2014 20:28:12] > Optimizing table: killers... [success] [05/11/2014 20:28:12] > Optimizing table: player_deaths... [success] [05/11/2014 20:28:13] > Optimizing table: player_depotitems... [success] [05/11/2014 20:28:13] > Optimizing table: player_items... [success] [05/11/2014 20:28:13] > Optimizing table: player_killers... [success] [05/11/2014 20:28:13] > Optimizing table: player_namelocks... [success] [05/11/2014 20:28:13] > Optimizing table: player_skills... [success] [05/11/2014 20:28:13] > Optimizing table: player_spells... [success] [05/11/2014 20:28:13] > Optimizing table: player_storage... [success] [05/11/2014 20:28:14] > Optimizing table: player_viplist... [success] [05/11/2014 20:28:14] > Optimizing table: players... [success] [05/11/2014 20:28:14] > Optimizing table: server_config... [success] [05/11/2014 20:28:14] > Optimizing table: server_motd... [success] [05/11/2014 20:28:14] > Optimizing table: server_record... [success] [05/11/2014 20:28:14] > Optimizing table: server_reports... [success] [05/11/2014 20:28:15] > Optimizing table: tile_items... [success] [05/11/2014 20:28:15] > Optimizing table: tiles... [success] [05/11/2014 20:28:15] >> Loading items [05/11/2014 20:28:15] [Error - Items::loadFromOtb] Another (client) version of items.otb is required. [05/11/2014 20:28:15] > ERROR: Unable to load items (OTB)!
  5. elas tem que funcionar em comjuntos esas 2 aki 1--login.lua dofile("war.lua") local configs = { text = "!t 1 - Ankrahmun\n!t 2 - Ab'dendriel\n!t 3 - Svargrond\n!t 4 - Kazzordon\n!t 5 - Wies\n!t 6 - Venore\n!t 7 - Elf Town\n!t 8 - Training Monks", } local texts = { "Bem vindo ao WarOT's, segue a lista de todos comandos:", "!online -> Ver players online", "!uptime -> Ver UPTime do server", "!frags -> Veja seus Frags", "!deaths -> Veja suas Mortes", "!news -> Para saber as noticias", "!t -> Digite !t EX: !t 1", "!rank -> Ver os TOPs", "!tops -> Ver os TOPs Fraggers", "!go -> Trocar para a mesma OUTFIT que o lider da party" } local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end for t = 1, #texts do doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, texts[t]) end registerCreatureEvent(cid, "StartSkills") registerCreatureEvent(cid, 'antiloss') registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "TL") registerCreatureEvent(cid, "PlayerDeath") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Kill") registerCreatureEvent(cid, "Kill2") registerCreatureEvent(cid, "First Items") registerCreatureEvent(cid, "Skull") registerCreatureEvent(cid, "Skulll") registerCreatureEvent(cid, 'FLook') registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") return true end -------------------------------------------------------------------------------------------------------------------------------------------- segunda -- war.lua -- Admin Account -- Change it and restart server! -- If you change it again, it update after next restart. -- You have to logout and exit the character window by restart and changing. admin_account = "759" admin_password = "155" admin_name = "[ God ] Warots" -- Settings enable_Examples = "no" -- Sorcerer / Druid / Paladin / Knight for 1/1? allowPartyLeaveCommand = "yes" -- allow !leave ? showLoginsAndLogouts = "no" -- print ...logged in/out in gui/console? allowSelfLeveling = "no" -- points / exp / skull by killing chars with same ip? -- Outfit enable_outfitSave = "yes" --> set outfit saving_exhaustion_storage = 3000 outfit_saving_exhaustion = 30 --> get outfit saving_exhaustion_storage2 = 3001 outfit_saving_exhaustion2 = 30 -- Highscore playersMaxAtHightscore = 10 max_GroupID_on_Highscore = 1 dont_showing_names_at_highscore = { "Account Manager", "Master Sorcerer", "Elder Druid", "Royal Paladin", "Elite Knight", "Sorcerer", "Druid", "Paladin", "Knight" } -- Party Attack enable_antiPartyAttack = "no" -- anti party damage anti_party_attack_msg_storage = 2000 anti_party_talkaction_storage = 2001 -- Team Position world_storage = 1000 start_pos = { -- please don't change the author of the maps they already exist!! [1] = { author = "LSDelmondes", name = "War", positions = { {x = 220, y = 219, z = 7}, {x = 168, y = 250, z = 6}, {x = 319, y = 313, z = 7}, {x = 308, y = 395, z = 7}, {x = 301, y = 172, z = 7}, {x = 249, y = 268, z = 7}, {x = 210, y = 321, z = 7} }} } -- Map change map_change_config = { enable_mapChange = "no", global_timer_storage = 6000, time = { 1150, -- warning 1170, -- warning 1190, -- warning 1200 -- map change // 30 min (30[min] * 60[sec]) }, access = 3 } -- Broadcast braodcast_enabled = "no" broadCastTime = 500 -- seconds randomBroadcastMessages = { "Ajude o server,comprando VIP Account.", "Melhor server de war de todos os tempos." } sorcereritems = { 8871, -- blue robe 7730, -- blue legs 2323, -- magician hat 2195 } druiditems = { 8871, -- blue robe 7730, -- blue legs 2323, -- magician hat 2195 -- boots of haste } paladinitems = { 2492, -- golden armor 7730, -- golden legs 2498, -- golden helme 2195 -- boots of haste } knightitems = { 2492, -- golden armor 7730, -- golden legs 2498, -- golden helmet 2195, -- boots of haste 2520 -- demon shield } -- Level can be found in config.lua sorc = { Leben = 605, -- Hp Mana = 2555, MagicLevel = 80, Cap = 1590, Fist = 10, Club = 10, Sword = 10, Axe = 10, Dist = 10, Shield = 25 } druid = { Leben = 605, -- Hp Mana = 2555, MagicLevel = 80, Cap = 1590, Fist = 10, Club = 10, Sword = 10, Axe = 10, Dist = 10, Shield = 25 } paladin = { Leben = 1025, -- Hp Mana = 1295, MagicLevel = 25, Cap = 2710, Fist = 10, Club = 10, Sword = 10, Axe = 10, Dist = 85, Shield = 75 } knight = { Leben = 1445, -- Hp Mana = 455, MagicLevel = 8, Cap = 3270, Fist = 10, Club = 80, Sword = 80, Axe = 80, Dist = 10, Shield = 80 } auguem conseguir me adicionem skipe :comedor-de-almas
  6. muito bom perfeito recomendo
  7. <action actionid="9999" event="script" value="castlewar1.lua"/> ----dominar castelo <action actionid="9998" event="script" value="castledoor1.lua"/> ----guild dominante <movevent type="StepIn" actionid="30502" event="script" value="invadir.lua"/> -------------- msg que sai quando estao invadindo
  8. 1 - data / action /action.xlm cole isso <action actionid="9999" event="script" value="castlewar1.lua"/> <action actionid="9998" event="script" value="castledoor1.lua"/> 2 - scripts crie castledoor1.lua e cole isso --------------- -----BY 3dbm------- --------------- function onUse(cid, item, frompos, item2, topos) -------------------------Config----------------------------------------------------------------- door_opened = 9182 -- ID da porta aberta storage_guild = getGlobalStorageValue(123123) -- A 3ª storage configurada em Castle.lua guarda_ativ = 0 -- Caso um invasor tente abrir a porta, sumonar o Monstro "Guarda"?? | (1) = SIM (0) = NAO guarda_cont = 2 -- Caso ativo: a quantidade de guardas a sumonar guarda_pos = {x=123,y=123,y=7} -- Posiçao a ser sumonada os guardas! -------------------------Fim de Config----------------------------------------------------------- if getPlayerGuildId(cid) == storage_guild then doTeleportThing(cid,getThingPos(item.uid)) doTransformItem(item.uid, door_opened) doPlayerSendTextMessage(cid, 22, "Seja bem vindo a vosso castelo!") return TRUE else if guarda_ativ == 1 then doPlayerSendTextMessage(cid, 22, "Guaaaardas, tirem esses invasores daqui!!") for i=1, guarda_cont do doSummonCreature("Guarda", guarda_pos) end return FALSE else doPlayerSendTextMessage(cid, 22, "Este castelo nao pertence a sua guild") return FALSE end end end -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3- crie um castlewar1.lua cole isso ----------------------------------- ---------SCRIPT por 3dbm------------ NAO REMOVA OS CREDITOS ----------------------------------- function onUse(cid, item, frompos, item2, topos) ------------------ Inicio das Config ------------ local castle_one_name = "Epic" -- Nome do castelo 1 local storages = {154154,54321,123123} -- Storages ( se vc eh iniciante, deixe como está...) -------PREMIOs I N D I V I D U A L --------- local premio_por_vezes = 0 -- Premio por vezes de conquista de castelo. (1) = Ativo (0) = Desativa. local premio_vezes = 13 -- Caso ativo, a quantidade de conquista que o player tem, para ganhar PREMIO. local premio = 2160 -- ID do Premio local premio_cont = 1 -- Quantidade do Premio local premio_reset = 1 -- Resetar o contador do premio depois que atingir a meta?? (1) = SIM (0) = NAO -------FIM PREMIOs I N D I V I D U A L --------- ----------------- FIM DAS CONFIG ----------------- local sto_ativ = getGlobalStorageValue(storages[2]) position = getCreaturePosition(cid) if isPlayerGuild(cid) == TRUE then if sto_ativ == 1 or sto_ativ == -1 then guildname = getPlayerGuildName(cid) guild = getPlayerGuildId(cid) guild_sto = getGlobalStorageValue(storages[3]) if guild ~= guild_sto then setPlayerStorageValue(cid,guild_sto,guild) if getPlayerStorageValue(cid,storages[1]) == -1 then setPlayerStorageValue(cid,storages[1],0) end sto_vezes = getPlayerStorageValue(cid,storages[1]) setGlobalStorageValue(storages[3],getPlayerGuildId(cid)) setPlayerStorageValue(cid,storages[1], sto_vezes + 1) sto_vezes_total = getPlayerStorageValue(cid,storages[1]) doBroadcastMessage("O(a) "..getCreatureName(cid).." acabou de conquistar o castelo "..castle_one_name.." para a guild \""..guildname.."\" pela "..sto_vezes_total.."ª vez(s).", 22) doSendMagicEffect(position, 39) if premio_por_vezes == 1 then if getPlayerStorageValue(cid,storages[1]) == premio_vezes then if getItemWeightById(premio,1) <= getPlayerFreeCap(cid) then doBroadcastMessage("O "..getCreatureName(cid).." ganhou uma(o) "..getItemNameById(premio).." como recompensa das suas "..premio_vezes.." conquistas!", 21) doPlayerAddItem(cid, premio,premio_cont) doPlayerSendTextMessage(cid, 18, "Voce recebeu o(a) "..getItemNameById(premio).." como recompensa das suas "..premio_vezes.." conquistas!") ----------------------------------------------- -- if premio_reset == 1 then -- setPlayerStorageValue(cid,storages[1],0) -- Resetar a contagem end -- ----------------------------------------------- -- else doPlayerSendTextMessage(cid, 18, "Voce nao tem capacidade para ganhar o item. Vamos verificar novamente em 10 segundos!") addEvent(additem,10000,cid,premio,premio_cont,premio_reset) end end end else doPlayerSendCancel(cid,"Este castelo ja foi conquistado pela sua guild!") doSendMagicEffect(position, 2) end else doPlayerSendCancel(cid,"O sistema está desativado") end else doPlayerSendCancel(cid,"É nescessario ter guild para dominar o castelo!") doSendMagicEffect(position, 2) end end ------------------------- por pc98 function additem(cid,premio,premio_cont,premio_reset) if getItemWeightById(premio,1) <= getPlayerFreeCap(cid) then doPlayerAddItem(cid, premio,premio_cont) doPlayerSendTextMessage(cid, 18, "Voce recebeu o(a) "..getItemNameById(premio).." como recompensa das suas "..premio_vezes.." conquistas!") if premio_reset == 1 then setPlayerStorageValue(cid,storages[1],0) end stopEvent(additem) else doPlayerSendTextMessage(cid, 18, "Voce nao tem capacidade para ganhar o item. Verificando novamente em 10 segundos!") addEvent(additem,10000,cid) end end ------------------------- por pc98 function isPlayerGuild(cid) if getPlayerGuildName(cid) ~= "" then return TRUE else return FALSE end end --------------------- fim dos actions ----------------------- 4 - va em movements.xlm cole isso <movevent type="StepIn" actionid="30502" event="script" value="invadir.lua"/> 5- movements / scripts crie invadir.lua e cole isso function onStepIn(cid, item, frompos, topos) if isPlayer(cid) == TRUE then doBroadcastMessage("The player "..getCreatureName(cid).." of guild "..getPlayerGuildName(cid).." is trying to invade the Epic Castle War. LEADERS OF CASTLE, COME FAST!",MESSAGE_STATUS_CONSOLE_BLUE) doBroadcastMessage("The player "..getCreatureName(cid).." of guild "..getPlayerGuildName(cid).." is trying to invade the Epic Castle War. LEADERS OF CASTLE, COME FAST!",MESSAGE_STATUS_CONSOLE_ORANGE) doBroadcastMessage("The player "..getCreatureName(cid).." of guild "..getPlayerGuildName(cid).." is trying to invade the Epic Castle War. LEADERS OF CASTLE, COME FAST!",2) doBroadcastMessage("The player "..getCreatureName(cid).." of guild "..getPlayerGuildName(cid).." is trying to invade the Epic Castle War. LEADERS OF CASTLE, COME FAST!",MESSAGE_STATUS_DEFAULT) end end e pronto e resto que ta ai red crystal blue cristal e tallss e bixos editados para tapar a entrada do castlewar
  9. essa scrip ai eu puis num carlinwar vo axa ela aki e passa aki >> http://www.speedyshare.com/xtw88/script-castlewar.rar
  10. tiuguedor postou uma resposta no tópico em Suporte Tibia OTServer
    auguem sabe qual esse war.lua system escudinho eero war.lua
  11. tiuguedor postou uma resposta no tópico em Suporte Tibia OTServer
    auquem pode me fala porque ta dano esse erro o globalevents ta saindo esses erros ai
  12. como colocar Account Manager com website - o acc manager - ele aparece so nos prayer no database - nao account nao aparece alguem sabe arruma? -database

Informação Importante

Confirmação de Termo