Ir para conteúdo
  • Cadastre-se

kobrapl

Membro
  • Total de itens

    12
  • Registro em

  • Última visita

Sobre kobrapl

  • Rank
    Neutro

Últimos Visitantes

O bloco dos últimos visitantes está desativado e não está sendo visualizado por outros usuários.

  1. Ok i have solved the problem by adding and using this talkaction: function onSay(cid) local last = math.floor((getPlayerStorageValue(cid, 10000) - os.time())/60) -- minutes local last2 = ((getPlayerStorageValue(cid, 10000) - os.time())) -- seconds if isPlayer then if getPlayerStorageValue(cid, config.register) == 1 then doPlayerSendCancel(cid, 'Your bonus experience time : '.. last2.. ' seconds.') end if getPlayerStorageValue(cid, config.register) == 0 then doPlayerSendCancel(cid,
  2. TFS 0,4 rev 3777 tibia client version 8,6 Hello, i need help to make talkaction to this exp mod: But anything i tries doesnt work, or it gets LUACREATURENOTFOUND or no errors in console,or shows some pretty strange amounts ;x those are my tries , ofc i added to mod talkaction etc ;p if getPlayerStorageValue(cid, config.storage) == 1 then doPlayerSendCancel(cid, "The EXP POTION Effect Ends in ".. getPlayerStorageValue(cid, config.storage, os.time()+config.time)..". ") doPlayerSendCancel(cid, "The EXP POTION Effect Ends in "..config.time..".
  3. I have a small problem, Im using tfs 0.4 rev 3777, well i have made a script local IDFEET = 13499 local IDARMOR = 13497 local IDLEGS = 13498 function onDeEquip(cid, item, slot) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You just lost bonus from set.") end function onEquip(cid, item, slot) if getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == IDFEET and getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid == IDARMOR and getPlayerSlotItem(cid, CONST_SLOT_LEGS).itemid == IDLEGS then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "
  4. As the title, player do dmg to other players by ue without pk turned on, but only with ue, to use normal spells/atk players he need to turn on pk so whats the reason that ue makes the dmg? Is it fault of spell? Here's example of one ue spell: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -125.0, 0, -150.0, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 5) loca
  5. As the title says, im looking for script that will add me "fishing tries" when i get hit by magic, I already done that fishing is absorb etc, but have no idea from what to start here (useless to do fishing to get higher absorb XD). What function it shall be im pretty fresh but i think it shall be StatsChange or On attack and made by monster function but not sure what to start from and how it should look. Any help/ideas/guide?In short i want to get fishing skill incerase if i get hitd by magicTFS 0,4 rev 3777 Edited source and ofc fishing=abosrb and it absorbs magic (ENERGY) dmg w/o
  6. As i cant find solution of a problem i have that monsters / npc stands always face to north so i had idea to do the tile that switch their lookdir but i need some help how to do it / edit im fresh in making ots so any help will be awesome; P But all my tries ends in errors at console; x No idea shall it be aid or uid? Maybe thats what im doing wrong; / Found that getPlayerLookDir = getCreatureLookDirection getPlayerLookDirection = getCreatureLookDirection doCreatureSetLookDir = doCreatureSetLookDirection getPlayerLookPos = getCreatureLookPosition getPosByDir = getPo
  7. Ok so i cant get help, map editor doesnt help too so i though about fixing it in another way I though about making a tile that npc / monster stands on it and changes it direction? Is it even possible? Something like: function onStepIn (cid, target) local table = { NPC / Monster name, what lookdir to set } But have no idea how this code might look;/ I want it to type to have less files and loads. Cuz im already stupid do i have something in constant / lib / checked almost evrything and cant find a solution; x So in shortcut i want something like, if mo
  8. Sorry but as i wrote: Switching at RME map from north to south doesnt work too
  9. Hello, of the says title i have a small problem and have no idea what fault can it be, are The problem Is that type, any NPC with doesnt walk or monsters Which is "the sample" to the tp exp place, is standing back not by face (its annoying to dont see full look of it) to check how it looks, what kind of problem it can be? Im using tfs 0.4 rev 3777, is it possible its fault of spr / dat? it load "back" of npc / monster than "face up"? If so how to fix it? Switching at RME map from north to south doesnt work too, i also tried few tfs, deleted spawn.xml and added again, still same, everything sta
  10. Well didnt find solution yet, maybe cuz im fresh in making at ots, had added some saga scripts etc but dunno yet how to complie sources, got few errors, anyway thx ;]
  11. Hello, did u fixed it and tell me how? :D
  12. Sorry for refresh but i need working saga system too, i already know how to add monsters etc but the saga monsters attack player even if he doesnt have this saga, no errors in console, im fresh in making ots, maybe i need somehow to set storage value to those monsters? Example: moon file: <? xml version = "1.0" encoding = "UTF-8"?> <monster name = "Freezer First Form" nameDescription = "the freeza" race = "blood" experience = "0" speed = "810" manacost = " 480 "> <health now =" 4550000 "max =" 4550000 "/> <look type =" 256 "corpse =" 0 "/
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo