Ir para conteúdo

Brunno Dornelas

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Brunno Dornelas deu reputação a Dornellas em Erro na Database (10.96)   
    @rogaforyn2 Eu acabei trocando a database por uma que ja estava com a coluna na table Players (graças ao @Boos que me passou) e deu certo :D
    Obrigado pela ajuda #REP+
  2. Gostei
    Brunno Dornelas deu reputação a Dornellas em Erro na Database (10.96)   
    Antes da linha 1 eu tinha selecionado a table Players:
    SELECT * FROM `players` WHERE 1
    Tentei selecionando a base de dados direta tbm, e não funcionou
    Tentei adicionar a coluna em Players  através da estrutura (nas duas maneiras que você ensinou) por VARCHAR e INT, assim eu consegui adicionar a coluna com sucesso
    Só que o erro no console persistiu e o char não entrou ;/
     
  3. Gostei
    Brunno Dornelas deu reputação a Dornellas em Erro na Database (10.96)   
    Ele executa normalmente a coluna na table players, mas quando eu vou procura-la, ela não está la e o erro persiste
    Detalhe: antes de executar ele da um aviso, é normal?

    -----
    Nossa, agora que percebi o que eu fiz.. kkk era pra executar ela na database raiz mesmo:
    fiz isso mas parece que ele da um erro de syntax :

     
  4. Gostei
    Brunno Dornelas deu reputação a Dornellas em Erro na Database (10.96)   
    sim, você sabe o comando? eu não tenho dominio ainda ;/
    Tentei executar esse comando pra adicionar, mas não funcionou
     
  5. Gostei
    Brunno Dornelas deu reputação a Dornellas em Erro na Database (10.96)   
    Olá pessoal do TK,
    Estou com um problema quando o servidor tenta conectar com a database para entrar no char..
    ocorre o seguinte erro no console:

     
    Como posso arrumar esse erro? vocês aconselhariam trocar de database? ou é simples (somente executar comandos query)?
    Segue versão de meu MySQL, PHP...

     
    O servidor que estou usando: http://chaitosoft.com/blog/global-full-mitsuig-10-96/
     
    Obrigado!
     
     
  6. Gostei
    @emersontb eu tive o mesmo problema,
    o meu aconteceu da seguinte forma:
    Primeiro eu utilizava a versão 1.7.3 do Xampp,
    Então eu exclui pra instalar essa versão velha para instalar uma versão do Xampp que rodasse uma versão de MySQL mais nova (no caso Xampp 5.6.30)
    porém não consegui importar a minha database antiga  
    então decidi voltar para versão do Xampp 1.7.3
     
    E nesse "instala" "desinstala" acabei ferrando tudo kkk e agora não consigo mais entrar no phpmyadmin da versão 1.7.3 pra continuar rodando minha db
     
  7. Gostei
    Brunno Dornelas deu reputação a Absolute em (Resolvido)Resete database mysql   
    É importante lembrar, caso vá resetar o servidor, você necessita resetar as storages e tudo mais.
  8. Gostei
    Brunno Dornelas deu reputação a Dornellas em [HELP] Gesior atualização de dados   
    Nada?
    Bom, depois de estudar e entender os arquivos do GESIOR, percebi que o erro não estavam neles, e sim na Database..
     
    Para o primeiro problema foi simples, vi que a database não atualizou o status ONLINE da table Players quando houve uma queda no servidor.. então fui de player em player e alterei manualmente.. de "1" para "0".
     
    Já o meu segundo problema, é referente à atualização da table player_deaths da database, que parou de contabilizar as mortes dos jogadores.
    fiz alguns testes e não obtive resultado nenhum 
    - Tentei excluir a tabela de player_deaths e reeinstalar..
    - Tentei excluir a table, exportar sem ela, importar sem ela e instalar a database inteira novamente.
     
    Porém, a table continua a não contabilizar as mortes dos jogadores.
  9. Gostei
    Brunno Dornelas deu reputação a Dornellas em [HELP] Gesior atualização de dados   
    Olá pessoal do TK, venho aqui tirar uma dúvida com vocês referente à atualização de informações no GESIOR,
    Tenho dois problemas atuais
    O primeiro é que a quantidade de player online não bate no site, porexemplo:
    Se tenho 0 players online, na aba players online vai estar como 8 players online
    Conforme figura a seguir:

     
    O Segundo problema é a lista de last kills que não atualiza direito tbm, eu não entendo o que acontece..
    Sem eu alterar absolutamente nada na pasta do Gesior, começou a contar os last kills, derrepende parou do nada.. não achei nada nos foruns que solucionou meu problema.

     
    O que posso fazer pra conseguir arrumar isso pessoal?
    O que precisarem que eu envio para analise, só me avisar, obrigado :D 
  10. Gostei
    Brunno Dornelas deu reputação a Dornellas em Como criar um site para seu servidor!   
    @Sociopata @Matk 
    o meu ja aparece o error no Step 2
     
    Check database connection
    If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.
    Warning: include(pot/OTS.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\upload\install\install.php on line 196
    Warning: include() [function.include]: Failed opening 'pot/OTS.php' for inclusion (include_path='.;\xampp\php\PEAR:../libs') in C:\xampp\htdocs\upload\install\install.php on line 196
    Fatal error: Class 'POT' not found in C:\xampp\htdocs\upload\install\install.php on line 198
     
    Ja estou usando o Xampp 1.7.3 mas mesmo assim está bugando.. o que eu posso fazer para prosseguir?
    Muito Obrigado :D
  11. Gostei
    Brunno Dornelas deu reputação a Dornellas em Mining System   
    Obrigado xWhiteWolf,
    Consegui fazer funcionar no meu Server 8.6 
    Agora só tenho mais uma dúvida..
    **Tentei adicionar linhas de novos itens para serem minerados em seus respectivos leveis de mineração..
    porém toda vez que eu adiciono os itens o sistema para de funcionar.
    Exemplo...
    .
    .
    .
    [45] = 7762, -- Small Enchanted Amethyst
    [50] = 7760, -- Small Enchanted Ruby
    [70] = 2177  -- Life Crystal
    [80] = NOVOID  -- NOVOITEM
    .
    .
    .
    Tem algum outro local que eu tenho que alterar?
     
  12. Gostei
    Brunno Dornelas deu reputação a Dornellas em Mining System   
    da pra fazer algum comando para consultar o level de mining?
     
  13. Gostei
    Brunno Dornelas deu reputação a Dornellas em Como conectar em um VPS Windows?!   
    Gostaria de tirar essa dúvida tbm @Stigal :D
     
    Eu consigo deixar meu PC desligada?
    A máquina virtual (VPS) continua ligada normalmente?
  14. Gostei
    Brunno Dornelas deu reputação a Dornellas em (RESOLVIDO) Upar party shared EXP dá mais exp   
    deixei o meu assim:
     
    experienceShareRadiusX = 60
        experienceShareRadiusY = 60
        experienceShareRadiusZ = 1
        experienceShareLevelDifference = 2 / 3
        extraPartyExperienceLimit = 110
        extraPartyExperiencePercent = 110
        experienceShareActivity = 2 * 60 * 1000
     
    e mesmo assim cada player recebe apenas a metade?
    Será que tem algum outro local que deve alterar para funcionar?
  15. Gostei
    Brunno Dornelas deu reputação a Dornellas em (HELP) Item que da atributo   
    @KotZletY vc manja muito mano valeu kkkk
    Eu testei e a parte de atingir o limite de uso do item funcionou perfeitamente.
    Mas o que eu havia pedido é que, ao invés de apenas curar o player, adicionasse os pontos de mana/vida permanente.
    Por exemplo: o player tem 1000 de life, e ao usar um Red Gem ficaria com 1200 de life total.
     
    eu estou tentando fazer um Frankstein com todos os Scripts que vocês mandaram, vamos ver se funciona :D
    Se eu conseguir ja mando aqui pra vcs.
    Valeu 
  16. Gostei
    Brunno Dornelas deu reputação a Dornellas em (HELP) Item que da atributo   
    Ah sim, valeu
    aqui ta verão 0.3.6 (é isso mesmo?)
     
    Quanto ao limite, eu queria um limite de uso de Gems (cada player pode usar no máximo 10 GEM).
  17. Gostei
    Brunno Dornelas deu reputação a Dornellas em (HELP) Item que da atributo   
    Aew @Gustavo Ntos , @Reds e @Zanrix valeu pelo Script,
    Consegui fazer funcionar no meu servidor 8.6 Baiak, mas o limite de uso não está funcionando.
    Ele está apenas adicionando os pontos de vida e mana :D
    Falta algum detalhe no script ?? ou será que é minha versão de TFS que não é compatível com o script?
    Obs: não sei verificar a versão do meu tfs ( @KotZletY ) kkkkk
  18. Gostei
    Brunno Dornelas deu reputação a Dornellas em (HELP) Item que da atributo   
    Olá pessoal do TibiaKing,
     
    Alguém sabe montar um script action para transformar um item em pontos de vida?
    ou seja..
    Ao clicar em uma Red Gem, o Player ganha automaticamente 100 pontos de vida permanente
    Ao clicar em uma Blue Gem, o Player ganha automaticamente 100 pontos de mana permanente
    e por ai vai...
     
    Obrigado!
  19. Gostei
    Brunno Dornelas deu reputação a Dornellas em [phpMyAdmin] Comandos úteis!   
    tentei executar um comando pra retirar o item do servidor (players, depot, tiles)...
    DELETE FROM player_depotitems, player_items, tile_items WHERE itemtype = 2160;  
    Deu o seguinte erro:
    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE itemtype = 8881' at line 1
     
    O que posso tentar no comando para executa-lo?
     
  20. Gostei
    Brunno Dornelas deu reputação a Dornellas em [HELP] Mod Event Zombie Script   
    Olá pessol do TK,
    Ot Global  8.6 (TFS verão 0.1.3)
    Venho aqui para tirar uma dúvida referente ao evento zombie do meu servidor, já tentei 4 scripts de 4 pessoas diferentes, e eles apresentam o mesmo erro (Segue abaixo na DISTRO)

     
    Agora vou explicar o que acontece no evento...
    1º) O Teleport aparece normalmente no local que eu configurei e aparece uma broadcast msg.
    2º) A quantidade de player configurada (no meu caso 2) entram no teleport e ele se fecha em 2 minutos (tempo configurado).
    3º) O evento começa, os zombies começar a spawnar.
    4º) Os player (todos) morrem pelos zombies e ninguém ganha reward.
    5º) O evento continua spawnando os zombies sem parar.
     
    Minha dúvida é:
    Como faço para o ultimo jogador da arena ganhar o reward e ser teleportado para o templo? (e claro, assim finalizando o evento)
     
    Segue scripts utilizados no meu servidor:
    CREATURESCRIPT
    CreatureScipt: Zombie.lua
    local config = {     playerCount = 2001, -- Global storage for counting the players left/entered in the event          goblet = 5805, -- id of the gold goblet you'll get when finishing the event.     rewards = {2195, 2152, 2160}, -- You will get this +  a gold goblet with your name on.     --        {moneyId, count, using? 1 for using moneyReward, 0 for not using.}     moneyReward = {2160, 100, 1},          -- Should be same as in the globalevent!     -- The zombies will spawn randomly inside this area     fromPosition = {x = 32249, y = 31996, z = 9}, -- top left cornor of the playground     toPosition = {x = 32277, y = 32033, z = 9}, -- bottom right cornor of the playground     } function onStatsChange(cid, attacker, type, combat, value)     if isPlayer(cid) and isMonster(attacker) then         if isInArea(getPlayerPosition(cid), config.fromPosition, config.toPosition) then             if getGlobalStorageValue(config.playerCount) >= 2 then                 doBroadcastMessage(getPlayerName(cid) .. " have been eated by Zombies!", MESSAGE_STATUS_CONSOLE_RED)                 local corpse = doCreateItem(3058, 1, getPlayerPosition(cid))                 doItemSetAttribute(corpse, "description", "You recognize " .. getCreatureName(cid) .. ". He was killed by "..(isMonster(attacker) and "a "..string.lower(getCreatureName(attacker)) or isCreature(attacker) and getCreatureName(attacker) or "a field item")..".")                 doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)                 doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), false)                 doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT)                 setGlobalStorageValue(config.playerCount, getGlobalStorageValue(config.playerCount)-1)             elseif getGlobalStorageValue(config.playerCount) == 1 then                 if isInArea(getPlayerPosition(cid), config.fromPosition, config.toPosition) then                     doBroadcastMessage(getPlayerName(cid) .. " won the Zombie event! Congratulations!", MESSAGE_STATUS_WARNING)                     local goblet = doPlayerAddItem(cid, config.goblet, 1)                     doItemSetAttribute(goblet, "description", "Awarded to " .. getPlayerName(cid) .. " for winning the Zombie event.")                     local corpse = doCreateItem(3058, 1, getPlayerPosition(cid))                     doItemSetAttribute(corpse, "description", "You recognize " .. getCreatureName(cid) .. ". He was killed by "..(isMonster(attacker) and "a "..string.lower(getCreatureName(attacker)) or isCreature(attacker) and getCreatureName(attacker) or "a field item")..".")                     doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)                     doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), false)                     doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT)                     for _,items in ipairs(config.rewards) do                         doPlayerAddItem(cid, items, 1)                     end                     if config.moneyReward[3] == 1 then                         doPlayerAddItem(cid, config.moneyReward[1], config.moneyReward[2])                     end                 end                                          for x = config.fromPosition.x, config.toPosition.x do                     for y = config.fromPosition.y, config.toPosition.y do                         for z = config.fromPosition.z, config.toPosition.z do                             areapos = {x = x, y = y, z = z, stackpos = 253}                             getMonsters = getThingfromPos(areapos)                             if isMonster(getMonsters.uid) then                                 doRemoveCreature(getMonsters.uid)                             end                         end                     end                 end             end             return false         end     end return true end CreatureScipt: login.xml
    registerCreatureEvent(cid, "zombieevent") TAG no CreatureScript: 
    <event type="statschange" name="zombieevent" event="script" value="zombie.lua"/> GLOBALEVENTS:
    zombie.lua
    local config = {     playerCount = 2001, -- Global storage for counting the players left/entered in the event     zombieCount = 2002, -- Global storage for counting the zombies in the event     teleportActionId = 2000, -- Action id of the teleport needed for the movement script     teleportPosition = {x = 1135, y = 1077, z = 3, stackpos = 1}, -- Where the teleport will be created     teleportToPosition = {x = 1190, y = 1076, z = 7}, -- Where the teleport will take you     teleportId = 1387, -- Id of the teleport     timeToStartEvent = 5, -- Minutes, after these minutes the teleport will be removed and the event will be declared started     timeBetweenSpawns = 20, -- Seconds between each spawn of zombie     zombieName = "event zombie", -- Name of the zombie that should be summoned     playersNeededToStartEvent = 1, -- Players needed before the zombies can spawn.          -- Should be the same as in the creaturescript!     -- The zombies will spawn randomly inside this area     fromPosition = {x = 1186, y = 1072, z = 7}, -- top left cornor of the playground     toPosition = {x = 1195, y = 1081, z = 7}, -- bottom right cornor of the playground     } function onTimer()     local tp = doCreateTeleport(config.teleportId, config.teleportToPosition, config.teleportPosition)     doItemSetAttribute(tp, "aid", config.teleportActionId)     doBroadcastMessage("Zombie event starting in " .. config.timeToStartEvent .. " minutes! The teleport will be closed when the event start!", MESSAGE_STATUS_WARNING)     setGlobalStorageValue(config.playerCount, 0)     setGlobalStorageValue(config.zombieCount, 0)     addEvent(startEvent, config.timeToStartEvent * 1000 * 60)     print(getGlobalStorageValue(2001)) end function startEvent()     local get = getThingfromPos(config.teleportPosition)     if get.itemid == config.teleportId then         doRemoveItem(get.uid, 1)     end          local fromp, top = config.fromPosition, config.toPosition     if getGlobalStorageValue(config.playerCount) >= config.playersNeededToStartEvent then         addEvent(spawnZombie, config.timeBetweenSpawns * 1000)         doBroadcastMessage("Good luck in the zombie event people! The teleport has closed!", MESSAGE_STATUS_WARNING)                  for x = fromp.x, top.x do             for y = fromp.y, top.y do                 for z = fromp.z, top.z do                     areapos = {x = x, y = y, z = z, stackpos = 253}                     getPlayers = getThingfromPos(areapos)                     if isPlayer(getPlayers.uid) then                         doPlayerSendTextMessage(getPlayers.uid, MESSAGE_EVENT_ADVANCE, "The first zombie will spawn in " .. config.timeBetweenSpawns .. " seconds! Good luck!")                     end                 end             end         end     else         doBroadcastMessage("The Zombie event could not start because of to few players participating.\n At least " .. config.playersNeededToStartEvent .. " players is needed!", MESSAGE_STATUS_WARNING)         for x = fromp.x, top.x do             for y = fromp.y, top.y do                 for z = fromp.z, top.z do                     areapos = {x = x, y = y, z = z, stackpos = 253}                     getPlayers = getThingfromPos(areapos)                     if isPlayer(getPlayers.uid) then                         doTeleportThing(getPlayers.uid, getTownTemplePosition(getPlayerTown(getPlayers.uid)), false)                         doSendMagicEffect(getPlayerPosition(getPlayers.uid), CONST_ME_TELEPORT)                     end                 end             end         end     end end function spawnZombie()     if getGlobalStorageValue(config.playerCount) >= 2 then         pos = {x = math.random(config.fromPosition.x, config.toPosition.x), y = math.random(config.fromPosition.y, config.toPosition.y), z = math.random(config.fromPosition.z, config.toPosition.z)}         doSummonCreature(config.zombieName, pos)         doSendMagicEffect(pos, CONST_ME_MORTAREA)         setGlobalStorageValue(config.zombieCount, getGlobalStorageValue(config.zombieCount)+1)         doBroadcastMessage("A zombie has spawned! There is currently " .. getGlobalStorageValue(config.zombieCount) .. " zombies in the zombie event!", MESSAGE_STATUS_CONSOLE_RED)         addEvent(spawnZombie, config.timeBetweenSpawns * 1000)     end end TAG no Globalevents:
    <globalevent name="zombieevent" time="15:00" event="script" value="zombie.lua"/> MOVEMENTS:
    zombie.lua
    local config = {     playerCount = 2001, -- Global storage for counting the players in the event     maxPlayers = 15, -- Max players who can participate          }      function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)     if getGlobalStorageValue(config.playerCount) < config.maxPlayers then         setGlobalStorageValue(config.playerCount, getGlobalStorageValue(config.playerCount)+1)         if getGlobalStorageValue(config.playerCount) == config.maxPlayers then             doBroadcastMessage("The Zombie event is now full [" .. getGlobalStorageValue(config.playerCount) .. " players]! The event will soon start.")         else                 doBroadcastMessage(getPlayerName(cid) .. " entered the Zombie event! Currently " .. getGlobalStorageValue(config.playerCount) .. " players have joined!", MESSAGE_STATUS_CONSOLE_RED)         end         else         addEvent(tpBack, 1000, cid, fromPosition)         doPlayerSendCancel(cid, "The event is full. There is already " .. config.maxPlayers .. " players participating in the quest.")         return false     end     print(getStorage(config.playerCount) .. " Players in the zombie event.")     return true end function tpBack(cid, fromPosition)     doTeleportThing(cid, fromPosition, true)     doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) end TAG no Movements:
    <movevent type="StepIn" actionid="2000" event="script" value="zombie.lua"/>  
    O monster eu não vou postar aqui pois já está muito extenso e acredito que o erro não se encontra nele.
    Preciso da ajuda de vocês para achar o erro, obrigado!
  21. Gostei
    Brunno Dornelas deu reputação a Dornellas em [HELP] Mod Event Zombie Script   
    Editei meu comentário @Vodkart (Vou postar ele no seu tópico pra ficar correto ok?)
    Cara, realmente, valeu pela sua atenção!
     
  22. Gostei
    Brunno Dornelas deu reputação a Dornellas em [HELP] Mod Event Zombie Script   
    Nossa, desculpem minha ignorância kkkkk estou aprendendo agora :D
    Eu executei o MOD no servidor, o único problema foi que os monstros não nasceram na arena (Sabem o que pode ser?)
    Para ter certeza, eu retirei o MOD e fiz pelos arquivos .LUA que você disponibilizou
    Deu tudo certo, os comandos, o teleport, o tempo... porém somente os monstros não apareceram (eu usei o mesmo que você disponibilizou)
     
    Mas só pra vocês saberem o que está acontecendo.. 

     
    se não der certo, vou tentar mudar a arena, pode ser bug de tile tbm... :D
    Mas muito obrigado @tirso e @Vodkart
  23. Gostei
    Brunno Dornelas deu reputação a Dornellas em [HELP] Mod Event Zombie Script   
    @Vodkart tentei usar o seu MOD mas deu um erro na Distro.
     

     
    To achando que o problema é a versão do meu tfs ;/
    vou continuar testando outros scripts que estão aqui no site até achar um que funcione no meu.
    ou talvez tentar achar o erro desse que eu postei, foi o mais perto de funcionar que eu achei kkkk
  24. Gostei
    Olá @Vodkart Tentei pelas duas maneiras (lua e mod) e as duas me apresentaram o mesmo problema.
    Sou do outro tópico lembra?
    Fiz tudo corretamente (repeti até duas vezes os mesmos passos para ter certeza)
    mas a minha arena não está sumonando os monstros.
    Tenho receio de ser minha versão de tfs (0.1.3) pois tenho certeza que esse script seu está 100% funcionando hahaha!
    Detalhe: Nenhuma das duas maneiras apresentaram erros na DISTRO
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    [02/03/2017 01:02:45] > Broadcasted message: "Vikin Hell entered the Zombie event! Currently 1 players have joined!".
    [02/03/2017 01:02:59] > Broadcasted message: "Zombie event starting in 1 minutes! The teleport will be closed when the event start!".
    [02/03/2017 01:03:14] > Broadcasted message: "Death Mind entered the Zombie event! Currently 2 players have joined!".
    [02/03/2017 01:03:59] > Broadcasted message: "The Zombie event is now full [2 players]! The event will soon start.".
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    Como pode observar nos logs acima, a última mensagem é que o evento vai começar em breve, mas nunca começa..
    nem aparece as mensagens de que os monstros foram spawnados.
    Seguem as configurações do MOD e a foto do mapa que estou utilizando:
    CONFIGURAÇÕES DO MOD
     
    Foto da arena (fiz até uma área pequena de sumon no mod para ter certeza que não tinham tiles inválidos)

     
    PS: Testei as soluções propostas nesse tópico também:
    1ª) Mudar as pos dos tiles em algum No-PVP;
    2ª) Mudar de 60 para 60000 e vise versa (para ver se não é em milissegundos);
    3ª) Trocar de "doCreatureMonster" para "doSummonCreature".
     
    Mas nenhuma delas funcionou.
    Espero poder solucionar esse problema no meu sv, pois gostei muito.
    Obrihado xD
  25. Gostei
    Brunno Dornelas deu reputação a Dornellas em [Gesior] Colocando itens à venda no Shop   
    @ADMDestroyer Cara, você pode me enviar como está suas TABLES  z_shop_offer e z_shop_history_item?
     
    Pois o meu problema é o seguinte:
    Eu consegui adicionar os itens normalmente pelo seu tutorial, pois estava tendo alguns bugs porexemplo: Os itens não paravam de chegar no char até o cap zerar..
    então eu decidi trocar as tables do shop por duas que achei aqui no forum (Segue abaixo):
    DROP TABLE IF EXISTS `z_shop_offer`; CREATE TABLE IF NOT EXISTS `z_shop_offer` ( `id` int(11) NOT NULL AUTO_INCREMENT, `points` int(11) NOT NULL DEFAULT '0', `itemid1` int(11) NOT NULL DEFAULT '0', `count1` int(11) NOT NULL DEFAULT '0', `itemid2` int(11) NOT NULL DEFAULT '0', `count2` int(11) NOT NULL DEFAULT '0', `offer_type` varchar(255) DEFAULT NULL, `offer_description` text NOT NULL, `offer_name` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;  
    DROP TABLE IF EXISTS `z_shop_history_item`; CREATE TABLE IF NOT EXISTS `z_shop_history_item` ( `id` int(11) NOT NULL AUTO_INCREMENT, `to_name` varchar(255) NOT NULL DEFAULT '0', `to_account` int(11) NOT NULL DEFAULT '0', `from_nick` varchar(255) NOT NULL, `from_account` int(11) NOT NULL DEFAULT '0', `price` int(11) NOT NULL DEFAULT '0', `offer_id` varchar(255) NOT NULL DEFAULT '', `trans_state` varchar(255) NOT NULL, `trans_start` int(11) NOT NULL DEFAULT '0', `trans_real` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; E agora eu não consigo mais adicionar itens no meu SHOP, e o pior de tudo, eu não salvei um backup antes de alterar essas tables, agora não consigo mais acessa-las na condição original 
    se eu conseguir substituir essas tables pelas que você tem, pode ser que resolva o problema.
     
    Msg de erro ao adicionar item: 
    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'pid' in 'field list'' in C:\xampp\htdocs\shopadmin.php:73 Stack trace: #0 C:\xampp\htdocs\shopadmin.php(73): PDO->query('INSERT INTO `z_...') #1 C:\xampp\htdocs\index.php(323): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\shopadmin.php on line 73

Informação Importante

Confirmação de Termo