
Tudo que Pifafa postou
- MIJAR / FAZER XIXI
-
Como anexa tudo em 1 so?
Pessoal, gostaria de sabe se existe alguma forma de eu conseguir fazer anexo em tudo, tipo assim. Deixa apenas a área vermelha disponível para pessoa?Tentei fazer usando um programa não rolo.... Aproveitando o tópico, alguém saberia por favor e gentileza como posso por ZOOM no meu otclient? Seria muito querido e amoroso a pessoa que me ensinasse por isso.
- MIJAR / FAZER XIXI
-
MIJAR / FAZER XIXI
- MIJAR / FAZER XIXI
Tentei mais não encontrei kkkk local times = 10 storage = 92857 function onSay(cid, words, param, channel) if getPlayerStorageValue(cid, storage) <= os.time() then setPlayerStorageValue(cid, storage, os.time() + times) local pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z, stackpos=1} if getCreatureLookDirection(cid) == SOUTH then pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y+1, z=getCreaturePosition(cid).z, stackpos=255} elseif getCreatureLookDirection(cid) == NORTH then pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y-1, z=getCreaturePosition(cid).z, stackpos=255} elseif getCreatureLookDirection(cid) == EAST then pos = {x=getCreaturePosition(cid).x+1, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z, stackpos=255} elseif getCreatureLookDirection(cid) == WEST then pos = {x=getCreaturePosition(cid).x-1, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z, stackpos=255} end doSendAnimatedText(getThingPos(cid),"xiiii",TEXTCOLOR_YELLOW) local getThing = getThingFromPos(pos) doSendMagicEffect(pos, 1) if getCreatureLookDirection(cid) == SOUTH then doCreateItem(5662, 1, pos) addEvent ( function (cid) if getTileItemById(pos,5662).uid > 0 then doRemoveItem(getTileItemById(pos,5662).uid > 0 and getTileItemById(pos ,5662).uid ) end end, 500 ) end if getCreatureLookDirection(cid) == EAST then doCreateItem(5665, 1, pos) addEvent ( function (cid) if getTileItemById(pos,5665).uid > 0 then doRemoveItem(getTileItemById(pos,5665).uid > 0 and getTileItemById(pos ,5665).uid ) end end, 500 ) end addEvent ( function (cid) local a = doCreateItem(2030, 13, pos) doDecayItem(a) end, 100 ) addEvent ( function (cid) local a = doCreateItem(2029, 13, pos) doDecayItem(a) end, 150 ) addEvent ( function (cid) local a = doCreateItem(2028, 13, pos) doDecayItem(a) end, 200 ) addEvent ( function (cid) local a = doCreateItem(2027, 13, pos) doDecayItem(a) end, 250 ) addEvent ( function (cid) local a = doCreateItem(2026, 13, pos) doDecayItem(a) end, 300 ) addEvent ( function (cid) local a = doCreateItem(2025, 13, pos) doDecayItem(a) end, 400 ) else doPlayerSendCancel(cid, 'You have to wait '.. times ..' seconds.') doSendMagicEffect(getThingPos(cid), 2) end return true end- MIJAR / FAZER XIXI
- Alavanca que Aciona Raid.
Gostaria de pedir pessoal, algo talvez complexo, mas acredito que não seja tão complexo assim... Estou pensando em fazer algumas alavancas que Startem Raid's no servidor.... Porem toda via teria que ter um custo para o player, por ex: 60kk raid xxxx, não sei se seria possível algo dessa forma? local config = { pos = {x=608, y=602, z=10}, monster = "Demon" reset = 900 -- Seconds (15 minutos = 900 seconds) } local function reset(pos) local thing = getTileItemById(pos, 1946).uid return thing > 0 and doTransformItem(thing, 1945) end function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 1945) then doSummonCreature(config.monster, config.pos) addEvent(reset, config.reset * 1000, fromPosition) return TRUE end return FALSE end Esse script base que tentei fazer mas não rolo da forma que tentei... Então deixei essa ideia de lado hoje me veio a cabeça novamente.- Ajuda com runa
Funciono mas duplico a cura, fico Perfect queria algo bugado assim mesmo kkk Deu certo, muito obrigado pela ajuda, como sempre muito sábio... Por acaso não saberia por um Efeito de Glup ou Ahhh algo desse tipo?- Ajuda com runa
- Ajuda com runa
Pessoal to usando esse script para runa de UH local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 5, 6) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Gostaria que ela cura-se de 1065 a 1695. tentei fazer como a mana mudando ali pra AddMana para AddHeath mas não rolo. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) function onGetFormulaValues(cid) local min = 1020 local max = 1605 return doPlayerAddMana(cid, math.random(min, max)) end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") function onCastSpell(cid, var) return doCombat(cid, combat, var) end Queria algo semelhante com essa, se possível tivesse como por um efeito Ahhh ou algo assim kkk- Uma ajuda com a arte.
Obrigado pelo esforço mano, mas procuro uma arte mais parecida com essa que eu fiz antigamente.... Quando fiz ela foi 2015 e eu realmente não lembro como tenha feito kkk, eu procuro algo mais como posso dizer, trabalhado acho ahahaah- Uma ajuda com a arte.
Pessoal alguém poderia fazer algumas edições para meu site? Infelizmente por alguma razão não estou conseguindo usando Photoshop, e não estou querendo ter que formata meu computador para pode usa ele novamente, visto que meu projeto é pequeno e simples sem nenhuma geração de receita apenas, para deixa bonito mesmo. gostaria de muda alguns itens: Muda Baiak para Tibinha ML Muda a imagem atrás do meu ot: www.tibinha.ml Gostaria de algo pouco mais bonito, se alguém tive um senso de criação mais arrojado por favor coloque a sugestão aqui! Grande abraço conto com ajuda de todo!- Script de Limpeza.
Olá amigos, estou usando um pequeno script de limpeza em meu servidor, porem por alguma circunstancia estranha o mesmo não funciona..... ( Mesmo usando a distro que funcionava antigamente kk) Segue o erro: Para tenta Solucionar o possível erro, mudei "db.executeQuery" by "db.escapeString" mas não deu certo, quer dizer certo deu mas não gerou 1 log como o script era para ter gerado sendo assim não da para sabe se foram ou não deletados os individuativos inativos. segue a Script: function countRowsWhereInTable(table, field, condition) local result = db.getResult("SELECT COUNT(" .. field .. ") as count FROM " .. table .. " WHERE " .. field .. " = '" .. condition .. "';") local tmp = result:getDataInt("count") result:free() return tmp end function getDBPlayersCount() local result = db.getResult("SELECT COUNT(id) as count FROM `players`;") local tmp = result:getDataInt("count") result:free() return tmp end function getDBAccountsCount() local result = db.getResult("SELECT COUNT(id) as count FROM `accounts`;") local tmp = result:getDataInt("count") result:free() return tmp end function onStartup() local DB_BEFORE = {players = getDBPlayersCount(), accounts = getDBAccountsCount()} local result,result1, ii, numPlayersToDelete, numAccountsDeleted, tmp = 0, 0, 0, 0, 0 local pid, aid = {}, {} local dropCount = {players={},accounts={}} local config = { deleteAccountWithNoPlayers = true, cleanChildTables = true, printResult = true, saveResultToFile = true, logFileName = 'db_cleanup.txt' } --In each table, players with below specified level, and days of inactivity will be deleted from db on server startup local cleanup = { [1] = {level = 10, time = 5 * 24 * 60 * 60}, [2] = {level = 20, time = 10 * 24 * 60 * 60}, [3] = {level = 50, time = 10 * 24 * 60 * 60}, [4] = {level = 100, time = 15 * 24 * 60 * 60}, [5] = {level = 900, time = 40 * 24 * 60 * 60} } local childAttributeTables = { players = { [1] = {table = "`player_viplist`", idField = "`player_id`"}, [2] = {table = "`player_storage`", idField = "`player_id`"}, [3] = {table = "`player_spells`", idField = "`player_id`"}, [4] = {table = "`player_skills`", idField = "`player_id`"}, [5] = {table = "`player_namelocks`", idField = "`player_id`"}, [6] = {table = "`player_items`", idField = "`player_id`"}, [7] = {table = "`player_depotitems`", idField = "`player_id`"}, [8] = {table = "`houses`", idField = "`owner`"}, [9] = {table = "`house_auctions`", idField = "`player_id`"}, [10] = {table = "`players`", idField = "`id`"} -- Keep this as the last item in the array --Note: `houses` and `bans` are in the DB triggers for TFS so don't worry about them. --Also I did not want to put killers, or deaths on here because that is historic data, --do so at your own risk. }, accounts = { [1] = {table = "`accounts`", idField = "`id`"}, [2] = {table = "`account_viplist`", idField = "`account_id`"} } } --Clean up all the players and player data for i = 1, #cleanup do result = db.getResult("SELECT `id`,`name`,`account_id` FROM `players` WHERE `level` < ".. cleanup[i].level .." AND `name` NOT IN('Account Manager', 'Sorcerer Sample', 'Druid Sample', 'Paladin Sample', 'Knight Sample', 'Rook Sample') AND `group_id` < 2 AND `lastlogin` < UNIX_TIMESTAMP() - ".. cleanup[i].time .." AND `lastlogin` > 0;") if(result:getID() ~= -1) then ii = 1 repeat pid[ii] = result:getDataInt("id") -- list the players id into an array aid[ii] = result:getDataInt("account_id") -- list the account id of each player being removed into an array ii = ii + 1 until not(result:next()) result:free() end numPlayersToDelete = ii - 1 --Drop players and their child table attribute data such as skills, items, etc. for j = 1, numPlayersToDelete do if(config.cleanChildTables) then for k = 1, #childAttributeTables.players do if childAttributeTables.players[k].table == "houses" then house = getHouseByPlayerGUID(pid[j]) if house ~= 0 or house ~= nil then doCleanHouse(house) doUpdateHouseAuctions() end else dropCount.players[k] = ((dropCount.players[k] or 0) + countRowsWhereInTable(childAttributeTables.players[k].table, childAttributeTables.players[k].idField, pid[j])) db.executeQuery("DELETE FROM " .. childAttributeTables.players[k].table .. " WHERE " .. childAttributeTables.players[k].idField .. " = '" .. pid[j] .. "';") end end else db.executeQuery("DELETE FROM `players` WHERE `id` = '" .. pid[j] .. "';") end end end --Drop all the accounts that have 0 players linked to them (at the moment its only checking from the list of players removed) if config.deleteAccountWithNoPlayers then --This part was scripted by Darkhaos, modified/fixed by Teh Maverick --[[ for acc = 1, #aid do result1 = db.getResult("SELECT `id` FROM `accounts` WHERE `id` = '" .. aid[acc] .. "';") if result1:getID() ~= -1 then -- check to make sure the account exists result1:free() for i = 1, #childAttributeTables.accounts do --Make sure there are no other players on the account result1 = db.getResult("SELECT COUNT(id) as count FROM `players` WHERE `account_id` = '" .. aid[acc] .. "';") tmp = result1:getDataInt("count") if(tmp <= 0) then --Remove accounts dropCount.accounts[i] = ((dropCount.accounts[i] or 0) + countRowsWhereInTable(childAttributeTables.accounts[i].table, childAttributeTables.accounts[i].idField, aid[acc])) db.executeQuery("DELETE FROM " .. childAttributeTables.accounts[i].table .. " WHERE " .. childAttributeTables.accounts[i].idField .. " = '" .. aid[acc] .. "';") end end end end end --]] --Print and Save results (configurable) local DB_NOW = {players = DB_BEFORE.players - getDBPlayersCount(), accounts = DB_BEFORE.accounts - getDBAccountsCount()} if DB_NOW.players > 0 or DB_NOW.accounts > 0 then local text = ">> [DBCLEANUP] " .. DB_NOW.players .. " inactive players" .. (config.deleteAccountWithNoPlayers and " and " .. DB_NOW.accounts .. " empty accounts" or "") .. " have been deleted from the database." --Write to console if config.printResult then print("") print(text) if config.cleanChildTables then --Write player info for i = 1,#dropCount.players do print("[!] --> Dropped: " .. dropCount.players[i] .. " from " .. childAttributeTables.players[i].table .. " table") end --Write account info if config.deleteAccountWithNoPlayers then for i = 1,#dropCount.accounts do print("[!] --> Dropped: " .. dropCount.accounts[i] .. " from " .. childAttributeTables.accounts[i].table .. " table") end end print("") end end --Write to file if config.saveResultToFile then local file = io.open("data/logs/"..config.logFileName, "a") file:write("[" .. os.date("%d %B %Y %X ", os.time()) .. "] " .. text .. "\n") if config.cleanChildTables then --Write player info for i = 1, #dropCount.players do file:write("[!] --> Dropped: " .. dropCount.players[i] .. " from " .. childAttributeTables.players[i].table .. " table\n") end --Write account info if config.deleteAccountWithNoPlayers then for i = 1, #dropCount.accounts do file:write("[!] --> Dropped: " .. dropCount.accounts[i] .. " from " .. childAttributeTables.accounts[i].table .. " table\n") end end file:write("\n") end file:close() end end return true end Tag para fazer ele funcionar é: <globalevent name="dbcleaner" type="startup" event="script" value="dbcleaner.lua"/> Alguém saberia dizer como faço para arruma esse erro? Bom eu mesmo descobri o que é Para todos que tem algum probleminha semelhante a resolução é simples de mais! Vá para data / lib / 100-compat.lua e encontre esta linha. db.executeQuery = db.query ou seja se o primeiro não funciona, usa o segundo... Ou vc pode alterar nas lib isso.- [8.6] Labia System
Funciono perfeitamente a atualização feita por você mestre! Caso queira ter um GM no meu servidor para testa entre: http://www.tibinha.ml- [8.6] Labia System
Com certeza sim.- [8.6] Labia System
Não sei grande mestre, pois o bug é feito apenas com uso de Elfbot.... Acredito que deve acabar sim em meu pequeno servidor acabei criando 1 ilha e prendendo os trapaceiros asduhashudasdasdasd... Segue a foto do local.- [8.6] Labia System
O sistema é bom, mas a pessoa pode buga ele usando Elfbot para vender itens, ele não remove o item e pessoa vende eternamente, fazendo clonagem de dinheiro. Nesse caso a pessoa usa elf para deixa 100% afk e faz action para vende certo item, por alguma razão o npc não consegue remove o item, ou remove mas da player o preço de 100x itens vendido... Então pegando 1 MPA fica fácil duplicar muita grana no servidor.- Ajuda com Erro / Auto Loot e Exp a mais.
- ERRO AO COMPILAR NO DEV-C++
Olá esse erro possivelmente é por que você não tem Openssl instalado no seu programa ( programa de copilar) .... Hoje a tarde eu fiquei brincando de copila distro dava esse mesmo erro depois que coloquei ele paro e copilo tudo normalmente. Vou te manda site para fazer o dowload da coisa ai, Link Openssl- Problema com energy ring.
Olá pessoal, estou com meu energy ring tendo algum tipo de problema, pois bem... Quando player começa coloca e tira do dedo do boneco o mesmo buga.... Fica brilhando mas a utamo vita não vai... Aparentemente é só quem quem fica fazendo isso! Acredito que está tudo certo com ele? <item id="2167" article="an" name="energy ring"> <attribute key="weight" value="80" /> <attribute key="slotType" value="ring" /> <attribute key="transformEquipTo" value="2204" /> <attribute key="stopduration" value="1" /> <attribute key="showduration" value="1" /> </item> Outro quando ele vira!: <item id="2204" article="an" name="energy ring"> <attribute key="weight" value="80" /> <attribute key="slotType" value="ring" /> <attribute key="decayTo" value="0" /> <attribute key="transformDeEquipTo" value="2167" /> <attribute key="duration" value="1200" /> <attribute key="showduration" value="1" /> <attribute key="manashield" value="1" /> </item> Como poderia tira esse pequeno erro? Teria como deixa ele infinito pelo que da a entender é quando ele acaba porem usam o gm outro char de teste normal ele termino naturalmente....- (Resolvido)Website Ot
Obrigado simples, e arrumado! Que deus te abençoe! ?- (Resolvido)Website Ot
Pessoal desculpe a ignorância mas a anos tenho meu ot, não tem muito player mas adoro deixa tudo nos mínimos detalhes, e algo que me incomoda muuito é isso!?! Como posso arrumar??- Ajuda com Erro / Auto Loot e Exp a mais.
up- Ajuda com Erro / Auto Loot e Exp a mais.
up?- Ajuda com Erro / Auto Loot e Exp a mais.
Pessoal estou testando um servidor Styller Yourrots com meu irmão porem quando decidimos usa o Autloot que por sinal funciona bacanaaa, depois de um tempo aparece os seguintes erros, e consequentemente o char não loga mais... [22:23:27.287] [Error - CreatureScript Interface] [22:23:27.291] data/creaturescripts/scripts/autoloot.lua:onLogin [22:23:27.295] Description: [22:23:27.298] data/creaturescripts/scripts/autoloot.lua:3: attempt to compare string with number [22:23:27.301] stack traceback: [22:23:27.303] data/creaturescripts/scripts/autoloot.lua:3: in function <data/creaturescripts/scripts/autoloot.lua:1> [22:23:27.450] Pifafa has logged out. [22:23:27.567] [Error - CreatureScript Interface] [22:23:27.571] In a timer event called from: [22:23:27.576] data/creaturescripts/scripts/ExpGuild.lua:onLogin [22:23:27.581] Description: [22:23:27.583] (luaDoPlayerSendTextMessage) Player not found Não sei o que pode ser que esteja acontecendo isso, a ideia era joga o ot feliz mas não duro 15 minuto asdahdahsdhausdhuad os script que estão dando erro são: function onLogin(cid) if vip.hasVip(cid) and getPlayerStorageValue(cid, 27001) <= 0 then setPlayerStorageValue(cid, 27001, 1) elseif getPlayerStorageValue(cid, 27001) > 0 and not vip.hasVip(cid) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[Auto Loot] You VIP is Over, Start a new list!") setPlayerStorageValue(cid, 27001, -1) setPlayerStorageValue(cid, info.Storages[1], -1) end return true end function onKill(cid, target, lastHit) if isPlayer(cid) and getAutoLootDays(cid) > 0 and isMonster(target) then addEvent(corpseRetireItems, 0, cid ,getThingPos(target)) end return true end function getGuildMembersOnline(GuildId) local players,query = {},db.getResult("SELECT `name` FROM `players` WHERE `rank_id` IN (SELECT `id` FROM `guild_ranks` WHERE `guild_id` = " .. GuildId .. ");") if (query:getID() ~= -1) then repeat table.insert(players,query:getDataString("name")) until not query:next() query:free() end return #players > 0 and players or false end function onLogin(cid) local guild_id = getPlayerGuildId(cid) local minimo = 2 local max = 2 local porcentagem = 1 ----------------------------------------- doPlayerSetExperienceRate(cid, 1) if guild_id == 0 then addEvent(doPlayerSendTextMessage, 200,cid, MESSAGE_STATUS_CONSOLE_RED,"[GUILD] Entre em uma guild para ter bonus de experiencia.") return true end if guild_id > 0 then local membros_online = table.maxn(getGuildMembersOnline(guild_id)) local tabela_membros = getGuildMembersOnline(guild_id) --if #getPlayersByIp(getPlayerIp(cid)) >= max then --doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED,"[GUILD] Players com Multi-Cliente nao contam para ganhar o bonus de experiencia.") --return true --end if membros_online <= minimo then addEvent(doPlayerSendTextMessage, 2000, cid, MESSAGE_STATUS_CONSOLE_RED,"[GUILD] Para ter bonus de experiencia precisa ter mais de "..minimo.." jogadores da guild online.\n Jogadores da Guild Online ["..membros_online.."]") return true end if membros_online > minimo then for var = 1, #tabela_membros do local nomes = getCreatureByName(tabela_membros[var]) local XP = ((membros_online*porcentagem) / 100) + 1.00 doPlayerSetExperienceRate(nomes, XP) addEvent(doPlayerSendTextMessage,1000,nomes, MESSAGE_STATUS_CONSOLE_RED, "[GUILD] A experiencia dos membros da guilda foi aumentada para +"..membros_online*porcentagem.."% - Membro "..getCreatureName(cid).." logou.") end return true end end end - MIJAR / FAZER XIXI
Informação Importante
Confirmação de Termo