<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0">
<channel>
<title>Open Tibia Server</title>
<link>http://www.tibiaskrypty.pun.pl</link>
<description> Open Tibia Server</description>
<language>pl</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>Serdecznie zapraszam na super ots!!!</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=52#p52</link>
<guid isPermaLink="false">52@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Chciałbym serdecznie zaprosic na zajebistego ots-a EvoEvo. exp 99999, system reborn, Mozliwosc kupna tut,gm,god. Ip evoevo.no-ip.org, OTS istnieje juz rok czasu, co mozna sprawdzic na otsliscie, Tibia 7.6, mapka wlasnorecznie robiona. SERDECZNIE ZAPRASZAM]]></description>
<pubDate>Sobota 2 Luty</pubDate>
<comments>Sobota 2 Luty</comments>
</item>
<item>
<title></title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=51#p51</link>
<guid isPermaLink="false">51@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzisz w /data/movements/scripts<br />Robisz notatnik , a w notatniku wpisujesz:<br /><br /><blockquote><div class="incqbox">function onStepIn(cid, item, pos)<br /><br />local pos1 = <span style="color: #FFFF00">{x=1029, y=1007, z=7, stackpos=255}</span><br />local newpos =<span style="color: red"> {x=1012, y=1028, z=7}</span><br />local scarab = getThingfromPos(pos1)<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; if scarab.itemid == 2159 then<br />&nbsp; &nbsp; &nbsp; &nbsp; doTeleportThing(cid, newpos)<br />&nbsp; &nbsp; &nbsp; &nbsp; doRemoveItem(scarab.uid,1)<br />else<br />&nbsp; &nbsp; end<br />end</div></blockquote>Zapisujesz jako tomb.lua<br /><br /><span style="color: #FFFF00">Kolor</span> Zolty to miejsce gdzie ma lezec scarab coin (nie zmieniaj stackpos), <span style="color: red">czerwony</span> to miejsce gdzie ci ma teleportowac.<br /><br />Skrypt dziala tylko musisz najpierw polozyc na miejsce scaraba a potem wejsc w ogien, innaczej nie przejdziesz.<br /><br /><br />Przechodzisz do data/movements&nbsp; edytuje plik movements.xml i dodajesz tam linijke<br /><br /><blockquote><div class="incqbox">&lt;movevent event=&quot;StepIn&quot; itemid=&quot;1397&quot; script=&quot;tomb.lua&quot; /&gt;</div></blockquote>]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title></title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=50#p50</link>
<guid isPermaLink="false">50@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Działanie: Runa przenosi nas do więzienia. Kraty (chodzi mi o kraty o id 5733-5737) może otworzyć tylko GM.<br /><br />Wchodzimy w data/spells/runes<br /><br />Tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br /><br />if getPlayerAccess(cid) &gt;=2 then<br />creature2pos = {x=topos.x, y=topos.y, z=topos.z, stackpos=253}<br />creature2 = getThingfromPos(creature2pos)<br /><br />if creature2.itemid &gt; 0 then<br />cela1={x=114, y=112, z=8}<br />cela2={x=116, y=112, z=8}<br />cela3={x=118, y=115, z=8}<br />cela4={x=118, y=117, z=8}<br />cela5={x=116, y=119, z=8}<br />cela6={x=114, y=119, z=8}<br />cela7={x=111, y=117, z=8} doPlayerSendTextMessage(cid,22,&quot;Poszedl siedziec!&quot;)<br />rand = math.random(1,7)<br />if rand == 1 then<br />doTeleportThing(creature2.uid,cela1)<br />elseif rand == 2 then<br />doTeleportThing(creature2.uid,cela2)<br />elseif rand == 3 then<br />doTeleportThing(creature2.uid,cela3)<br />elseif rand == 4 then<br />doTeleportThing(creature2.uid,cela4)<br />elseif rand == 5 then<br />doTeleportThing(creature2.uid,cela5)<br />elseif rand == 6 then<br />doTeleportThing(creature2.uid,cela6)<br />elseif rand == 7 then<br />doTeleportThing(creature2.uid,cela7)<br />end<br />doPlayerSendTextMessage(creature2.uid,18,&quot;Posiedzisz tu torche.&quot;)<br />else<br />doPlayerSendCancel(cid,&quot;Pudlo.&quot;)<br />end<br />else<br />doPlayerSendCancel(cid,&quot;IDZ Z TYM PRZEDMIOTEM DO GM A DOSTANIESZ WYSOKA NAGRODE&quot;)<br />end<br />return 1<br />end</div></blockquote>Zapisujemy jako:&nbsp; wiezienie.lua<br /><br />Tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br /><br />if getPlayerAccess(cid) &gt; 0 then<br />doTransformItem(item.uid,item.itemid+1)<br />else<br />doPlayerSendCancel(cid,&quot;Tylko GM moze Cie wypuscic&quot;)<br />end<br /><br />return 1<br />end<br /><br />kraty2.lua<br /><br /><br />function onUse(cid, item, frompos, item2, topos)<br /><br />doTransformItem(item.uid,item.itemid-1)<br />return 1<br /><br />end</div></blockquote>Zapisujemy go jako:&nbsp; kraty1.lua<br /><br />Wchodzimy w data/actions/actions.xml<br /><br />Dodajemy tam linijki:<br /><br /><blockquote><div class="incqbox">&lt;action itemid=&quot;2297&quot; script=&quot;wiezienie.lua&quot; allowfaruse=&quot;1&quot; /&gt;<br />&lt;action itemid=&quot;5733&quot; script=&quot;kraty1.lua&quot; /&gt;<br />&lt;action itemid=&quot;5736&quot; script=&quot;kraty1.lua&quot; /&gt;<br />&lt;action itemid=&quot;5734&quot; script=&quot;kraty2.lua&quot; /&gt;<br />&lt;action itemid=&quot;5737&quot; script=&quot;kraty2.lua&quot; /&gt;</div></blockquote>]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>Magiczna Czapka Ferumbrasa</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=49#p49</link>
<guid isPermaLink="false">49@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Działanie: Jak wiadomo Ferumbras jest magiem więc napewno zna jakie¶ sztuczki. Pro¶ciej mówi±c z jego kapelusza można wyg±gn±ć jakie¶ zwierz±tko (króliczek, papuga, skunks).<br /><br />Wchodzimy w ots/data/action/script i tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br />pos = getPlayerPosition(cid)<br /><br />summon = math.random(1, 3)<br /><br />if summon == 1 then<br />doPlayerSay(cid,&quot;WTF? Kroliczek? o.O&quot;,1)<br />doSummonCreature(&quot;Rabbit&quot;, pos)<br />doSendMagicEffect(topos,14)<br />doRemoveItem(item.uid,1)<br /><br />elseif summon == 2 then<br />doPlayerSay(cid,&quot;LOL! Papuga? W tej czapce?&quot;,1)<br />doSummonCreature(&quot;Parrot&quot;, pos)<br />doSendMagicEffect(topos,13)<br />doRemoveItem(item.uid,1)<br /><br />elseif summon == 3 then<br />doPlayerSay(cid,&quot;O fak! To cos tam siedzialo? ;/&quot;,1)<br />doSummonCreature(&quot;Skunk&quot;, pos)<br />doSendMagicEffect(topos,12)<br />doRemoveItem(item.uid,1)<br /><br />end<br />return 1<br />end</div></blockquote>Zapisujemy jako: ferumbras hat.lua<br /><br />Następnie dodajemy linijke do ots/data/action Actions.xml<br /><br />&lt;action itemid=&quot;5903&quot; script=&quot;ferumbras hat.lua&quot; /&gt;]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>Rosyjska Ruletka</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=48#p48</link>
<guid isPermaLink="false">48@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Działanie: Po użyciu mamy prawdopodobienstwo 1 na 6 że padniemy (tak jak w rosyjskiej ruletce). Je¶li mamy farta dostajemy 100 gp lub exp (nasz lvl razy 100, np.: lvl 25 dostanie 2500 expa).<br /><br />Wchodzimy w ots/data/action/script i tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br /><br />local hp = getPlayerHealth(cid)<br />local mana = getPlayerMana(cid)<br />local level = getPlayerLevel(cid)<br /><br />local ded = (hp) + (mana)<br />local ileexpa = (level * 100)<br /><br /><br />text = math.random(1, 6)<br />if text == 1 then<br />doPlayerAddItem(cid,2152,1)<br />doSendMagicEffect(topos, 1)<br />doSendAnimatedText(topos,'Masz farta!',137)<br />elseif text == 2 then<br />doPlayerAddItem(cid,2152,1)<br />doSendMagicEffect(topos, 1)<br />doSendAnimatedText(topos,'Masz farta!',137)<br />elseif text == 3 then<br />doPlayerAddExp(cid,ileexpa)<br />doSendMagicEffect(topos, 1)<br />doSendAnimatedText(topos,'Masz farta!',137)<br />elseif text == 4 then<br />doPlayerAddExp(cid,ileexpa)<br />doSendMagicEffect(topos, 1)<br />doSendAnimatedText(topos,'Masz farta!',137)<br />elseif text == 5 then<br />doPlayerAddExp(cid,ileexpa)<br />doSendMagicEffect(topos, 1)<br />doSendAnimatedText(topos,'Masz farta!',137)<br />elseif text == 6 then<br />doPlayerAddHealth(cid,-ded)<br />doSendMagicEffect(topos, 17)<br />doSendAnimatedText(topos,'Pech...!',180)<br />end<br />return 1<br /><br />end</div></blockquote>Zapisujemy jako:&nbsp; ruletka.lua<br /><br />Następnie dodajemy linijke do ots/data/action Actions.xml <br />&lt;action itemid=&quot;xxxx&quot; script=&quot;ruletka.lua&quot; /&gt;<br /><br />xxxx to id itema jakim będzie ta ruleta. W grafikach tibii nie znalazłem rzeczy która mogła by tak wygl±dać dlatego nie podałem konkretnego id.]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title></title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=46#p46</link>
<guid isPermaLink="false">46@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzimy w NPC/scripts utwarzamy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">local keywordHandler = KeywordHandler:new()<br />local npcHandler = NpcHandler:new(keywordHandler)<br />NpcSystem.parseParameters(npcHandler)<br />-- OTServ event handling functions start<br />function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end<br />function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end<br />function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end<br />function onThink() npcHandler:onThink() end<br />-- OTServ event handling functions end<br />function creatureSayCallback(cid, type, msg)<br />-- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself.<br />if(npcHandler.focus ~= cid) then<br />return false<br />end<br />bless1 = getPlayerBlessing(cid,1)<br />bless2 = getPlayerBlessing(cid,2)<br />bless3 = getPlayerBlessing(cid,3)<br />bless4 = getPlayerBlessing(cid,4)<br />bless5 = getPlayerBlessing(cid,5)<br />tbless = 'Sorry, but you already have this blessing.'<br />pbless = 'Sorry, you need a premium account to buy blessings.'<br />obless = 'Do you have 10000 gold coins to buy this blessing?'<br />mbless = 'Sorry, but you need 10000 gold coins to buy this blessing.'<br />gbless = 'Now the Gods blessed you.'<br />player_gold = getPlayerItemCount(cid,2148)<br />player_plat = getPlayerItemCount(cid,2152)*100<br />player_crys = getPlayerItemCount(cid,2160)*10000<br />player_money = player_gold + player_plat + player_crys<br />if msgcontains(msg, 'blessing') or msgcontains(msg, 'blessings') then<br />selfSay('I can give you 5 blessing, and each blessing cost 10000 gold coins. Just say help to know how to buy.')<br />elseif msgcontains(msg, 'help') or msgcontains(msg, 'ajuda') then<br />selfSay('To buy the blessings say, first bless, second bless, third bless, fouth bless and fifth bless.')<br />elseif msgcontains(msg, 'first bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 1<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'second bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 2<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'third bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 3<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'fourth bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 4<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'fifth bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 5<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />------------------------------ Confirm yes ---------------------------------<br />elseif msgcontains(msg, 'yes') and talk_state == 1 then<br />talk_state = 0<br />if bless1 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 1)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 2 then<br />talk_state = 0<br />if bless2 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 2)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 3 then<br />talk_state = 0<br />if bless3 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 3)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 4 then<br />talk_state = 0<br />if bless4 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 4)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 5 then<br />talk_state = 0<br />if bless5 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 5)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />------------------------------------------------ confirm no ------------------------------------------------<br />elseif msgcontains(msg, 'no') and (talk_state &gt;= 1 and talk_state &lt;= 5) then<br />selfSay('Ok than.')<br />talk_state = 0<br />end<br />-- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself.<br />return true<br />end<br />npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)<br />npcHandler:addModule(FocusModule:new())</div></blockquote>Zapisujemy jako: bless.lua<br /><br />W data/npc utwarzamy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">&lt;?xml version=&quot;1.0&quot;?&gt;<br />&lt;npc name=&quot;Waterlow&quot; script=&quot;data/npc/scripts/bless.lua&quot; access=&quot;3&quot; lookdir=&quot;2&quot;&gt;<br />&nbsp; &nbsp; &lt;mana now=&quot;800&quot; max=&quot;800&quot;/&gt;<br />&nbsp; &nbsp; &lt;health now=&quot;200&quot; max=&quot;200&quot;/&gt;<br />&lt;look type=&quot;139&quot; head=&quot;132&quot; body=&quot;79&quot; legs=&quot;97&quot; feet=&quot;132&quot;/&gt;<br />&lt;/npc&gt;</div></blockquote>Zapisujemy jako:&nbsp; Waterlow.xml<br /><br />Oczywi¶cie musimy ustawić naszego Npc więc wchodzimy w data/world/npc.xml<br /><br />Edytujemy plik Npc.xml<br /><br />i dodajemy pod:<br />&lt;npclist&gt;<br /><br /><blockquote><div class="incqbox">&lt;npc name=&quot;Waterlow&quot; x=&quot;<span style="color: #3366FF">xxx</span>&quot; y=&quot;<span style="color: #3366FF">xxx</span>&quot; z=&quot;<span style="color: #3366FF">x</span>&quot; dir=&quot;2&quot;/&gt;</div></blockquote><span style="color: #3366FF">Niebieski</span> = Położenie Waterlowa - gdzie Waterlow ma się znajdować]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title></title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=45#p45</link>
<guid isPermaLink="false">45@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzimy w NPC/scripts utwarzamy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">local keywordHandler = KeywordHandler:new()<br />local npcHandler = NpcHandler:new(keywordHandler)<br />NpcSystem.parseParameters(npcHandler)<br />-- OTServ event handling functions start<br />function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end<br />function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end<br />function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end<br />function onThink() npcHandler:onThink() end<br />-- OTServ event handling functions end<br />function creatureSayCallback(cid, type, msg)<br />-- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself.<br />if(npcHandler.focus ~= cid) then<br />return false<br />end<br />bless1 = getPlayerBlessing(cid,1)<br />bless2 = getPlayerBlessing(cid,2)<br />bless3 = getPlayerBlessing(cid,3)<br />bless4 = getPlayerBlessing(cid,4)<br />bless5 = getPlayerBlessing(cid,5)<br />tbless = 'Sorry, but you already have this blessing.'<br />pbless = 'Sorry, you need a premium account to buy blessings.'<br />obless = 'Do you have 10000 gold coins to buy this blessing?'<br />mbless = 'Sorry, but you need 10000 gold coins to buy this blessing.'<br />gbless = 'Now the Gods blessed you.'<br />player_gold = getPlayerItemCount(cid,2148)<br />player_plat = getPlayerItemCount(cid,2152)*100<br />player_crys = getPlayerItemCount(cid,2160)*10000<br />player_money = player_gold + player_plat + player_crys<br />if msgcontains(msg, 'blessing') or msgcontains(msg, 'blessings') then<br />selfSay('I can give you 5 blessing, and each blessing cost 10000 gold coins. Just say help to know how to buy.')<br />elseif msgcontains(msg, 'help') or msgcontains(msg, 'ajuda') then<br />selfSay('To buy the blessings say, first bless, second bless, third bless, fouth bless and fifth bless.')<br />elseif msgcontains(msg, 'first bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 1<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'second bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 2<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'third bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 3<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'fourth bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 4<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />elseif msgcontains(msg, 'fifth bless') then<br />if isPremium(cid) then<br />if player_money &gt;= 10000 then<br />selfSay(obless)<br />talk_state = 5<br />else<br />selfSay(mbless)<br />talk_state = 0<br />end<br />else<br />selfSay(pbless)<br />talk_state = 0<br />end<br />------------------------------ Confirm yes ---------------------------------<br />elseif msgcontains(msg, 'yes') and talk_state == 1 then<br />talk_state = 0<br />if bless1 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 1)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 2 then<br />talk_state = 0<br />if bless2 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 2)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 3 then<br />talk_state = 0<br />if bless3 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 3)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 4 then<br />talk_state = 0<br />if bless4 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 4)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />elseif msgcontains(msg, 'yes') and talk_state == 5 then<br />talk_state = 0<br />if bless5 then<br />selfSay(tbless)<br />else<br />if pay(cid,10000) then<br />doPlayerAddBlessing(cid, 5)<br />selfSay(gbless)<br />else<br />selfSay(mbless)<br />end<br />end<br />------------------------------------------------ confirm no ------------------------------------------------<br />elseif msgcontains(msg, 'no') and (talk_state &gt;= 1 and talk_state &lt;= 5) then<br />selfSay('Ok than.')<br />talk_state = 0<br />end<br />-- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself.<br />return true<br />end<br />npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)<br />npcHandler:addModule(FocusModule:new())</div></blockquote>Zapisujemy jako: bless.lua<br /><br />W data/npc utwarzamy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">&lt;?xml version=&quot;1.0&quot;?&gt;<br />&lt;npc name=&quot;Waterlow&quot; script=&quot;data/npc/scripts/bless.lua&quot; access=&quot;3&quot; lookdir=&quot;2&quot;&gt;<br />&nbsp; &nbsp; &lt;mana now=&quot;800&quot; max=&quot;800&quot;/&gt;<br />&nbsp; &nbsp; &lt;health now=&quot;200&quot; max=&quot;200&quot;/&gt;<br />&lt;look type=&quot;139&quot; head=&quot;132&quot; body=&quot;79&quot; legs=&quot;97&quot; feet=&quot;132&quot;/&gt;<br />&lt;/npc&gt;</div></blockquote>Zapisujemy jako:&nbsp; Waterlow.xml<br /><br />Oczywi¶cie musimy ustawić naszego Npc więc wchodzimy w data/world/npc.xml<br /><br />Edytujemy plik Npc.xml<br /><br />i dodajemy pod:<br />&lt;npclist&gt;<br /><br /><blockquote><div class="incqbox">&lt;npc name=&quot;Waterlow&quot; x=&quot;<span style="color: #3366FF">xxx</span>&quot; y=&quot;<span style="color: #3366FF">xxx</span>&quot; z=&quot;<span style="color: #3366FF">x</span>&quot; dir=&quot;2&quot;/&gt;</div></blockquote><span style="color: #3366FF">Niebieski</span> = Położenie Waterlowa - gdzie Waterlow ma się znajdować]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>NPC Heal ten npc leczy wszystkich graczy za darmo !!!</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=44#p44</link>
<guid isPermaLink="false">44@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzimy w Npc/Scripts/ Tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">local keywordHandler = KeywordHandler:new()<br />local npcHandler = NpcHandler:new(keywordHandler)<br />NpcSystem.parseParameters(npcHandler)<br />-- OTServ event handling functions start<br />function onCreatureAppear(cid)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; npcHandler:onCreatureAppear(cid) end<br />function onCreatureDisappear(cid)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;npcHandler:onCreatureDisappear(cid) end<br />function onCreatureSay(cid, type, msg)&nbsp; &nbsp; &nbsp;npcHandler:onCreatureSay(cid, type, msg)<br />&nbsp; &nbsp; if(cid ~= npcHandler.focus) then<br />&nbsp; &nbsp; &nbsp; &nbsp; return false<br />&nbsp; &nbsp; end<br />&nbsp; &nbsp; if msgcontains(msg, 'heal') then<br />&nbsp; &nbsp; &nbsp; &nbsp; health = getCreatureHealth(cid)<br />&nbsp; &nbsp; &nbsp; &nbsp; if health &lt; 65 then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; maxhealth = getCreatureMaxHealth(cid)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ammount = maxhealth - health<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; doCreatureAddHealth(cid, ammount)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; selfSay('Let me heal you.')<br />&nbsp; &nbsp; &nbsp; &nbsp; else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; selfSay('Sorry, you are not badly hurt')<br />&nbsp; &nbsp; &nbsp; &nbsp; end<br />&nbsp; &nbsp; end<br />end<br />function onThink()&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;npcHandler:onThink() end<br />-- OTServ event handling functions end<br />npcHandler:addModule(FocusModule:new())</div></blockquote>Zapisujemy jako healer.lua<br /><br />W miejscu -- <blockquote><div class="incqbox">if health &lt; 65 then</div></blockquote>-- masz liczbę 65, oznacza to że może uleczyć gracza dopiero, gdy ma 65 hp. Możesz oczywi¶cie zmienić t± liczbę.<br /><br /><br />W data/npc tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />&lt;npc name=&quot;Healer&quot; script=&quot;data/npc/scripts/healer.lua&quot; autowalk=&quot;1&quot; floorchange=&quot;0&quot; speed=&quot;12&quot;&gt;<br />&nbsp; &nbsp; &lt;health now=&quot;100&quot; max=&quot;100&quot;/&gt;<br />&nbsp; &nbsp; &lt;look type=&quot;128&quot; head=&quot;0&quot; body=&quot;0&quot; legs=&quot;0&quot; feet=&quot;0&quot; addons=&quot;0&quot;/&gt;<br />&lt;/npc&gt;</div></blockquote>Zapisujemy jako Healer.xml<br /><br />Oczywi¶cie musimy ustawić gdzie ma stać nasz Npc<br /><br />Wiec wchodzimy w data/world/npc.xml<br /><br /><br />Edytujemy plik Npc.xml<br /><br />i dodajemy pod:<br />&lt;npclist&gt;<br /><br /><blockquote><div class="incqbox">&lt;npc name=&quot;Healer&quot; x=&quot;<span style="color: #3366FF">xxx</span>&quot; y=&quot;<span style="color: #3366FF">xxx</span>&quot; z=&quot;<span style="color: #3366FF">x</span>&quot; dir=&quot;2&quot;/&gt;</div></blockquote><span style="color: #3366FF">Niebieski</span> = Położenie Healera - gdzie Healer ma się znajdować]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>100cc w scarab coins 100 scarab coins w gold nugget</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=43#p43</link>
<guid isPermaLink="false">43@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Zaczynamy od tego że edytujemy plik crystal.lua w data/actions/scripts a w nim to:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br />&nbsp; &nbsp; &nbsp; &nbsp;if item.itemid == 2160 and item.type == 100 then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doRemoveItem(item.uid,item.type)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerAddItem(cid,2159,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerSendTextMessage(cid,22,&quot;You have changed 100 crystal coin to 1 scarab coin&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp;elseif item.itemid == 2159 and item.type &lt; 100 then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doRemoveItem(item.uid,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerAddItem(cid,2160,100)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerSendTextMessage(cid,22,&quot;You have changed 1 scarab coin to 100 crystal coins&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp;elseif item.itemid == 2160 and item.type &lt; 100 then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doRemoveItem(item.uid,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerAddItem(cid,2152,100)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerSendTextMessage(cid,22,&quot;You have changed 1 crystal to 100 platinum coins&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp;end<br />&nbsp; &nbsp;end</div></blockquote>Potem tez w actions/scripts<br /><br />Następnie tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br />&nbsp; &nbsp; &nbsp; &nbsp;if item.itemid == 2159 and item.type == 100 then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doRemoveItem(item.uid,item.type)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerAddItem(cid,2157,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doPlayerSendTextMessage(cid,22,&quot;You have changed 100 scarab coin to 1 gold nugget&quot;)<br />&nbsp; &nbsp; elseif doRemoveItem(item.uid,1) then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; doPlayerSendTextMessage(cid,22,&quot;You have changed 1 scarab coin to 100 crystal coins&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; doPlayerAddItem(cid,2160,100)<br />&nbsp; &nbsp; &nbsp; &nbsp;end<br />end</div></blockquote>Zapisujemy jako: scarab.lua<br /><br />Następnie tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br />&nbsp; &nbsp; &nbsp; if doRemoveItem(item.uid,1) then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; doPlayerSendTextMessage(cid,22,&quot;You have changed 1 gold nugget to 100 scarab coins&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; doPlayerAddItem(cid,2159,100)<br />&nbsp; &nbsp; &nbsp; end<br />&nbsp; end</div></blockquote>Zapisujemy jako: nugget.lua<br /><br /><br />Na końcu przechodzimy w data/actions/actions.xml<br /><br />pod -- Transform money wpisujemy:<br /><br /><blockquote><div class="incqbox">&lt;action itemid=&quot;2160&quot; script=&quot;crystal.lua&quot; /&gt;<br />&lt;action itemid=&quot;2159&quot; script=&quot;scarab.lua&quot; /&gt;<br />&lt;action itemid=&quot;2157&quot; script=&quot;gold nugget.lua&quot; /&gt;</div></blockquote>]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>Zegarek</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=42#p42</link>
<guid isPermaLink="false">42@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzimy w data/actions/scrpits trzeba zrobić notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">if (tibiantime == false) then<br />if (twentyfour == true) then<br />time = os.date('%H:%M')<br />else<br />time = os.date('%I:%M %p')<br />end<br />else<br />time = rl2tib(os.date('%M'), os.date('%S'), twentyfour)<br />end<br />doPlayerSendTextMessage(cid, 22, &quot;The time is &quot;..time..&quot;.&quot;)<br />return 1<br />end<br /><br />function rl2tib(min, sec, twentyfour)<br />--zegarek - by Apitov (7.6)<br />suffix = ''<br />varh = (min*60+sec)/150<br />tibH = math.floor(varh) -- hour!<br />tibM = math.floor(60*(varh-tibH)) -- minute!<br /><br />if (twentyfour == false) then<br />if (tonumber(tibH) &gt; 11) then<br />tibH = tonumber(tibH) - 12<br />suffix = ' pm'<br />else<br />suffix = ' am'<br />end<br />if (tibH == 0) then<br />tibH = 12<br />end<br />end<br />if (tibH &lt; 10) then<br />tibH = '0'..tibH<br />end<br />if (tibM &lt; 10) then<br />tibM = '0'..tibM<br />end<br />return (tibH..':'..tibM..suffix)<br />end</div></blockquote>Zapisujemy jako: watch.lua<br /><br />Przechodzimy w data/actions/actions.xml<br /><br />Dodajemy linijkę:<br /><blockquote><div class="incqbox">&lt;action itemid=&quot;2036&quot; script=&quot;watch.lua&quot; /&gt;</div></blockquote>]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>Proca</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=41#p41</link>
<guid isPermaLink="false">41@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[W sumie na każdym silniku powinna działać<br /><br />Proca jest do¶ć silna wiec proponuje ja dać od 200-300lvla+<br /><br />Do weapons.xml dodajemy<br /><br /><blockquote><div class="incqbox">&lt;distance id=&quot;5907&quot; range=&quot;6&quot; enabled=&quot;1&quot; exhaustion=&quot;0&quot; ammo=&quot;hand&quot; script=&quot;proca.lua&quot;&gt;&lt;vocation id=&quot;3&quot;/&gt;&lt;vocation id=&quot;7&quot;/&gt;&lt;/distance&gt;</div></blockquote>Przechodzimy do weapons\scripts tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">local combat = createCombatObject()<br />setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)<br />setCombatParam(combat, COMBAT_PARAM_EFFECT, 4)<br />setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_LARGEROCK)<br />setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -100, -0.9, -200)<br /><br />local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )<br />setCombatArea(combat, area)<br /><br />function onUseWeapon(cid, var)<br />&nbsp; &nbsp; return doCombat(cid, combat, var)<br />end</div></blockquote>Zapisujemy jako proca.lua]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>Anty Przeklinanie</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=40#p40</link>
<guid isPermaLink="false">40@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzimy w data\talkactions\scripts i tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">-- Zakaz przeklinania v.1.0 Michal --<br />function onSay(cid, words, param)<br />local salakarna = {<span style="color: #800000">x=1000, y=1000, z=0</span>}<br />local warnings = getPlayerStorageValue(cid, 9999)<br />if words == &quot;!opusc&quot; then<br />if warnings &gt; 3 then<br />local odsiadka = getPlayerStorageValue(cid, 9998) + 3600<br />if(os.time() &gt;= odsiadka) then<br />setPlayerStorageValue(cid, 9998, os.time())<br />doTeleportThing(cid, getPlayerMasterPos(cid))<br />setPlayerStorageValue(cid, 9999, 0)<br />else<br />doPlayerSendTextMessage(cid, 19, &quot;Gdzie...Nie mozezs jeszcze opuscic.&quot;)<br />end<br />else<br />doPlayerSendTextMessage(cid, 19, &quot;Nie jestes,juz w sali karnej nieradze przeklinac bo znowu bedziesz siedzial 24h.&quot;)<br />end<br />else<br />if warnings &lt; 3 then<br />local warnstatus = (warnings+1)<br />doPlayerSendTextMessage(cid, 19, &quot;Ostrzezen &quot;..warnstatus..&quot;.&quot;)<br />setPlayerStorageValue(cid, 9999, warnings+1)<br />elseif warnings == 3 then<br />doPlayerSendTextMessage(cid, 19, &quot;To twoje,ostatnie ostrzezenie,inaczej ban.&quot;)<br />doTeleportThing(cid, salakarna)<br />local warning = getPlayerStorageValue(cid, 9998)<br />setPlayerStorageValue(cid, 9998, warning+3600)<br />end<br />end<br />end</div></blockquote>Zapisujemy jako cenzura.lua<br /><br /><span style="color: #800000">Kolor</span> =&nbsp; pozycja sali w ktorej odbywamy karę.<br /><br />Nastepnie idziemy do data\talkactions\talkactions.xml i wklejamy :<br /><br /><blockquote><div class="incqbox">&lt;talkaction words=&quot;!opusc&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Huj ci za to pizdo szmato.&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;twoj stary&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Twoj Stary&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;kurwo&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;kurwo,dopierdolona&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;suka&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;chuju&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;jebana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;wyruchana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;pierdol&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;pierdolona&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;wyruchany&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;suko&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;******&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;szmato&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;fuck&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;bitch&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;ass&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Kurwo&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;*****&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Suka&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Chuju&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Jebana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Wyruchana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Pierdol&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Pierdolona&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Wyruchany&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Suko&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;******&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Szmato&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Fuck&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Bitch&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Ass&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Wypierdalaj&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;wypierdalaj&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Dziwka&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;dziwka&quot; script=&quot;cenzura.lua&quot; /&gt;</div></blockquote>Teraz wam powiem jak się dodaje cenzurę.<br /><br />Poprostu włazimy w talkactions.xml<br />i dajemy t± linijkę<br /><br /><blockquote><div class="incqbox">&lt;talkaction words=&quot;<span style="color: red">cenzura</span>&quot; script=&quot;<span style="color: #00FF00">cenzura</span>.lua&quot; /&gt;</div></blockquote><span style="color: red">Tym kolorem piszę,sie jakie słowo wywoławcze ma być aby napisało ci że przeklinasz.<br /></span><br /><br /><span style="color: #FF00FF">Tym kolorem piszę,Plik z t± cenzur± czyli,cenzura.lua</span><br /><br /><br />UWAGA!!! Ten Skrypty jest pod tibie 8,1 ale może zadziałać na 7.6]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>Anty Przeklinanie</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=39#p39</link>
<guid isPermaLink="false">39@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzimy w data\talkactions\scripts i tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">-- Zakaz przeklinania v.1.0 Michal --<br />function onSay(cid, words, param)<br />local salakarna = {<span style="color: #800000">x=1000, y=1000, z=0</span>}<br />local warnings = getPlayerStorageValue(cid, 9999)<br />if words == &quot;!opusc&quot; then<br />if warnings &gt; 3 then<br />local odsiadka = getPlayerStorageValue(cid, 9998) + 3600<br />if(os.time() &gt;= odsiadka) then<br />setPlayerStorageValue(cid, 9998, os.time())<br />doTeleportThing(cid, getPlayerMasterPos(cid))<br />setPlayerStorageValue(cid, 9999, 0)<br />else<br />doPlayerSendTextMessage(cid, 19, &quot;Gdzie...Nie mozezs jeszcze opuscic.&quot;)<br />end<br />else<br />doPlayerSendTextMessage(cid, 19, &quot;Nie jestes,juz w sali karnej nieradze przeklinac bo znowu bedziesz siedzial 24h.&quot;)<br />end<br />else<br />if warnings &lt; 3 then<br />local warnstatus = (warnings+1)<br />doPlayerSendTextMessage(cid, 19, &quot;Ostrzezen &quot;..warnstatus..&quot;.&quot;)<br />setPlayerStorageValue(cid, 9999, warnings+1)<br />elseif warnings == 3 then<br />doPlayerSendTextMessage(cid, 19, &quot;To twoje,ostatnie ostrzezenie,inaczej ban.&quot;)<br />doTeleportThing(cid, salakarna)<br />local warning = getPlayerStorageValue(cid, 9998)<br />setPlayerStorageValue(cid, 9998, warning+3600)<br />end<br />end<br />end</div></blockquote>Zapisujemy jako cenzura.lua<br /><br /><span style="color: #800000">Kolor</span> =&nbsp; pozycja sali w ktorej odbywamy karę.<br /><br />Nastepnie idziemy do data\talkactions\talkactions.xml i wklejamy :<br /><br /><blockquote><div class="incqbox">&lt;talkaction words=&quot;!opusc&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Huj ci za to pizdo szmato.&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;twoj stary&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Twoj Stary&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;kurwo&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;kurwo,dopierdolona&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;suka&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;chuju&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;jebana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;wyruchana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;pierdol&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;pierdolona&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;wyruchany&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;suko&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;******&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;szmato&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;fuck&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;bitch&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;ass&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Kurwo&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;*****&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Suka&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Chuju&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;cenzura&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Jebana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Wyruchana&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Pierdol&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Pierdolona&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Wyruchany&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Suko&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;******&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Szmato&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Fuck&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Bitch&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Ass&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Wypierdalaj&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;wypierdalaj&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;Dziwka&quot; script=&quot;cenzura.lua&quot; /&gt;<br />&lt;talkaction words=&quot;dziwka&quot; script=&quot;cenzura.lua&quot; /&gt;</div></blockquote>Teraz wam powiem jak się dodaje cenzurę.<br /><br />Poprostu włazimy w talkactions.xml<br />i dajemy t± linijkę<br /><br /><blockquote><div class="incqbox">&lt;talkaction words=&quot;<span style="color: red">cenzura</span>&quot; script=&quot;<span style="color: #00FF00">cenzura</span>.lua&quot; /&gt;</div></blockquote><span style="color: red">Tym kolorem piszę,sie jakie słowo wywoławcze ma być aby napisało ci że przeklinasz.<br /></span><br /><br /><span style="color: #FF00FF">Tym kolorem piszę,Plik z t± cenzur± czyli,cenzura.lua</span>]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title>ManaUh</title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=38#p38</link>
<guid isPermaLink="false">38@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[W data/spells/scripts tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">local combat = createCombatObject()<br />setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)<br />setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)<br />setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)<br />setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)<br />function onCastSpell(cid, var)<br />&nbsp; &nbsp; doPlayerAddMana(cid, <span style="color: #00FF00">x</span>)<br />&nbsp; &nbsp; doPlayerAddHealth(cid,<span style="color: red">y</span>)<br />&nbsp; &nbsp; return doCombat(cid, combat, var)<br />end</div></blockquote>Zapisujemy jako: manaa.lua<br /><br /><span style="color: #00FF00">x</span> - tu wpisujemy ile many ma nam dodawać<br />runa po użyciu<br /><span style="color: red">y </span>- tu wpisujemy ile życia ma nam dawać runa po użyciu<br /><br />W data/spells.xml dodajemy:<br /><br /><blockquote><div class="incqbox">&lt;rune name=&quot;ManaUh&quot; id=&quot;2281&quot; charges=&quot;10&quot; lvl=&quot;150&quot; needtarget=&quot;1&quot; maglv=&quot;15&quot; exhaustion=&quot;1&quot; enabled=&quot;1&quot; allowfaruse=&quot;1&quot; script=&quot;manaa.lua&quot;&gt;&lt;vocation id=&quot;3&quot;/&gt;&lt;vocation id=&quot;7&quot;/&gt;&lt;/rune&gt;</div></blockquote>Oczywiscie vocation id mozemy sobie dowolnie zmienic, jak i lvl i mlvl runy itd...<br />Jeżeli chcemy dodac, aby dana profesja mogla robic t± runke to wpisujemy pod conjure w data/spells.xml :<br /><br /><blockquote><div class="incqbox">&lt;conjure name=&quot;ManaUh&quot; words=&quot;adura mana&quot; reagentId=&quot;2260&quot; conjureId=&quot;2281&quot; aggressive=&quot;0&quot; conjureCount=&quot;10&quot; maglv=&quot;15&quot; mana=&quot;2000&quot; soul=&quot;0&quot; prem=&quot;0&quot; enabled=&quot;1&quot; function=&quot;conjureItem&quot;&gt;&lt;vocation id=&quot;7&quot;/&gt;&lt;/conjure&gt;</div></blockquote>]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
<item>
<title></title>
<link>http://www.tibiaskrypty.pun.pl/viewtopic.php?pid=37#p37</link>
<guid isPermaLink="false">37@http://www.tibiaskrypty.pun.pl</guid>
<description><![CDATA[Wchodzimy w data\actions\scripts , tworzymy notatnik , a w nim wpisujemy:<br /><br /><blockquote><div class="incqbox">function onUse(cid, item, frompos, item2, topos)<br /><br />if item.itemid == <span style="color: #99CC00">2272 </span>then<br /><br />local playerpos = getCreaturePosition(cid)<br /><br />doRemoveItem(item.uid,2272)<br />doPlayerSetVocation(cid, getPlayerVocation(cid)+<span style="color: red">4</span>)<br />doSendMagicEffect(playerpos, 12)<br />doPlayerSendTextMessage(cid,22,&quot;Wlasnie otrzymales promocje!!!&quot;)<br />end<br />end</div></blockquote>Zapisujemy jako: vocation rune.lua<br /><br />I w data\actions do actions.xml dodajemy:<br /><br /><blockquote><div class="incqbox">&lt;action itemid=&quot;<span style="color: #00FF00">2272</span>&quot; script=&quot;vocation rune.lua&quot; /&gt;</div></blockquote><span style="color: #00FF00">Zielony </span>= Id runki<br /><br /><span style="color: red">czerwony</span>-o ile id profesji ma zmienić się nasza profesja podczas użycia.]]></description>
<pubDate>Czwartek 25 GrudzieĹ„</pubDate>
<comments>Czwartek 25 GrudzieĹ„</comments>
</item>
</channel>
</rss>
