
Tudo que Rusherzin postou
-
[ajuda] Está dando esse erro ai como que arrumo ?
Este script funciona como shop no gesior e, pelo visto, você está usando SQLite, então não há site nem shop. A solução é exatamente o que o membro acima disse, deletar o arquivo shop.lua que fica em globalevents/scripts/.
-
(Resolvido)[AJUDA] 2 Scripts de troca de itens
if msgcontains(msg, "change") then selfSay("You want to exchange 100 behemoth claws and 1 skull helmet for a damaged steel helmet?", cid) talkState[talkUser] = 1 elseif msgcontains(msg, "yes") then if talkState[talkUser] == 1 then if getPlayerItemCount(cid, t.item[1]) >= t.item[2] and getPlayerItemCount(cid, t.segitem[1]) >= t.segitem[2] then doPlayerRemoveItem(cid, t.item[1], t.item[2]) doPlayerRemoveItem(cid, t.segitem[1], t.segitem[2]) doPlayerAddItem(cid, t.reward, 1) selfSay("Here it is.", cid) talkState[talkUser] = 0 else selfSay("You don't have 100 behemoth claws and 1 skull helmet.", cid) talkState[talkUser] = 0 end end end
-
[AJUDA] Vocation Narutibia
Tenta botar um fromvoc menor que o id então.
-
[AJUDA] Vocation Narutibia
Okay, tenta fazer isso: vai até a vocação que vocação que você não quer que apareça no account manager. Pega o id dela, por exemplo, 5. Agora, olha o fromvoc dessa mesma vocação e se estiver igual ao id, mude-a. Exemplo: Antes: <vocation id="466" name="Narik" description="a Naruto Akatsuki" nneedpremium="1" gaincap="30" gainhp="300" gainmana="200" gainhpticks="0" gainhpamount="0" gainmanaticks="0" gainmanaamount="0" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="466"> Depois: <vocation id="466" name="Narik" description="a Naruto Akatsuki" nneedpremium="1" gaincap="30" gainhp="300" gainmana="200" gainhpticks="0" gainhpamount="0" gainmanaticks="0" gainmanaamount="0" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="467"> Em outras palavras, para a vocação não aparecer no account manager, o id dela não pode ser igual ao fromvoc.
-
(Resolvido)Dúvida sobre phpmyadmin
Sim, pode usar um comando: INSERT INTO `z_shop_offer` (id, points, itemid1, count1, itemid2, count2, offer_type, offer_description, offer_name, pid) VALUES (1, 5, 1234, 1, 0, 0, 'item', 'descricao aqui', 'nomedaoferta', 0);
-
[AJUDA] Vocation Narutibia
Poderia postar a parte do vocations.xml que contém a vocação?
-
Adicionar absorbPercentAll 50% no exp ring
Tenta botar uma tag para o script e uma para a function. <movevent type="Equip" itemid="xxxx" slot="ring" event="script" value="script.lua"/> <movevent type="DeEquip" itemid="xxxx" slot="ring" event="script" value="script.lua"/> <movevent type="Equip" itemid="xxxx" slot="ring" event="function" value="onEquipItem"/> <movevent type="DeEquip" itemid="xxxx" slot="ring" event="function" value="onDeEquipItem"/>
-
Erro Distro GetDataInt Acesstime
Bom, é Mysql ou SQLite?
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Não, pode excluir de boas mas para adicionar é melhor ter a conta com acesso de admin..
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Edita o page_access pelo PhpMyAdmin e para mudar o ip, creio que mudando no config.lua ele apareça ali.
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Tem que especificar o que quer tirar do latestnews e para gerenciar o shop você tem que estar logado no site com uma conta com page_access 5.
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Qualquer dúvida é só postar que eu ou algum outro membro com certeza iremos tentar ajudar.
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Você só poderá criar e controlar a guild pelo site mesmo.
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Muda no config.lua ingameGuildManagement = true Para ingameGuildManagement = false
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Qual o problema?
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Na aba SQL, no PhpMyAdmin..
-
(Resolvido)[AJUDA] Bug Mysql ou Database
INSERT INTO `players` VALUES (3, 'Sorcerer Sample', 0, 1, 1, 8, 1, 185, 185, 4200, 68, 114, 78, 58, 128, 0, 0, 0, 35, 35, 0, 2, 50, 50, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, '', 0, 0, ''), (4, 'Druid Sample', 0, 1, 1, 8, 2, 185, 185, 4200, 68, 114, 78, 58, 128, 0, 0, 0, 35, 35, 0, 2, 50, 50, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, '', 0, 0, '');
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Qual database você importou? Manda aí.
-
(Resolvido)[AJUDA] Bug Mysql ou Database
Poderia copiar o erro, por favor?
-
(Resolvido)(HELP) erro na distro
Erro meu: DROP TABLE IF EXISTS global_storage; CREATE TABLE global_storage ( [key] VARCHAR( 32 ) NOT NULL, world_id INTEGER NOT NULL DEFAULT '0', value VARCHAR( 255 ) NOT NULL DEFAULT '0', UNIQUE ( [key], world_id ) );
-
(Resolvido)(HELP) erro na distro
CREATE TABLE `global_storage` ( `key` INT UNSIGNED NOT NULL, `world_id` TINYINT(2) UNSIGNED NOT NULL DEFAULT 0, `value` VARCHAR(255) NOT NULL DEFAULT '0', UNIQUE (`key`, `world_id`) ) ENGINE = InnoDB;
-
(Resolvido)(HELP) erro na distro
Tabela guild_wars CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` INT, `guild_id` INT NOT NULL, `enemy_id` INT NOT NULL, `begin` BIGINT NOT NULL DEFAULT 0, `end` BIGINT NOT NULL DEFAULT 0, `frags` INT NOT NULL DEFAULT 0, `payment` BIGINT NOT NULL DEFAULT 0, `guild_kills` INT NOT NULL DEFAULT 0, `enemy_kills` INT NOT NULL DEFAULT 0, `status` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) )
-
[Pedido]Features no website
Posta o seu latestnews.php em spoiler.
-
(Resolvido)[Pedido] Player Pegar Level 200 Ser Teleportado
Acho que foi erro meu: <event type="advance" name="Level" event="script" value="nomedoscript.lua"/>
-
(Resolvido)[Pedido] Player Pegar Level 200 Ser Teleportado
@Summ, obrigado por explicar, eu não sabia como funcionava.. @Farathor local level = 200 -- Level local pos = {x = 10474, y = 10807, z = 7} -- Posição local storage = 6661 function onAdvance(cid, skill, oldLevel, newLevel) if skill == SKILL_LEVEL and newLevel == level and getPlayerStorage(cid, storage) < 1 then doTeleportThing(cid, pos) doPlayerSendTextMessage(cid, 19, "Você acabar de pegar level " .. level .. " e foi teleportado!!") setPlayerStorageValue(cid, storage, 1) end return true end