
Tudo que Rusherzin postou
-
(Resolvido)Como tirar do account manege e coloca para o site ?
- [Ver Gold] Checar seu balance - !mygold
- [AJUDA] Script de Spell
- (Resolvido)Erro na hora de salvar
- Script de Effect
Fiz o script junto e outro separado, o separado e mais seguro para players não deslogarem e se trancarem ali ou para outro player que ficar atrás não trancar o player.. Em data/movements/scripts crie dois arquivos lua wallcreate -- Depot Wall by: Rusherzin function onStepIn(cid, item, position, fromPosition) local pos1 = {x= getCreaturePosition(cid).x-2, y= getCreaturePosition(cid).y, z= getCreaturePosition(cid).z} if item.actionid == 1235 then doCreateItem(1499, 1, pos1) end return true end wallremove -- Depot Wall by: Rusherzin function onStepIn(cid, item, position, fromPosition) local wall = {x= getCreaturePosition(cid).x-1, y= getCreaturePosition(cid).y, z= getCreaturePosition(cid).z, stackpos= 1} local wall2 = getThingFromPos(wall) if item.actionid == 1236 then doRemoveItem(wall2.uid, 1) end return true end E, no movemens.xml adicione estas tags: <movement type="StepIn" actionid="1235" event="script" value="wallcreate.lua"/> <movement type="StepIn" actionid="1236" event="script" value="wallremove.lua"/> E por fim adicione a actionid 1235 no tile que vai criar a wall, e adicione actionid 1236 no tile que vai remover a wall- {Pedido} Tile de Premium
Tenta esse, é só adicionar a posição pra onde serão teletransportados. function onStepIn(cid, item, position, fromPosition) local position1 = {x= 439, y=49, z=7} if isPremium(cid) == false then doTeleportThing(cid, position1) doPlayerSendTextMessage(cid, 25, "Only vip accounts can acess this area.") else doPlayerSendTextMessage(cid, 25, "Welcome to Vip Area.") end return true end- {Pedido} Tile de Premium
Tenta com esse: function onStepIn(cid, item, position, fromPosition) if getPlayerPremiumDays(cid) < 1 then doTeleportThing(cid, fromPosition) doPlayerSendTextMessage(cid, 25, "MSG SE NAO FOR VIP.") else doPlayerSendTextMessage(cid, 25, "MSG SE FOR VIP.") end return true end- {Pedido} Tile de Premium
Qual a versão do teu server?- Script de Effect
E depois como ele vai fazer pra sair? Se for fazer como era no dawinbi, é 2 sqm's atrás..- (Resolvido)Rec de Staminia
Mas eu botei a função pra remover e depois adicionar o item function onUse(cid, item, fromPosition, itemEx, toPosition) local cfg = {} cfg.refuel = 42 * 60 * 1000 if(getPlayerStamina(cid) >= cfg.refuel) then doPlayerSendCancel(cid, "Your stamina is already full.") elseif(not isPremium(cid)) then doPlayerSendCancel(cid, "You must have a premium account.") else doPlayerSetStamina(cid, cfg.refuel) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your stamina has been refilled.") doRemoveItem(item.uid) doPlayerAddItem(cid, 1234, 1) end return true end Ali em "1234" , substitui o id do Rec..- (Resolvido)Rec de Staminia
Não faz sentido, tenta assim: function onUse(cid, item, fromPosition, itemEx, toPosition) local cfg = {} cfg.refuel = 42 * 60 * 1000 if(getPlayerStamina(cid) >= cfg.refuel) then doPlayerSendCancel(cid, "Your stamina is already full.") elseif(not isPremium(cid)) then doPlayerSendCancel(cid, "You must have a premium account.") else doPlayerSetStamina(cid, cfg.refuel) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your stamina has been refilled.") doRemoveItem(item.uid) doPlayerAddItem(item.uid) end return true end- (Resolvido)Rec de Staminia
- Problema com SQLILE STUDIO V 1.0.0
- Bug em Script
Olhei aqui, http://www.tibiaking.com/forum/topic/1988-lista-de-funcoes-lua/ E acho que essa função não existe.- Samples
ALTER TABLE `players` ADD column `marrystatus` int(10) unsigned NOT NULL DEFAULT '0';- {Pedido} Tile de Premium
Em data/movements/scripts/ crie um arquivo lua e renomeie para premiumtile E, adicione isso: function onStepIn(cid, item, position, fromPosition) if isPremium(cid) == false then doTeleportThing(cid, fromPosition) doPlayerSendTextMessage(cid, 25, "MSG SE NAO FOR VIP.") else doPlayerSendTextMessage(cid, 25, "MSG SE FOR VIP.") end return true end Depois adicione esta tag no movements.xml <movevent type="StepIn" actionid="1242" event="script" value="premiumtile.lua"/> E por fim adicione a actionid 1242 nos tiles premiums.- Falha no Gesior me incomodando
- Samples
Executa lá na db do phpmyadmin INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `marrystatus`, `promotion`, `deleted`, `description`, `created`, `nick_verify`, `old_name`, `hide_char`, `worldtransfer`, `comment`, `show_outfit`, `show_eq`, `show_bars`, `show_skills`, `show_quests`, `goals`, `wins`, `total`, `exphist_lastexp`, `exphist1`, `exphist2`, `exphist3`, `exphist4`, `exphist5`, `exphist6`, `exphist7`, `onlinetimetoday`, `onlinetime1`, `onlinetime2`, `onlinetime3`, `onlinetime4`, `onlinetime5`, `onlinetime6`, `onlinetime7`, `onlinetimeall`, `frags`) VALUES (1, 'Account Manager', 6, 1, 1, 1, 0, 150, 150, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 0, 32360, 31782, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), (2, 'Rook Sample', 1, 1, 1, 1, 0, 180, 180, 0, 0, 0, 0, 0, 110, 0, 0, 30, 30, 0, 0, 0, 160, 54, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), (3, 'Sorcerer Sample', 1, 1, 1, 10, 1, 180, 180, 0, 0, 0, 0, 0, 110, 0, 0, 30, 30, 0, 0, 0, 160, 54, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), (4, 'Druid Sample', 1, 1, 1, 10, 2, 180, 180, 0, 0, 0, 0, 0, 110, 0, 0, 30, 30, 0, 0, 0, 160, 54, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), (5, 'Paladin Sample', 1, 1, 1, 10, 3, 180, 180, 0, 0, 0, 0, 0, 110, 0, 0, 30, 30, 0, 0, 0, 160, 54, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), (6, 'Knight Sample', 1, 1, 1, 10, 4, 180, 180, 0, 0, 0, 0, 0, 110, 0, 0, 30, 30, 0, 0, 0, 160, 54, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);- Falha no Gesior me incomodando
- Falha no Gesior me incomodando
- Level na Gate of Expertise!
É poketibia?- Level na Gate of Expertise!
Ponha 103000- Itens Donate Ajuda URGENTE
Checa o actions.xml e verifique arquivos que você não conheça a função, ele pode ter colocado um action em algum lugar que ao clicar ganhará GOD..- [Erro] Go Step 1 Help !
Tenta usar o config.lua assim:- COMO TIRA BROADCAST MESSAGE?
Informação Importante
Confirmação de Termo