Ir para conteúdo

Altairjr

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Altairjr recebeu reputação de Nerivalhs em Gesior - Baiak-PvP 2020   
    @msousay.94 provavelmente é a key do recaptcha do google precisa colocar uma nova.... se você quiser desabilitar o recaptcha para poder acessar ou criar conta no site, acessa o config.php e localize por:
     
    $config['site']['google_captcha_enabled'] = true;  
    Onde está true troque para false
     
    vai desabilitar a função do recaptcha e você vai conseguir acessar ou criar conta pelo site.
    @necroids esse erro é porque não tem os rook sample, sorcerer, druid, paladin e knight junto do account manager, então você não consegue criar conta pelo site se não tiver eles.
     
    Para resolver, rode as query a baixo no seu mysql.
     
    INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `lookmount`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `pvp_blessing`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `comment`, `create_ip`, `create_date`, `hide_char`, `signature`, `broadcasting`, `castDescription`, `viewers`, `ip`, `offlinetraining_time`, `offlinetraining_skill`, `guildjoin`, `sbw_points`) VALUES (NULL, 'Rook Sample', '0', '1', '1', '8', '0', '185', '185', '4200', '0', '0', '0', '0', '136', '0', '0', '0', '35', '35', '0', '0', '0', '1988', '2018', '7', '480', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '151200000', '0', '100', '100', '100', '100', '100', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '', '0', '', '0', '127.0.0.1', '43200', '-1', '0', '0')  
    INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `lookmount`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `pvp_blessing`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `comment`, `create_ip`, `create_date`, `hide_char`, `signature`, `broadcasting`, `castDescription`, `viewers`, `ip`, `offlinetraining_time`, `offlinetraining_skill`, `guildjoin`, `sbw_points`) VALUES (3, 'Sorcerer Sample', 0, 1, 1, 8, 1, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0), (4, 'Druid Sample', 0, 1, 1, 8, 2, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0), (5, 'Paladin Sample', 0, 1, 1, 8, 3, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0), (6, 'Knight Sample', 0, 1, 1, 8, 4, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0);  
    @luancanela23 pode dizer como fez para adicionar essa função?
  2. Gostei
    Altairjr recebeu reputação de premii em Gesior - Baiak-PvP 2020   
    @msousay.94 provavelmente é a key do recaptcha do google precisa colocar uma nova.... se você quiser desabilitar o recaptcha para poder acessar ou criar conta no site, acessa o config.php e localize por:
     
    $config['site']['google_captcha_enabled'] = true;  
    Onde está true troque para false
     
    vai desabilitar a função do recaptcha e você vai conseguir acessar ou criar conta pelo site.
    @necroids esse erro é porque não tem os rook sample, sorcerer, druid, paladin e knight junto do account manager, então você não consegue criar conta pelo site se não tiver eles.
     
    Para resolver, rode as query a baixo no seu mysql.
     
    INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `lookmount`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `pvp_blessing`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `comment`, `create_ip`, `create_date`, `hide_char`, `signature`, `broadcasting`, `castDescription`, `viewers`, `ip`, `offlinetraining_time`, `offlinetraining_skill`, `guildjoin`, `sbw_points`) VALUES (NULL, 'Rook Sample', '0', '1', '1', '8', '0', '185', '185', '4200', '0', '0', '0', '0', '136', '0', '0', '0', '35', '35', '0', '0', '0', '1988', '2018', '7', '480', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '151200000', '0', '100', '100', '100', '100', '100', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '', '0', '', '0', '127.0.0.1', '43200', '-1', '0', '0')  
    INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `lookmount`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `pvp_blessing`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `comment`, `create_ip`, `create_date`, `hide_char`, `signature`, `broadcasting`, `castDescription`, `viewers`, `ip`, `offlinetraining_time`, `offlinetraining_skill`, `guildjoin`, `sbw_points`) VALUES (3, 'Sorcerer Sample', 0, 1, 1, 8, 1, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0), (4, 'Druid Sample', 0, 1, 1, 8, 2, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0), (5, 'Paladin Sample', 0, 1, 1, 8, 3, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0), (6, 'Knight Sample', 0, 1, 1, 8, 4, 185, 185, 4200, 0, 0, 0, 0, 136, 0, 0, 0, 35, 35, 0, 100, 0, 1988, 2018, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 151200000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 0, '', 0, '127.0.0.1', 43200, -1, 0, 0);  
    @luancanela23 pode dizer como fez para adicionar essa função?
  3. Curtir
    Altairjr deu reputação a Ryaan em (Resolvido)Erro Gesior ao criar conta   
    tenta rodar esse comando na sua DB, já me salvou de muitos problemas
    SET GLOBAL sql_mode='';  
  4. Curtir
    Altairjr deu reputação a gabrielzika em (Resolvido)Mudar Elemento dá Wand por Item   
    são realmente o mesmo id?
    <wand id="12655" level="8" mana="10" min="700" max="850" type="holy" event="function" value="default"> e
    <wand id="12665" range="8" lvl="8" mana="10" enabled="1" exhaustion="0" script="donatestaff.lua">  
    um tá 12655 e outro 12665 '-'
     
    comenta os ids de todas as wands certinho aqui pra mim colocar só para algumas especificas usarem o !wand
     
    e sobre cobrar, não está cobrando?? wtf kk tem o 
    doPlayerRemoveMoney(cid, config.price)  
  5. Curtir
    Altairjr deu reputação a gabrielzika em (Resolvido)Mudar Elemento dá Wand por Item   
    @Altairjr espero que seja isso(não testei plx)
     
    local combat_values = { ["none"] = -1, ["ice"] = 1, ["fire"] = 2, ["earth"] = 3, ["energy"] = 4, ["holy"] = 5, ["death"] = 6, } local config = { storage = 101010, time_storage = 101011, price = 1000000, delay = 0, wands = {12629, 12655, 12661, 12662, 12663, 12664, 12665}, msg = { help = "Use o comando exemplo: !wand holy Efeitos disponíveis: ice, fire, earth, energy, holy, death, e none para desabilitar. A troca para outro elemento custa 1kk.", invalid = "Por favor, digite um tipo valido.", changed = "O elemento da wand foi trocado para %s.", nomoney = "Você não possui dinheiro.", delayed = "Você precisa esperar para trocar o efeito.", } } -- /////////////////////Requerimentos///////////////////-- local req_text = "You cannot use this command." -- Mensagem caso nao possua o item --/////////////////////////////////////////////////////-- function onSay(cid, words, param) local param = param:lower() local value = combat_values[param] local wand_left = getPlayerSlotItem(cid, CONST_SLOT_LEFT) local wand_right = getPlayerSlotItem(cid, CONST_SLOT_RIGHT) if wand_left.uid > 0 or wand_right.uid > 0 then if isInArray(config.wands, wand_left.itemid) or isInArray(config.wands, wand_right.itemid) then if wand_left.uid > 0 and isInArray(config.wands, wand_left.itemid) and (param == "help" or param == "") then doShowTextDialog(cid, wand_left.itemid, string.format(config.msg.help, config.price)) return true elseif wand_right.uid > 0 and isInArray(config.wands, wand_right.itemid) and (param == "help" or param == "") then doShowTextDialog(cid, wand_right.itemid, string.format(config.msg.help, config.price)) return true end if not value then doPlayerSendCancel(cid, config.msg.invalid) return true end if getPlayerMoney(cid) < config.price then doPlayerSendCancel(cid, config.msg.nomoney) return true end if getPlayerMoney(cid) < config.price then doPlayerSendCancel(cid, config.msg.nomoney) return true end if getCreatureStorage(cid, config.time_storage) > os.time() then doPlayerSendCancel(cid, config.msg.delayed) return true end doCreatureSetStorage(cid, config.storage, value) doCreatureSetStorage(cid, config.time_storage, os.time() + config.delay) doPlayerRemoveMoney(cid, config.price) doPlayerSendCancel(cid, string.format(config.msg.changed, param)) else doPlayerSendCancel(cid, req_text) end else doPlayerSendCancel(cid, req_text) end return true end  
  6. Obrigado
    Altairjr deu reputação a gabrielzika em (Resolvido)Mudar Elemento dá Wand por Item   
    @Altairjr veja se funciona ai bro (não testei). Qualquer erro me manda aqui :d
     
    local combat_values = { ["none"] = -1, ["ice"] = 1, ["fire"] = 2, ["earth"] = 3, ["energy"] = 4, ["holy"] = 5, ["death"] = 6, } local config = { storage = 101010, time_storage = 101011, price = 1000000, delay = 0, msg = { help = "Use o comando exemplo: !wand holy Efeitos disponíveis: ice, fire, earth, energy, holy, death, e none para desabilitar. A troca para outro elemento custa 1kk.", invalid = "Por favor, digite um tipo valido.", changed = "O elemento da wand foi trocado para %s.", nomoney = "Você não possui dinheiro.", delayed = "Você precisa esperar para trocar o efeito.", } } -- /////////////////////Requerimentos///////////////////-- local req_text = "You cannot use this command." -- Mensagem caso nao possua o item --/////////////////////////////////////////////////////-- function onSay(cid, words, param) local param = param:lower() local value = combat_values[param] local wand_left = getPlayerSlotItem(cid, CONST_SLOT_LEFT) local wand_right = getPlayerSlotItem(cid, CONST_SLOT_RIGHT) if wand_left.uid > 0 or wand_right.uid > 0 then if wand_left.uid > 0 and (param == "help" or param == "") then doShowTextDialog(cid, wand_left.itemid, string.format(config.msg.help, config.price)) return true elseif wand_right.uid > 0 and (param == "help" or param == "") then doShowTextDialog(cid, wand_right.itemid, string.format(config.msg.help, config.price)) return true end if not value then doPlayerSendCancel(cid, config.msg.invalid) return true end if getPlayerMoney(cid) < config.price then doPlayerSendCancel(cid, config.msg.nomoney) return true end if getPlayerMoney(cid) < config.price then doPlayerSendCancel(cid, config.msg.nomoney) return true end if getCreatureStorage(cid, config.time_storage) + config.delay > os.time() then doPlayerSendCancel(cid, config.msg.delayed) return true end doCreatureSetStorage(cid, config.storage, value) doCreatureSetStorage(cid, config.time_storage, os.time()) doPlayerRemoveMoney(cid, config.price) doPlayerSendCancel(cid, string.format(config.msg.changed, param)) else doPlayerSendCancel(cid, req_text) end return true end  
  7. Curtir
    Altairjr deu reputação a gabrielzika em (Resolvido)Mudar Elemento dá Wand por Item   
    @Altairjr me explica direito que te ajudo sim bro

Informação Importante

Confirmação de Termo