Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
Our partners and their custom servers:
zmienia na paczatku na wall z energia ale cos sie stalo bo wywala bald w koncoliPowinno dzia?a?:
Kod:function onUse(cid, item, frompos, item2, topos) if(item2.itemid == 8753 and (item2.actionid == 0 or item2.actionid == 100)) then doTransformItem(item2.uid,8754) doSetItemActionId(item2.uid,101) addEvent(doTransformItem,20000,item2.uid,8755) addEvent(doSetItemActionId,20000,item2.uid,100) elseif(item2.itemid == 8755 and item2.actionid == 100) then doTransformItem(item2.uid,8756) doSetItemActionId(item2.uid,101) addEvent(doTransformItem,20000,item2.uid,8757) addEvent(doSetItemActionId,20000,item2.uid,100) elseif(item2.itemid == 8757 and item2.actionid == 100) then doTransformItem(item2.uid,8758) doSetItemActionId(item2.uid,101) addEvent(doTransformItem,20000,item2.uid,8759) addEvent(doSetItemActionId,20000,item2.uid,100) elseif(item2.itemid == 8759 and item2.actionid == 100) then doRemoveItem(item2.uid,1) addEvent(doWall,20000,topos) end return TRUE end function doWall(topos) local item = doCreateItem(8753,1,topos) doSetItemActionId(item,100) return TRUE end
[14/05/2009 13:15:47] Lua Script Error: [Action Interface]
[14/05/2009 13:15:47] in a timer event called from:
[14/05/2009 13:15:47] data/actions/scripts/shadow.lua:onUse
[14/05/2009 13:15:47] luaDoSetItemActionId(). Item not found
[14/05/2009 13:15:47] Lua Script Error: [Action Interface]
[14/05/2009 13:15:47] in a timer event called from:
[14/05/2009 13:15:47] data/actions/scripts/shadow.lua:onUse
[14/05/2009 13:15:47] luaDoTransformItem(). Item not found
Ponawiam. (mam darkness ots i nie mam tego w config.lua) jest jaki? spos?b na dodanie tej opcji?Rodzaj: (chyba) actions
Wersja tibii: 8.4
Chodzi mi o to ?eby by?o wida? po ile si? leczy np. z exura
na to gdy bede rozmaiwal z npc to ze by sprawdzil to storage value@Xart Irok
Sprawdz? u siebie i zedytuje. A niby dlaczego storage value? To przecie? nie potrzebne. Wystarczy, ?e id i actionid itemu si? b?dzie zmienia?o.
focus = 0
talk_start = 0
target = 0
following = false
attacking = false
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
if focus == cid then
selfSay('Good bye then.')
focus = 0
talk_start = 0
end
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
msg = string.lower(msg)
if ((string.find(msg, '(%a*)hi(%a*)')) and (focus == 0)) and getDistanceToCreature(cid) < 4 then
if getPlayerVocation(cid) == 2 then
selfSay('Hello ' .. creatureGetName(cid) .. '! What spell do you want to learn?')
focus = cid
talk_start = os.clock()
else
selfSay('Sorry, I sell spells for druids.')
end
elseif string.find(msg, '(%a*)hi(%a*)') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
selfSay('Sorry, ' .. creatureGetName(cid) .. '! I talk to you in a minute.')
elseif focus == cid then
talk_start = os.clock()
if msgcontains(msg, 'light healing') then
learnSpell(cid,'exura',170)
elseif msgcontains(msg, 'create food') then
learnSpell(cid,'exevo pan',150)
elseif msgcontains(msg, 'force strike') then
learnSpell(cid,'exori mort',600)
elseif msgcontains(msg, 'heavy magic missle') then
learnSpell(cid,'adori gran',600)
elseif msgcontains(msg, 'energy strike') then
learnSpell(cid,'exori mort',800)
elseif msgcontains(msg, 'flame strike') then
learnSpell(cid,'exori flam',800)
elseif msgcontains(msg, 'magic shield') then
learnSpell(cid,'utamo vita',450)
elseif msgcontains(msg, 'intense healing rune') then
learnSpell(cid,'adura gran',600)
elseif msgcontains(msg, 'intense healing') then
learnSpell(cid,'exura gran',350)
elseif msgcontains(msg, 'heal friend') then
learnSpell(cid,'exura sio',800)
elseif msgcontains(msg, 'strong haste') then
learnSpell(cid,'utani gran hur',1300)
elseif msgcontains(msg, 'haste') then
learnSpell(cid,'utani hur',600)
elseif msgcontains(msg, 'great fireball') then
learnSpell(cid,'adori gran flam',1200)
elseif msgcontains(msg, 'ultimate healing rune') then
learnSpell(cid,'adura vita',1500)
elseif msgcontains(msg, 'ultimate healing') then
learnSpell(cid,'exura vita',1000)
elseif msgcontains(msg, 'explosion') then
learnSpell(cid,'adevo mas hur',1800)
elseif msgcontains(msg, 'mass healing') then
learnSpell(cid,'exevo gran mas res',2200)
elseif msgcontains(msg, 'poison storm') then
learnSpell(cid,'exevo gran mas pox',3400)
elseif msgcontains(msg, 'ultimate light') then
learnSpell(cid,'utevo vis lux',1600)
elseif msgcontains(msg, 'greater light') then
learnSpell(cid,'utevo gran lux',500)
elseif msgcontains(msg, 'light') then
learnSpell(cid,'utevo lux',100)
elseif msgcontains(msg, 'invisible') then
learnSpell(cid,'utana vid',1000)
elseif msgcontains(msg, 'summon') then
learnSpell(cid,'utevo res',2000)
elseif msgcontains(msg, 'find person') then
learnSpell(cid,'exiva',80)
elseif msgcontains(msg, 'magic rope') then
learnSpell(cid,'exani tera',200)
elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) < 4 then
selfSay('Good bye, ' .. creatureGetName(cid) .. '!')
focus = 0
talk_start = 0
end
end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
if (os.clock() - talk_start) > 30 then
if focus > 0 then
selfSay('Next Please...')
end
focus = 0
end
if focus ~= 0 then
if getDistanceToCreature(focus) > 5 then
selfSay('Good bye then.')
focus = 0
end
end
[B]Rodzaj:[/B] Actions albo movements
[B]Wersja tibii:[/B] 8.40
[B]O czym ma by? skrypt :[/B]
D?wignia
je?eli na danych 4 pozycjach le?? rzeczy id 2466
to po naci?ni?ciu d?wigni (1495) spawnuj? si? 3 monstery na danej pos, d?wignia znika
Po zabiciu potwor?w d?wignia si? pojawia (o id 1946) po jej naci?ni?ciu 2 ?ciany na danym pos znikaj?.
To z tych drzwi co moga przechodzic tylko dane profesje np. druid...[ ACTION IDS
Project Name
The Forgotten Server
Version
0.3.4
Codenamed
Crying Damson
License
GNU GPLv3
Forum
Nie masz wystarczających uprawnień, aby zobaczyć link. Zaloguj or Rejestracja
]
[ IDS
Level Tile
1000 + Required Level
Level Door
1000 + Required Level
Quest Reward
2000
]
Rodzaj: Actions
Wersja tibii: 8.40
O czym ma by? skrypt :
D?wignia
je?eli na danych 4 pozycjach le?? rzeczy id 2466
to po naci?ni?ciu d?wigni (1495) spawnuj? si? 3 monstery na danej pos, po naci?ni?ciu 2 raz na d?wignie (1946) 2 ?ciany na danym pos znikaj?.