Solutions
-
Sociopata's post in [SQLite] -=[TFS]=- 0.4 8.60 Atributo na Backpack was marked as the answercrie 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
-
Sociopata's post in (Resolvido)Staff was marked as the answervai 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
-
Sociopata's post in (Resolvido)[AJUDA] ERRO GESIOR was marked as the answermas 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
-
Sociopata's post in (Resolvido)Erro no gesior. was marked as the answeralter table bans add column reason int(10) NOT NULL so executar
-
Sociopata's post in (Resolvido)problemas no install was marked as the answerseu 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
-
Sociopata's post in (Resolvido)(Resolvido) Problema no database xampp was marked as the answerexecute 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;
-
Sociopata's post in (Resolvido)(Resolvido) Script monstro morre aparece tp was marked as the answerja resolvi já podem fechar o topico, mas vlw ae
Reputado