Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''erro''.

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Encontrar resultados em...

Encontrar resultados que contenham...


Data de Criação

  • Início

    FIM


Data de Atualização

  • Início

    FIM


Filtrar pelo número de...

Data de Registro

  • Início

    FIM


Grupo


Sou

  1. Toda ves que vo abri o meu servidor apareçe o seguinte erro [3:4:10.854] > ERROR: Couldn't estabilish connection to SQL database! alguem da pra me ajuda ??
  2. Galera, eu consigo acessar o PhpMyAdmin normalmente, mas o site não funciona, dá esse erro Not FoundThe requested URL /subtopic=latestnews was not found on this server. Apache/2.4.10 (Ubuntu) Server at 158.69.209.254 Port 80
  3. Boa noite Pessoal, então gostaria de uma ajuda de vocês, como hoje estamos vendo ai muitas pessoas que jogam tibia fazem scripts 24H, porem no meu servidor hardbaiak.com,quando os players vão vender loot com o script do elfbot, eles não conseguem, alguem pode me ajudar ? @up
  4. Olá, Seguinte estou enfrentando o seguinte erro em uma das partes de utilizar o vagão para colocar o carvão. Lua Script Error: [Action Interface] data/actions/scripts/quests/the hidden city of beregar/coalWagon.lua:onUse .../scripts/quests/the hidden city of beregar/coalWagon.lua:9: attempt to index field 'wagon' (a number value) stack traceback: [C]: in function '__index' .../scripts/quests/the hidden city of beregar/coalWagon.lua:9: in function <.../scripts/quests/the hidden city of beregar/coalWagon.lua:6> Segue o coalWagon.lua local config = { {wagon = 7131, stopPos = Position(32717, 31492, 11)}, {wagon = 8749, stopPos = Position(32699, 31492, 11)} } function onUse(player, item, fromPosition, target, toPosition, isHotkey) for i = 1, #config do local table = config[i] local wagonPos = table.wagon:getPosition() if table.wagon == 7131 and wagonPos ~= table.stopPos then Tile(wagonPos):getTopTopItem():moveTo(wagonPos, x + 2) elseif table.wagon == 8749 and wagonPos ~= table.stopPos then Tile(wagonPos):getTopTopItem():moveTo(wagonPos, x - 2) end player:say("SQUEEEEAK", TALKTYPE_MONSTER_SAY, false, 0, wagonPos) end return true end Obrigado!
  5. Boa Noite Amigos Do XTibia!! Estou extremamente desesperado... esta aparecendo um erro em meu distro e não estou conseguindo resolver esse erro de jeito nenhum, alguém por favor poderia me ajudar? irei posta o erro que aparece na Distro e os arquivos .lua Estou Usando o TFS 0.4 Versão do server 8.6 Erro que aparece na Distro [02/03/2016 17:32:36] [Error - CreatureScript Interface] [02/03/2016 17:32:36] In a timer event called from: [02/03/2016 17:32:36] data/creaturescripts/scripts/login.lua:onLogin [02/03/2016 17:32:36] Description: [02/03/2016 17:32:36] (luaGetThingPosition) Thing not found [02/03/2016 17:32:36] [Error - CreatureScript Interface] [02/03/2016 17:32:36] In a timer event called from: [02/03/2016 17:32:36] data/creaturescripts/scripts/login.lua:onLogin [02/03/2016 17:32:36] Description: [02/03/2016 17:32:36] (internalGetPlayerInfo) Player not found when requesting player info #6 [02/03/2016 17:32:36] [Error - CreatureScript Interface] [02/03/2016 17:32:36] In a timer event called from: [02/03/2016 17:32:36] data/creaturescripts/scripts/login.lua:onLogin [02/03/2016 17:32:36] Description: [02/03/2016 17:32:36] (internalGetPlayerInfo) Player not found when requesting player info #6 [02/03/2016 17:32:36] [Error - CreatureScript Interface] [02/03/2016 17:32:36] In a timer event called from: [02/03/2016 17:32:36] data/creaturescripts/scripts/login.lua:onLogin [02/03/2016 17:32:36] Description: [02/03/2016 17:32:36] (luaGetCreatureStorage) Creature not found [02/03/2016 17:32:36] [Error - CreatureScript Interface] [02/03/2016 17:32:36] In a timer event called from: [02/03/2016 17:32:36] data/creaturescripts/scripts/login.lua:onLogin [02/03/2016 17:32:36] Description: [02/03/2016 17:32:36] data/lib/Pivi.lua:34: attempt to compare number with boolean [02/03/2016 17:32:36] stack traceback: [02/03/2016 17:32:36] data/lib/Pivi.lua:34: in function <data/lib/Pivi.lua:19> Arquivo Pivi.lua function doUseGem(cid, item) local voc = getPlayerVocation(cid) local interval = gems.interval[voc] if item.itemid ~= gems.id[voc] or getPlayerStorageValue(cid, gems.storage[voc]) > 0 then return FALSE end setPlayerStorageValue(cid, gems.storage[voc], 1) sendGemEffect(cid, gems.storage[voc], gems.interval[voc]) doRemoveItem(item.uid, 1) return TRUE end function sendGemEffect(cid, storage, interval) local pos = getThingPos(cid) local voc = getPlayerVocation(cid) local color = 1 if voc == 5 then color = gemMsg.colorDruid[math.random(1,#gemMsg.colorElderDruid)] elseif voc == 6 then color = gemMsg.colorSorcerer[math.random(1,#gemMsg.colorMasterSorcerer)] elseif voc == 7 then color = gemMsg.colorPaladin[math.random(1,#gemMsg.colorRoyalPaladin)] elseif voc == 8 then color = gemMsg.colorKnight[math.random(1,#gemMsg.colorEliteKnight)] end doSendAnimatedText(pos, gemMsg.rnd[math.random(1,#gemMsg.rnd)], color) if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) >= 1 then addEvent(sendGemEffect, interval, cid, storage, interval) end end function doRemoveGemEffect(cid) if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) < 1 then return FALSE end setPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)], 0) return TRUE end function doRemoveAllGemEffect(cid) for i = 1, table.maxn(gms.storage) do setPlayerStorageValue(cid, gems.storage[i], 0) end return TRUE end function isGemActivated(cid) if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) > 0 then return TRUE end return FALSE end Arquivo Login.lua function onLogin(cid)setPlayerStorageValue(cid, 47112120, 2) local voc = getPlayerVocation(cid) if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) > 0 then sendGemEffect(cid, gems.storage[voc], gems.interval[voc]) end local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do doPlayerSetLossPercent(cid, i, getConfigValue('deathLostPercent')) end end registerCreatureEvent(cid, "owned") registerCreatureEvent(cid, "conected") registerCreatureEvent(cid, "boss") registerCreatureEvent(cid, "thalasteleport") registerCreatureEvent(cid, "thalas_teleport") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "combat") registerCreatureEvent(cid, "forever amulet") return TRUE end
  6. Olá galera, Boa tarde. Hoje vim pedir uma ajuda para solucionar um problema no onDeath da minha Task. TFS: 1.2 Versão: 10.9 CreatureScript: function onDeath(cid, corpse, deathList) local qntdade = 600 local stoTime = 96586 local stoKill = 96587 if getCreatureName(cid) == "Multi" then for a = 1, #deathList do local pk = deathList[a] local left = math.ceil((getPlayerStorageValue(pk, stoTime) - os.time())/(24 * 60 * 60)) if left > 0 and getPlayerStorageValue(pk, stoKill) > 0 then setPlayerStorageValue(pk, stoKill, getPlayerStorageValue(pk, stoKill) - 1) local sto = getPlayerStorageValue(pk, stoKill) local jaMatou = math.abs(getPlayerStorageValue(pk, stoKill)-qntdade) if sto == 0 then doPlayerSendTextMessage(pk, 22, "[Multi Task Finalizada] ("..qntdade.."/"..qntdade..")") else doPlayerSendTextMessage(pk, 22, "[Multi Task] ("..jaMatou.."/"..qntdade..")") end end end end return true end ERROR:
  7. Index of / Name Last modified Size Description www/ 02-Mar-2016 01:24 - Apache/2.2.14 (Ubuntu) Server at stellaot.no-ip.org Port 80
  8. BrunooMaciell

    Plain

    Alguem pode me ajuda com este bug que apareceu!! nao entendi muito bem eu sei que e a database do server mais dei uma trabalhada nela e nao resolveu e nem sei oque seja. ?? Rep++
  9. Gente preciso muito de ajuda já vi todos os tutorial possível mais não consigo por items no shop guild alguém me ajuda?
  10. Olá pessoal, tudo suave? Bom, ontem estava com o Remere's aberto fazendo algumas edições, quando a energia caiu, por causa de uma manuntenção não avisada da empresa, e depois disso meu mapa não abre mais. Nem no jogo nem no remere's. No remere's não passa dos 9% e no jogo simples não vai. Tem alguma maneira de recuperar partes deste mapa?
  11. 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 ?> up
  12. Boa Noite Galera!! Coloquei um sistema de auro no meu servidor, dai quando o player desloga do server da esse erro alguém pode arrumar pra mim ?? aqui esta o erra que aparece no Distro, estou usando o fts 0.4 [25/02/2016 19:27:19] [Error - CreatureScript Interface] [25/02/2016 19:27:19] In a timer event called from: [25/02/2016 19:27:19] data/creaturescripts/scripts/login.lua:onLogin [25/02/2016 19:27:19] Description: [25/02/2016 19:27:19] (luaGetThingPosition) Thing not found [25/02/2016 19:27:19] [Error - CreatureScript Interface] [25/02/2016 19:27:19] In a timer event called from: [25/02/2016 19:27:19] data/creaturescripts/scripts/login.lua:onLogin [25/02/2016 19:27:19] Description: [25/02/2016 19:27:19] (internalGetPlayerInfo) Player not found when requesting player info #6 [25/02/2016 19:27:19] [Error - CreatureScript Interface] [25/02/2016 19:27:19] In a timer event called from: [25/02/2016 19:27:19] data/creaturescripts/scripts/login.lua:onLogin [25/02/2016 19:27:19] Description: [25/02/2016 19:27:19] (internalGetPlayerInfo) Player not found when requesting player info #6 [25/02/2016 19:27:19] [Error - CreatureScript Interface] [25/02/2016 19:27:19] In a timer event called from: [25/02/2016 19:27:19] data/creaturescripts/scripts/login.lua:onLogin [25/02/2016 19:27:20] Description: [25/02/2016 19:27:20] (luaGetCreatureStorage) Creature not found [25/02/2016 19:27:20] [Error - CreatureScript Interface] [25/02/2016 19:27:20] In a timer event called from: [25/02/2016 19:27:20] data/creaturescripts/scripts/login.lua:onLogin [25/02/2016 19:27:20] Description: [25/02/2016 19:27:20] data/lib/Pivi.lua:34: attempt to compare number with boolean [25/02/2016 19:27:20] stack traceback: [25/02/2016 19:27:20] data/lib/Pivi.lua:34: in function <data/lib/Pivi.lua:19> Aqui esta o arquivo .lua function doUseGem(cid, item) local voc = getPlayerVocation(cid) local interval = gems.interval[voc] if item.itemid ~= gems.id[voc] or getPlayerStorageValue(cid, gems.storage[voc]) > 0 then return FALSE end setPlayerStorageValue(cid, gems.storage[voc], 1) sendGemEffect(cid, gems.storage[voc], gems.interval[voc]) doRemoveItem(item.uid, 1) return TRUE end function sendGemEffect(cid, storage, interval) local pos = getThingPos(cid) local voc = getPlayerVocation(cid) local color = 1 if voc == 5 then color = gemMsg.colorDruid[math.random(1,#gemMsg.colorElderDruid)] elseif voc == 6 then color = gemMsg.colorSorcerer[math.random(1,#gemMsg.colorMasterSorcerer)] elseif voc == 7 then color = gemMsg.colorPaladin[math.random(1,#gemMsg.colorRoyalPaladin)] elseif voc == 8 then color = gemMsg.colorKnight[math.random(1,#gemMsg.colorEliteKnight)] end doSendAnimatedText(pos, gemMsg.rnd[math.random(1,#gemMsg.rnd)], color) if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) >= 1 then addEvent(sendGemEffect, interval, cid, storage, interval) end end function doRemoveGemEffect(cid) if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) < 1 then return FALSE end setPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)], 0) return TRUE end function doRemoveAllGemEffect(cid) for i = 1, table.maxn(gms.storage) do setPlayerStorageValue(cid, gems.storage[i], 0) end return TRUE end function isGemActivated(cid) if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) > 0 then return TRUE end return FALSE end
  13. Olá pessoal , gostaria que alguém me ajudasse com seguinte erro na hora de criar a conta do usuário sendo que não era para essa opção estar ali.... HELP-ME print abaixo http://prntscr.com/a7n7nc Por favor ajudem... Sou novo aqui no Xtibia... mas bastante gente Boa aqui .. Aprendei tudo sobre website com vocês....... :smile_positivo:
  14. Boa tarde, então essa é a minha primeira vez fazendo site com o gesior e ja me deparei com alguns problemas. bom vamos la! 1- o site só aparece online para mim! eu coloco o ip da minha net e ele entra, mas as outras pessoas n conseguem. obs: portas liberadas no firewall: 7171/7172 Portas liberadas no modem: 7171/7172 443/4433 80/8080 80/8090 2- Ao dar look no char da pessoa, não aparece nada. 3- Ao deslogar o char no ot e depois logar, o char aparece no templo. exemplo: posição do templo: 10160 10054 7 dai vc desloga no 10164 10054 7 o char aparece novamente no 10160 10054 7. E tambem não salva os itens e acredito que o level também não. ex: vc poe 1 wand na bp, desloga e loga, aparece no templo sem ela. Obrigado.
  15. Boa noite, estou com problema ao criar o website, eu ja fiz a conta da database, ja configurei o config.lua, ja importei a database, ja fiz td mas ao eu clicar em admin do apache da esse erro Warning: parse_ini_file(D:/Documents and Settings/User/Pulpit/4235/config.lua) [function.parse-ini-file]: failed to open stream: Permission denied in C:\xampp\htdocs\config-and-functions.php on line 13 Database error. Unknown database type in D:/Documents and Settings/User/Pulpit/4235/config.lua . Must be equal to: "mysql" or "sqlite". Now is: "" Por favor me ajuda. Obs: esta mudado na config.lua o sqlite para mysql
  16. Aparece esse erro pra mim : Porfavor alguem ai me ajuda?
  17. Boa tarde, estou tentando configurar um gesior para ot 8.60 com o Xampp 1.7.3, porém quando vou acessar a pagina do localhost para configurar o site aparece o seguinte erro: Fatal error: Call to a member function query() on a non-object in C:\Xampp\htdocs\install.php on line 4 A linha 4 em questão no install.php está assim: $query = $SQL->query("SELECT * FROM `players` ORDER BY `experience` DESC")->fetch(); Agradeço desde já quem puder me ajudar.
  18. tipo eu hookei a dll otal.dll no client ae tudo okay quando entrei apareceu poke bar mais n atualiza para aparece o poke e o cooldown bar aparece as magia quando vc usa m1 a m12 ele atualiza o tempo de espera mais vc nao poder usa clicando nela tipo quando vc entra com player a barra dele continua mesmo logando com outro char tipo a barra do primeiro char vale para todos to lgd soh expert em programaçao vai saber responde coloquei a script de pokebar nova de pda atualizado galera arrumei o Cooldown Bar era apenas um arquivo de atualizaçao falta o pokebar esse ta dificil up
  19. ivanhardjr

    2 Erros

    Alguem me ajuda com isso? esses erros pelo que eu vi nao interfere em nada no servidor eu acho.... mais quero retirar eles.. podem ajudar?
  20. Olha eu criei o site só que tentei abrir o server da nisso
  21. Boa noite, alguém poderia me ajudar com este erro (186.218.84.98) [Failure - Protocol::XTEA_decrypt] Not valid unencrypted message size No caso eu dei olha pesquisada, isso é gerado por um player (ip 186.218.84.98), não sei como ele faz isso, mas gera um relatório de erro constante no TFS, até fechar, teria alguma maneira de automaticamente banir quem fizesse isso ? e tem como resolver isso ? vou anexar uma foto do erro. Obrigado.
  22. alguem pode me ajudar com esse erro URGENTE Error during getDataInt(play er_id). [15/2/2016 23:17:24] mysql_real_query(): SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = 1020 ORDER BY cast(value as INTEGER) DESC; - MYSQL ERROR: 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 'INTEGER) DESC' at line 1 (1064) @up
  23. NackPunnie

    Pokeexp

    Está dando erro, Quando ataco os pokémons a exp tá normal, mas o corpse não e deu erro no distro. Tem como resolver esse problema? Aqui está a print: Aqui está o Pokeexp.lua local balls = {11826, 11828, 11829, 11831, 11832, 11834, 11835, 11837, 11737, 11739, 11740, 11742, 11743, 11745, 11746, 11748} local function playerAddExp(cid, exp) doPlayerAddExp(cid, exp) doSendAnimatedText(getThingPos(cid), exp, 215) end local function giveExpToPlayer(pk, expTotal, givenexp, expstring) --alterado v2.7 playerAddExp(pk, expTotal) local firstball = getPlayerSlotItem(pk, 8) if not isInParty(pk) and firstball and getItemAttribute(firstball.uid, expstring) and getItemAttribute(firstball.uid, expstring) > 0 then local percent = getItemAttribute(firstball.uid, expstring) <= 1 and getItemAttribute(firstball.uid, expstring) or 1 local gainexp = math.ceil(percent * givenexp) doItemSetAttribute(firstball.uid, expstring, 0) elseif isInParty(pk) and firstball.uid ~= 0 then end end function onDeath(cid, corpse, deathList) if isSummon(cid) or not deathList or getCreatureName(cid) == "Evolution" then return true end --alterado v2.8 -------------Edited Golden Arena------------------------- --alterado v2.7 \/\/ if getPlayerStorageValue(cid, 22546) == 1 then setGlobalStorageValue(22548, getGlobalStorageValue(22548)-1) if corpse.itemid ~= 0 then doItemSetAttribute(corpse.uid, "golden", 1) end --alterado v2.8 end if getPlayerStorageValue(cid, 22546) == 1 and getGlobalStorageValue(22548) <= 0 then local wave = getGlobalStorageValue(22547) for _, sid in ipairs(getPlayersOnline()) do if isPlayer(sid) and getPlayerStorageValue(sid, 22545) == 1 then if getGlobalStorageValue(22547) < #wavesGolden+1 then doPlayerSendTextMessage(sid, 21, "Wave "..wave.." will begin in "..timeToWaves.."seconds!") doPlayerSendTextMessage(sid, 28, "Wave "..wave.." will begin in "..timeToWaves.."seconds!") addEvent(creaturesInGolden, 100, GoldenUpper, GoldenLower, false, true, true) addEvent(doWave, timeToWaves*1000) elseif getGlobalStorageValue(22547) == #wavesGolden+1 then doPlayerSendTextMessage(sid, 20, "You have win the golden arena! Take your reward!") doPlayerAddItem(sid, 2152, getPlayerStorageValue(sid, 22551)*2) --premio setPlayerStorageValue(sid, 22545, -1) doTeleportThing(sid, getClosestFreeTile(sid, posBackGolden), false) setPlayerRecordWaves(sid) end end end if getGlobalStorageValue(22547) == #wavesGolden+1 then endGoldenArena() end end --------------------------------------------------- /\/\ local givenexp = getWildPokemonExp(cid) local expstring = ""..cid.."expEx" if givenexp > 0 then for a = 1, #deathList do local pk = deathList[a] if isCreature(pk) then local list = getSpectators(getThingPosWithDebug(pk), 30, 30, false) local expTotal = math.floor(playerExperienceRate * givenexp * getDamageMapPercent(pk, cid)) local party = getPartyMembers(pk) if isInParty(pk) and getPlayerStorageValue(pk, 4875498) <= -1 then expTotal = math.floor(expTotal/#party) --alterado v2.6.1 for i = 1, #party do if isInArray(list, party[i]) and getDamageMapPercent(party[i], cid) > 0 then --alterado v2.8 giveExpToPlayer(party[i], expTotal, givenexp, expstring)--alterado v2.7 end end else giveExpToPlayer(pk, expTotal, givenexp, expstring) --alterado v2.7 end end end end if isNpcSummon(cid) then local master = getCreatureMaster(cid) doSendMagicEffect(getThingPos(cid), getPlayerStorageValue(cid, 10000)) doCreatureSay(master, getPlayerStorageValue(cid, 10001), 1) doRemoveCreature(cid) return false end if corpse.itemid ~= 0 then --alterado v2.8 doItemSetAttribute(corpse.uid, "offense", getPlayerStorageValue(cid, 1011)) doItemSetAttribute(corpse.uid, "defense", getPlayerStorageValue(cid, 1012)) doItemSetAttribute(corpse.uid, "speed", getPlayerStorageValue(cid, 1013)) doItemSetAttribute(corpse.uid, "vitality", getPlayerStorageValue(cid, 1014)) doItemSetAttribute(corpse.uid, "spattack", getPlayerStorageValue(cid, 1015)) doItemSetAttribute(corpse.uid, "gender", getPokemonGender(cid)) end return true end Aviso: Spoiler não tá funcionando.
  24. eu uso o qt 4.8.0 >> https://download.qt.io/archive/qt/4.8/4.8.0/ <<eao tentar compilar essas sources >> https://mega.nz/#!LNV0nJQI!XqaqVsq_wFsXDGZWCeQjH-DM51L0JlJmi0BF8VM39uc<< (instalador do visual studio 2008 está junto) no visual studio 2008 express, tive esses erros, alguém poderia me ajudar? PS: Já tentei usar o <cstdint> e o stdint.h e ambos vão pedindo outros arquivos e qdo chega no 3º arquivo da esses erros tudo ai denovo
×
×
  • Criar Novo...