Tudo que Chucky91 postou
-
(Resolvido)ShopSystem não entrega Items
Desculpe por demorar! FORGOTTEN SERVER 1.0 tibia 10.37 Meu pc 64x "resultId" mais isso não adiantou, só parou de dar erro no print e não faz nada mais eu isolei essa função do shop! agora tenho outro problema pior O server depois de ser aberto de uns 30 seg ~ 2 min ele fecha sem que mostra nenhum problema, mesmo entrando no jogo ou não fica com essa coisa
-
[LINK OFF]10.41 Melhor RL Map Baseado 1.0! NEW Roshamuul, novas missões e correção de erros! Open-source!
Alguém ae me ajuda nisso? Antes não estava assim, agora esta com essa erro que não identifique, abre o consoler espere uns 30seg ~ 3 min Fecha! Alguém pode me ajudar estou com OT offline, o meu pc é 64x 4 CPU i5 4ram... já instalei o vcredist_64x bem antes de baixar o ots e estava rodando 24h agora não!
-
(Resolvido)ShopSystem não entrega Items
Isso eu tinha usado antes mais dava erro de leitura no consoler ai mudei "plr" senão ficava erro que o global.lua não entendia -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 18 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.storeQuery("SELECT * FROM z_ots_comunication") if(result_plr ~= false) then repeat local id = tonumber(result.getDataInt(result_plr, "id")) local action = tostring(result.getDataString(result_plr, "action")) local delete = tonumber(result.getDataInt(result_plr, "delete_it")) local cid = getPlayerByName(tostring(result.getDataString(result_plr, "name"))) if(cid) then local itemtogive_id = tonumber(result.getDataInt(result_plr, "param1")) local itemtogive_count = tonumber(result.getDataInt(result_plr, "param2")) local container_id = tonumber(result.getDataInt(result_plr, "param3")) local container_count = tonumber(result.getDataInt(result_plr, "param4")) local add_item_type = tostring(result.getDataString(result_plr, "param5")) local add_item_name = tostring(result.getDataString(result_plr, "param6")) local received_item = 0 local full_weight = 0 if(add_item_type == 'container') then container_weight = getItemWeight(container_id, 1) if(isItemRune(itemtogive_id)) then items_weight = container_count * getItemWeight(itemtogive_id, 1) else items_weight = container_count * getItemWeight(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeight(itemtogive_id, itemtogive_count) if(isItemRune(itemtogive_id)) then full_weight = getItemWeight(itemtogive_id, 1) else full_weight = getItemWeight(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if(full_weight <= free_cap) then if(add_item_type == 'container') then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while(iter ~= container_count) do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if(type(received_item) == "number" and received_item == RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end until not result.next(result_plr) result.free(result_plr) end return true end
-
(Resolvido)ShopSystem não entrega Items
Meu server 10.37 com site no shop não chega items no chars, e Depois as coisa fica como pedente lá no z_ots_comunications não entrega o que pode ser? -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 10 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local resultId = db.storeQuery("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if resultId ~= false then while(true) do local id = tonumber(result.getDataInt(resultId, "id")) local action = tostring(result.getDataInt(resultId, "action")) local delete = tonumber(result.getDataInt(resultId, "delete_it")) local cid = getCreatureName(tostring(result.getDataInt(resultId, "name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result.getDataInt(resultId, "param1")) local itemtogive_count = tonumber(result.getDataInt(resultId, "param2")) local container_id = tonumber(result.getDataInt(resultId, "param3")) local container_count = tonumber(result.getDataInt(resultId, "param4")) local add_item_type = tostring(result.getDataInt(resultId, "param5")) local add_item_name = tostring(result.getDataInt(resultId, "param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItem(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItem(itemtogive_id, itemtogive_count) received_item = doPlayerAddItem(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from RcPmG-Server shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from RcPmG-Server shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from RcPmG-Server shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result:next(resultId)) then break end end result:free() end return TRUE end
-
[Dúvida] Localhost { Alguém Ajuda Ai Por favor! }
ow fii remove todas essa coisa de exemplos das config.lua do server -- account manager -- Logs -- NOTE: This kind of logging does not work in GUI version. -- For such, please compile the software with __GUI_LOGS__ flag. tira tudo o que tem -- e o resto da frente, deixe só as configurações
-
Evolutions Server
Qual é a versão do mapa Xedegux, para editar no remere's?
-
Evolutions Server
Cara gostei muito dessa Alissow ots eu até hj tenho uma versão 8.6 que arrumei tudo totalmente os scripts igual a do global mais nessa versão muito bom nada de bug!
-
[Dúvida] Neutral Bot
Neutral bot confiavel, antes de vc abrir ele voce vai em virus total e faça um scanner nada é detecdavel alem disso no tibia tmb não detecta... deixe ele até serve salve e login depois sozinho, já faz um mes e de lvl 20 já estou 72 MS. Além disso ele funciona como o mouse os movimento é pelo mouse só que é meio foda pra configurar esse bot. Mais é o melhor que tem. Neutral bot confiavel, antes de vc abrir ele voce vai em virus total e faça um scanner nada é detecdavel alem disso no tibia tmb não detecta... deixe ele até serve salve e login depois sozinho, já faz um mes e de lvl 20 já estou 72 MS. Além disso ele funciona como o mouse os movimento é pelo mouse só que é meio foda pra configurar esse bot. Mais é o melhor que tem. Aqui tem 2 um para versão 9.83 e outro para versão 9.90 9.83 refix 5.zip 9.9 refix 4.zip
-
Otserv com lag?
:/ vou ter que voltar ele para 8.60 ai fica bom vou esperar outra versão
-
Otserv com lag?
menos de 50% de uso da memoria? meu pc rodava um 8.60 global com um mapa editor aberto ainda e sem lag no servidor online e ia até 83% uso de memoria. vc fala que o pc não aguenta só foi eu baixar uma versão mais nova e eu nem conheço esse global server, usava mais mesmo Alissow server. sem eu estar mexendo no pc a memoria fica em 47% de uso...
-
Otserv com lag?
kkkkkkk pior que dá lag pra carai no localhost e ainda meu pc é 64bit W7 ultimate, o servidor é global server.: The Global Server Version: (3.28 - r19) - Codename: (Apocalypse) Compilied with Microsoft Visual C++ version 10.0 for arch 64 Bits eu tinha um 8.60 que que do alissow e era bom pra carai... e esse coisa não? por a caso tem um TFS 9.81?
-
Otserv com lag?
Ae pessoal estou com um otserv 9.81 mas não tem gente entrando. eu entrei pelo pc de uma amigo e é um lag da peste e ai fui entrar no servidor pelo localhost tmb um lag do carai, e ainda clickar pelo mapa pra andar demora uns 10 seg pra ele começar a andar e se subir e decer na escada tmb é pior o char trava por uns 10 seg tmb... O pc roda com 41~47% uso da memoria, otserv full global processador intel core 2 quad Memória ram 4gb ddr 3 HD de 1TB a net é de 5mb oque será? alguém pode me ajudar?
-
[Resolvido] ACC Gesior 0.6.1 e Xampp 1.6.5
Putz oque é falta de ler tudo kkkkkkkkkkkkkkkk vc deletou o bans e criou outro blz fiz isso tmb deu certo agora sim.... vlw
-
Erro ao entra na accountmanager website!
Alguém pode me ajudar nisso? website pra ot 9.81 O site entra mais depois de criar a conta e entra nela aparece esse erro e tmb os ban list do site tmb não entra... Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 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 `type` = 3 AND `value` = 761108' at line 1' in D:\ots\xampp\htdocs\pot\OTS_AccountBan.php:55 Stack trace: #0 D:\ots\xampp\htdocs\pot\OTS_AccountBan.php(55): PDO->query('SELECT `id`, `t...') #1 D:\ots\xampp\htdocs\pot\OTS_Account.php(935): OTS_AccountBan->find('761108') #2 D:\ots\xampp\htdocs\accountmanagement.php(32): OTS_Account->isBanned() #3 D:\ots\xampp\htdocs\index.php(157): include('D:\Coisa De Tib...') #4 {main} thrown in D:\ots\xampp\htdocs\pot\OTS_AccountBan.php on line 55
-
Gesior ACC (Last Version) - Última Versão
Na hora de entrar na conta pelo site para criar uma character dá esse erro e é foda de corregir e todos os website estão assim até mesmo os do 8.6 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reason' in 'field list'' in D:\ots\xampp\htdocs\pot\OTS_AccountBan.php:55 Stack trace: #0 D:\ots\xampp\htdocs\pot\OTS_AccountBan.php(55): PDO->query('SELECT `id`, `t...') #1 D:\ots\xampp\htdocs\pot\OTS_Account.php(935): OTS_AccountBan->find('761108') #2 D:\ots\xampp\htdocs\accountmanagement.php(32): OTS_Account->isBanned() #3 D:\ots\xampp\htdocs\index.php(157): include('D:\ots...') #4 {main} thrown in D:\ots\xampp\htdocs\pot\OTS_AccountBan.php on line 55
-
(Resolvido) Erro Gesior ACC
esse erro tmb eu tenho ta tudo certo eu tenho guardado um website para 8.6 instala perfeito só que para 9.8 dá esse erros e eu tente corregir mais nada deu certo mudei a versão do xampp 3x 1.6.5 1.7.2 1.7.3 ta fodão isso...
-
Website
xampp 1.7.2 olha ae meu site http://tiberium.servegame.com:8090/
-
Website
vixi acho melhor achar um que é dá versão 9.81 mais eu baixei só que todos vem com esse bug no htdocs... Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reason' in 'field list'' in D:\ots\xampp\htdocs\pot\OTS_AccountBan.php:55 Stack trace: #0 D:\ots\xampp\htdocs\pot\OTS_AccountBan.php(55): PDO->query('SELECT `id`, `t...') #1 D:\ots\xampp\htdocs\pot\OTS_Account.php(935): OTS_AccountBan->find('9978637') #2 D:\ots\xampp\htdocs\accountmanagement.php(32): OTS_Account->isBanned() #3 D:\ots\xampp\htdocs\index.php(156): include('D:\ots...') #4 {main} thrown in D:\ots\xampp\htdocs\pot\OTS_AccountBan.php on line 55
-
Website
Estou tentando colocar um otserv mais cria a conta mais quando fazer o loing da esse erro... Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reason' in 'field list'' in D:\otserv\xampp\htdocs\pot\OTS_AccountBan.php:55 Stack trace: #0 D:\otserv\xampp\htdocs\pot\OTS_AccountBan.php(55): PDO->query('SELECT `id`, `t...') #1 D:\otserv\xampp\htdocs\pot\OTS_Account.php(935): OTS_AccountBan->find('9978637') #2 D:\otserv\xampp\htdocs\accountmanagement.php(32): OTS_Account->isBanned() #3 D:\otserv\xampp\htdocs\index.php(156): include('D:\otserv...') #4 {main} thrown in D:\otserv\xampp\htdocs\pot\OTS_AccountBan.php on line 55
-
[LINK OFF]Global Map RL 9.80 / 9.81
[11/2/2013 20:54:5] >> Starting SQL connection [11/2/2013 20:54:5] > WARNING: MYSQL Lost connection, attempting to reconnect... [11/2/2013 20:54:5] > WARNING: max_allowed_packet might be set too low for binary map storage. [11/2/2013 20:54:5] Use the following query to raise max_allow_packet: SET GLOBAL max_allowed_packet = 16776192; [11/2/2013 20:54:5] >> Running Database Manager [11/2/2013 20:54:5] > Updating database to version 32... [11/2/2013 20:54:5] mysql_real_query(): ALTER TABLE `killers` ADD `war` INT NOT NULL DEFAULT 0; - MYSQL ERROR: Duplicate column name 'war' (1060) [11/2/2013 20:54:5] mysql_real_query(): ALTER TABLE `guilds` ADD `balance` BIGINT UNSIGNED NOT NULL AFTER `motd`; - MYSQL ERROR: Duplicate column name 'balance' (1060) [11/2/2013 20:54:5] > Database has been updated to version: 32. [11/2/2013 20:54:5] > Updating database to version 33... [11/2/2013 20:54:5] mysql_real_query(): ALTER TABLE `bans` DROP `reason`; - MYSQL ERROR: Can't DROP 'reason'; check that column/key exists (1091) [11/2/2013 20:54:5] mysql_real_query(): ALTER TABLE `bans` DROP `action`; - MYSQL ERROR: Can't DROP 'action'; check that column/key exists (1091) [11/2/2013 20:54:5] mysql_real_query(): ALTER TABLE `bans` DROP `statement`; - MYSQL ERROR: Can't DROP 'statement'; check that column/key exists (1091) [11/2/2013 20:54:5] > Database has been updated to version: 33. [11/2/2013 20:54:5] > Updating database to version 34... [11/2/2013 20:54:5] > Database has been updated to version: 34. [11/2/2013 20:54:5] > Updating database to version 35... [11/2/2013 20:54:5] > Database has been updated to version: 35. [11/2/2013 20:54:5] > Updating database to version 36... [11/2/2013 20:54:5] > Database has been updated to version: 36. [11/2/2013 20:54:5] > Updating database to version 37... [11/2/2013 20:54:5] > Database has been updated to version: 37. [11/2/2013 20:54:5] > Updating database to version 38... [11/2/2013 20:54:5] > Database has been updated to version: 38. [11/2/2013 20:54:5] > Updating database to version 39... [11/2/2013 20:54:5] mysql_real_query(): ALTER TABLE `players` ADD `ip` varchar(17) NOT NULL DEFAULT '0'; - MYSQL ERROR: Duplicate column name 'ip' (1060) [11/2/2013 20:54:5] > Database has been updated to version: 39. [11/2/2013 20:54:8] > Optimizing table: account_viplist... [success] é onde vc arrumou mapa editor 9.8?
-
[LINK OFF]Global Map RL 9.80 / 9.81
Isso é facil de resolver, lá no advance save 'doSendMagicEffect' pq tem isso? vai dá serv save dando um Madic Effect pra cada players? kkkkkkkkkkkkk ow entendi errado?
-
[LINK OFF]Global Map RL 9.80 / 9.81
Hum parece muito bom, vamos vê se abre em mysql. Se tmb alguém poder me falar onde arruma um website 9.8x pq tem uns que dá erros de instalar...