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.
-
Scripting Talkaction to exp booster
kobrapl respondeu ao tópico de kobrapl em Suporte OTServer Derivados
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, -
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..".
-
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, "
-
Client UE spells make dmg to players without pk on ;/
kobrapl postou um tópico em Suporte OTServer Derivados
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 -
Scripting How to add skill if got hit by magic spell
kobrapl postou um tópico em Suporte OTServer Derivados
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 -
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
-
Mapping Every NPC/Monster stands face to north
kobrapl respondeu ao tópico de kobrapl em Suporte OTServer Derivados
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 -
Mapping Every NPC/Monster stands face to north
kobrapl respondeu ao tópico de kobrapl em Suporte OTServer Derivados
Sorry but as i wrote: Switching at RME map from north to south doesnt work too -
Mapping Every NPC/Monster stands face to north
kobrapl postou um tópico em Suporte OTServer Derivados
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 -
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 ;]
-
Hello, did u fixed it and tell me how? :D
-
saga system [Pedido] Saga System
kobrapl respondeu ao tópico de ManoTobira em Suporte Tibia OTServer
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 "/
TibiaKing
Open Tibia Server
Quer aprender a criar seu próprio servidor de Tibia? Então está no lugar certo, aqui você encontrará milhares de tutorias, scripts, códigos, mapas e utilitários para que você possa fazer o seu próprio servidor de Tibia começando do zero.
Anuncie no TibiaKing
Precisa de mais visibilidade em seus projetos? Quer fazer um plano publicitário para o seu servidor? Anuncie no OTKing e faça sua divulgação, possuímos centenas de acessos simultâneos e milhares diários, com certeza será a sua solução!