antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
SpierNumad

Ajuda

Question

Boas pessoal alguém me sabe dizer qual a query por defeito para adicionar um mob ou npc no mysql, achei aqui no forum um programa mas da sempre erro ao adicionar a query e também já procurei na net e não encontro uma query por defeito

 

mob proto

<Mob vnum="101" name="'??'" gb2312name="Cao Selvagem" type="0" rank="0" battle_type="0" level="1" event_type="0" mob_color="0" />

 

query

 INSERT INTO `mob_proto` VALUES ('101', 'Cao Selvagem', 'Cao Selvagem', '0', '0', '0', '1', '', '', '0', 'ANIMAL', '', '0', 'stray_dog', '0', '3', '6', '5', '2', '20', '24', '126', '6', '7', '1800', '2700', '150', '4', '100', '100', '0', '2000', '175', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '70104', '0', '0', '0', '0', '0', '0', '0', '0', '0');
[Err] 1136 - Column count doesn't match value count at row 1

 

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Qual é a query que estás a tentar correr?

 

Esse erro quer dizer que a query não está formada corretamente para a tua tabela.

Coloca aqui a extrutura da tua tabela juntamente com a query em questão para podermos ver o que causa o erro.

ja consegui resolver o erro

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

Qual é a query que estás a tentar correr?

 

Esse erro quer dizer que a query não está formada corretamente para a tua tabela.

Coloca aqui a extrutura da tua tabela juntamente com a query em questão para podermos ver o que causa o erro.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this