Ir para conteúdo

skolfuriosos

Campones
  • Total de itens

    33
  • Registro em

  • Última visita

Tudo que skolfuriosos postou

  1. vodkart... aparece msn qqr dia pa nois troka idea.... lembra dos planos la?? q se ia aprende a fazer akeles scripts?
    então ja deu certo o servidor... só aparece msn flws!
  2. vlw ae ;} era o que o saymon disse tinha um duente dum npc andando na porra dos tile premium.. e dava essa merda di erro. ja era ja fico tdo firmão!
  3. ae fica apareceno essa porra desse erro nu distro, uso global etc..
  4. vodkart entra msn plx! HUDASHU

  5. ae, alguém tem os npc do real server sem bug? os npcs do real server, alguns vierão bugados e ainda faltando alguns, tpws tem npc q vende item barato e compra por 1kk... os npcs de barco es~toa com preços tudo desregulados. etc alguem tem npcs certinhos pra passar pra galera? abraços ng?? :~~
  6. galera estou com uma dúvida por exemplo crio o char no site e logo nele né, ai ta la por exp a legs nu lugar da arma, etc a arma la no lugar da flexa, como arrumar isso? ficar tudo organizadinho? abraços!
  7. manja como ajeita o firstitems.lua? x.x
    se tive como da uma oiada nu tópico la em dúvidas de script ^^
    abraz
  8. DÚVIDA SANADA PODEM FEXAR O TOPICOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO ;}
  9. portas de venon é so vc mesmo fexar no mapa editor saari é so mudar as cordenada q ta de boa.. bless ta funcionando perfeitamente morre e não volta levle 1 deathlist não está bugado... aki pelo menos funfa de boa... unicon problema aki é a great fire ball q heala monstro...
  10. ae devil da um look no meu login. onde q tenho q por?? 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 = "Sua última visita foi " .. os.date("%a, dia %d de %b de %Y as %X", lastLogin) .. "." else str = str .. " Por favor, escolha seu traje." 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, "Idle") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "BountyHunter") registerCreatureEvent(cid, "repKill") registerCreatureEvent(cid, "repLook") registerCreatureEvent(cid, "repMonster") registerCreatureEvent(cid, "Diarrhea") registerCreatureEvent(cid, "ExpVip") registerCreatureEvent(cid, "Counter") registerCreatureEvent(cid, "VipCheck") registerCreatureEvent(cid, "ArenaKill") -- 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 return true end abraços.
  11. não funcionou, da erro no login, ng consegue nem entrar no servidor e não tem logout.lua ... abrazz
  12. devil estou usando a sua talk bless e continua com o problema, nego morre e volta levle 1
  13. estou com problema no !buypremium... funciona normalmente porem qdo dexa o server muito tempo on... dps de 10~15 horas +- pra mias, o player tenta usar o buypremium e num funfa fica tpw bugado, tenho q reinciiar o server "/ alguem sabe o pq disso? ai meu script buypremium local config = { days = 90, cost = 5000, maxDays = 360 } function onSay(cid, words, param, channel) if(getPlayerPremiumDays(cid) > config.maxDays) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You can not buy more than " .. config.days + config.maxDays .. " days of Premium Account.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end if(doPlayerRemoveMoney(cid, config.cost) ~= TRUE) then doPlayerSendCancel(cid, "You don't have enough money, " .. config.days .. " days premium account costs " .. config.cost .. " gold coins.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end doPlayerAddPremiumDays(cid, config.days) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have bought " .. config.days .. " days of premium account.") return TRUE end
  14. estou com um problema, quando o player compra bless, e morre ele volta ao level 1. "/ e fica bugando ele vai relogar ele morre por te 0 de hp etc... alguem sabe como arrumar? abraços
  15. certo, mais tpw como usa isso? eu vo la em action.xml e adiciionma essa tag? <action itemid="1378" script="vida.lua"/> ai tpw nu map editor poe o item 1378 e precisa por exp por algum aid ou uid no mapa editor no item? ai dps no jogo é so o player da use ? ou uke?
  16. tpws doidin esse math ai pelo q eu intendi é para usar o item 8305 pq tpw tem 2 item de upgrade o 8305 = 100% de chance de acerto e tem o 8306 q é = a tpw aleatorio qdo + vai upando vai diminuindo as chance uke eu queria mudar é qt pws ele fssse nu amx até +10 e tpws qdo falhar o upgrade, ao inves do item voltar por exp ta +5 se falha ele volta pro +4 queri a qcontinuasse +5 intende? ;x
  17. skolfuriosos

    Upgrade System

    bom venho aqui pedir uma ajuda para solucionar uma dúvida q estou tendo no Upgrade sistem, por exp se meu item ta +5 e falha o upgrade ele volta para o +4, eu gostaria q por exp se falha o upgrad eo item continua +5 e não voltar pro +4... e por exp o meu upgrade system vai até +17, gostaria de reduzir isso para +10, porem uma dúvida tem como deichar ele no maximo +10 e com o mesmo efeito que daria no +17? por exp no +0 o axe daria 110 de attack e 45 DEF, e no +17 ele da 263 attack e 198 def... teria como deichar para dar 263 attack estando no +10 e não no +17? intende? tpw abaixaria o level max de upgrade de +17 para +10 porem deixaria o mesmo efeito do +17... aqui está o script --- Perfect refine system by Mock the bear (MTB). --- Email: [email]mock_#####@hotmail.com[/email] -- &a = weapon attack -- &d = weapon defense -- &s = shield defense -- &p = armor defense -- # = nivel do item -- @ = max level local gain = { gainArmor='&p+(1)',loseArmor='&p-(1)', gainShield='&s+#',loseShield='&s-(#+1)', gainAttack='&a+(1*(#))',loseAttack='&a-(1*(#+1))', gainDefense='&d+(1*(#))',loseDefense='&d-(1*(#+1))', chance='(100/math.sqrt((((@/4)+(#*2))/@)*#))', maxlvl = 17, blocked_ids = {8881} } local it = { --[itemid] = [percent] [8306] = 0, -- 0% additional [8305] = 100, -- 50% } if not setItemName then function setItemName(uid,name) return doItemSetAttribute(uid,'name',name) end function setItemArmor(uid,name) return doItemSetAttribute(uid,'armor',name) end function setItemDefense(uid,name) return doItemSetAttribute(uid,'defense',name) end function setItemAttack(uid,name) return doItemSetAttribute(uid,'attack',name) end function getItemAttack(uid) return getItemAttribute(uid,'attack') end function getItemDefense(uid) return getItemAttribute(uid,'defense') end function getItemArmor(uid) if type(uid) == 'number' then return getItemAttribute(uid,'armor') else return getItemInfo(uid.itemid).armor end end end local function isArmor(uid) -- Function by Mock the bear. if (getItemInfo(uid.itemid).armor ~= 0) and (getItemWeaponType(uid.uid) == 0) then return true end return false end local function isWeapon(uid) -- Function by Mock the bear. uid = uid or 0 local f = getItemWeaponType(uid) if f == 1 or f == 2 or f == 3 then return true end return false end local function isShield(uid) -- Function by Mock the bear. uid = uid or 0 if getItemWeaponType(uid) == 4 then return true end return false end local function isBow(uid) -- Function by Mock the bear. uid = uid or 0 if getItemWeaponType(uid) == 5 then return true end return false end local function getWeaponLevel(uid) -- Function by Mock the bear. uid = uid or 0 local name = getItemName(uid.uid) or getItemInfo(uid.itemid).name or '' local lvl = string.match(name,'%s%+(%d+)%s*') return tonumber(lvl) or 0 end local function doTransform(s,i) -- Function by Mock the bear. local c = string.gsub(s,'@',gain.maxlvl) local c = string.gsub(c,'&a',(getItemAttack(i.uid) ~= 0 and getItemAttack(i.uid) or getItemInfo(i.itemid).attack)) local c = string.gsub(c,'&d',(getItemDefense(i.uid) ~= 0 and getItemDefense(i.uid) or getItemInfo(i.itemid).defense)) local c = string.gsub(c,'&s',(getItemDefense(i.uid) ~= 0 and getItemDefense(i.uid) or getItemInfo(i.itemid).defense)) local c = string.gsub(c,'&p',(getItemArmor(i.uid) ~= 0 and getItemArmor(i.uid) or getItemInfo(i.itemid).armor)) local c = string.gsub(c,'#',getWeaponLevel(i)) local q = assert(loadstring('return '..c)) return math.floor(assert(q())) end function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 0 or item.itemid == 0 then return false end toPosition.stackpos = 255 if isInArray(gain.blocked_ids, itemEx.itemid) or (not getItemWeaponType(itemEx.uid) or getItemWeaponType(itemEx.uid) > 5) or (getItemWeaponType(itemEx.uid) == 0 and not isArmor(itemEx)) or itemEx.itemid == 0 or itemEx.type > 1 or isItemStackable(itemEx.uid) then doPlayerSendTextMessage(cid, 24,"Você não pode refinar este item.") return TRUE end if isCreature(itemEx.uid) == TRUE then return FALSE end local level = getWeaponLevel(itemEx) local chance = doTransform(gain.chance,itemEx) if level == gain.maxlvl then doSendMagicEffect(toPosition, 2) return doPlayerSendTextMessage(cid, 24,"Seu item já está no nível máximo de upgrade.") end doPlayerSendTextMessage(cid, 24,"Tentando refinar com "..(chance+it[item.itemid] > 100 and 100 or chance+it[item.itemid]).."% de sucesso!") if chance+it[item.itemid] >= math.random(0,100) then local nm = getItemName(itemEx.uid) local slot = nm:match('(%[.+%])') or '' ---If you server use slot system dont change it ^^ slot = slot~='' and ' '..slot or slot setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..' +'..(level+1)..slot) addEvent(doPlayerSendTextMessage,500,cid, 24,"Seu item foi refinado com sucesso para +"..(level+1)..slot..".") doSendMagicEffect(toPosition, 12) if isArmor(itemEx) then local get = doTransform(gain.gainArmor,itemEx) setItemArmor(itemEx.uid,get) elseif isBow(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.gainAttack,itemEx)) elseif isWeapon(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.gainAttack,itemEx)) setItemDefense(itemEx.uid, doTransform(gain.gainDefense,itemEx)) elseif isShield(itemEx.uid) then setItemDefense(itemEx.uid, doTransform(gain.gainShield,itemEx)) end else if level == 0 then addEvent(doPlayerSendTextMessage,500,cid, 24,"No effect.") doSendMagicEffect(toPosition, 2) elseif level > 0 then local nm = getItemName(itemEx.uid) local slot = nm:match('(%[.+%])') or '' ---If you server use slot system dont change it ^^ slot = slot~='' and ' '..slot or slot if level == 1 then setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..slot) addEvent(doPlayerSendTextMessage,500,cid, 24,"Seu item voltou ao normal.") else setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..' +'..(level-1)..slot) addEvent(doPlayerSendTextMessage,500,cid, 24,"Seu item voltou para +"..(level-1)..slot..".") end if isArmor(itemEx) then setItemArmor(itemEx.uid,doTransform(gain.loseArmor ,itemEx)) elseif isWeapon(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.loseAttack,itemEx)) setItemDefense(itemEx.uid, doTransform(gain.loseDefense,itemEx)) elseif isBow(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.loseAttack,itemEx)) elseif isShield(itemEx.uid) then setItemDefense(itemEx.uid, doTransform(gain.loseShield,itemEx)) end end doSendMagicEffect(toPosition, 9) end doRemoveItem(item.uid,1) return true end
  18. perfeito <3 pqp tu é foda mano... thanks again manow! abraços
  19. em q lugar q coloka? -- Vip medal by Kekox function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerVipDays(cid) > 365 then doPlayerSendCancel(cid, "Você só pode ter um ano de conta vip ou menos.") else doAddVipDays(cid, 30) doCreatureSay(cid, "VIP") doPlayerPopupFYI(cid, "Nós adicionamos 30 dias vip em sua conta!\nAproveite isso.") doRemoveItem(item.uid) end return true end
  20. resolvido! era só reinsitalar o site e arrumar os samples etc.. podem fexar o topico.
  21. só assim vai funcionarr ? pqp minha database ta xei de arquivos man... num tem tpw como guarda sei la? as querys pelo menos? do tnato de sistemas q eu puis nu meu ot se eu tive q deleta e faze otra to fudido .x x
  22. bom, fui resetar minha database e sem querer deletei player_skills e ja adicionei dinovo porem, falta adicionar o skill dos samples ta dando um erro na hora de criar o player pelo site vc seleciona sorcerer ou sei la o que e da uma mensagem de erro.. por favor lagume ajudaa?::x como adicionar skill dos samples .xx
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...