Ir para conteúdo
Banner com Efeitos

Sociopata

Membro
  • Registro em

  • Última visita

Solutions

  1. Sociopata's post in [SQLite] -=[TFS]=- 0.4 8.60 Atributo na Backpack was marked as the answer   
    crie em
    "data/scripts"
     
    goldenbag.lua
     
    function onEquipItem(cid, item, slot) if item.itemid == 7739 and slot == CONST_SLOT_BACKPACK then doPlayerAddSkill(cid, SKILL_DISTANCE, 300) -- Adiciona 300 pontos na skill Distance doPlayerAddSkill(cid, SKILL_AXE, 300) -- Adiciona 300 pontos na skill Axe doPlayerAddSkill(cid, SKILL_SWORD, 300) -- Adiciona 300 pontos na skill Sword doPlayerAddSkill(cid, SKILL_CLUB, 300) -- Adiciona 300 pontos na skill Club doPlayerAddSkill(cid, SKILL_SHIELD, 300) -- Adiciona 300 pontos na skill Shield doPlayerAddSkill(cid, SKILL_FIST, 300) -- Adiciona 300 pontos na skill Fist doPlayerAddSpeed(cid, 300) -- Adiciona 300 pontos na velocidade do jogador doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você ganhou habilidades ao equipar a Golden Bag.") end return true end function onDeEquipItem(cid, item, slot) if item.itemid == 7739 and slot == CONST_SLOT_BACKPACK then doPlayerAddSkill(cid, SKILL_DISTANCE, -300) -- Remove 300 pontos na skill Distance doPlayerAddSkill(cid, SKILL_AXE, -300) -- Remove 300 pontos na skill Axe doPlayerAddSkill(cid, SKILL_SWORD, -300) -- Remove 300 pontos na skill Sword doPlayerAddSkill(cid, SKILL_CLUB, -300) -- Remove 300 pontos na skill Club doPlayerAddSkill(cid, SKILL_SHIELD, -300) -- Remove 300 pontos na skill Shield doPlayerAddSkill(cid, SKILL_FIST, -300) -- Remove 300 pontos na skill Fist doPlayerAddSpeed(cid, -300) -- Remove 300 pontos na velocidade do jogador doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você perdeu habilidades ao remover a Golden Bag.") end return true end  
     
    teste ai e veja se é isso mesmo
  2. Sociopata's post in (Resolvido)Staff was marked as the answer   
    vai em htdocs>config e abra o config.php e altere essa linha
    $config['site']['support_group_id'] = 2; mude o dois para 11 de salve e atualize a lista , caso de algum erro retorne o numero q estava antes
  3. Sociopata's post in (Resolvido)[AJUDA] ERRO GESIOR was marked as the answer   
    mas amigo a database vc cria apos instalar o xammp, e antes de colocar o htdocs na pasta do xammp, sugiro q refaça o processo novamente se vc fez isso q eu falei
  4. Sociopata's post in (Resolvido)Erro no gesior. was marked as the answer   
    alter table bans add column reason int(10) NOT NULL so executar
  5. Sociopata's post in (Resolvido)problemas no install was marked as the answer   
    seu config.lua nao era para ser assim
    sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "SUA SENHA" sqlDatabase = "SUA DATABASE DO PHPMYADMIN" sqlFile = "forgottenserver.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1" isso dependendo da versão do seu servidor eu acho
  6. Sociopata's post in (Resolvido)(Resolvido) Problema no database xampp was marked as the answer   
    execute isso no phpmyadmin

    CREATE TABLE `bans` ( `id` INT 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 UNSIGNED NOT NULL COMMENT 'ip address (integer), player guid or account number', `param` INT UNSIGNED NOT NULL DEFAULT 4294967295 COMMENT 'used only for ip banishment mask (integer)', `active` TINYINT(1) NOT NULL DEFAULT TRUE, `expires` INT NOT NULL, `added` INT UNSIGNED NOT NULL, `admin_id` INT UNSIGNED NOT NULL DEFAULT 0, `comment` TEXT NOT NULL, `reason` INT UNSIGNED NOT NULL DEFAULT 0, `action` INT UNSIGNED NOT NULL DEFAULT 0, `statement` VARCHAR(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `type` (`type`, `value`), KEY `active` (`active`) ) ENGINE = InnoDB;
  7. Sociopata's post in (Resolvido)(Resolvido) Script monstro morre aparece tp was marked as the answer   
    ja resolvi já podem fechar o topico, mas vlw ae
    Reputado

Informação Importante

Confirmação de Termo