
Tudo que Noob II postou
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Vá na pasta data/lib e abra o catch system.lua e poste aqui, dps em data/actions/scripts e poste o catch.lua aqui
-
[DÚVIDA] base de dados
Se fosse para alterar igual o config.lua ficaria assim: { define('SERVERCONFIG_SQL_HOST', 'localhost'); define('SERVERCONFIG_SQL_PORT', '3306'); define('SERVERCONFIG_SQL_USER', 'root'); define('SERVERCONFIG_SQL_PASS', 'galinhapreta'); define('SERVERCONFIG_SQL_DATABASE', 'belobra-world'); define('SERVERCONFIG_SQLITE_FILE', 'sqlFile'); }
-
[DÚVIDA] base de dados
esse load.database tbm
-
NPC não vende item mesmo constando na lista
Não é vodkart, eu baixei o servidor e testei com umas pokeball e nada do NPC vender data/npcs/scripts crie um arquivo chamado Vendedor.lua e adicione isso dentro: data/npcs crie um arquivo chamado Vendedor.xml e adicione:
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Então, para os outros Pokémons você tem que ir adicionando seguindo a mesma coisa dessa parte ai. tipo isso: local pokePrice = { ["Bulbasaur"] = 3000, ["Ivysaur"] = 4500, ["Venusaur"] = 12000, ["Charmander"] = 12000, ["Charmeleon"] = 12000, ["Charizard"] = 12000, } e assim vai
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Qual o bug? nenhum erro?
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
nada como isso local pokePrice = { ["Bulbasaur"] = 3000, ["Ivysaur"] = 4500, --alterado v1.6 ["Venusaur"] = 12000, }
-
morrendo dentro do templo ao nascer.
Poste seu login.lua e o playerdeath aqui
-
[DÚVIDA] base de dados
Poste aqui o index.php da pasta htdocs
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
No arquivo pokemon seller.lua dentro da pasta data\npc\scripts
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Use o script original do servidor e faça isso: •Abra seu mapa •Digite Ctrl + G e va ate a Posição 0/0/10 •Adicione o que esta na imagem, bem no cantinho mesmo • Salve seu mapa • E Reinicie seu servidor que vai estar tudo concertado vi uns posts dizendo que isso funciona, e funciona mesmo
-
[DÚVIDA] base de dados
Troque por esse e tente: Tem certeza que a database no phpmyadmin está com o nome igual você colocou no config.lua? belobra-world
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Tenta: local msgs = {"use ", ""} function doAlertReady(cid, id, movename, n, cd) if not isCreature(cid) then return true end local myball = getPlayerSlotItem(cid, 8) if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!") return true end local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid) if not p or #p <= 0 then return true end for a = 1, #p do if getItemAttribute(p[a], cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!") return true end end end function onSay(cid, words, param, channel) if param ~= "" then return true end if string.len(words) > 3 then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end if getCreatureCondition(getCreatureSummons(cid)[1], CONDITION_INVISIBLE) and not isGhostPokemon(getCreatureSummons(cid)[1]) then return 0 end local mypoke = getCreatureSummons(cid)[1] if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end if getCreatureName(mypoke) == "Evolution" then return true end local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke) local it = string.sub(words, 2, 3) local move = movestable[name].move1 local cdzin = "move"..it.."" if it == "2" then move = movestable[name].move2 elseif it == "3" then move = movestable[name].move3 elseif it == "4" then move = movestable[name].move4 elseif it == "5" then move = movestable[name].move5 elseif it == "6" then move = movestable[name].move6 elseif it == "7" then move = movestable[name].move7 elseif it == "8" then move = movestable[name].move8 elseif it == "9" then move = movestable[name].move9 elseif it == "10" then move = movestable[name].move10 elseif it == "11" then move = movestable[name].move11 elseif it == "12" then move = movestable[name].move12 elseif it == "13" then move = movestable[name].move13 end if not move then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.") return true end --if false and getLevel(mypoke) < move.level then if getLevel(mypoke) < move.level then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't have enough level to use this move.") return 0 end if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use "..move.name.." again.") return 0 end if getTileInfo(getThingPos(mypoke)).protection then doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.") return 0 end if move.name == "Team Slice" and #getCreatureSummons(cid) < 2 then doPlayerSendCancel(cid, "Your pokemon need be in a team for use this move!") --edited team return 0 end if move.target == 1 then if not isCreature(getCreatureTarget(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.") return 0 end if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then return 0 end if getCreatureHealth(getCreatureTarget(cid)) <= 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.") return 0 end if not isCreature(getCreatureSummons(cid)[1]) then return true end if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.") return 0 end if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then return 0 end end local newid = 0 if isSleeping(mypoke) then --newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, 8) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry your pokemon cant use cd while sleeping.") doCreatureSay(mypoke, "zZzZ", TALKTYPE_MONSTER) return 0 else newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd) end doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..move.name.."!", TALKTYPE_SAY) local mypoke22 = getCreatureSummons(cid)[2] or 0 --edited team local mypoke33 = getCreatureSummons(cid)[3] or 0 --if move.name ~= "Metronome" then --doCreatureSay(mypoke, ""..string.upper(move.name).."!", TALKTYPE_MONSTER) --end addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin) if mypoke33 ~= 0 and getPlayerStorageValue(cid, 637501) >= 1 then if move.name ~= "Team Slice" then docastspell(mypoke33, move.name) docastspell(mypoke22, move.name) end elseif mypoke22 ~= 0 and getPlayerStorageValue(cid, 637501) >= 1 then --edited team if move.name ~= "Team Slice" then docastspell(mypoke22, move.name) end end docastspell(mypoke, move.name) doCreatureAddCondition(cid, playerexhaust) if useKpdoDlls then doUpdateCooldowns(cid) end return 0 end
-
NPC não vende item mesmo constando na lista
Amigo eu procurei nesse servidor e nada, não vendia a ball nem com a boba kk unico modo que achei foi criar outro NPC para vende a master ball
-
[DÚVIDA] base de dados
Abra ele e copie tudo, dps poste aqui em spoiler
-
(Resolvido)Premium Scroll
Storage é um valor que fica gravado no banco de dados, no banco de dados ele é estruturado assim: Id = 5 -- A Storage pertence ao player que tem o id 5 no banco de dados Key = 2000 -- Um índice para diferenciar de outras Storages Value = 50 -- Valor da Storage, pode ser númerico ou string quando você usa a função getPlayerStorageValue(uid, chave) O que acontece é: Baseado no uid da criatura pegar o Id do player no banco de dados Em seguida abrir a tabela player_storage e procurar lá um valor em que Key seja igual a chave e o Id seja o mesmo do player que eu requisitei Caso exista retorne o Value Caso não exista retorne -1 É basicamente assim que funciona, por isso por padrão todas storages que não tenham um valor definido recebem o valor -1. Esse tópico poderá lhe ajudar melhor:
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Qual a base do seu servidor?
-
(Resolvido)Premium Scroll
Você testou o meu script de premium points? apareceu algo no client ou ainda ficou free account?
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Troque por esse: o erro acontece com todos ataques dos pokemons?
-
Ajuda Nao sei se e o topico certo mais estou com esse bug quando atako pokes
Poste o move1.lua da pasta data/talkactions/scripts aqui
-
NPC não vende item mesmo constando na lista
Queria saber a base que você baixou... Porque ela já veio com a master ball e não está vendendo, ai deve ser algum script proibindo a venda. Por isso queria baixar aqui para testar, pois testei em outro PDA e está normal
-
NPC não vende item mesmo constando na lista
Entranho, qual base usada?
-
[DÚVIDA] base de dados
É no seu config.lua amigo, poste ele aqui
-
NPC não vende item mesmo constando na lista
Amigo olhe se a master ball no items.xml está assim: <item id="2391" article="a" name="master ball"> <attribute key="weight" value="0" /> <attribute key="description" value="This is a pokeball used to catch fainted pokemon." /> </item> dps olhe no object builder se está assim: e agora no item editor:
-
Object Builder
Você tem a ultima versão do adobe air instalada? > http://get.adobe.com/air/ tente baixar o obj dnv >