Ir para conteúdo

Vodkart

Herói
  • Total de itens

    3406
  • Registro em

  • Última visita

  • Dias Ganhos

    113

Tudo que Vodkart postou

  1. eu e o jhon já fizemos um sistema desses: www.jhon - soft.com/produto/678283/Exchanged_Vocation.html obs: retire os espaços do link /\ caso ele deixe postar eu te mando por aqui
  2. Vodkart

    Euzinho

    pego e dou minha bunda lisinha
  3. Vodkart

    Euzinho

    e eu achava minha bunda feia... dps dessa foto td mudou.
  4. to procurando tbm se achar avisa
  5. esse script está bem mal feito, além do mais tem um bug crítico! no caso a experiência extra só seriada dada para quem estivesse online, e quem logasse depois não ganharia a mesma...
  6. mais dura que rapadura @topic ja atualizei o meu script ali se quiser editar e postar ele ta de boa os créditos continuam sendo seus!
  7. desculpa ai bonzao segura minha pica de vez de posta merda
  8. erro meu... LOL de vez de usar item2.type eu usei item.type ja editei o post ali jhow
  9. troca essa linha: if not isPremium(cid) then por essa if vip.hasVip(cid) == FALSE then
  10. pq para vender tem que estar dentro da bp do jogador ... mas tenta usar item.type function onUse(cid, item, frompos, item2, topos) local useless = { [7635] = 100, [7634] = 75, [7636] = 30, [2260] = 15, } local us = useless[item2.itemid] if not us then return false end local x,money = item2.type,item2.type*us doRemoveItem(item2.uid) doPlayerAddMoney(cid, money) doSendMagicEffect(getCreaturePosition(cid), 4) doPlayerSendTextMessage(cid, 19, "You collapsed a "..x.." frask {"..getItemNameById(item2.itemid).."} and received {"..money.." gold coins}.") return true [size=4]end[/size]
  11. pelo menos vc tem estilo... pq o resto...
  12. Créditos : Critico ou Vodkart lulz
  13. se você me ajudar em scripts terá rep todo dia eai me add skype ? Diego_Unit é sim REP+ xD bom trabalho . Você já atingiu seu limite de reputações positivas para hoje só amanhã pode deixa parceiro, jaja vou te adicionar pra trabalhar de graça e ganhar REP
  14. 50% Vodkart e 50% Roksas viado
  15. não sei porque tem gente que acha que tão inovador, pois já existia esse tipo de script... mas parabéns cara, rep+
  16. seu server eh mysql? tenta usar assim function onDeath(cid, corpse, deathList) local str = "" for _, pid in ipairs(deathList) do if isCreature(pid) == true then str = str.."".. (str == "" and "" or ",") ..""..getCreatureName(pid) else str = str.."".. (str == "" and "" or ",") .." a field item" end end str = str.."." death = str .. " ".. (getPlayerBlessing(cid, 5) and "[blessed]" or getPlayerSlotItem(cid, 2).itemid == 2173 and "[AOL]" or "") db.query("INSERT INTO `death_list` (`player_id`, `date`, `level`, `killer_name`) VALUES ('".. getPlayerGUID(cid).."', '".. os.time() .."', '".. getPlayerLevel(cid) .."', '".. death .."');") return true end
  17. /\ ah do red skull n vai remover os frags
  18. gears para de copiar os scripts e começa a prestar atenção no q faz a função "getPlayerResets" não foi declarada function onLook(cid, thing, position, lookDistance) function getPlayerResets(cid) return getPlayerStorageValue(cid, 1020) < 0 and 0 or getPlayerStorageValue(cid, 1020) end if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid,"\n Resets: ["..getPlayerResets(thing.uid).."].") end return true end
  19. troca essa linha: vip.addVipByAccount(getPlayerAccount(cid) ,vip.getDays(tonumber(days))) por essa doPlayerAddPremiumDays(cid, days)
  20. Vodkart

    Erro ajuda ai rapido!

    executa no seu db ALTER TABLE `players` ADD `rep` INT NOT NULL DEFAULT '0'
  21. Vodkart

    Rank de frags

    seu server não possui essa função... vai em data > lib > 050-function.lua e adc: function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = {day = table.maxn(contents.day),week = table.maxn(contents.week),month = table.maxn(contents.month)} return size.day + size.week + size.month end
  22. Vodkart

    Rank de frags

    http://www.xtibia.com/forum/topic/191311-comando-rank-atualizado/
  23. c-c-c-combo break
  24. cara, o erro ta dizendo que a tabela não existe... tenta executar a query novamente, e da uma olhada pra ver se não ocorre algum erro durante a execução da mesma. obs: MySql ou Sqlite?
  • Quem Está Navegando   0 membros estão online

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