Ir para conteúdo

lenhao

Membro
  • Registro em

  • Última visita

Tudo que lenhao postou

  1. Olá, atualmente, estou tentando colocar um site on através do xampp, os arquivos já vieram prontos e não manjo nada de script/php e quando tento entrar no localhost, aparece o seguinte erro: Parse error: syntax error, unexpected $end in C:\xampp\htdocs\inc\db.class.php on line 397 vou postar o script inteiro, gostaria muito de ajuda, muito obrigado!! <?php // constants used by class define('MYSQL_TYPES_NUMERIC', 'int real '); define('MYSQL_TYPES_DATE', 'datetime timestamp year date time '); define('MYSQL_TYPES_STRING', 'string blob '); require 'configs.php'; if (!defined('_VALID_'))header("Location: index"); class db_class { var $last_error; // holds the last error. Usually mysql_error() var $last_query; // holds the last query executed. var $row_count; // holds the last number of rows from a select private $server = ''; //database server private $pw = ''; //database login password private $database = ''; //database name private $pre = ''; //table prefix private $err_email = ADMIN_EMAIL; /* // private váriaveis private $USER_TABLE = ''; private $NEWS_TABLE =''; private $ADMIN_TABLE=''; private $CONFIG_TABLE=''; */ private $errlog = true; // true or false private $error = ''; private $errno = 0; var $link_id; // current/last database link identifier var $auto_slashes; // the class will add/strip slashes when it can public function db_class() { $this->server=DB_HOST; $this->user=DB_USER; $this->pw=DB_PASS; $this->database=DB_NAME; $this->pre=DB_TABLE; /* // private váriaveis $this->USER_TABLE=TABLE_USER; $this->NEWS_TABLE=TABLE_NEWS; $this->ADMIN_TABLE=TABLE_ADMIN; $this->CONFIG_TABLE=CONFIG_TABLE; */ $this->auto_slashes = true; } public function connect($new_link=false, $persistant=false) { if ($persistant) $this->link_id =@mysql_connect($this->server,$this->user,$this->pw,$new_link); else $this->link_id =@mysql_connect($this->server,$this->user,$this->pw,$new_link); if (!$this->link_id) { $this->last_error = mysql_error(); $this->print_last_error("Connection close failed."); return false; } if(!@mysql_select_db($this->database, $this->link_id)) {//no database $this->last_error = mysql_error(); } if (!$this->select_db($this->database, $this->link_id)) return false; return $this->link_id; // success } public function close() { if(!mysql_close($this->link_id)){ $this->last_error = "Connection close failed."; } } private function escape($string) { if(get_magic_quotes_gpc()) $string = stripslashes($string); return mysql_real_escape_string($string); } function select_db($db='') { if (!empty($db)) $this->db = $db; if (!mysql_select_db($this->db)) { $this->last_error = mysql_error(); return false; } return true; } function select($sql) { $this->last_query = $sql; $r = mysql_query($sql); if (!$r) { $this->last_error = mysql_error(); return false; } $this->row_count = mysql_num_rows($r); return $r; } function select_array($sql) { $this->last_query = $sql; $r = mysql_query($sql); if (!$r) { $this->last_error = mysql_error(); return false; } $this->row_count = mysql_fetch_array($r); return $r; } public function query($query) { $r = mysql_query($sql); if (!$r) { $r->result = mysql_query($query); } else { $r->result = null; } } function select_one($sql) { $this->last_query = $sql; $r = mysql_query($sql); if (!$r) { $this->last_error = mysql_error(); return false; } if (mysql_num_rows($r) > 1) { $this->last_error = "Your query in function select_one() returned more that one result."; return false; } if (mysql_num_rows($r) < 1) { $this->last_error = "Your query in function select_one() returned no results."; return false; } $ret = mysql_result($r, 0); mysql_free_result($r); if ($this->auto_slashes) return stripslashes($ret); else return $ret; } function get_row($result, $type='MYSQL_BOTH') { if (!$result) { $this->last_error = "Invalid resource identifier passed to get_row() function."; return false; } if ($type == 'MYSQL_ASSOC') $row = mysql_fetch_array($result, MYSQL_ASSOC); if ($type == 'MYSQL_NUM') $row = mysql_fetch_array($result, MYSQL_NUM); if ($type == 'MYSQL_BOTH') $row = mysql_fetch_array($result, MYSQL_BOTH); if (!$row) return false; if ($this->auto_slashes) { foreach ($row as $key => $value) { $row[$key] = stripslashes($value); } } return $row; } function dump_query($data,$data2,$data3) { $r = $this->select("SELECT * FROM $data WHERE $data2=$data3"); if (!$r) return false; echo "<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\">\n"; $i = 0; while ($row = mysql_fetch_assoc($r)) { if ($i == 0) { foreach ($row as $col => $value) { echo "<td bgcolor=\"#E6E5FF\"><span style=\"font-face: sans-serif; font-size: 9pt; font-weight: bold;\">$col</span></td>\n"; } echo "</tr>\n"; } $i++; if ($i % 2 == 0) $bg = '#E3E3E3'; else $bg = '#F3F3F3'; echo "<tr>\n"; foreach ($row as $value) { echo "<td bgcolor=\"$bg\"><span style=\"font-face: sans-serif; font-size: 9pt;\">$value</span></td>\n"; } echo "</tr>\n"; } echo "</table></div>\n"; } function insert_sql($sql) { $this->last_query = $sql; $r = mysql_query($sql); if (!$r) { $this->last_error = mysql_error(); return false; } $id = mysql_insert_id(); if ($id == 0) return true; else return $id; } function update_sql($sql) { $this->last_query = $sql; $r = mysql_query($sql); if (!$r) { $this->last_error = mysql_error(); return false; } $rows = mysql_affected_rows(); if ($rows == 0) return true; else return $rows; } function insert_array($table, $data) { if (empty($data)) { $this->last_error = "You must pass an array to the insert_array() function."; return false; } $cols = '('; $values = '('; foreach ($data as $key=>$value) { $cols .= "$key,"; $col_type = $this->get_column_type($table, $key); if (!$col_type) return false; if (is_null($value)) { $values .= "NULL,"; } elseif (substr_count(MYSQL_TYPES_NUMERIC, "$col_type ")) { $values .= "$value,"; } elseif (substr_count(MYSQL_TYPES_DATE, "$col_type ")) { $value = $this->sql_date_format($value, $col_type); $values .= "'$value',"; } elseif (substr_count(MYSQL_TYPES_STRING, "$col_type ")) { if ($this->auto_slashes) $value = addslashes($value); $values .= "'$value',"; } } $cols = rtrim($cols, ',').')'; $values = rtrim($values, ',').')'; $sql = "INSERT INTO $table $cols VALUES $values"; return $this->insert_sql($sql); } function update_array($table, $data, $condition) { if (empty($data)) { $this->last_error = "You must pass an array to the update_array() function."; return false; } $sql = "UPDATE $table SET"; foreach ($data as $key=>$value) { $sql .= " $key="; $col_type = $this->get_column_type($table, $key); if (!$col_type) return false; if (is_null($value)) { $sql .= "NULL,"; } elseif (substr_count(MYSQL_TYPES_NUMERIC, "$col_type ")) { $sql .= "$value,"; } elseif (substr_count(MYSQL_TYPES_DATE, "$col_type ")) { $value = $this->sql_date_format($value, $col_type); $sql .= "'$value',"; } elseif (substr_count(MYSQL_TYPES_STRING, "$col_type ")) { if ($this->auto_slashes) $value = addslashes($value); $sql .= "'$value',"; } } $sql = rtrim($sql, ','); if (!empty($condition)) $sql .= " WHERE $condition"; return $this->update_sql($sql); } function execute_file ($file) { if (!file_exists($file)) { $this->last_error = "The file $file does not exist."; return false; } $str = file_get_contents($file); if (!$str) { $this->last_error = "Unable to read the contents of $file."; return false; } $this->last_query = $str; $sql = explode(';', $str); foreach ($sql as $query) { if (!empty($query)) { $r = mysql_query($query); if (!$r) { $this->last_error = mysql_error(); return false; } } } return true; } function get_column_type($table, $column) { $r = mysql_query("SELECT $column FROM $table"); if (!$r) { $this->last_error = mysql_error(); return false; } $ret = mysql_field_type($r, 0); if (!$ret) { $this->last_error = "Unable to get column information on $table.$column."; mysql_free_result($r); return false; } mysql_free_result($r); return $ret; } function sql_date_format($value) { if (gettype($value) == 'string') $value = strtotime($value); return date('Y-m-d H:i:s', $value); } function print_last_error($show_query=true) { ?> <div style="border: 1px solid red; font-size: 9pt; font-family: monospace; color: red; padding: .5em; margin: 8px; background-color: #FFE2E2"> <span style="font-weight: bold">db.class.php Error:</span><br><?= $this->last_error ?> </div> <? if ($show_query && (!empty($this->last_query))) { $this->print_last_query(); } } public function get_link_id() { return $this->link_id; } function print_last_query() { ?> <div style="border: 1px solid blue; font-size: 9pt; font-family: monospace; color: blue; padding: .5em; margin: 8px; background-color: #E6E5FF"> <span style="font-weight: bold">Last SQL Query:</span><br><?= str_replace("\n", '<br>', $this->last_query) ?> </div> <? } function filter($data) { $this->connect(); $data = trim(htmlentities(strip_tags($data))); if (get_magic_quotes_gpc()) $data = stripslashes($data); $data = mysql_real_escape_string($data); return $data; } function page () { ob_start(); session_start('WebATS'); include ("inc/htmltags.php"); include ("inc/class.content.php"); $Content = new Content(); $Content->ShowContent(PAGE); echo '<title>'.$title.' - '.utf8_decode(PAGENAME).'</title>'; include ("inc/footer.php"); } function account ($data) { if($data == 'createaccount'){ define('_PAGETYPEREGISTER_','active'); } elseif ($data == 'login'){ define('_PAGETYPELOGIN_','active'); }elseif($data == ''){ define('_PAGETYPEREGISTER_','active'); }elseif($data == 'forgot_password'){ define('_PAGETYPEFORGOT_','active'); }elseif($data == 'active'){ define('_PAGETYPEACTIVE_','active'); } } } ?> obs: a linha 397 é a ultima linha, que contem ?>
  2. eu compilei mas ta dando um erro na hora de executar o TFS!! fala que está faltando o arquivo LYBMYSQL.dll eu compilei mas ta dando um erro na hora de executar o TFS!! fala que está faltando o arquivo LYBMYSQL.dll eu compilei mas ta dando um erro na hora de executar o TFS!! fala que está faltando o arquivo LYBMYSQL.dll consegui compilar mas agora está dando um erro quando eu executo o TFS! Fala que está faltando o seguinte arquivo: LIBMYSQL.dll alguém poderia ajudar?
  3. lenhao postou uma resposta no tópico em Suporte Tibia OTServer
    são tópicos diferentes! um é no cliente e o outro era na programação do server amigo... vc que entendeu errado
  4. lenhao postou uma resposta no tópico em Suporte Tibia OTServer
    Olá pessoa, estou editando um server de wodbo e queira mudar o sequinte: a luva está avançando como axe fighting e queria mudar isso pra aparecer You advanced Glove Fighting? alguém poderia ajudar?
  5. qual editor vc usou? estou com este mesmo problema....
  6. aonde eu adiciono os effect, por exemplo aonde ta MAGIC_EFFECT_155 eu posso deixar com esse nome eu eu tenho que colocar o nome da magia por exe: MAGIC_EFFECT_KAMEHAMEHA
  7. qual trunk eu uso? depois que eu compilar eu jogo os arquivos .h e .cpp dentro da pasta do meu server?
  8. não deve ser no script! já postei ai, de uma olhada!!! Seminu, depois que compilar, eu jogo os arquivos para a pasta do meu ot? e como eu faço pra encontrar eles? alguem sabe?
  9. Olá pessoal, estou alguns problemas no meu ot dbo com as effects e talvez tenha que aumentar os effects na distro, porém sou novo nisso.... Meu ot não possui arquivos .h / .cpp / .dev o que eu devo fazer? é versão 8.60!! Me ajudem!! Thanks!!
  10. se meu server não possui arquivos .h , .dev e .ccp o que eu tenho que fazer? compilar um server da mesma versão e jogar os arquivos pra dentro dele? me ajudem!!
  11. ja tentei e da uns par de erro..
  12. e como faço pra compilar o server se não tem os arquivos .h e .ccp? ja entrei no dat e ja vim, tem os efeitos sim!
  13. e como eu faço pra achar esses arquivos? e como eu vejo esse efeito no .dat?
  14. se meu server não tem os arquivos .h e .cpp o que eu faço?
  15. lenhao postou uma resposta no tópico em Suporte Tibia OTServer
    alguem ajudaaaaaaaaaaaaa
  16. lenhao postou uma resposta no tópico em Suporte Tibia OTServer
    estou com o mesmo problema, alguém para ajudar? ;c
  17. eu estou com o mesmo poblema.. alguém poderia me ajudar? não tenho esses arquivos .cpp e nem .h . O server é de wodbo que estou de editando aqui está o arquivo lua da spell: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 128) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr1 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {1, 2, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area1 = createCombatArea(arr1) setCombatArea(combat1, area1) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr2 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 2}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area2 = createCombatArea(arr2) setCombatArea(combat2, area2) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr3 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 1, 1, 0, 0, 2}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area3 = createCombatArea(arr3) setCombatArea(combat3, area3) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 130) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr4 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 2}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area4 = createCombatArea(arr4) setCombatArea(combat4, area4) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, 130) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr5 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {2, 1, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area5 = createCombatArea(arr5) setCombatArea(combat5, area5) local combat6 = createCombatObject() setCombatParam(combat6, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat6, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr6 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 2, 0, 1, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area6 = createCombatArea(arr6) setCombatArea(combat6, area6) local combat7 = createCombatObject() setCombatParam(combat7, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat7, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr7 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {2, 0, 0, 1, 1, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area7 = createCombatArea(arr7) setCombatArea(combat7, area7) local combat8 = createCombatObject() setCombatParam(combat8, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat8, COMBAT_PARAM_EFFECT, 128) setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr8 = { {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {2, 0, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, } local area8 = createCombatArea(arr8) setCombatArea(combat8, area8) local combat9 = createCombatObject() setCombatParam(combat9, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat9, COMBAT_PARAM_EFFECT, 133) setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr9 = { {0, 0, 0, 0, 0}, {0, 0, 0, 2, 0}, {0, 0, 0, 1, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area9 = createCombatArea(arr9) setCombatArea(combat9, area9) local combat10 = createCombatObject() setCombatParam(combat10, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat10, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr10 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 2, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area10 = createCombatArea(arr10) setCombatArea(combat10, area10) local combat11 = createCombatObject() setCombatParam(combat11, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat11, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr11 = { {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area11 = createCombatArea(arr11) setCombatArea(combat11, area11) local combat12 = createCombatObject() setCombatParam(combat12, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat12, COMBAT_PARAM_EFFECT, 131) setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr12 = { {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area12 = createCombatArea(arr12) setCombatArea(combat12, area12) local combat13 = createCombatObject() setCombatParam(combat13, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat13, COMBAT_PARAM_EFFECT, 131) setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr13 = { {0, 0, 0, 0, 0}, {0, 0, 0, 1, 0}, {0, 0, 0, 2, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area13 = createCombatArea(arr13) setCombatArea(combat13, area13) local combat14 = createCombatObject() setCombatParam(combat14, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat14, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr14 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 2, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area14 = createCombatArea(arr14) setCombatArea(combat14, area14) local combat15 = createCombatObject() setCombatParam(combat15, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat15, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr15 = { {0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area15 = createCombatArea(arr15) setCombatArea(combat15, area15) local combat16 = createCombatObject() setCombatParam(combat16, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat16, COMBAT_PARAM_EFFECT, 133) setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr16 = { {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area16 = createCombatArea(arr16) setCombatArea(combat16, area16) function k5(cid) if getCreatureLookDirection(cid) == 1 then doCombat(cid, combat1, numberToVariant(cid)) doCombat(cid, combat2, numberToVariant(cid)) doCombat(cid, combat3, numberToVariant(cid)) doCombat(cid, combat4, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) elseif getCreatureLookDirection(cid) == 2 then doCombat(cid, combat13, numberToVariant(cid)) doCombat(cid, combat14, numberToVariant(cid)) doCombat(cid, combat15, numberToVariant(cid)) doCombat(cid, combat16, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) elseif getCreatureLookDirection(cid) == 3 then doCombat(cid, combat5, numberToVariant(cid)) doCombat(cid, combat6, numberToVariant(cid)) doCombat(cid, combat7, numberToVariant(cid)) doCombat(cid, combat8, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) elseif getCreatureLookDirection(cid) == 0 then doCombat(cid, combat9, numberToVariant(cid)) doCombat(cid, combat10, numberToVariant(cid)) doCombat(cid, combat11, numberToVariant(cid)) doCombat(cid, combat12, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) end end function k4(cid) doPlayerSay(cid, 'Me!', TALKTYPE_ORANGE_1) addEvent(k5,100,cid) end function k3(cid) doPlayerSay(cid, 'Ha!', TALKTYPE_ORANGE_1) addEvent(k4,100,cid) end function k2(cid) doPlayerSay(cid, 'Me!', TALKTYPE_ORANGE_1) addEvent(k3,100,cid) end function k1(cid) doPlayerSay(cid, 'Ka!', TALKTYPE_ORANGE_1) addEvent(k2,100,cid) end function onCastSpell(cid, var) addEvent(k1,0,cid) return true end OBS: em todas as waves está esse erro, o kamehameha é apenas um exemplo! meu server nao tem os arquivos .h e ccp alguém poderia ajudar? up
  18. lenhao postou uma resposta no tópico em Suporte Tibia OTServer
    se faz alguma ideia de como poderia arrumar? up
  19. como assim, erro no console? alguma solução? alguem??! up
  20. ja tentei copilar da uns par de erro
  21. tudo pela pasta do htdocs do xampp!!! clica com o botao direito, inspecionar elemento, ai vc vai ver aonde ele se localiza e vai alterando no arquivo...
  22. estou com o mesmo problema, alguém seja mais específico por favor! Não dá pra entender nada do que vocês estão falando, fala passo por passo!! thanks
  23. alguem poderia me ajudar? estou com um erro parecido, a effect das waves não aparecem, a magia funciona normalmente, aparece o dano mas não aparece o effect, vou postar como ele está e como aparece no game. muito obrigado! local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 128) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr1 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {1, 2, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area1 = createCombatArea(arr1) setCombatArea(combat1, area1) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr2 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 2}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area2 = createCombatArea(arr2) setCombatArea(combat2, area2) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr3 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 1, 1, 0, 0, 2}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area3 = createCombatArea(arr3) setCombatArea(combat3, area3) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 130) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr4 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 2}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area4 = createCombatArea(arr4) setCombatArea(combat4, area4) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, 130) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr5 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {2, 1, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area5 = createCombatArea(arr5) setCombatArea(combat5, area5) local combat6 = createCombatObject() setCombatParam(combat6, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat6, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr6 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 2, 0, 1, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area6 = createCombatArea(arr6) setCombatArea(combat6, area6) local combat7 = createCombatObject() setCombatParam(combat7, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat7, COMBAT_PARAM_EFFECT, 129) setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr7 = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {2, 0, 0, 1, 1, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area7 = createCombatArea(arr7) setCombatArea(combat7, area7) local combat8 = createCombatObject() setCombatParam(combat8, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat8, COMBAT_PARAM_EFFECT, 128) setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr8 = { {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {2, 0, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, } local area8 = createCombatArea(arr8) setCombatArea(combat8, area8) local combat9 = createCombatObject() setCombatParam(combat9, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat9, COMBAT_PARAM_EFFECT, 133) setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr9 = { {0, 0, 0, 0, 0}, {0, 0, 0, 2, 0}, {0, 0, 0, 1, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area9 = createCombatArea(arr9) setCombatArea(combat9, area9) local combat10 = createCombatObject() setCombatParam(combat10, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat10, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr10 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 2, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area10 = createCombatArea(arr10) setCombatArea(combat10, area10) local combat11 = createCombatObject() setCombatParam(combat11, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat11, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr11 = { {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area11 = createCombatArea(arr11) setCombatArea(combat11, area11) local combat12 = createCombatObject() setCombatParam(combat12, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat12, COMBAT_PARAM_EFFECT, 131) setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr12 = { {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area12 = createCombatArea(arr12) setCombatArea(combat12, area12) local combat13 = createCombatObject() setCombatParam(combat13, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat13, COMBAT_PARAM_EFFECT, 131) setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr13 = { {0, 0, 0, 0, 0}, {0, 0, 0, 1, 0}, {0, 0, 0, 2, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area13 = createCombatArea(arr13) setCombatArea(combat13, area13) local combat14 = createCombatObject() setCombatParam(combat14, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat14, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr14 = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 2, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, } local area14 = createCombatArea(arr14) setCombatArea(combat14, area14) local combat15 = createCombatObject() setCombatParam(combat15, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat15, COMBAT_PARAM_EFFECT, 132) setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr15 = { {0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area15 = createCombatArea(arr15) setCombatArea(combat15, area15) local combat16 = createCombatObject() setCombatParam(combat16, COMBAT_PARAM_HITCOLOR, COLOR_TEAL) setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat16, COMBAT_PARAM_EFFECT, 133) setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0) local arr16 = { {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 2, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, } local area16 = createCombatArea(arr16) setCombatArea(combat16, area16) function k5(cid) if getCreatureLookDirection(cid) == 1 then doCombat(cid, combat1, numberToVariant(cid)) doCombat(cid, combat2, numberToVariant(cid)) doCombat(cid, combat3, numberToVariant(cid)) doCombat(cid, combat4, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) elseif getCreatureLookDirection(cid) == 2 then doCombat(cid, combat13, numberToVariant(cid)) doCombat(cid, combat14, numberToVariant(cid)) doCombat(cid, combat15, numberToVariant(cid)) doCombat(cid, combat16, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) elseif getCreatureLookDirection(cid) == 3 then doCombat(cid, combat5, numberToVariant(cid)) doCombat(cid, combat6, numberToVariant(cid)) doCombat(cid, combat7, numberToVariant(cid)) doCombat(cid, combat8, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) elseif getCreatureLookDirection(cid) == 0 then doCombat(cid, combat9, numberToVariant(cid)) doCombat(cid, combat10, numberToVariant(cid)) doCombat(cid, combat11, numberToVariant(cid)) doCombat(cid, combat12, numberToVariant(cid)) doPlayerSay(cid, 'Haa!', TALKTYPE_ORANGE_1) end end function k4(cid) doPlayerSay(cid, 'Me!', TALKTYPE_ORANGE_1) addEvent(k5,100,cid) end function k3(cid) doPlayerSay(cid, 'Ha!', TALKTYPE_ORANGE_1) addEvent(k4,100,cid) end function k2(cid) doPlayerSay(cid, 'Me!', TALKTYPE_ORANGE_1) addEvent(k3,100,cid) end function k1(cid) doPlayerSay(cid, 'Ka!', TALKTYPE_ORANGE_1) addEvent(k2,100,cid) end function onCastSpell(cid, var) addEvent(k1,0,cid) return true end OBS: em todas as waves está esse erro, o kamehameha é apenas um exemplo! ME AJUDEM POR FAVOR!
  24. não estou conseguindo compilar, esta dando muitos erros..
  25. lenhao postou uma resposta no tópico em Suporte Tibia OTServer
    alguem ajuda?

Informação Importante

Confirmação de Termo