Jump to content

millu

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by millu

  1. error is in insert table: CREATE TABLE IF NOT EXISTS `gd_pk_title` ( `char_id` int(11) unsigned NOT NULL, `var` int(11) unsigned NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; no default value for fields, so you need to inform all fields in an *insert*, as they are defined as *NOT NULL*, in table. query_sql "SELECT `char_id` FROM `GD_PK_TITLE` WHERE `char_id` = "[email protected]+"",@GDTID; if( [email protected] ) //ERROR query_sql "INSERT `GD_PK_TITLE` VALUES("[email protected]+",1)"; query_sql "INSERT INTO `GD_PK_TITLE` FIELDS (`char_id,`var`) VALUES("[email protected]+",1)"; else query_sql "UPDATE `GD_PK_TITLE` SET `var` = `var`+1 WHERE `char_id` = "[email protected]+"";
  2. the dmdswrd_Q2 variable never reaches the value 32. I did the doomed sword quest several times, as https://irowiki.org/wiki/Doomed_Swords_and_Comodo_Cheese_Quest , and following the variable values in the database (SELECT * FROM char_reg_num where `key` like '%dmdswrd%'). Some guidance, on where to set this variable to 32. After performing all the quest processes, you have the following variables: dmdswrd_Q2 = 31, dmdswrd_Q = 45 and event_magum=6
  3. Muitíssimo obrigado. Mais um detalhe; como fazer para new line ( \r) , dentro da string... já tentei todas as opções e não funciona, justamente por estar em ansi.
  4. Aew povo.... Estou traduzindo alguns npcs. Então a pergunta: Qual formato de arquivo deve ser o NPC? - porque os scripts que baixei para aprender, estão em UTF-8 (sem boom), mas se coloco um texto acentuado, aparece um caracter hexa no jogo, então preciso mudar o arquivo para ANSI. Estou desenvolvendo e testando em windows. Se estiver correto ANSI em windows, e se eu hostear (unix) o que estou fazendo , vai funcionar correto? Agradeço a atenção que possam me dar.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.