Tudo que ExtremyDsgnr postou
-
[DUVIDA] Como retirar o salt do tfs 0.4
procurei em tudo e nao acho um tutorial ensinando tirar o salt do tfs, olhei tutorial desse cara https://tibiaking.com/forums/topic/52765-removendo-account-salt/ porem o meu iologin.cpp, preciso compilar urgente
-
Gesior esta sem fundo e com botao login bugado
Gesior esta sem fundo e os botaos login, create account, e quando desloga a acc e tem os botoes create account e tals, todos estao bugados, nao aparece erro, oque fica mais dificil pra mim que nao sou experiente, se alguem puder ajudar agradeço.
-
(Resolvido)Gesior do MatheusTK BUG
kkkkk desculpa
-
(Resolvido)Gesior do MatheusTK BUG
ele nao colocou install.php junto ao gesior fazendo com oque todos usassem a database dele, porem o site nao abre, aparece esse erro ao digitar localhost. Warning: parse_ini_file(C:\Users\Otavio Mattos\Desktop\tibia\baiak vinny (war system)config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in F:\xampp\htdocs\config-and-functions.php on line 13 Database error. Unknown database type in C:\Users\Otavio Mattos\Desktop\tibia\baiak vinny (war system)config.lua . Must be equal to: "mysql" or "sqlite". Now is: "" Por falta de atençao estava faltando apenas uma barrinha no final do diretorio no config.ini
-
Player nao nasce onde config lua manda
nao uso gesior, uso sqlite
-
Player nao nasce onde config lua manda
é sqlite, so ta assim por no futuro vou passar pra mysql
-
(Resolvido)War System no sqlite com erro no accept
em que lugar do sqlitestudio clico para inserir esse sql? JA ACHEI KKKK VOU TESTAR DEU CERTO, OBRG REP+
-
(Resolvido)War System no sqlite com erro no accept
quando envia o invite de war nao aparece erro porem quando o player vai aceitar, da esse erro aqui, creio ser na database porem nao sei arrumar OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: guild_wars (SELECT "guild_id", "status" FROM "guild_wars" WHERE "guild_id" IN (2,1) AND "enemy_id" IN (1,2) AND "status" IN (0, 1)) [8:46:44.475] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: guild_wars (INSERT INTO "guild_wars" ("guild_id", "enemy_id", "begin", "end", "frags", "payment") VALUES (2, 1, 1537962404, 0, 10, 0);) > Broadcasted message: "Testando has invited Teste to war till 10 frags.". [8:47:00.250] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: guild_wars (SELECT "id", "begin", "end", "payment" FROM "guild_wars" WHERE "guild_id" = 2 AND "enemy_id" = 1 AND "status" = 0)
-
Como configura o arquivo da War of Emperium Var.Woe ?
upp mesma duvida aqui
-
Player nao nasce onde config lua manda
up
-
Player nao nasce onde config lua manda
irei textar, se der ja edito e dou rep OBS: Nao deu, continua dando respawn no templo principal
-
Player nao nasce onde config lua manda
coloquei a position no config lua para novos players, porem player ainda nasce no templo e não pega item inicial, meu server e baiak esta em sqlite, ja mudei o acc manager para mesma posiçao do new player e mesmo assim player nasce no templo, mudei town id para 0 e mesmo assim nasce no templo, nao sei mais oque mexer, ajuda ae...
-
GESIOR LOSTACCOUNT.PHP (BR + NO SEND E-MAIL)
depois que usei isso consigo tudo de boa porem, depois que muda a senha nao entra na conta mais nenhuma vez, nem se mudar de novo e por a senha antiga, aparece que ta errada, poderia ajudar
- [8.60] HollisterOT Baiak + Site + DB = Sem Erros na Distro
-
erro latestnews.php fuso horario
estou usando um gesior que n tem esse erro obrigado a todos
-
erro latestnews.php fuso horario
Estou com um bug no meu gesior, ele fica com esse erro em na parte superior vou estar deixando a imagem abaixo se alguem souber resolver, me avisa porfavor
-
Gesior entrega itens sem parar AJUDA
deixei tudo as versao ali, tfs 0.4 gesior do matheus tk meu shop.lua e esse (funcionava no antigo direitinho troquei map nao funciona mais) local SHOP_MSG_TYPE = MESSAGE_EVENT_ORANGE local SQL_interval = 30 function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do local id = tonumber(result_plr:getDataInt("id")) local action = tostring(result_plr:getDataString("action")) local delete = tonumber(result_plr:getDataInt("delete_it")) local cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("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 = 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) doItemSetAttribute(new_item, "description", "This item can only be used by the player ".. getPlayerName(cid) .."!") doItemSetAttribute(new_item, "aid", getPlayerGUID(cid)+10000) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'Voce recebeu >> '.. add_item_name ..' << do Street Shop.Obrigado pela compra, volte sempre!') 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 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 if not(result_plr:next()) then break end end result_plr:free() end return true end
-
Gesior entrega itens sem parar AJUDA
Ja tentei todos os shop.lua de todos os tutoriais que ja vi nenhum deu certo ja tentei no xml 30 3000 e 30000 nenhum deu certo e tbm ja tentei todos os scripts com executequery e so query, entao resolvi abrir meu proprio topico, no distro acusa um erro que e o da imagem, ja nen sei mais oque fazer entao espero que ajudem...
-
erro shopsystem erro line 482
Nunca tinha acontecido, e nao acontece quando compra premium so quando compra itens, mais fui testar essa manha e quando clico no ultimo botao ''GIVE'' me direciona para seguinte pagina com seguinte erro Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5' for key 1' in C:\xampp\htdocs\shopsystem.php:482 Stack trace: #0 C:\xampp\htdocs\shopsystem.php(482): PDO->query('INSERT INTO `z_...') #1 C:\xampp\htdocs\index.php(382): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\shopsystem.php on line482 eu nao sei arruma e n achei nenhum topico nen nada com esse erro entao decidi criar o meu proprio topico
-
DUVIDA pagseguro erro 100
vi uns tutoriais o cara falando pra fazer isso no database mais nao entendi oque quis dizer eu criei a tabela mais nao da pra por isso no mysql... Agora vamos na database e adicione a seguinte tabela: CREATE TABLE IF NOT EXISTS `PagSeguroTransacoes` ( `TransacaoID` varchar(36) NOT NULL, `VendedorEmail` varchar(200) NOT NULL, `Referencia` varchar(200) DEFAULT NULL, `TipoFrete` char(2) DEFAULT NULL, `ValorFrete` decimal(10,2) DEFAULT NULL, `Extras` decimal(10,2) DEFAULT NULL, `Anotacao` text, `TipoPagamento` varchar(50) NOT NULL, `StatusTransacao` varchar(50) NOT NULL, `CliNome` varchar(200) NOT NULL, `CliEmail` varchar(200) NOT NULL, `CliEndereco` varchar(200) NOT NULL, `CliNumero` varchar(10) DEFAULT NULL, `CliComplemento` varchar(100) DEFAULT NULL, `CliBairro` varchar(100) NOT NULL, `CliCidade` varchar(100) NOT NULL, `CliEstado` char(2) NOT NULL, `CliCEP` varchar(9) NOT NULL, `CliTelefone` varchar(14) DEFAULT NULL, `NumItens` int(11) NOT NULL, `Data` datetime NOT NULL, `ProdQuantidade_x` int(5) NOT NULL, `status` tinyint(1) unsigned NOT NULL DEFAULT '0', UNIQUE KEY `TransacaoID` (`TransacaoID`,`StatusTransacao`), KEY `Referencia` (`Referencia`), KEY `status` (`status`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; sou novo com sites entao desculpem a ignorancia, mais nao consegui colocar esses negocio no mysql da tabela que criei aparece erro
-
DUVIDA pagseguro erro 100
Bom configurei creio que certo meu script do pagseguro, e ja confirmei o pagseguro tbm, porem continua dando erro 100, alguem poderia me passar uns script que funciona pra ver se ta igual meu ou me ajudar aqui...
-
Gesior nao esta entregando itens ajudem
ja tentei de td, meu gesior nao entrega os itens... e esta td correto Meu shop.lua -- ### 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 = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then full_weight = getItemWeightById(itemtogive_id, 1) 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 received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'Voce acaba de receber o item >> '.. add_item_name ..' << de nosso shopping, obrigado por ser um ilustrissimo donate!') 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 .. ";") doPlayerSave(cid) else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'Seu item >> '.. add_item_name ..' << esta esperando por voce. Por favor faça o local para este item em sua mochila e aguarde cerca de 30 segundos para obte-lo.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'Seu item >> '.. add_item_name ..' << esta esperando por voce. O peso do item e '.. full_weight ..' oz., Vc tem no momento '.. free_cap ..' oz. de capacidade livre. Coloque alguns itens no deposito e espere cerca de 30 segundos para obte-lo.') end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end E meu globalevents.xml <globalevent name="shop" interval="3000" script="shop.lua"/> (ja tentei com interval 30 nao deu tbm) e nao aparece nenhum erro no distro apenas nao chega os itens
-
Error while saving player ajudeem porfavor
Vish, to entendo nd, axo melhor trocar o mapa mesmo
-
Error while saving player ajudeem porfavor
e como seria o nome desse arquivo para importar?
-
Error while saving player ajudeem porfavor
e como crio nova tabela? desculpa e ignorancia, mais sou novo mesmo nessa coisa de site... mais agradeço a ajuda