-
Total de itens
1900 -
Registro em
-
Última visita
-
Dias Ganhos
13
Tudo que Beeki postou
-
creio que ninguém que tem esses sistemas irá liberá assim tão fácil, mais irei da uma Pesquisada e vejo se axo para Você, até!
-
@Marcelo96, estou uploadando o distro pra você aguarde um pouco, até!
-
[Creaturescript] Autosave_Player + Log_Ipplayer
tópico respondeu ao Beeki de Beeki em Globalevents e Spells
vlw!- 18 respostas
-
- sistema de save anti rollback
- otserv
- (e 2 mais)
-
[Creaturescript] Autosave_Player + Log_Ipplayer
tópico respondeu ao Beeki de Beeki em Globalevents e Spells
De nada amigo,- 18 respostas
-
- sistema de save anti rollback
- otserv
- (e 2 mais)
-
Obrigado pelo incentivo Tony, até !
- 7 respostas
-
- npc de banco para tibia
- tibia
- (e 2 mais)
-
[Creaturescript] Autosave_Player + Log_Ipplayer
um tópico no fórum postou Beeki Globalevents e Spells
Bem esse script é baseado em um antigo post do Gustavo ( http://www.xtibia.co...to-save-player/ ) aqui no XTibia, um sistema que executa um save a cada 30 Minutos no Player assim evitando de rollback caso o servidor cair. Sistema de LOG_IP, é uma boa eu uso pra gravar o IP do player, ajuda muito a identificar players que tentam Nukar o servidor, assim facilitando deletar os personagens dele ! savePlayer.lua local save = {} function saveRepeat(cid) if not isPlayer(cid) then return true end doPlayerSave(cid) doPlayerSendTextMessage(cid,19, 'Your character\'s progress is saved.') doSendMagicEffect(getThingPos(cid), 11) save[cid] = addEvent(saveRepeat, math.random(30,43) *60*1000, cid) end function onLogin(cid) save[cid] = addEvent(saveRepeat, math.random(30,43)*60*1000, cid) return true end function onLogout(cid) stopEvent(save[cid]) return true end vá no creaturescripts.xml e adicione isso. <event type="login" name="savePlayer" event="script" value="savePlayer.lua" /> <event type="logout" name="savePlayer_L" event="script" value="savePlayer.lua" /> apos feito isso, vá até o login.lua e adicione isso antes o return true registerCreatureEvent(cid, "savePlayer_L") Sistema log_IP.lua function onLogin(cid) local tmp = {playerName = getPlayerName(cid), ip = getPlayerIp(cid)} db.executeQuery("UPDATE `players` SET `ip` = '" .. doConvertIntegerToIp(tmp.ip) .. "' WHERE name = '"..tmp.playerName.."';") return true end Após feito o arquivo do Script, execute esse comando no seu Banco de dados. ALTER TABLE players ADD ip varchar(255) NOT NULL Créditos: OTland Sync- 18 respostas
-
- sistema de save anti rollback
- otserv
- (e 2 mais)
-
Bem venho aqui trazer um sistema de Npc Bank, eu não testei ele ainda.. mais vou disponibilizar o script aqui, espero que ter ajudado, até! npc_bank.lua local config = { pin = false, -- players can protect their money with pin code (like in cash machines) (true/false) pinMinLength = 4, -- minimum pin length pinMaxLength = 4, -- maximum pin length pinStorage = 3006, -- only if pin enabled (used to store player pin) transferDisabledVocations = {0} -- disable non vocation characters } local talkState = {} local count = {} local transfer = {} local pin = {} local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end if(config.pin) then bank_pin = { get = function(cid) return getPlayerStorageValue(cid, config.pinStorage) end, set = function(cid, code) return setPlayerStorageValue(cid, config.pinStorage, code) end, logged = function(cid) return pin[cid] == bank_pin.get(cid) end, validate = function(code) if(not isNumber(code)) then return false end local length = tostring(code):len() return (length >= config.pinMinLength and length <= config.pinMaxLength) end } end if(not getPlayerBalance) then getPlayerBalance = function(cid) local result = db.getResult("SELECT `balance` FROM `players` WHERE `id` = " .. getPlayerGUID(cid)) if(result:getID() == -1) then return false end local value = tonumber(result:getDataString("balance")) result:free() return value end doPlayerSetBalance = function(cid, balance) db.executeQuery("UPDATE `players` SET `balance` = " .. balance .. " WHERE `id` = " .. getPlayerGUID(cid)) return true end doPlayerWithdrawMoney = function(cid, amount) local balance = getPlayerBalance(cid) if(amount > balance or not doPlayerAddMoney(cid, amount)) then return false end doPlayerSetBalance(cid, balance - amount) return true end doPlayerDepositMoney = function(cid, amount) if(not doPlayerRemoveMoney(cid, amount)) then return false end doPlayerSetBalance(cid, getPlayerBalance(cid) + amount) return true end doPlayerTransferMoneyTo = function(cid, target, amount) local balance = getPlayerBalance(cid) if(amount > balance) then return false end local tid = getPlayerByName(target) if(tid > 0) then doPlayerSetBalance(tid, getPlayerBalance(tid) + amount) else if(playerExists(target) == FALSE) then return false end db.executeQuery("UPDATE `player_storage` SET `value` = `value` + '" .. amount .. "' WHERE `player_id` = (SELECT `id` FROM `players` WHERE `name` = '" .. escapeString(player) .. "') AND `key` = '" .. balance_storage .. "'") end doPlayerSetBalance(cid, getPlayerBalance(cid) - amount) return true end end if(not doPlayerSave) then local function doPlayerSave(cid) return true end end local function getPlayerVocationByName(name) local result = db.getResult("SELECT `vocation` FROM `players` WHERE `name` = " .. db.escapeString(name)) if(result:getID() == -1) then return false end local value = result:getDataString("vocation") result:free() return value end local function isValidMoney(money) return (isNumber(money) and money > 0 and money < 4294967296) end local function getCount(string) local b, e = string:find("%d+") local money = b and e and tonumber(string:sub(b, e)) or -1 if(isValidMoney(money)) then return money end return -1 end function greetCallback(cid) talkState[cid], count[cid], transfer[cid], pin[cid] = 0, nil, nil, nil return true end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end ---------------------------- pin ------------------------- if(config.pin) then if(talkState[cid] == "verify-pin") then talkState[cid] = 0 pin[cid] = getCount(msg) if(not bank_pin.logged(cid)) then selfSay("Invalid pin code entered. Please try again.", cid) return true end selfSay("You have been successfully logged in.", cid) elseif(talkState[cid] == "new-pin") then talkState[cid] = 0 if(bank_pin.get(cid) ~= -1 and not bank_pin.logged(cid)) then selfSay("Please login before attempting to change your pin code.", cid) talkState[cid] = "verify-pin" return true end if(msgcontains(msg, 'reset') or msgcontains(msg, 'remove') or msgcontains(msg, 'clear')) then selfSay("Pin code has been removed.", cid) pin[cid] = nil bank_pin.set(cid, -1) return true end pin[cid] = getCount(msg) if(bank_pin.validate(pin[cid])) then selfSay("Pin code successfully changed.", cid) bank_pin.set(cid, pin[cid]) else local str = "" if(config.pinMinLength ~= config.pinMaxLength) then str = config.pinMinLength .. " - " .. config.pinMaxLength else str = config.pinMinLength end selfSay("Invalid pin code entered. Your pin should contain " .. str .. " digits", cid) end return true elseif(msgcontains(msg, 'balance') or msgcontains(msg, 'deposit') or msgcontains(msg, 'withdraw') or msgcontains(msg, 'transfer')) then if(bank_pin.get(cid) ~= -1 and not bank_pin.logged(cid)) then selfSay("Please tell me your bank pin code before making any transactions.", cid) talkState[cid] = "verify-pin" return true end talkState[cid] = 0 elseif(msgcontains(msg, 'login')) then talkState[cid] = "verify-pin" return true elseif(msgcontains(msg, 'pin')) then selfSay("Please tell me your new pin code.", cid) talkState[cid] = "new-pin" return true end end ---------------------------- help ------------------------ if msgcontains(msg, 'advanced') then if isInArray(config.transferDisabledVocations, getPlayerVocation(cid)) then selfSay("Once you are on the Tibian mainland, you can access new functions of your bank account, such as transferring money to other players safely or taking part in house auctions.", cid) else selfSay("Renting a house has never been this easy. Simply make a bid for an auction. We will check immediately if you have enough money.", cid) end talkState[cid] = 0 elseif msgcontains(msg, 'help') or msgcontains(msg, 'functions') then selfSay("You can check the {balance} of your bank account, {deposit} money or {withdraw} it. You can also {transfer} money to other characters, provided that they have a vocation.", cid) talkState[cid] = 0 elseif msgcontains(msg, 'bank') then npcHandler:say("We can change money for you. You can also access your bank account.", cid) talkState[cid] = 0 elseif msgcontains(msg, 'job') then npcHandler:say("I work in this bank. I can change money for you and help you with your bank account.", cid) talkState[cid] = 0 ---------------------------- balance --------------------- elseif msgcontains(msg, 'balance') then selfSay("Your account balance is " .. getPlayerBalance(cid) .. " gold.", cid) talkState[cid] = 0 ---------------------------- deposit --------------------- elseif msgcontains(msg, 'deposit all') and getPlayerMoney(cid) > 0 then count[cid] = getPlayerMoney(cid) if not isValidMoney(count[cid]) then selfSay("Sorry, but you can't deposit that much.", cid) talkState[cid] = 0 return false end if count[cid] < 1 then selfSay("You don't have any money to deposit in you inventory..", cid) talkState[cid] = 0 else selfSay("Would you really like to deposit " .. count[cid] .. " gold?", cid) talkState[cid] = 2 end elseif msgcontains(msg, 'deposit') then selfSay("Please tell me how much gold it is you would like to deposit.", cid) talkState[cid] = 1 elseif talkState[cid] == 1 then count[cid] = getCount(msg) if isValidMoney(count[cid]) then selfSay("Would you really like to deposit " .. count[cid] .. " gold?", cid) talkState[cid] = 2 else selfSay("Is isnt valid amount of gold to deposit.", cid) talkState[cid] = 0 end elseif talkState[cid] == 2 then if msgcontains(msg, 'yes') then if not doPlayerDepositMoney(cid, count[cid]) then selfSay("You don\'t have enough gold.", cid) else selfSay("Alright, we have added the amount of " .. count[cid] .. " gold to your balance. You can withdraw your money anytime you want to. Your account balance is " .. getPlayerBalance(cid) .. ".", cid) doPlayerSave(cid) end elseif msgcontains(msg, 'no') then selfSay("As you wish. Is there something else I can do for you?", cid) end talkState[cid] = 0 ---------------------------- withdraw -------------------- elseif msgcontains(msg, 'withdraw') then selfSay("Please tell me how much gold you would like to withdraw.", cid) talkState[cid] = 6 elseif talkState[cid] == 6 then count[cid] = getCount(msg) if isValidMoney(count[cid]) then selfSay("Are you sure you wish to withdraw " .. count[cid] .. " gold from your bank account?", cid) talkState[cid] = 7 else selfSay("Is isnt valid amount of gold to withdraw.", cid) talkState[cid] = 0 end elseif talkState[cid] == 7 then if msgcontains(msg, 'yes') then if not doPlayerWithdrawMoney(cid, count[cid]) then selfSay("There is not enough gold on your account. Your account balance is " .. getPlayerBalance(cid) .. ". Please tell me the amount of gold coins you would like to withdraw.", cid) talkState[cid] = 0 else selfSay("Here you are, " .. count[cid] .. " gold. Please let me know if there is something else I can do for you.", cid) talkState[cid] = 0 doPlayerSave(cid) end elseif msgcontains(msg, 'no') then selfSay("As you wish. Is there something else I can do for you?", cid) talkState[cid] = 0 end ---------------------------- transfer -------------------- elseif msgcontains(msg, 'transfer') then selfSay("Please tell me the amount of gold you would like to transfer.", cid) talkState[cid] = 11 elseif talkState[cid] == 11 then count[cid] = getCount(msg) if getPlayerBalance(cid) < count[cid] then selfSay("You dont have enough money on your bank account.", cid) talkState[cid] = 0 return true end if isValidMoney(count[cid]) then selfSay("Who would you like transfer " .. count[cid] .. " gold to?", cid) talkState[cid] = 12 else selfSay("Is isnt valid amount of gold to transfer.", cid) talkState[cid] = 0 end elseif talkState[cid] == 12 then transfer[cid] = msg if getCreatureName(cid) == transfer[cid] then selfSay("Ekhm, You want transfer money to yourself? Its impossible!", cid) talkState[cid] = 0 return true end if isInArray(config.transferDisabledVocations, getPlayerVocation(cid)) then selfSay("Your vocation cannot transfer money.", cid) talkState[cid] = 0 end if playerExists(transfer[cid]) then selfSay("So you would like to transfer " .. count[cid] .. " gold to \"" .. transfer[cid] .. "\" ?", cid) talkState[cid] = 13 else selfSay("Player with name \"" .. transfer[cid] .. "\" doesnt exist.", cid) talkState[cid] = 0 end elseif talkState[cid] == 13 then if msgcontains(msg, 'yes') then local targetVocation = getPlayerVocationByName(transfer[cid]) if not targetVocation or isInArray(config.transferDisabledVocations, targetVocation) or not doPlayerTransferMoneyTo(cid, transfer[cid], count[cid]) then selfSay("This player does not exist on this world or have no vocation.", cid) else selfSay("You have transferred " .. count[cid] .. " gold to \"" .. transfer[cid] .."\".", cid) transfer[cid] = nil doPlayerSave(cid) end elseif msgcontains(msg, 'no') then selfSay("As you wish. Is there something else I can do for you?", cid) end talkState[cid] = 0 ---------------------------- money exchange -------------- elseif msgcontains(msg, 'change gold') then npcHandler:say("How many platinum coins would you like to get?", cid) talkState[cid] = 14 elseif talkState[cid] == 14 then if getCount(msg) == -1 or getCount(msg) == 0 then npcHandler:say("Hmm, can I help you with something else?", cid) talkState[cid] = 0 else count[cid] = getCount(msg) npcHandler:say("So you would like me to change " .. count[cid] * 100 .. " of your gold coins into " .. count[cid] .. " platinum coins?", cid) talkState[cid] = 15 end elseif talkState[cid] == 15 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid, 2148, count[cid] * 100) then doPlayerAddItem(cid, 2152, count[cid]) npcHandler:say("Here you are.", cid) else npcHandler:say("Sorry, you do not have enough gold coins.", cid) end else npcHandler:say("Well, can I help you with something else?", cid) end talkState[cid] = 0 elseif msgcontains(msg, 'change platinum') then npcHandler:say("Would you like to change your platinum coins into gold or crystal?", cid) talkState[cid] = 16 elseif talkState[cid] == 16 then if msgcontains(msg, 'gold') then npcHandler:say("How many platinum coins would you like to change into gold?", cid) talkState[cid] = 17 elseif msgcontains(msg, 'crystal') then npcHandler:say("How many crystal coins would you like to get?", cid) talkState[cid] = 19 else npcHandler:say("Well, can I help you with something else?", cid) talkState[cid] = 0 end elseif talkState[cid] == 17 then if getCount(msg) == -1 or getCount(msg) == 0 then npcHandler:say("Hmm, can I help you with something else?", cid) talkState[cid] = 0 else count[cid] = getCount(msg) npcHandler:say("So you would like me to change " .. count[cid] .. " of your platinum coins into " .. count[cid] * 100 .. " gold coins for you?", cid) talkState[cid] = 18 end elseif talkState[cid] == 18 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid, 2152, count[cid]) then npcHandler:say("Here you are.", cid) doPlayerAddItem(cid, 2148, count[cid] * 100) else npcHandler:say("Sorry, you do not have enough platinum coins.", cid) end else npcHandler:say("Well, can I help you with something else?", cid) end talkState[cid] = 0 elseif talkState[cid] == 19 then if getCount(msg) == -1 or getCount(msg) == 0 then npcHandler:say("Hmm, can I help you with something else?", cid) talkState[cid] = 0 else count[cid] = getCount(msg) npcHandler:say("So you would like me to change " .. count[cid] * 100 .. " of your platinum coins into " .. count[cid] .. " crystal coins for you?", cid) talkState[cid] = 20 end elseif talkState[cid] == 20 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid, 2152, count[cid] * 100) then npcHandler:say("Here you are.", cid) doPlayerAddItem(cid, 2160, count[cid]) else npcHandler:say("Sorry, you do not have enough platinum coins.", cid) end else npcHandler:say("Well, can I help you with something else?", cid) end talkState[cid] = 0 elseif msgcontains(msg, 'change crystal') then npcHandler:say("How many crystal coins would you like to change into platinum?", cid) talkState[cid] = 21 elseif talkState[cid] == 21 then if getCount(msg) == -1 or getCount(msg) == 0 then npcHandler:say("Hmm, can I help you with something else?", cid) talkState[cid] = 0 else count[cid] = getCount(msg) npcHandler:say("So you would like me to change " .. count[cid] .. " of your crystal coins into " .. count[cid] * 100 .. " platinum coins for you?", cid) talkState[cid] = 22 end elseif talkState[cid] == 22 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid, 2160, count[cid]) then npcHandler:say("Here you are.", cid) doPlayerAddItem(cid, 2152, count[cid] * 100) else npcHandler:say("Sorry, you do not have enough crystal coins.", cid) end else npcHandler:say("Well, can I help you with something else?", cid) end talkState[cid] = 0 elseif msgcontains(msg, 'change') then npcHandler:say("There are three different coin types in Tibia: 100 gold coins equal 1 platinum coin, 100 platinum coins equal 1 crystal coin. So if you'd like to change 100 gold into 1 platinum, simply say '{change gold}' and then '1 platinum'.", cid) talkState[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Bank.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Banker" script="data/npc/scripts/bank.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="132" head="97" body="21" legs="76" feet="19" addons="3" corpse="2212"/> <parameters> <parameter key="message_greet" value="Welcome |PLAYERNAME|. What can I do for you? {Deposit}, {withdraw}, check {balance} or {transfer}? I can also {change} gold for you." /> </parameters> </npc>
- 7 respostas
-
- npc de banco para tibia
- tibia
- (e 2 mais)
-
a programação de NPC's para 7.92 é meio que primitivo, creio que vai ser um pouco tenso, Boa sorte Vodka malandro!
-
Bem vim aqui trazer um MOD que eu acho que é muito util, um sistema que os proprios players podem executar o save em seu char, assim evitando rollback caso o servidor cair. http://pastebin.com/ALjm2whp créditos: Beeki por trazer ao XT Slawkens por criar. PS: tive que postar o script no Pastebin, até
-
@Subwat Funciona em todos os otservers apartir da versão 8.50, vlw pelo Rep , em breve irei postar um sistema de Report bug por uma Tabela no banco de dados, até
-
Poste o scan dos arquivos por Favor, até!
-
Bem venho aqui trazer um script para vocês, acho que será Bem util, é um sistema que o Player usa pra reportar bugs etc.. para Facilitar um pouco mais a vida dos Administradores na correção de bugs no seu Servidor, até Crie um arquivo .LUA com o nome de playersreport e adicione esse seguinte código dentro. function onSay(cid, words, param, channel) local storage = 6707 local delaytime = 120 local a = "data/logs/reports.txt" local f = io.open(a, "a+") if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local exhaust = exhaustion.get(cid, storage) if(not exhaust) then exhaustion.set(cid, storage, delaytime) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your report has been received successfully!") f:write(""..getPlayerName(cid).." reported a bug at " .. os.date("%d %B %Y - %X.", os.time()) .."\n"..param.." [x="..getPlayerPosition(cid).x..", y="..getPlayerPosition(cid).y..", z="..getPlayerPosition(cid).z.."].\n\n----------------------------------------------------------\n") f:close() else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You must wait " .. exhaustion.get(cid, storage) .. " seconds to report.") end return TRUE end Apos criado o arquivo adicione sua tag no Talkactions.xml <talkaction log="yes" words="/player report" filter="word-spaced" event="script" value="playereport.lua"/> créditos: Beeki por trazer ao XTibia LucasOlzon pelo script.
-
Outfiti De Monster Em Players. [Ajuda Galera]
tópico respondeu ao michelhora de Beeki em Lixeira Pública
Aqui está o ID dos outfits dos Barbarians e outros, altera a ID do outfit de acordo com seu outfits.xml, reinicie o servidor para que os novos outfits possam aparecer. até <outfit id="25" access="1" premium="no"> <list gender="0-3" lookType="12" name="Archdemon"/> </outfit> <outfit id="26" access="5" premium="no"> <list gender="0-3" lookType="159" name="Elf"/> </outfit> <outfit id="27" access="5" premium="no"> <list gender="0-3" lookType="160" name="Dwarf"/> </outfit> <outfit id="28" access="1" premium="no"> <list gender="0-3" lookType="226" name="Frog"/> </outfit> <outfit id="29" access="1" premium="no"> <list gender="0-3" lookType="194" name="Cult"/> </outfit> <outfit id="30" access="1" premium="no"> <list gender="0-3" lookType="253" name="Headsplitter"/> </outfit> <outfit id="31" access="1" premium="no"> <list gender="0-3" lookType="254" name="Skullhunter"/> </outfit> <outfit id="32" access="1" premium="no"> <list gender="0-3" lookType="255" name="Bloodwalker"/> </outfit> <outfit id="33" access="1" premium="no"> <list gender="0-3" lookType="264" name="Brutetamer"/> </outfit> -
Mano, acho que da pra fazer uma gambiarra, vá em spells.xml e ponha as charges da sd infinitas tipo.. 999999 etc.. <rune name="Sudden Death" id="2268" allowfaruse="1" charges="9999999" lvl="45" maglv="15" exhaustion="1000" needtarget="1" blocktype="solid" script="attack/sudden death.lua"/>
-
qual a versão e rev do executável que você está usando ?, já tentou utilizar Modern AA ?
-
você está procurando como add etc.. a House para poder ser comprada ?, explique-se melhor por favor.
-
dúvida [Error Moveevent Interface] Ajuda Por Favor!
pergunta respondeu ao michelhora de Beeki em Resolvidos
Se o erro ainda continuar apos você seguir o tutorial do Dragonfight, mude seu distro para esse aqui. http://vapus.net/forum/attachments/distributions-227/91d1298919295-tfs-0-4-r3777-8-6x-trunk.r3777.7z -
dúvida [Error Moveevent Interface] Ajuda Por Favor!
pergunta respondeu ao michelhora de Beeki em Resolvidos
eu acho que não é problema na database por que se fosse alguma versão desatualizada da DB etc.. o tfs teria atualizado, isso é outra coisa, qual versão do tibia é esse ot ? -
abra suas sources vá em items.cpp e procure por isso. if(Items::dwMajorVersion == 0xFFFFFFFF) std::cout << "[Warning - Items::loadFromOtb] items.otb using generic client version." << std::endl; else if(Items::dwMajorVersion < 3) { std::cout << "[Error - Items::loadFromOtb] Old version detected, a newer version of items.otb is required." << std::endl; return ERROR_INVALID_FORMAT; } else if(Items::dwMajorVersion > 3) { std::cout << "[Error - Items::loadFromOtb] New version detected, an older version of items.otb is required." << std::endl; return ERROR_INVALID_FORMAT; } else if(Items::dwMinorVersion != CLIENT_VERSION_854) { std::cout << "[Error - Items::loadFromOtb] Another (client) version of items.otb is required." << std::endl; return ERROR_INVALID_FORMAT; } depois substitua por isso. /*if(Items::dwMajorVersion == 0xFFFFFFFF) std::cout << "[Warning - Items::loadFromOtb] items.otb using generic client version." << std::endl; else if(Items::dwMajorVersion < 3) { std::cout << "[Error - Items::loadFromOtb] Old version detected, a newer version of items.otb is required." << std::endl; return ERROR_INVALID_FORMAT; } else if(Items::dwMajorVersion > 3) { std::cout << "[Error - Items::loadFromOtb] New version detected, an older version of items.otb is required." << std::endl; return ERROR_INVALID_FORMAT; } else if(Items::dwMinorVersion != CLIENT_VERSION_854) { std::cout << "[Error - Items::loadFromOtb] Another (client) version of items.otb is required." << std::endl; return ERROR_INVALID_FORMAT; }*/
-
dúvida [Error Moveevent Interface] Ajuda Por Favor!
pergunta respondeu ao michelhora de Beeki em Resolvidos
me fala qual é a rev do seu distro?, aconselho a rev 3777 -
LUA é a linguagem mais facil de ser aprendida, basta ter força de vontade que você chega lá !
-
dúvida [Error Moveevent Interface] Ajuda Por Favor!
pergunta respondeu ao michelhora de Beeki em Resolvidos
qual distro você está utilizando amigo ? -
faça isso ai de cima, depois importe o novo monstro para seu Map Editor, lembrando que é necessario adicionar o diretorio do arquivo do novo monstro no monsters.xml
-
então ai fica a dica, so fazer um script que checa a storage dos addons/outfits e se o Player tiver essa storage é adicionado o Magic Level nele, outra dica também é usar isso nas missões dos addons, quando o Player chegar no npc para trocar o item pelo addon é adicionado tal coisa nele, Tipo, outfit warrior completo = +10 sword fighting, fica dica ai pra tu
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.