
Solutions
-
Rusherzin's post in (Resolvido)[Ajuda] Bug ao personagem morrer was marked as the answerExecuta essa query na sua database..
ALTER TABLE "players" ADD "rep" INT( 11 ) NOT NULL DEFAULT "0"; -
Rusherzin's post in (Resolvido)Annihilator Quest was marked as the answerColoquei a parte de sumonar demons nesse aqui.. Tenta:
-
Rusherzin's post in (Resolvido)Ajuda atal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: was marked as the answerExecuta essa query na sua database para criar a coluna blocked:
ALTER TABLE `accounts` ADD `blocked` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'internal usage'; -
Rusherzin's post in (Resolvido)Bug nas vocações do site was marked as the answerVish, tenta botar ambos então:
$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight', 5 => 'Master Sorcerer', 6 => 'Elder Druid', 7 => 'Royal Paladin', 8 => 'Elite Knight', 9 => 'Hell Wizard', 10 => 'High Saintess', 11 => 'Force Archer', 12 => 'Titan Blader'); $vocation_name[0][1] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight', 5 => 'Master Sorcerer', 6 => 'Elder Druid', 7 => 'Royal Paladin', 8 => 'Elite Knight', 9 => 'Hell Wizard', 10 => 'High Saintess', 11 => 'Force Archer', 12 => 'Titan Blader'); Aqui, funciona numa boa ;/
-
Rusherzin's post in (Resolvido)Erro no distro was marked as the answerOlá, usa essa query:
DROP TABLE IF EXISTS tile_store; CREATE TABLE tile_store ( house_id INTEGER NOT NULL, world_id INTEGER NOT NULL DEFAULT '0', data LONGBLOB NOT NULL, FOREIGN KEY ( house_id ) REFERENCES houses ( id ) ); E sobre passar para mysql só no dedicado: aconselho que mude antes para testar as tabelas e colunas e conferir se tudo está okay, e só depois passar para o dedicado.. Abç.
-
Rusherzin's post in (Resolvido)Bug Do Shop Não Para de Manda Itens was marked as the answerSim, o erro é na hora de executar a query para confimar a entrega do item.
Tenta deletar essa linha aqui no seu 100-compat.lua db.executeQuery = db.query
Se não funcionar.. tenta usar essa lib:
lib.rar
Obs: Salve a sua pasta original caso ocorra algum outro erro
-
Rusherzin's post in (Resolvido)Desloga e volta level 8 was marked as the answerALTER TABLE players ADD "cast" TINYINT(4);
-
Rusherzin's post in (Resolvido)Help Erro de Sql was marked as the answerIsso é para o shop system, pode apagar o script do shop ou executar essa query:
CREATE TABLE "z_ots_comunication" ( "id" INTEGER(11) PRIMARY KEY NOT NULL, "name" VARCHAR(255) NOT NULL, "type" VARCHAR(255) NOT NULL, "action" VARCHAR(255) NOT NULL, "param1" VARCHAR(255) NOT NULL, "param2" VARCHAR(255) NOT NULL, "param3" VARCHAR(255) NOT NULL, "param4" VARCHAR(255) NOT NULL, "param5" VARCHAR(255) NOT NULL, "param6" VARCHAR(255) NOT NULL, "param7" VARCHAR(255) NOT NULL, "delete_it" INTEGER(2) NOT NULL DEFAULT "1" ) -
Rusherzin's post in (Resolvido)error during getdataint <rep> was marked as the answerExecuta isso na sua database.
ALTER TABLE "players" ADD "rep" INT( 11 ) NOT NULL DEFAULT "0"; -
Rusherzin's post in (Resolvido)[PEDIDO] Baú que usa P Points was marked as the answerEssa é a minha lib que uso em 8.6.
lib.rar
-
Rusherzin's post in (Resolvido)Bau Brinds was marked as the answerTenta essa query:
CREATE TABLE "quest_ip" ( "ip" VARCHAR(255) NOT NULL ) -
Rusherzin's post in (Resolvido)[Duvida] xampp erro ao importar database was marked as the answerPosso repartir sim, mas, antes, tente importar ela zipada pois aqui funcionou.
-
Rusherzin's post in (Resolvido)8.54 -> 8.60 was marked as the answerSe for só mudar a versão do mapa no RME, é só pressionar CTRL + P e mudar.
-
Rusherzin's post in (Resolvido)[ PEDIDO ] Comando SQL Query was marked as the answerVerdade, isso só vale a partir do level 8. . O normal de level 8 segundo meus cálculos é 185 de HP e 40 de mana então:
UPDATE `players` SET `mana` = 40, `manamax` = 40, `health` = 185, `healthmax` = 185; -
Rusherzin's post in (Resolvido)[Ajuda] heart system was marked as the answerOkay, que estranho, tenta assim:
function onDeath(cid, corpse, deathList) if isPlayer(cid) and getPlayerLevel(cid) >= 300 and isPlayer(deathList[1]) then local heart = doPlayerAddItem(deathList[1],5943, 1) doItemSetAttribute(heart, "name", " Coração de " ..getPlayerName(cid).. "") doItemSetAttribute(heart, "description", " Morto no Level "..getPlayerLevel(cid).." Assassinado Por "..getPlayerName(deathList[1])..". " .. (getCreatureSkullType(cid) <= SKULL_GREEN and "(Morte Injustificada)" or "(Morte Justificada)")) end return true end -
Rusherzin's post in Como postar um video do YouTube? was marked as the answer[media #] Link aqui [/media #]
só tirar as cerquilhas (#)
-
Rusherzin's post in (Resolvido)Erro No GlobalEvent Ajudem Por favor! was marked as the answerTenta usar assim:
function onTimer() if #getPlayersInArea(torneio.area) > 1 then doBroadcastMessage("O Torneio dessa vez não teve vencedor,tente na proxima vez") return true end for _, pid in ipairs(getPlayersInArea(torneio.waitArea)) do doTeleportThing(pid, torneio.tournamentFight) doPlayerSendTextMessage(pid, 21, "O torneio começou, e que vença o melhor guerreiro!") end return true end -
Rusherzin's post in (Resolvido)[Duvida] Troca de outfit was marked as the answerNo config.lua
Procura por
allowChangeOutfit E deixa assim:
allowChangeOutfit = false A opção "Set Outfit" não irá sumir porém não será possível trocar de outfit.
-
Rusherzin's post in (Resolvido)[Pedido] Sistema !debug que volta para a cidade incial do player. was marked as the answerfunction onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_INFIGHT) then doPlayerSendCancel(cid, 'Voce nao pode voltar para o templo se estiver com battle.') else pos = getTownTemplePosition(getPlayerTown(cid)) doSendMagicEffect(getPlayerPosition(cid),53) doPlayerSendCancel(cid,"Teleportado!") doTeleportThing(cid,pos) end end
-
Rusherzin's post in (Resolvido){Dúvida} Formula Magic Level was marked as the answerPrimeiro Número (- 3.0): é o multiplicador da sua habilidade que nesse caso é o Magic Level. Segundo Número (-250): é o dano mínimo da magia. Terceiro Número (- 3.8): é o multiplicador do level do seu personagem, ou seja, quanto maior o número ali posto maior será o dano em função do level. Quarto Número (-350): é o dano máximo da magia.
Acho que é isso, espero que tenham entendido.. -
Rusherzin's post in (Resolvido)[NPC] Troca tal item por tal item was marked as the answerCreio que seja algo com os acentos..
<?xml version="1.0"?> <npc name="Vendedor de Small Coins" script="smallcoin.lua" walkinterval="2000" floorchange="0"> <health now="150" max="150" /> <look type="134" head="57" body="59" legs="40" feet="76" corpse="2212" /> <parameters> <parameter key="message_greet" value="Eu vendo Small Coins quer comprar? Vai te custar 100 TD." /> <parameter key="message_farewell" value="Obrigado! Boa sorte!" /> </parameters> </npc> -
Rusherzin's post in (Resolvido)[ajuda~] Script Exp pergaminho was marked as the answerNão testei:
function onUse(cid, item, frompos, item2, topos) local exp = getPlayerLevel(cid) + 1000 if isPlayer(cid) then doRemoveItem(item.uid, 1) doSendMagicEffect(topos,14) doPlayerSay(cid,"Opá upei 1000 Levels.",1) doPlayerAddExp(cid, (getExperienceForLevel(exp) - getPlayerExperience(cid))) end return true end -
Rusherzin's post in (Resolvido)Trocar versão do cliente ( Dat e Spr ) was marked as the answerCara, acho que dá para fazer isso com o Object Builder, tu importas a spr 8.54 e salva como 8.60
-
Rusherzin's post in (Resolvido)Mysql - Cap padrão 0 was marked as the answerVocê pode executar uma query no seu banco de dados que vai botar o mesmo cap para todos os players, inclusive os samples, e acho que isso resolverá o problema.
UPDATE `players` SET `cap` = 0; No lugar de 0 você põe o cap que vai ficar como padrão..
-
Rusherzin's post in (Resolvido)Tile que só pode passa algumas vocaçao. was marked as the answerNão testei..
local vocations = {1,2,3,4,5,6,7,8} -- Vocs local entermsg = "Welcome" -- Msg se puder passar local failmsg = "Sorry, but you aren\'t the right vocation" -- Msg se não tiver voc certa function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if isPlayer(cid) then if isInArray(vocations,getPlayerVocation(cid)) then doPlayerSendTextMessage(cid,25,entermsg) doSendAnimatedText(getCreaturePosition(cid), "WELCOME!", TEXTCOLOR_RED) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_FIREWORK_RED) else doTeleportThing(cid,fromPosition) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) doPlayerSendTextMessage(cid,25,failmsg) end return true end end movements.xml
<movevent type="StepIn" actionid="xxx" event="script" value="voctile.lua"/>