Lamia 0 Postado Novembro 24, 2010 Share Postado Novembro 24, 2010 (editado) olhaaa, mnt bom o server e talz poremm... estou encontrando 2 erros, um eh que nem nosso amigo tinha dito ateriormente, quando voce come algo da debug no cliente,e o outro quando voce morre tb da debug, algm poderia ajudar nos com esses probleminhas??? desde ja GRATO \o/ Ae consegui arruma o bug do food, depois de mnt custo, simplesmente trocando a constant TALKTYPE_MONSTER que vai no doCreatureSay(cid, msg, TALKTYPE_MONSTER) pelo numero representativo dele 19 doCreatureSay(cid, msg, 19) local FOODS, MAX_FOOD = { [2328] = {84, "Gulp."}, [2362] = {48, "Yum."}, [2666] = {180, "Munch."}, [2667] = {144, "Munch."}, [2668] = {120, "Mmmm."}, [2669] = {204, "Munch."}, [2670] = {48, "Gulp."}, [2671] = {360, "Chomp."}, [2672] = {720, "Chomp."}, [2673] = {60, "Yum."}, [2674] = {72, "Yum."}, [2675] = {156, "Yum."}, [2676] = {96, "Yum."}, [2677] = {12, "Yum."}, [2678] = {216, "Slurp."}, [2679] = {12, "Yum."}, [2680] = {24, "Yum."}, [2681] = {108, "Yum."}, [2682] = {240, "Yum."}, [2683] = {204, "Munch."}, [2684] = {60, "Crunch."}, [2685] = {72, "Munch."}, [2686] = {108, "Crunch."}, [2687] = {24, "Crunch."}, [2688] = {24, "Mmmm."}, [2689] = {120, "Crunch."}, [2690] = {72, "Crunch."}, [2691] = {96, "Crunch."}, [2695] = {72, "Gulp."}, [2696] = {108, "Smack."}, [8112] = {108, "Urgh."}, [2769] = {60, "Crunch."}, [2787] = {108, "Crunch."}, [2788] = {48, "Munch."}, [2789] = {264, "Munch."}, [2790] = {360, "Crunch."}, [2791] = {108, "Crunch."}, [2792] = {72, "Crunch."}, [2793] = {144, "Crunch."}, [2794] = {36, "Crunch."}, [2795] = {432, "Crunch."}, [2796] = {300, "Crunch."}, [5097] = {48, "Yum."}, [5678] = {96, "Gulp."}, [6125] = {96, "Mmmm."}, [6278] = {120, "Mmmm."}, [6279] = {180, "Mmmm."}, [6393] = {144, "Mmmm."}, [6394] = {180, "Mmmm."}, [6501] = {240, "Mmmm."}, [6541] = {72, "Gulp."}, [6542] = {72, "Gulp."}, [6543] = {72, "Gulp."}, [6544] = {72, "Gulp."}, [6545] = {72, "Gulp."}, [6569] = {12, "Mmmm."}, [6574] = {60, "Mmmm."}, [7158] = {300, "Munch."}, [7159] = {180, "Munch."}, [7372] = {0, "Yummy."}, [7373] = {0, "Yummy."}, [7374] = {0, "Yummy."}, [7375] = {0, "Yummy."}, [7376] = {0, "Yummy."}, [7377] = {0, "Yummy."}, [7963] = {720, "Munch."}, [8838] = {120, "Gulp."}, [8839] = {60, "Yum."}, [8840] = {12, "Yum."}, [8841] = {12, "Urgh."}, [8842] = {84, "Munch."}, [8843] = {60, "Crunch."}, [8844] = {12, "Gulp."}, [8845] = {60, "Munch."}, [8847] = {132, "Yum."}, [9114] = {60, "Crunch."}, [9005] = {88, "Slurp."}, [7245] = {84, "Munch."}, [9996] = {0, "Slurp."}, [10454] = {0, "Your head begins to feel better."} }, 1200 function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 6280) then if(fromPosition.x == CONTAINER_POSITION) then fromPosition = getThingPosition(cid) end doCreatureSay(cid, getPlayerName(cid) .. " blew out the candle.", 19) doTransformItem(item.uid, item.itemid - 1) doSendMagicEffect(fromPosition, CONST_ME_POFF) return true end local food = FOODS[item.itemid] if(food == nil) then return false end local size = food[1] if(getPlayerFood(cid) + size > MAX_FOOD) then doPlayerSendCancel(cid, "You are full.") return true end doPlayerFeed(cid, size) doRemoveItem(item.uid, 1) doCreatureSay(cid, food[2], 19) return true end agora so falta algm me da uma luz no debug q da quando algm morre, se eu consegui alguma coisa posto ake tb xD Editado Novembro 24, 2010 por Lamia Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-962314 Compartilhar em outros sites More sharing options...
picachu 3 Postado Novembro 25, 2010 Share Postado Novembro 25, 2010 olhaaa, mnt bom o server e talz poremm... estou encontrando 2 erros, um eh que nem nosso amigo tinha dito ateriormente, quando voce come algo da debug no cliente,e o outro quando voce morre tb da debug, algm poderia ajudar nos com esses probleminhas??? desde ja GRATO \o/ Ae consegui arruma o bug do food, depois de mnt custo, simplesmente trocando a constant TALKTYPE_MONSTER que vai no doCreatureSay(cid, msg, TALKTYPE_MONSTER) pelo numero representativo dele 19 doCreatureSay(cid, msg, 19) local FOODS, MAX_FOOD = { [2328] = {84, "Gulp."}, [2362] = {48, "Yum."}, [2666] = {180, "Munch."}, [2667] = {144, "Munch."}, [2668] = {120, "Mmmm."}, [2669] = {204, "Munch."}, [2670] = {48, "Gulp."}, [2671] = {360, "Chomp."}, [2672] = {720, "Chomp."}, [2673] = {60, "Yum."}, [2674] = {72, "Yum."}, [2675] = {156, "Yum."}, [2676] = {96, "Yum."}, [2677] = {12, "Yum."}, [2678] = {216, "Slurp."}, [2679] = {12, "Yum."}, [2680] = {24, "Yum."}, [2681] = {108, "Yum."}, [2682] = {240, "Yum."}, [2683] = {204, "Munch."}, [2684] = {60, "Crunch."}, [2685] = {72, "Munch."}, [2686] = {108, "Crunch."}, [2687] = {24, "Crunch."}, [2688] = {24, "Mmmm."}, [2689] = {120, "Crunch."}, [2690] = {72, "Crunch."}, [2691] = {96, "Crunch."}, [2695] = {72, "Gulp."}, [2696] = {108, "Smack."}, [8112] = {108, "Urgh."}, [2769] = {60, "Crunch."}, [2787] = {108, "Crunch."}, [2788] = {48, "Munch."}, [2789] = {264, "Munch."}, [2790] = {360, "Crunch."}, [2791] = {108, "Crunch."}, [2792] = {72, "Crunch."}, [2793] = {144, "Crunch."}, [2794] = {36, "Crunch."}, [2795] = {432, "Crunch."}, [2796] = {300, "Crunch."}, [5097] = {48, "Yum."}, [5678] = {96, "Gulp."}, [6125] = {96, "Mmmm."}, [6278] = {120, "Mmmm."}, [6279] = {180, "Mmmm."}, [6393] = {144, "Mmmm."}, [6394] = {180, "Mmmm."}, [6501] = {240, "Mmmm."}, [6541] = {72, "Gulp."}, [6542] = {72, "Gulp."}, [6543] = {72, "Gulp."}, [6544] = {72, "Gulp."}, [6545] = {72, "Gulp."}, [6569] = {12, "Mmmm."}, [6574] = {60, "Mmmm."}, [7158] = {300, "Munch."}, [7159] = {180, "Munch."}, [7372] = {0, "Yummy."}, [7373] = {0, "Yummy."}, [7374] = {0, "Yummy."}, [7375] = {0, "Yummy."}, [7376] = {0, "Yummy."}, [7377] = {0, "Yummy."}, [7963] = {720, "Munch."}, [8838] = {120, "Gulp."}, [8839] = {60, "Yum."}, [8840] = {12, "Yum."}, [8841] = {12, "Urgh."}, [8842] = {84, "Munch."}, [8843] = {60, "Crunch."}, [8844] = {12, "Gulp."}, [8845] = {60, "Munch."}, [8847] = {132, "Yum."}, [9114] = {60, "Crunch."}, [9005] = {88, "Slurp."}, [7245] = {84, "Munch."}, [9996] = {0, "Slurp."}, [10454] = {0, "Your head begins to feel better."} }, 1200 function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 6280) then if(fromPosition.x == CONTAINER_POSITION) then fromPosition = getThingPosition(cid) end doCreatureSay(cid, getPlayerName(cid) .. " blew out the candle.", 19) doTransformItem(item.uid, item.itemid - 1) doSendMagicEffect(fromPosition, CONST_ME_POFF) return true end local food = FOODS[item.itemid] if(food == nil) then return false end local size = food[1] if(getPlayerFood(cid) + size > MAX_FOOD) then doPlayerSendCancel(cid, "You are full.") return true end doPlayerFeed(cid, size) doRemoveItem(item.uid, 1) doCreatureSay(cid, food[2], 19) return true end agora so falta algm me da uma luz no debug q da quando algm morre, se eu consegui alguma coisa posto ake tb xD Você modificou alguma coisa no server , e acabou bugando. Pois, aqui, está funcionando perfeitamente! Tente reinstalar o server, sem modificar nda tente abrí-lo, e teste ele! Obs: entre com a versão 8.62. :smile_positivo: Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-962847 Compartilhar em outros sites More sharing options...
Lamia 0 Postado Novembro 25, 2010 Share Postado Novembro 25, 2010 olhaaa, mnt bom o server e talz poremm... estou encontrando 2 erros, um eh que nem nosso amigo tinha dito ateriormente, quando voce come algo da debug no cliente,e o outro quando voce morre tb da debug, algm poderia ajudar nos com esses probleminhas??? desde ja GRATO \o/ Ae consegui arruma o bug do food, depois de mnt custo, simplesmente trocando a constant TALKTYPE_MONSTER que vai no doCreatureSay(cid, msg, TALKTYPE_MONSTER) pelo numero representativo dele 19 doCreatureSay(cid, msg, 19) local FOODS, MAX_FOOD = { [2328] = {84, "Gulp."}, [2362] = {48, "Yum."}, [2666] = {180, "Munch."}, [2667] = {144, "Munch."}, [2668] = {120, "Mmmm."}, [2669] = {204, "Munch."}, [2670] = {48, "Gulp."}, [2671] = {360, "Chomp."}, [2672] = {720, "Chomp."}, [2673] = {60, "Yum."}, [2674] = {72, "Yum."}, [2675] = {156, "Yum."}, [2676] = {96, "Yum."}, [2677] = {12, "Yum."}, [2678] = {216, "Slurp."}, [2679] = {12, "Yum."}, [2680] = {24, "Yum."}, [2681] = {108, "Yum."}, [2682] = {240, "Yum."}, [2683] = {204, "Munch."}, [2684] = {60, "Crunch."}, [2685] = {72, "Munch."}, [2686] = {108, "Crunch."}, [2687] = {24, "Crunch."}, [2688] = {24, "Mmmm."}, [2689] = {120, "Crunch."}, [2690] = {72, "Crunch."}, [2691] = {96, "Crunch."}, [2695] = {72, "Gulp."}, [2696] = {108, "Smack."}, [8112] = {108, "Urgh."}, [2769] = {60, "Crunch."}, [2787] = {108, "Crunch."}, [2788] = {48, "Munch."}, [2789] = {264, "Munch."}, [2790] = {360, "Crunch."}, [2791] = {108, "Crunch."}, [2792] = {72, "Crunch."}, [2793] = {144, "Crunch."}, [2794] = {36, "Crunch."}, [2795] = {432, "Crunch."}, [2796] = {300, "Crunch."}, [5097] = {48, "Yum."}, [5678] = {96, "Gulp."}, [6125] = {96, "Mmmm."}, [6278] = {120, "Mmmm."}, [6279] = {180, "Mmmm."}, [6393] = {144, "Mmmm."}, [6394] = {180, "Mmmm."}, [6501] = {240, "Mmmm."}, [6541] = {72, "Gulp."}, [6542] = {72, "Gulp."}, [6543] = {72, "Gulp."}, [6544] = {72, "Gulp."}, [6545] = {72, "Gulp."}, [6569] = {12, "Mmmm."}, [6574] = {60, "Mmmm."}, [7158] = {300, "Munch."}, [7159] = {180, "Munch."}, [7372] = {0, "Yummy."}, [7373] = {0, "Yummy."}, [7374] = {0, "Yummy."}, [7375] = {0, "Yummy."}, [7376] = {0, "Yummy."}, [7377] = {0, "Yummy."}, [7963] = {720, "Munch."}, [8838] = {120, "Gulp."}, [8839] = {60, "Yum."}, [8840] = {12, "Yum."}, [8841] = {12, "Urgh."}, [8842] = {84, "Munch."}, [8843] = {60, "Crunch."}, [8844] = {12, "Gulp."}, [8845] = {60, "Munch."}, [8847] = {132, "Yum."}, [9114] = {60, "Crunch."}, [9005] = {88, "Slurp."}, [7245] = {84, "Munch."}, [9996] = {0, "Slurp."}, [10454] = {0, "Your head begins to feel better."} }, 1200 function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 6280) then if(fromPosition.x == CONTAINER_POSITION) then fromPosition = getThingPosition(cid) end doCreatureSay(cid, getPlayerName(cid) .. " blew out the candle.", 19) doTransformItem(item.uid, item.itemid - 1) doSendMagicEffect(fromPosition, CONST_ME_POFF) return true end local food = FOODS[item.itemid] if(food == nil) then return false end local size = food[1] if(getPlayerFood(cid) + size > MAX_FOOD) then doPlayerSendCancel(cid, "You are full.") return true end doPlayerFeed(cid, size) doRemoveItem(item.uid, 1) doCreatureSay(cid, food[2], 19) return true end agora so falta algm me da uma luz no debug q da quando algm morre, se eu consegui alguma coisa posto ake tb xD Você modificou alguma coisa no server , e acabou bugando. Pois, aqui, está funcionando perfeitamente! Tente reinstalar o server, sem modificar nda tente abrí-lo, e teste ele! Obs: entre com a versão 8.62. :smile_positivo: kra nao modifiquei nadinha no server, instala ai a versao 8.6 e se mata pra tu ve.. dabug.. =\ a versao 8.62 realmente esta funcionando, caso eu n consiga arruma o 8.6 voll migrar.. faze u q neh xD espero q alguma alma veja esse problema do 8.6 \o/ Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-962902 Compartilhar em outros sites More sharing options...
HeXo 2 Postado Novembro 26, 2010 Share Postado Novembro 26, 2010 (editado) Então, eu já tinha comentado sobre esses bugs do 8.6 antes, mas pelo jeito eles não estão nem ai pra versão 8.6, só querem saber da 8.62 e olha que a 8.62 também tem alguns bugs, então imagina a 8.6... The Crystal Server, i'm disappoint. Editado Novembro 26, 2010 por HeXo Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-963212 Compartilhar em outros sites More sharing options...
Tryller 193 Postado Novembro 26, 2010 Autor Share Postado Novembro 26, 2010 (editado) Então, eu já tinha comentado sobre esses bugs do 8.6 antes, mas pelo jeito eles não estão nem ai pra versão 8.6, só querem saber da 8.62 e olha que a 8.62 também tem alguns bugs, então imagina a 8.6... The Crystal Server, i'm disappoint. Não é que não estamos preucupados... ando ocupado demais na rl para arrumar estes bugs. que qualquer um pode corrir por semre fáceis. próxima versão já sai com os bugs corrigidos. E desculpem se não estou dando suporte ultimamente. doCreatureSay(cid, food[2], 19) doCreatureSay(cid, food[2], TALKTYPE_MONSTER) Editado Novembro 26, 2010 por Tryller Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-963466 Compartilhar em outros sites More sharing options...
esfomeado 5 Postado Novembro 29, 2010 Share Postado Novembro 29, 2010 source off Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-964806 Compartilhar em outros sites More sharing options...
33263648 0 Postado Novembro 30, 2010 Share Postado Novembro 30, 2010 Bom Cara, Estava Mexendo no Meu Projeto de Ot e estava utilizando O seu Distro (TCS 8.62). Não sei como resolver ou se só dá erro aki mais Quando eu Mato Um bixo da Debug. Quando eu Morro da Debug. Quando Como da Debug. Emfim Tem como Ajeitar ? Anyway Espero q na Proxima versão venha sem Bugs Pq é Um Otimo Distro Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-965546 Compartilhar em outros sites More sharing options...
Erimyth 73 Postado Dezembro 1, 2010 Share Postado Dezembro 1, 2010 BoM tryller ComO eu ja disse baiXei o Server Esta perfeito Vlw por Concertar os Erros basicos Dos Npcs xD... mais agora estou precisando das Sources E nao To Conseguindo baixar por este Link vc fazer upload em outro Site ? brigadão Abraços Brother.. Parabêns pelo Server 100% Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-965909 Compartilhar em outros sites More sharing options...
Tryller 193 Postado Dezembro 2, 2010 Autor Share Postado Dezembro 2, 2010 Galera desculpem, mas estou sem pc talvez ate semana que vem, assimq ue eu arrumar faço nova versão Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-966297 Compartilhar em outros sites More sharing options...
Kojiiro 0 Postado Dezembro 2, 2010 Share Postado Dezembro 2, 2010 @tryller Estou com um problema aki. Quando eu uso alguma potion da debug no tibia Eu baixei o da versão 8.60 pode me dizer o que sera isso? Abraços Kojiiro :smile_positivo: Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-966321 Compartilhar em outros sites More sharing options...
zerian 0 Postado Dezembro 3, 2010 Share Postado Dezembro 3, 2010 Um dos melhores ots que vi, bem compactado, fácil de download, recomendei para todos meus amigos hosters. Agora sim o XTibia está melhorando mais do que nunca. Parabéns, aprovo Tenha um bom dia. -Atencão Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-966696 Compartilhar em outros sites More sharing options...
esfomeado 5 Postado Dezembro 4, 2010 Share Postado Dezembro 4, 2010 Galera desculpem, mas estou sem pc talvez ate semana que vem, assimq ue eu arrumar faço nova versão Esta bastante bom este server. Se precisares de ajuda para alguma coisa estou disponivel para te ajudar. Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-967238 Compartilhar em outros sites More sharing options...
picachu 3 Postado Dezembro 5, 2010 Share Postado Dezembro 5, 2010 Comando para Ban. Em talkactions/scripts crie um arquivo chamado ban.lua entao, ponha o seguinte conteúdo: --[[bY HERMES @ OTLAND REASONS (POPULAR): 4-offensive-statement, 5-spamming, 6-advertising, 10-bug-abuse, 12-unofficial-soft 13-hacking, 14-multi-clienting, 15-account-trading-or-sharing, 16-threatening-gamemaster, 18-false-report-to-gm, 19-destructive-behavior, 20-excessive-unjustified-player-killing USAGE: /ban playerName, banType, banLength, comment DEFAULT: length: time in seconds comment: default comment (if param is nil) reason: number, read text above ]] local default = { length = 24 * 60 * 60, comment = "Dont do illegal stuff.", reason = 4 } function getPlayerTesti(cid) local Tiedot = db.getResult("SELECT `id` FROM `accounts` WHERE `id` = " .. getPlayerAccountId(cid) .. " LIMIT 1") if Tiedot:getID() ~= LUA_ERROR then local account = Tiedot:getDataInt("id") return account end return LUA_ERROR end function onSay(cid, words, param) local t = string.explode(param, ",") if(not t[1]) then doPlayerSendCancel(cid, "You must enter name.") return true end local player = getPlayerByName(t[1]) if(not isPlayer(player)) then doPlayerSendCancel(cid, "Player with name `" .. t[1] .. "` not found.") return true end local action = t[2] if(not t[2] or (t[2] and type(t[2]) ~= 'string')) then doPlayerSendCancel(cid, "Wrong param.") return true end local length = (t[3] and tonumber(t[3]) > 0) and t[3] or default.length local comment = (t[4] and type(t[4]) == "string") and t[4] or default.comment if(isInArray({"account", "acc", "a"}, action)) then doAddAccountBanishment(getAccountIdByName(t[1]), getPlayerGUID(t[1]), os.time() + length, default.reason, comment, ACTION_BANISHMENT, comment, getPlayerGUID(cid)) result = true --[[ elseif(isInArray({"player", "p"}, action)) then --type missing doAddPlayerBanishment(getPlayerGUID(t[1]), type, os.time() + length, default.reason, ACTION_BANISHMENT, comment, getPlayerGUID(cid)) result = true elseif(isInArray({}, action)) then --ip and mask missing doAddIpBanishment(ip, mask, os.time() + length, default.reason, comment, getPlayerGUID(cid)) result = true elseif(isInArray({}, action)) then doAddNotation(getAccountIdByName(t[1]), getPlayerGUID(t[1]), default.reason, comment, getPlayerGUID(cid)) result = true elseif(isInArray({}, action)) then --channelId missing doAddStatement(getPlayerGUID(t[1]), channelId, default.reason, comment, getPlayerGUID(cid)) result = true ]] end if(result) then db.executeQuery("INSERT INTO `bans` (`id` ,`type` ,`value` ,`param`, `active`, `expires`, `added`, `comment`, `reason`, `action`) VALUES ('id', '3', '".. getPlayerTesti(player) .."', '45', '1', '".. os.time() + length .."', '".. os.time() .."', '".. comment .."', '12', '2' );") doSendAnimatedText(getCreaturePosition(player), "BANISHED", TEXTCOLOR_RED) doRemoveCreature(player) end return true end Em talkactions.xml: <talkaction log="yes" access="5" words="/ban" event="script" value="ban.lua"/> Créditos: Hermes, Picachu. Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-968304 Compartilhar em outros sites More sharing options...
Tryller 193 Postado Dezembro 5, 2010 Autor Share Postado Dezembro 5, 2010 Servidor atualizado Versão 0.2.2 lançada Desculpem a demora. Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-968472 Compartilhar em outros sites More sharing options...
Nottinghster 16 Postado Dezembro 6, 2010 Share Postado Dezembro 6, 2010 Creio que agora com a minha chegada na Equipe, o Servidor irá dar uma alavancada.... kkkkkkkkkkkkkkkkkkk (momento nem um pouco convencido) Estou aqui anunciando que eu Nottinghster irei fazer parte desta equipe como Scripter & Programador, então esperem para verem os resultados Link para o comentário https://xtibia.com/forum/topic/143282-86-861-862-crystal-server-v022/page/7/#findComment-968480 Compartilhar em outros sites More sharing options...
Posts Recomendados