-
Aba Skills - TFS 0.4
bom dia e obrigaod por responder, eu quero deixar o lv máximo 717, só quero q ele aparece na aba skill, em level, entendeu ??
-
Aba Skills - TFS 0.4
suspeitei q é na source, deve ser no player.h ou player.cpp, tem q esperar um expert aparecer, msm assim obrigado aí...
-
-
Aba Skills - TFS 0.4
boa tarde, obrigado, realmente e em stage, mais eu editei lá, agora quando passa de 65k, ele reseta q começa tudo de novo, gostaria de um jeito q não reseta, ia upando,70k,100k,200k e etc....
-
Aba Skills - TFS 0.4
boa tarde, alguém poderia me ajudar, o meu ot, o level passa de 63,400, aí ali na aba skills o máximo q vai é 63400, como faço pra alterar, pra registrar, leveis acima disso, desde já agradeço, obrigado
-
Removendo Account Salt
Meu servidor tem uma vip q o cara ganha e fica sim (vip) nome dele, aonde na source ai faço q ja bloqueado quem tem o nick (vip) pra não criar msm nick exemplo, (vip) teste ai da pra criar playet com nome teste
-
Account Manager Criando Dois Nomes Iguais
mano ajuda lá olha q eu escrevi se tu consegue retirar só o tile vip do script por enquanto já resolveria meu problema
-
Account Manager Criando Dois Nomes Iguais
e o seguinte eu do /addpoints fulano,30 ai o cara ganha 30 pontos ele vai la no bau e clica e troca os pontos q dei ele pelo bau, assim que ele clica no bau ele ganha a vip aí, ai buga se for mais fácil modificar esse script ai pra ele não ficar com a tag (VIP) ta bom ai coloco global events nele de Vip subindo já ate tem no servidor ai num buga criação de conta com mesmo nick se for muito trabalho desbuga assim pode só retirar o (VIP) no nome ele continua ganhando a vip normal só quem sem aparecer (VIP), no aguardo, muito obrigado. local lever = { [7045] = {30,30,{2160}} } function onUse(cid,item,fromPosition,itemEx,toPosition)if getPoints(cid) < lever[item.actionid][1] thenreturn doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Você precisa de "..lever[item.actionid][1].." points.")endremovePoints(cid,lever[item.actionid][1])local add = (lever[item.actionid][2]*86400)setPlayerStorageValue(cid, 85258, getPlayerStorageValue(cid, 85258) - os.time() <= 0 and (os.time() + add) or (getPlayerStorageValue(cid, 85258) + add))local quantity = math.floor((getPlayerStorageValue(cid, 85258) - os.time())/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") for _, items in pairs(lever[item.actionid][3]) dodoPlayerAddItem(cid,items,1)end if not getCreatureName(cid):find('(VIP)') thendoTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))db.executeQuery("UPDATE `players` SET `name` = '(VIP) "..getCreatureName(cid).."' WHERE `id` = "..getPlayerGUID(cid)..";") addEvent(doRemoveCreature, 3*1000, cid)end return trueend
-
Account Manager Criando Dois Nomes Iguais
obrigado, assim que eu testa te falo o vip ta do mesmo jeito q antes né vai sair sozinho tudo mais tu só tentou arrumar o account manager pra não poder criar player com mesmo nome de quem tem vip né ??
- (2º) | [8.60] - Glorious Server
-
Account Manager Criando Dois Nomes Iguais
problema ta no account manager né não ?? local lever = { [7045] = {30,30,{2160}} } function onUse(cid,item,fromPosition,itemEx,toPosition) if getPoints(cid) < lever[item.actionid][1] then return doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Você precisa de "..lever[item.actionid][1].." points.") end removePoints(cid,lever[item.actionid][1]) local add = (lever[item.actionid][2]*86400) setPlayerStorageValue(cid, 85258, getPlayerStorageValue(cid, 85258) - os.time() <= 0 and (os.time() + add) or (getPlayerStorageValue(cid, 85258) + add)) local quantity = math.floor((getPlayerStorageValue(cid, 85258) - os.time())/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") for _, items in pairs(lever[item.actionid][3]) do doPlayerAddItem(cid,items,1) end if not getCreatureName(cid):find('(VIP)') then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) db.executeQuery("UPDATE `players` SET `name` = '(VIP) "..getCreatureName(cid).."' WHERE `id` = "..getPlayerGUID(cid)..";") addEvent(doRemoveCreature, 3*1000, cid) end return true end
-
Account Manager Criando Dois Nomes Iguais
fala galera boa tarde é o seguinte meu servidor tem vip aí quando o cara pega (VIP) Spartan o account manager deixa criar outro boneco somente com o nome Spartan ai quando o vip do cara sai buga db fica dois nomes Spartan como arrumar segue meu login.lua aí local config = { loginMessage = getConfigValue('loginMessage') } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "killer") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "attackguild") registerCreatureEvent(cid, "advance") registerCreatureEvent(cid, "FimVip") registerCreatureEvent(cid, "DeathC") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "PlayerKill") registerCreatureEvent(cid, "ZombieAttack") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "SkullAmulet") registerCreatureEvent(cid, "BlessDrop") registerCreatureEvent(cid, "DeathList") registerCreatureEvent(cid, "GalaxySkullAmulet") registerCreatureEvent(cid, "BloquearMagia") registerCreatureEvent(cid, "onPrepareDeathinifi") registerCreatureEvent(cid, "Aurea") registerCreatureEvent(cid, "checkNewTop") registerCreatureEvent(cid, "LevelRecompense") if (InitArenaScript ~= 0) then InitArenaScript = 1 end for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end -- if he did not make full arena 1 he must start from zero if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 2 he must start from zero if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 3 he must start from zero if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) -- did not arena level end setPlayerStorageValue(cid, 42350, 0) -- time to kick 0 setPlayerStorageValue(cid, 42352, 0) -- is not in arena function Vodka(cid) db.executeQuery("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)) doRemoveCreature(cid) end if getCreatureName(cid):find('(VIP)') and getPlayerStorageValue(cid, 85258) - os.time() <= 0 then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) addEvent(Vodka,2000,cid) end registerCreatureEvent(cid, "Rankfrags") setFrags(cid) return true end
- (2º) | [8.60] - Glorious Server
-
Anti Mc
fala galera blz boa noite, é o seguinte no meu creatures events num tem nenhum anti mc e mesmo assim não consigo logar duas contas no meu ot, qual outro lugar poderia está bloqueado ?? se eu pego a distro e coloco em outro ot funciona o mc do ot então num é na distro certo ?? se for na distro source posso olhar tbm aonde ??
-
Account Manager
fala galera boa tarde, tem uns ot como esse por exemplo tu só desloga depois q tu criou o seu boneco, sendo q assim tu só desloga uma vez ve aí um exemplo abaixo, gostaria de colocar no meu ot 17:34 Account Manager: Hello, type account to create an account or recover to recover an account. 17:34 Account Manager [8]: account 17:34 Account Manager: What would you like your password to be? 17:34 Account Manager [8]: 17:34 Account Manager: tbgameb00 is it? yes or no? 17:34 Account Manager [8]: yes 17:34 Account Manager: What would you like your account name to be? 17:34 Account Manager [8]: 17:34 Account Manager: otfun, is it? yes or no? 17:34 Account Manager [8]: yes 17:34 Account Manager: Your account has been created, you may manage it now, but please remember your account name otfun and password tbgameb00! 17:34 Account Manager: Hint: Type account to manage your account and if you want to start over then type cancel. 17:34 Account Manager [8]: account 17:34 Account Manager: Do you want to change your password, generate a recovery key, create a character, or delete an existing character? 17:34 Account Manager [8]: character 17:34 Account Manager: What would you like as your character name?
-
Talkaction que só vip pode usar
o do falar em vermelho é ---By Masterpako19--- --Config-- local cash = 500 -- Dinero que se nesecita para hacer el broadcast (en gps) local levelneeded = 8 -- Level necesario para hacer el broadcast local lenght = 100 -- Maximo de caracteres del mensaje local messagesort = MESSAGE_STATUS_WARNING -- can be "MESSAGE_STATUS_WARNING" or "TALKTYPE_ORANGE_1" check your global.lua for more... local exhaustTime = 1 * 60 * 1000 -- tiempo de exausted entre cada mensaje (para cambiar mas minutos cambia el 4 por x cantidad de minutos) local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, exhaustTime) --End of config-- function onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_EXHAUST) == TRUE then doPlayerSendCancel(cid, "Lo siento, nesecitas esperas 1 minutos para mansar otro mensaje") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end local name = getPlayerName(cid) local level = getPlayerLevel(cid) if isCreature(cid) == TRUE then if param ~= nil then if string.len(param) < lenght then if level >= levelneeded then if doPlayerRemoveMoney(cid, cash) == TRUE then broadcastMessage( ''..name..' ['..level..'] dice: ' .. param .. '', messagesort) --exhaustion.set(cid, storageValue,exhaustTime) doAddCondition(cid, exhaust) return TRUE else doPlayerSendCancel(cid, 'Tu nesecitas '..cash..' gps para hacer un broadcast!') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end else doPlayerSendCancel(cid, 'Tu nesecitas ser level '..levelneeded..' para hacer un broadcast!') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end else doPlayerSendCancel(cid, 'No mas de ' .. lenght .. ' caracteres. ') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end else doPlayerSendCancel(cid, 'Nesecitas escribir algo!') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end else doPlayerSendCancel(cid, 'You haven\'t a target!') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end return TRUE end do newtype é esse function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") return true end local t = string.explode(param, ",") t[1] = tonumber(t[1]) if(not t[1]) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires numeric param.") return true end local failout = {"73","75","302","266","45","10"} -- outfits proibidas for i = 1, #failout do if string.find(tostring(param), failout) then doPlayerSendCancel(cid,"Não pode usar estas outfit.") return TRUE end end if(t[1] <= 1 or t[1] == 135 or (t[1] > 160 and t[1] < 192) or t[1] > 351) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Such outfit does not exist.") return true end local tmp = getCreatureOutfit(cid) tmp.lookType = t[1] doCreatureChangeOutfit(cid, tmp) return true end do newtype é esse function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") return true end local t = string.explode(param, ",") t[1] = tonumber(t[1]) if(not t[1]) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires numeric param.") return true end local failout = {"73","75","302","266","45","10"} -- outfits proibidas for i = 1, #failout do if string.find(tostring(param), failout) then doPlayerSendCancel(cid,"Não pode usar estas outfit.") return TRUE end end if(t[1] <= 1 or t[1] == 135 or (t[1] > 160 and t[1] < 192) or t[1] > 351) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Such outfit does not exist.") return true end local tmp = getCreatureOutfit(cid) tmp.lookType = t[1] doCreatureChangeOutfit(cid, tmp) return true end