Ir para conteúdo

pocotozinho

Artesão
  • Total de itens

    129
  • Registro em

  • Última visita

Tudo que pocotozinho postou

  1. Ele nao tem a tranca e se achar algum bug fala ai para mim tentar ajudar
  2. Achei esse server aqui em um forum poketibia polones e creio que nao tem aqui bom nao tirei ss do server mais vo postar aqui quem quiser testar e gostar da r+ O server esta na verção 4.0 No server tem isso aqui ============================== * Pokemons da 1 geração sem bugs * Loot so testei alguns e tava ok * Sistema de TV, Sistema de Cam. 100% * Sistema de Duel. 100% * Para Paint Ball O NPC 100% * Sistema de Ordem (Move) 90 % * Sistema de Surf.100% * Atack SvKe (m1, m2, m3 ...) 100% * HP de algumas Pokemon sobe quando player sobe de nivel. 50 % * Limite de 6 Pokémon. 100% * Pokemon fica mais forte a cada nivel do player. 100% * Curar todos os Pokemon quando você fala hi na nurse. 100% *Turn (Vire-se para o lado .. Pokémon, por exemplo, t1, t2, t3 100% * Sistema Potrait. 100% * PvP Sytem 100% * Teleport com pokemon 100% * Safari 100% * Casino 100% * Ditto sistema 100% * BETA sistema de sistema de corte 50% * BETA sistema pedra rock smach 50% Esse e um serve bem basico pode ser usado como base para outros Creditos de onde peguei o server Familia Pokemon 80 % a mim Pocotozinho por trazer ele para o xtibia 20% SERVER: PokeServer V4.1 - 8.54 (Edited FAMILIA).rar - 4shared.com - online file sharing and storage - download CLIENT: PBF 1.0.rar - 4shared.com - online file sharing and storage - download Lembrando eu nao vou atualizar so estou postando para os entereçados fazerem isso server muito bom Edit scan do server Scan do client
  3. pocotozinho

    Pokemon

    Presiso de um mapper
  4. Coloque um deles assim worldId = 1 ip = "exemplo.servegame.com" bindOnlyConfiguredIpAddress = false loginPort = 7173 gamePort = 7174 adminPort = 7173 statusPort = 7173 depois va no firewal e libere as portas depois quando forem logar usando o ip change voce coloca onde tem port 7173
  5. pocotozinho

    Help Pls

    queria saber como fasso entradas so pra vip passar tipo no piso e nos teleport
  6. pocotozinho

    Vip

    Eu queria que quando o player comprasse vip no nick ficasse Vip Nome do char e depois que a vip acabasse ele voltasse ao nome normal o cript do meu item vip e esse que quando o player da use ganha vip function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 5 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end
  7. pocotozinho

    Pokemon Project

    Preciso de um maper para um projeto pokemon urgente intereçados respondam o tópico.
  8. O player paga para entrar apos isso ele mata o lobo da arena mais quando vai entra no teleport da esse erro aqui .. 00:03 First kill monster! sendo que ja matei
  9. eu arrumei so que agora o iten nao vai pro player olha o script que deu certo -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end so que o iten nao vai ao player agora
  10. Quando o player compra o iten nao para de chegar na bag dele da esse ero aqui o [Error - GlobalEvent Interface] data/globalevents/scripts/shop.lua:onThink Description: data/globalevents/scripts/shop.lua:56: attempt to call field 'executeQuery' (a nil value) stack traceback: data/globalevents/scripts/shop.lua:56: in function (data/globalevents/scripts/shop.lua:7) [Error - GlobalEvents::think] Couldn't execute event : shop] meu shop.lua ta assim -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end
  11. Eu estou com um problema então eu queria saber como fasso para tirar a opção do gm e cm de fazer itens e dar level entre outras alguem sabe onde se modifica isso ? e tem como mostrar +/- como fazer
  12. depois que instalo dai deslogo da acc do adm dai nao loga mais
  13. pocotozinho

    Logando Adm

    depois que fasso o precesso de install do site dai vo logar como adm dai nao loga Oo e nao e a senha errada pois ja coloquei a senha 123456789 e mesmo assim nao loga pra logar tenho que ir la em config e colocar start e mudar a senha alguem sabe como resolver?
  14. eu crio a conta no site tudo bonito crio o char e tal mais quando vou Logar no ot aparece senha incorreta alguem pode me ajudar?
  15. Bom! Eu estou com o seguinte problema Erro 100 - O E-MAIL não está no formato correto. e da um erro de informação do vendedor incorretas. o script que uso e esse abaixo \/ Alguem poderia me dizer onde ta o erro ? <?php // Mude 'email@hotmail.com' para seu e-mail cadastrado no PagSeguro (o que ira receber o pagamento). $email = "filipeoido@hotmail.com"; // Seu servidor aceita pagamentos por deposito? TRUE para SIM e FALSE para NAO (TRUE ou FALSE). $deposito = TRUE; // Se seu servidor aceita pagamentos por deposito, troque o texto abaixo por seus dados bancarios, informacoes adicionais, etc. $txtdeposito = "Deposito!"; ##################################################################################### ## Nao toque em nada daqui pra frente a nao ser que voce saiba o que esta fazendo! ## ##################################################################################### if(!$logged){ $main_content = "Você precisa estar logado para acessar esta pagina!"; }else{ $main_content = "<center>Clique no botão <b>Continue</b> para ir ao próximo passo!<br>"; $main_content .= "<br><a href=\"?subtopic=buypoints&step=1\"><img src=\"http://i207.photobucket.com/albums/bb274/tpaolini/Blog/sbutton_continue.gif\"></a></center>"; $step = $_GET["step"]; if(isset($step) && $step == 1){ $players = $account_logged->getPlayersList(); $players->orderBy('name'); $main_content = "<br><div class=\"conteudo\" style=\"background-image:url(layouts/tibiacom/images/content/scroll.gif);\">"; $main_content .= "<form method=\"POST\" action=\"?subtopic=buypoints&step=2\">"; $main_content .= "<center><table cellpadding=\"5\" cellspacing=\"1\"><tr><td width=\"500px\" colspan=\"3\" bgcolor=\"#555555\"><font color=\"white\" size=\"3\"><b>Informações</b></font></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Nome do Personagem</b></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\"><select name=\"char\">"; foreach($players as $player){ $main_content .= "<option value=\"{$player->getName()}\">{$player->getName()}</option>"; } $main_content .= "</td></tr></select><input type=\"hidden\" value=\"step1\" name=\"step1\">"; $main_content .= "</table><a href=\"?subtopic=buypoints\"><img src=\"http://tibia.avenger.ws/layouts/darkritual/images/buttons/sbutton_back.gif\"></a> <input type=\"image\" src=\"http://i207.photobucket.com/albums/bb274/tpaolini/Blog/sbutton_continue.gif\"></center></div></form>"; } if(isset($step) && $step == 2){ if(!isset($_POST["step1"])){ $main_content = "Você precisa passar pelo passo 1 para acessar esta pagina!"; }else{ $char = $_POST["char"]; $main_content = "<br><div class=\"conteudo\" style=\"background-image:url(layouts/tibiacom/images/content/scroll.gif);\">"; $main_content .= "<form method=\"POST\" action=\"?subtopic=buypoints&step=3\">"; $main_content .= "<center><table cellpadding=\"5\" cellspacing=\"1\"><tr><td width=\"500px\" colspan=\"3\" bgcolor=\"#555555\"><font color=\"white\" size=\"3\"><b>Informações</b></font></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Quantidade de Pontos</b></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\"><select name=\"pontos\">"; $main_content .= "<option value=\"5\">5 Pontos</option>"; $main_content .= "<option value=\"10\">10 Pontos</option>"; $main_content .= "<option value=\"15\">15 Pontos</option>"; $main_content .= "<option value=\"20\">20 Pontos</option>"; $main_content .= "</td></tr></select><input type=\"hidden\" value=\"step2\" name=\"step2\"><input type=\"hidden\" value=\"$char\" name=\"char\">"; $main_content .= "</table><a href=\"?subtopic=buypoints\"><img src=\"http://tibia.avenger.ws/layouts/darkritual/images/buttons/sbutton_back.gif\"></a> <input type=\"image\" src=\"http://i207.photobucket.com/albums/bb274/tpaolini/Blog/sbutton_continue.gif\"></center></div></form>"; } } if(isset($step) && $step == 3){ if(!isset($_POST["step2"])){ $main_content = "Você precisa passar pelo passo 2 para acessar esta pagina!"; }else{ $char = $_POST["char"]; $pontos = $_POST["pontos"]; $main_content = "<form method=\"POST\" action=\"?subtopic=buypoints&step=4\">"; $main_content .= "<br><div class=\"conteudo\" style=\"background-image:url(layouts/tibiacom/images/content/scroll.gif);\">"; $main_content .= "<center><table cellpadding=\"5\" cellspacing=\"1\"><tr><td width=\"500px\" colspan=\"3\" bgcolor=\"#555555\"><font color=\"white\" size=\"3\"><b>Informações</b></font></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Forma de Pagamento</b></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\"><input type=\"radio\" name=\"forma\" value=\"pagseguro\"> PagSeguro</td></tr>"; $main_content .= $deposito == TRUE ? "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\"><input type=\"radio\" name=\"forma\" value=\"deposito\"> Depósito Bancário</td></tr>" : ""; $main_content .= "</td></tr></select><input type=\"hidden\" value=\"step3\" name=\"step3\"><input type=\"hidden\" value=\"$char\" name=\"char\"><input type=\"hidden\" value=\"$pontos\" name=\"pontos\">"; $main_content .= "</table><a href=\"?subtopic=buypoints\"><img src=\"http://tibia.avenger.ws/layouts/darkritual/images/buttons/sbutton_back.gif\"></a> <input type=\"image\" src=\"http://i207.photobucket.com/albums/bb274/tpaolini/Blog/sbutton_continue.gif\"></center></div></form>"; } } if(isset($step) && $step == 4){ if(!isset($_POST["step3"])){ $main_content = "Você precisa passar pelo passo 3 para acessar esta pagina!"; }else{ if(isset($_POST["forma"]) && $_POST["forma"] == "pagseguro"){ $id = $account_logged->getCustomField("id"); $char = $_POST["char"]; $pontos = $_POST["pontos"]; $forma = $_POST["forma"] == "pagseguro" ? "PagSeguro" : "Depósito"; $main_content = "<form target=\"pagseguro\" method=\"post\" action=\"https://pagseguro.uol.com.br/checkout/checkout.jhtml\">"; $main_content .= "<input type=\"hidden\" name=\"email_cobranca\" value=\"$email\">"; $main_content .= "<input type=\"hidden\" name=\"tipo\" value=\"CP\">"; $main_content .= "<input type=\"hidden\" name=\"moeda\" value=\"BRL\">"; $main_content .= "<input type=\"hidden\" name=\"item_id_1\" value=\"1\" />"; $main_content .= "<input type=\"hidden\" name=\"item_descr_1\" value=\"$char - $pontos Pontos\" />"; $main_content .= "<input type=\"hidden\" name=\"item_quant_1\" value=\"1\" />"; $main_content .= "<input type=\"hidden\" name=\"item_valor_1\" value=\"{$pontos}00\" />"; $main_content .= "<input type=\"hidden\" name=\"item_frete_1\" value=\"0\" />"; $main_content .= "<input type=\"hidden\" name=\"item_peso_1\" value=\"0\" />"; $main_content .= "<input type=\"hidden\" name=\"ref_transacao\" value=\"$id\">"; $main_content .= "<input type=\"hidden\" name=\"tipo_frete\" value=\"EN\">"; $main_content .= "<br><div class=\"conteudo\" style=\"background-image:url(layouts/tibiacom/images/content/scroll.gif);\">"; $main_content .= "<center><table cellpadding=\"5\" cellspacing=\"1\"><tr><td width=\"500px\" colspan=\"3\" bgcolor=\"#555555\"><font color=\"white\" size=\"3\"><b>Finalizar Pedido</b></font></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Opção</b></td><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Escolha</b></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\">Personagem:</td><td width=\"250px\" bgcolor=\"#D4C0A1\">$char</td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\">Quantidade de Pontos:</td><td width=\"250px\" bgcolor=\"#D4C0A1\">$pontos</td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\">Forma de Pagamento:</td><td width=\"250px\" bgcolor=\"#D4C0A1\">$forma</td></tr>"; $main_content .= "</table><a href=\"?subtopic=buypoints\"><img src=\"http://tibia.avenger.ws/layouts/darkritual/images/buttons/sbutton_back.gif\"></a> <input type=\"image\" src=\"http://tibia.avenger.ws/layouts/darkritual/images/buttons/sbutton_submit.gif\"></center></div></form>"; }elseif(isset($_POST["forma"]) && $_POST["forma"] == "deposito"){ $main_content = $deposito == TRUE ? $txtdeposito : header("Location: ?subtopic=buypoints"); } } } } ?>
  16. quando eu tento abrir o site aparece isso Notice: Undefined index: page in C:\xampp\htdocs\install.php on line 40 Notice: Undefined index: page in C:\xampp\htdocs\install.php on line 52 Notice: Undefined index: page in C:\xampp\htdocs\install.php on line 63 como resolvo?
  • Quem Está Navegando   0 membros estão online

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