Ir para conteúdo

Blackmotion

Membro
  • Registro em

  • Última visita

Tudo que Blackmotion postou

  1. Blackmotion postou uma resposta no tópico em Playground (Off-topic)
    sim R$30,00 a pista... quando eu vi o preço do seu post eu achei que tinha visto o preço até errado, ai fui conferir no grupo aqui é 30 msm u.u
  2. Blackmotion postou uma resposta no tópico em Playground (Off-topic)
    aqui vai ser perto de onde eu moro R$30,00 u.u
  3. Execute todos os comandos abaixo no seu phpmyadmin : ALTER TABLE `players` ADD `cast` VARCHAR(255) not null default ''; ... DROP TABLE IF EXISTS `bans`; CREATE TABLE `bans` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type` tinyint(1) NOT NULL COMMENT '1 - ip banishment, 2 - namelock, 3 - account banishment, 4 - notation, 5 - deletion', `value` int(10) unsigned NOT NULL COMMENT 'ip address (integer), player guid or account number', `param` int(10) unsigned NOT NULL DEFAULT '4294967295' COMMENT 'used only for ip banishment mask (integer)', `active` tinyint(1) NOT NULL DEFAULT '1', `expires` int(11) NOT NULL, `added` int(10) unsigned NOT NULL, `admin_id` int(10) unsigned NOT NULL DEFAULT '0', `comment` text NOT NULL, `reason` int(10) unsigned NOT NULL DEFAULT '0', `action` int(10) unsigned NOT NULL DEFAULT '0', `statement` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `type` (`type`,`value`), KEY `active` (`active`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; ... DROP TABLE IF EXISTS `player_depotitems`; CREATE TABLE `player_depotitems` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL COMMENT 'any given range, eg. 0-100 is reserved for depot lockers and all above 100 will be normal items inside depots', `pid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL, `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, UNIQUE KEY `player_id_2` (`player_id`,`sid`), KEY `player_id` (`player_id`), CONSTRAINT `player_depotitems_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; Algumas pessoas conseguiram resolver o problema com esse método
  4. Blackmotion postou uma resposta no tópico em Suporte Tibia OTServer
    então posta o install.php...
  5. Blackmotion postou uma resposta no tópico em Suporte Tibia OTServer
    // comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE); // true = show sent queries and SQL queries status/status code/error message define('DEBUG_DATABASE', true); define('INITIALIZED', true); // if not defined before, set 'false' to load all normal if(!defined('ONLY_PAGE')) define('ONLY_PAGE', false); // check if site is disabled/requires installation include_once('./system/load.loadCheck.php'); // fix user data, load config, enable class auto loader include_once('./system/load.init.php'); // DATABASE include_once('./system/load.database.php'); if(DEBUG_DATABASE) Website::getDBHandle()->setPrintQueries(true); // DATABASE END // LOGIN if(!ONLY_PAGE) include_once('./system/load.login.php'); // LOGIN END // COMPAT // some parts in that file can be blocked because of ONLY_PAGE constant include_once('./system/load.compat.php'); // COMPAT END // LOAD PAGE include_once('./system/load.page.php'); // LOAD PAGE END // LAYOUT // with ONLY_PAGE we return only page text, not layout if(!ONLY_PAGE) include_once('./system/load.layout.php'); else echo $main_content; // LAYOUT END Se coloco "treu" é "true" ahsuahsuha ... usa o de cima, ai vai detalhar o erro e tu posta aqui novamente
  6. Blackmotion postou uma resposta no tópico em Suporte Tibia OTServer
    posta seu install.php ... o INDEX é só pra detalhar o erro ele não vai corrigir
  7. 9693 é o id do baú ? vou tentar fazer aqui sou novo em script, mas vou ver o que da pra fazer
  8. um baú pra compra what ? se clica no baú e compra é isso ?
  9. local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", range = -1, realAnimation = "no", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {200, 300}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doRemoveItem(item.uid, 1) return true end if(hasCondition(cid, CONDITION_EXHAUST)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return true end if(config.range > 0 and cid ~= itemEx.uid and getDistanceBetween(getCreaturePosition(cid), getCreaturePosition(itemEx.uid)) > config.range) then return false end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not config.realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) doRemoveItem(item.uid, 1) if(not potion.empty or config.removeOnUse) then return true end return true end
  10. Blackmotion postou uma resposta no tópico em Playground (Off-topic)
    UÉ ...
  11. Ué não é o que tu queria ?
  12. local evo = { ["Alakazam"] = {"Shiny Alakazam", 1}, ["Blaziken"] = {"Shiny Blaziken", 1}, ["Charizard"] = {"Shiny Charizard", 1}, ["Tyranitar"] = {"Shiny Tyranitar", 1}, ["Ninetales"] = {"Shiny ninetales", 1}, ["Scyther"] = {"Shiny Scyther", 1}, ["Arcanine"] = {"Shiny Arcanine", 1}, ["Blastoise"] = {"Shiny Blastoise", 1}, ["Onix"] = {"Shiny Onix", 1}, ["Snorlax"] = {"Shiny Snorlax", 1}, ["Golbat"] = {"Shiny Golbat", 1}, ["Crobat"] = {"Shiny Crobat", 1}, ["Muk"] = {"Shiny Muk", 1}, ["Dragonair"] = {"Shiny Dragonair", 1}, ["Marowak"] = {"Shiny Marowak", 1}, } local balls = { [2394] = {newBall = 2394}, [2391] = {newBall = 2391}, [2393] = {newBall = 2393}, [2392] = {newBall = 2392}, [12832] = {newBall = 12832}, } function onUse(cid, item, fromPosition, itemEx, toPosition) if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then local monster = getCreatureName(itemEx.uid) if evo[monster] then if getPlayerItemCount(cid, item.itemid) >= evo[monster][2] then doPlayerSendTextMessage(cid, 27, "Parabens! Seu "..getPokeName(itemEx.uid).." evoluiu para "..evo[monster][1].."!") local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid) doSendMagicEffect(getThingPos(itemEx.uid), 18) doRemoveCreature(itemEx.uid) doPlayerRemoveItem(cid, item.itemid, evo[monster][2]-1) doRemoveItem(item.uid, 1) doSummonMonster(cid,evo[monster][1]) local pokeball = getPlayerSlotItem(cid, 8) doItemSetAttribute(pokeball.uid, "poke", evo[monster][1]) doItemSetAttribute(pokeball.uid, "level", pokes[evo[monster][1]].level) doItemSetAttribute(ball, "hp", 1) doItemSetAttribute(ball, "happy", 110) local pk = getCreatureSummons(cid)[1] local getShinyPokeballs = balls[getPlayerSlotItem(cid, 8).itemid] doTransformItem(getPlayerSlotItem(cid, 8).uid, getShinyPokeballs.newBall) adjustStatus(pk, pokeball.uid, true, false, true) return TRUE else return doPlayerSendTextMessage(cid, 27, "You need atleast ".. evo[monster][2] .." stones to do it!") end end end return FALSE end
  13. data/XML/vocations.XML gainhpamount="" gainmanaamount="" basta mudar da forma que quiser.
  14. espero aprender programar em c++ logo u.u Rep+, pelo ótimo conteudo.
  15. se tu souber programar tudo é possível, a pergunta é se tu é capaz de fazer isso
  16. em index.php procure por : define('DEBUG_DATABASE', false); troque false por true ... atualize a pagina aparecerá algumas colunas faltando vem aqui e poste uma print ou erro completo para eu te ajudar
  17. Blackmotion postou uma resposta no tópico em Portal
    o tk quer nós, mas se nós não quisermos o tk, como fica ehuehueheu
  18. Creio que um servidor de SAO, o anime/lightnovel é fébre aqui no Brasil e em boa parte do mundo, com certeza um servidor que trabalhar os pontos fortes do animes e conseguir trazer um pouco daquele mundo virtual pras telinhas do tibia, fará bastante sucesso
  19. Blackmotion postou uma resposta no tópico em Ouvidoria
    Poderia me dizer quais são os "pontos" principais do projeto que mais pesa na avaliação pra vocês apoiar ou não ?
  20. Blackmotion postou uma resposta no tópico em Ouvidoria
    Como faço pra ter o projeto o apoiado pelo tk, que nem os 5 ou 6 que vi na sessão ?
  21. Blackmotion postou uma resposta no tópico em Websites
    as query são colunas faltando ... CREATE TABLE `global_storage` ( `value` int(11) NOT NULL, `key` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; sobre o page_acess tenta olhar no config.php e ver se encontra algo relacionado.
  22. Blackmotion postou uma resposta no tópico em Suporte Tibia OTServer
    http://netcube.com.br/ Melhores preços Suporte mais que excelente ... (ajudamos até na instalação do seu ot) Maquinas vem com ANTI-DDOS incríveis Recomendo que compre o cloud de R$75,00 pra começar, irá aguentar uns 500 players fácil.
  23. vai no seu config.php e procura por algo mais ou menos assim : $config['site']['newaccount_premdays'] = 1; basta colocar 0 ou remover o código.
  24. posta seu latestnews.php aqui
  25. Blackmotion postou uma resposta no tópico em Suporte Bots
    então o magebot é o melhor pra eu usar nos otserv de tibia ? é que quero só pra upar os lvl nas caves ... outra pergunta é dificil configurar o bot pra funcionar, nunca usei nenhuma bot =P

Informação Importante

Confirmação de Termo