Ir para conteúdo

Saintsbr

Membro
  • Registro em

  • Última visita

Tudo que Saintsbr postou

  1. mano voce tentou trocar aqui tambem function onGetFormulaValues(cid, level, maglevel) tipo assim function onGetFormulaValues(cid, level, distance) min = -(distance*55) + -(level*0.15) max = -(distance*55) + -(level*0.15) return min, max end
  2. cara posta seu movements.xml para mim ver por favor
  3. se funcionou marca como melhor resposta para este topico fechar, vou dar uma olhada no outro =]
  4. vai em data/monsters/mounsters.xml da ctrl+f e digita noob, veja se tem 2, se tiver exclua um, senao avise aqui se ajudei da rep + =]
  5. to usando a 14.04, ubuntu.. eu ja fiz isso, exclui e fiz tudo denovo cara acho que ja instalei as libs, mas vou tentar de qualquer modo rep+ por ajudar, logo volto e digo se deu certo ou nao kk
  6. cara fiz isso deu mais ou menos certo, ai acontece isso [100%] Building CXX object CMakeFiles/tfs.dir/src/wildcardtree.cpp.o Linking CXX executable tfs /usr/bin/ld: CMakeFiles/tfs.dir/src/scheduler.cpp.o: referência indefinida ao símbolo 'pthread_create@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status CMakeFiles/tfs.dir/build.make:1914: recipe for target 'tfs' failed make[2]: *** [tfs] Error 1 CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/tfs.dir/all' failed make[1]: *** [CMakeFiles/tfs.dir/all] Error 2 Makefile:72: recipe for target 'all' failed make: *** [all] Error 2
  7. galera quem manja de linux pode me responde se o comando pra compilar essas sorces é esse: sh ./autogen.sh && ./configure --enable-server-diag --enable-mysql --enable-root-permission && make clean && make -j 2 ? des de ja agradeço
  8. é esse post que eu vi, mas nao tem aquele arquivo que ele usa pra abrir "the forggoten server.dev" ops foi mal, nao era esse post, vo tentar fazer isso, vlw rep+
  9. galera to tendo esses erros na distro, alguem pode me ajudar? ot global 10.53 tfs 1.0, gostaria de saber tambem qual o melhor site para usar... obg
  10. olha ai, sou novo nesse negocio de compilar as distros e tals, entao qualquer informação me ajuda demais
  11. galera queria ajuda e se puderem uma explicação sobre compilação de tfs 1.0 para o global 10.53, eu tenho o programa devc++ só que os tutorias que eu vi aqui no forum os arquivos para compilar sao diferentes, eu acredito que é por causa da versao do ot
  12. Saintsbr postou uma resposta no tópico em Suporte Tibia OTServer
    ola galera do tibia king estou precisando de ajuda para addicionar os samples do drunou e do infer do radbr no sql alguem pode me ajudar?
  13. galera, consegui resolver, eu só precisava trocar o config.lua e arrumar algumas coisas que vc avisaram, obrigado rep+ edit ~~ galera só to tendo prblemas para inserir os samples das novas vocatios, fis aquilo que o nazaraky falou mas deu erro
  14. Mensagens do MySQL : #1136 - Column count doesn't match value count at row 1 <vocation id="9" name="Drunou" description="a drunou" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="15" gainmanaticks="4" gainmanaamount="20" manamultiplier="1.6" attackspeed="600" soulmax="200" gainsoulticks="15" fromvoc="9"> <formula meleeDamage="2.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.1"/> <skill id="2" multiplier="1.4"/> <skill id="3" multiplier="1.4"/> <skill id="4" multiplier="1.4"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="10" name="Lord Drunou" description="an lord drunou" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="20" gainmanaticks="3" gainmanaamount="25" manamultiplier="2.5" attackspeed="600" soulmax="200" gainsoulticks="15" fromvoc="9" lessloss="3"> <formula meleeDamage="2.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.1"/> <skill id="2" multiplier="1.4"/> <skill id="3" multiplier="1.4"/> <skill id="4" multiplier="1.4"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="11" name="Infernalist" description="a infernalist" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="15" gainmanaticks="3" gainmanaamount="60" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="11"> <formula meleeDamage="1.1" distDamage="1.0" wandDamage="1.0" magDamage="1.1" magHealingDamage="1.8" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="2.0"/> <skill id="2" multiplier="2.0"/> <skill id="3" multiplier="2.0"/> <skill id="4" multiplier="2.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="12" name="Master Infernalist" description="an master infernalist" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="20" gainmanaticks="2" gainmanaamount="70" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="11" lessloss="3"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.8" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="2.0"/> <skill id="2" multiplier="2.0"/> <skill id="3" multiplier="2.0"/> <skill id="4" multiplier="2.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> </vocations>
  15. quero que fique assim danihc, nao sei os ids JonatasLucasf o meu servidor nao esta online ainda
  16. eu digo colocar as outras vocações como drunou e infe no site, pode me ajudar? http://www.tibiaking.com/forum/topic/26320-mapa-radbr-86/é esse ai
  17. qual a versao do xampp?
  18. ola galera, estou querendo criar um rad br com site, gostaria de saber se tem como mudar de swlite para mysql sem nenhum problema, e se alguem tem um site de radbr para disponibilizar ou ensinar como colocar as outras vocações para escolher no site? obg!
  19. galera preciso de ajuda, eu abri todo o servidor e coloquei o shop e o sistema do pag seguro então comprei 1 real para testar, chegou o email de confirmação de compra para mim, dizendo que foi aprovado e tudo, mas os pontos não chegaram na conta do personagem, e apos finalizar a compra quando ele redireciona para o www.site(meu site aqui)/retorno.php ele aparece uma pagina em branco sem nada, é normal isso?? por favor preciso de ajuda rep ++ pra quem ajudar
  20. qual sua distro?
  21. coloca assim no globalevents.xml <globalevent name="shop" interval="30000" script="shop.lua"/> tenta trocar o shop lua por esse -- ### CONFIG ### -- message send to player by script "type" (types you can check in "data/lib/000-constants.CODE=LUA") SHOP_MSG_TYPE = MESSAGE_STATUS_CONSOLE_BLUE -- time (in seconds) between queries to MySQL 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) doItemSetAttribute(new_container, "description", 'Bought by ' .. getCreatureName(cid) .. ' [ID:' .. id .. '].') doItemSetAttribute(new_container, "tid", id) local iter = 0 while iter ~= container_count do local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", 'Bought by ' .. getCreatureName(cid) .. ' [ID:' .. id .. '].') doItemSetAttribute(new_item, "tid", id) doAddContainerItemEx(new_container, new_item) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", 'Bought by ' .. getCreatureName(cid) .. ' [ID:' .. id .. '].') doItemSetAttribute(new_item, "tid", id) 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.') doPlayerSave(cid) db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("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
  22. poste o seu globalvents e seu shop.xml
  23. não é isso que utani hur faz? nao entendi direito oque vc quer
  24. Saintsbr respondeu ao post em um tópico de xddidixd em Suporte Tibia OTServer
    voce precisa baixar outra versao do rme pra funcionar

Informação Importante

Confirmação de Termo