Ir para conteúdo

Maenilse

Conde
  • Total de itens

    711
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Tudo que Maenilse postou

  1. Maenilse

    na minha epoca

    antes ter pal pra se masturbar, do q colocar fotos de minas do vietnã hueheuhueheu
  2. Maenilse

    na minha epoca

    kkkkkkkkkkkkkkkk velho, voce nao falou isso, pqp nao nao nao naoooooooooo, eu nao liiiiiiiiiii issssssssssssssso. kkkkkkkkkkkkkkkkkkkkk veiiiiiiiiii eu nao li isssssssssssssssssssoooooooo, pelo amoooooooooooooorrrrrrrrrrrr de deeeeeeeeeeeeeuuuuuuuuuuuuuuuuusssssssssss. nao mi diz que ele faloooooooooooooooooooooooooo issssssssssssssssssssuuuuuuuuuuuuuu
  3. Maenilse

    na minha epoca

    se vc sabe que é flood, pq ainda faz?
  4. Maenilse

    Saudades

    huehue
  5. Maenilse

    Saudades

    eu sou de 2006, so que minha acc antiga nao entra mais huehuehue.
  6. Maenilse

    na minha epoca

    que sign fdp, é do avatar e da sign, seu viado.
  7. Maenilse

    Saudades

    tira essa foto seu noia
  8. Maenilse

    na minha epoca

    felizmente eu tento a sorte, igual eles tiveram, de as vezes nao atualizar os posts.
  9. o Roksas, acho melior vc tirar esse carinha da concorrencia contigo, se nao ngm mas vai querer comprar sua tekpix vio...
  10. Maenilse

    Erro action

    tenta ai fera. local cfg = { tempo = 2, temple = {x = 203, y = 379, z = 7}, tile = {{x=682, y=303, z=7},{x=682, y=305, z=7},{x=682, y=307, z=7}}, } function abrir() doSetItemActionId(getTileItemById(cfg.tile, 9562.uid, 46632) doBroadcastMessage("[Hell Flag] O evento iniciou, avante!", 22) return true end function onSay(cid, words, param, channel) doCreateItem(1387, 1, cfg.temple) doSetItemActionId(getTileItemById(cfg.temple, 1387).uid, 46631) doBroadcastMessage("[Hell Flag] O portal para o evento foi aberto! O evento iniciará em aproximadamente 2 minutos.", 22) addEvent(abrir, cfg.tempo*10000) return true end
  11. data/talkactions/scripts copie qualquer arquivo e renomeie para buyaddon.lua e cole isso. function onSay(cid, words, param, channel) local cfg = { ["citizen"] = { outfit = { male = 128, female = 136, addon = 3, storage = 11001 }, items = { {2160,100} } }, ["hunter"] = { outfit = { male = 129, female = 137, addon = 3, storage = 11002 }, items = { {2160,100} } }, ["mage"] = { outfit = { male = 130, female = 138, addon = 3, storage = 11003 }, items = { {2160,100} } }, ["knight"] = { outfit = { male = 131, female = 139, addon = 3, storage = 11004 }, items = { {2160,100} } }, ["nobleman"] = { outfit = { male = 132, female = 140, addon = 3, storage = 11005 }, items = { {2160,100} } }, ["summoner"] = { outfit = { male = 133, female = 141, addon = 3, storage = 11006 }, items = { {2160,100} } }, ["warrior"] = { outfit = { male = 134, female = 142, addon = 3, storage = 11007 }, items = { {2160,100} } }, ["barbarian"] = { outfit = { male = 147, female = 143, addon = 3, storage = 11008 }, items = { {2160,100} } }, ["druid"] = { outfit = { male = 148, female = 144, addon = 3, storage = 11009 }, items = { {2160,100} } }, ["wizard"] = { outfit = { male = 149, female = 145, addon = 3, storage = 11010 }, items = { {2160,100} } }, ["oriental"] = { outfit = { male = 150, female = 146, addon = 3, storage = 11011 }, items = { {2160,100} } }, ["pirate"] = { outfit = { male = 151, female = 155, addon = 3, storage = 11012 }, items = { {2160,100} } }, ["assassin"] = { outfit = { male = 152, female = 156, addon = 3, storage = 11013 }, items = { {2160,100} } }, ["beggar"] = { outfit = { male = 153, female = 157, addon = 3, storage = 11014 }, items = { {2160,100} } }, ["shaman"] = { outfit = { male = 154, female = 158, addon = 3, storage = 11015 }, items = { {2160,100} } }, ["norseman"] = { outfit = { male = 251, female = 252, addon = 3, storage = 11016 }, items = { {2160,100} } }, ["nightmare"] = { outfit = { male = 268, female = 269, addon = 3, storage = 11017 }, items = { {2160,100} } }, ["jester"] = { outfit = { male = 273, female = 270, addon = 3, storage = 11018 }, items = { {2160,100} } }, ["brotherhood"] = { outfit = { male = 278, female = 279, addon = 3, storage = 11019 }, items = { {2160,100} } }, ["demon hunter"] = { outfit = { male = 289, female = 288, addon = 3, storage = 11020 }, items = { {2160,100} } }, ["yalaharian"] = { outfit = { male = 325, female = 324, addon = 3, storage = 11021 }, items = { {2160,100} } }, ["wayfarer"] = { outfit = { male = 366, female = 367, addon = 3, storage = 11023 }, items = { {2160,100} } }, ["Guerreiro"] = { outfit = { male = 254, female = 254, addon = 3, storage = 11022 }, items = { {2160,100} } } } local v, removeItems = cfg[param], 0, 0 if(param == "") then doPlayerSendCancel(cid, "Command requires param.") return true end if (not isPremium(cid)) then doPlayerSendCancel(cid, "Você nao tem premium account.") return true end if(getPlayerStorageValue(cid, v.outfit.storage) == -1) then for i = 1, #v.items do if(getPlayerItemCount(cid, v.items[i][1]) >= v.items[i][2]) then removeItems = removeItems+1 end end if(removeItems == #v.items) then if(getPlayerSex(cid) == 1) then doPlayerAddOutfit(cid, v.outfit.male, v.outfit.addon) elseif(getPlayerSex(cid) == 0) then doPlayerAddOutfit(cid, v.outfit.female, v.outfit.addon) end for i = 1, #v.items do doPlayerRemoveItem(cid, v.items[i][1], v.items[i][2]) end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você recebeu uma nova outfit!") doSendMagicEffect(getThingPos(cid), CONST_ME_FIREWORK_YELLOW) setPlayerStorageValue(cid, v.outfit.storage, 1) else for i = 1, #v.items do doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "você precisa " .. v.items[i][2] .. "x " .. getItemNameById(v.items[i][1]) .. " para comprar a outfit.") end end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Você ja tem está outfit.") end return true end em talkactions.xml registra a tag. <talkaction words="!buyaddon" script="buyaddon.lua"/> so editar essa parte do script. items = { {2160,100}
  12. Maenilse

    na minha epoca

    qq?
  13. Maenilse

    Saudades

    /\ tira essa foto fdp.
  14. qq?
  15. Maenilse

    Usar Magia Com Reset

    -.- como nao cara no meu ot funcionou que foda velho entao é teu ot. tenta assim, se nao der é seu ot memo -.-.
  16. qq?
  17. da pra dar uma adaptada nele pra mysql nao? to usando mysql agr.
  18. oxi kk'
  19. uiuiui
  20. vlw ae champz, deu certinho mt obrigado, rep+. amanha te dou uma tekpix do roksas. vlw <3
  21. o thiago eu sem querer deletei a table player_storage e nao sei a query. poderia me passar tambem? seu script. local config = { MaxPlayer = 20, fight_skills = { ['fist'] = 0, ['club'] = 1, ['sword'] = 2, ['axe'] = 3, ['distance'] = 4, ['shielding'] = 5, ['fishing'] = 6, ['dist'] = 4, ['shield'] = 5, ['fish'] = 6, }, other_skills = { [''] = "level", ['level'] = "level", ['magic'] = "maglevel", ['health'] = "healthmax", ['mana'] = "manamax" }, vocations = { ['sorcerer'] = {1,5}, ['druid'] = {2,6}, ['paladin'] = {3,7}, ['knight'] = {4,8} }, storages = { ['frags'] = 824544, ['resets'] = 2310, ['points'] = 1219 } } function onSay(cid, words, param) local param,str = string.lower(param),"" if not config.fight_skills[param] and not config.other_skills[param] and not config.vocations[param] and not config.storages[param] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "este rank não existe.") return true end str = "--[ RANK "..(param == "" and "LEVEL" or string.upper(param)).." ]--\n\n" query = config.fight_skills[param] and db.getResult("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = "..config.fight_skills[param].." ORDER BY `value` DESC;") or config.other_skills[param] and db.getResult("SELECT `name`, `"..config.other_skills[param].."` FROM `players` WHERE `id` > 6 AND `group_id` < 2 ORDER BY `"..config.other_skills[param].."` DESC, `name` ASC;") or config.storages[param] and db.getResult("SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = "..config.storages[param].." ORDER BY cast(value as INTEGER) DESC;") or db.getResult("SELECT `name`, `level` FROM `players` WHERE `group_id` <= 2 AND `vocation` = "..config.vocations[param][1].." or `vocation` = "..config.vocations[param][2].." ORDER BY `level` DESC;") if (query:getID() ~= -1) then k = 1 while true do str = str .. "\n " .. k .. ". "..(config.fight_skills[param] and getPlayerNameByGUID(query:getDataString("player_id")) or config.storages[param] and getPlayerNameByGUID(query:getDataString("player_id")) or query:getDataString("name")).." - [" .. query:getDataInt((config.fight_skills[param] and "value" or config.storages[param] and "value" or config.vocations[param] and "level" or config.other_skills[param])) .. "]" k = k + 1 if not(query:next()) or k > config.MaxPlayer then break end end query:free() end doShowTextDialog(cid,6500, str) return true end
  22. /\ gay avista.
  23. bom ontem eu tava com meu servidor ate umas 00:23 horas com sqlite. entao eu resolvi resetar e passa-lo para mysql. ate ai tudo bem. mas quando eu usava a talkaction de rank frags no meu sqlite funcionava. no mysql apresenta esse erro. como eu resolvo isso? nao manjo de mysql. [26/08/2013 19:08:10] mysql_real_query(): SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = 824544 ORDER BY cast(value as INTEGER) DESC; - MYSQL ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INTEGER) DESC' at line 1 (1064)
  24. Maenilse

    DarkXPoke (DXP)

    ta dahora esse servidor/client em fera. mas é como o slicer disse, sozinho tu nunca vai conseguir balancear as coisas. tem que ir com calma e tbm com a ajuda dos players.
  25. Maenilse

    Script de Task

    eof tambem pode significar que a pessoa coloco o end errado. tipo tem dois if, em uma só funçao. ai ao inves de exemplo colocar. end end return true end a pessoa colocar end return true end end. ai da o erro de eof.
  • Quem Está Navegando   0 membros estão online

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