<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0">
<channel>
<title>Pomoc OTS</title>
<link>http://www.pomocots.pun.pl</link>
<description> Pomoc OTS</description>
<language>pl</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>New monster[Achmed martwy terrorysta]</title>
<link>http://www.pomocots.pun.pl/viewtopic.php?pid=8#p8</link>
<guid isPermaLink="false">8@http://www.pomocots.pun.pl</guid>
<description><![CDATA[Dobry Monster :)]]></description>
<pubDate>Âroda 27 Luty</pubDate>
<comments>Âroda 27 Luty</comments>
</item>
<item>
<title>New monster[Achmed martwy terrorysta]</title>
<link>http://www.pomocots.pun.pl/viewtopic.php?pid=7#p7</link>
<guid isPermaLink="false">7@http://www.pomocots.pun.pl</guid>
<description><![CDATA[Siemka, mam do zaprezentowania wam potwora robionego przeze mnie, przydaje się na ots z dużym exp, ponieważ jest bardzo silny ;] Robiony na ots'a 7.92, nie wiem czy będzie działał w innych ;]<br /><br />To tak, w data\monster robimy plik o nazwie Achmed martwy terrorysta.xml i wklejamy tam to:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;monster name=&quot;Achmed martwy terrorysta&quot; level=&quot;250&quot; maglevel=&quot;300&quot; experience=&quot;130000&quot; pushable=&quot;0&quot; armor=&quot;15&quot; defense=&quot;20&quot; canpushitems=&quot;0&quot; staticattack=&quot;50&quot; speed=&quot;1900&quot; summonable=&quot;1&quot; convinceable=&quot;1&quot; illusionable=&quot;1&quot; manacost=&quot;300&quot;&gt;
    &lt;health now=&quot;220000&quot; max=&quot;220000&quot;/&gt;
    &lt;look type=&quot;33&quot; head=&quot;20&quot; body=&quot;30&quot; legs=&quot;40&quot; feet=&quot;50&quot; corpse=&quot;2843&quot; race=&quot;3&quot;/&gt;
    &lt;combat targetdistance=&quot;1&quot; runonhealth=&quot;0&quot;/&gt;
    &lt;targetchange speed=&quot;2000&quot; chance=&quot;5&quot;/&gt;
    &lt;targetchange interval=&quot;60000&quot; chance=&quot;0&quot;/&gt;
    &lt;strategy attack=&quot;65&quot; defense=&quot;5&quot;/&gt;
    &lt;flags&gt;
      &lt;flag summonable=&quot;0&quot;/&gt;
      &lt;flag attackable=&quot;1&quot;/&gt;
      &lt;flag hostile=&quot;1&quot;/&gt;
      &lt;flag illusionable=&quot;0&quot;/&gt;
      &lt;flag convinceable=&quot;0&quot;/&gt;
      &lt;flag pushable=&quot;0&quot;/&gt;
      &lt;flag canpushitems=&quot;1&quot;/&gt;
      &lt;flag canpushcreatures=&quot;1&quot;/&gt;
      &lt;flag targetdistance=&quot;1&quot;/&gt;
      &lt;flag staticattack=&quot;90&quot;/&gt;
      &lt;flag runonhealth=&quot;3000&quot;/&gt;
    &lt;/flags&gt;
    &lt;attacks&gt;
      &lt;attack name=&quot;melee&quot; interval=&quot;2000&quot; skill=&quot;300&quot; attack=&quot;400&quot; poison=&quot;500&quot;/&gt;
      &lt;attack name=&quot;lifedrain&quot; interval=&quot;1000&quot; chance=&quot;13&quot; radius=&quot;8&quot; target=&quot;0&quot; min=&quot;-400&quot; max=&quot;-600&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;mortarea&quot;/&gt;
      &lt;/attack&gt;
      &lt;attack name=&quot;speed&quot; interval=&quot;1000&quot; chance=&quot;12&quot; radius=&quot;6&quot; target=&quot;0&quot; speedchange=&quot;-850&quot; duration=&quot;60000&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;poison&quot;/&gt;
      &lt;/attack&gt;
      &lt;attack name=&quot;strength&quot; interval=&quot;1000&quot; chance=&quot;12&quot; radius=&quot;3&quot; target=&quot;0&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;blackspark&quot;/&gt;
      &lt;/attack&gt;
      &lt;attack name=&quot;fire&quot; interval=&quot;1000&quot; chance=&quot;34&quot; range=&quot;7&quot; radius=&quot;7&quot; target=&quot;1&quot; min=&quot;-500&quot; max=&quot;-1500&quot;&gt;
        &lt;attribute key=&quot;shootEffect&quot; value=&quot;fire&quot;/&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;firearea&quot;/&gt;
      &lt;/attack&gt;
      &lt;attack name=&quot;manadrain&quot; interval=&quot;1000&quot; chance=&quot;7&quot; length=&quot;0&quot; spread=&quot;3&quot; min=&quot;-1000&quot; max=&quot;-1600&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;energyarea&quot;/&gt;
      &lt;/attack&gt;
      &lt;attack name=&quot;physical&quot; interval=&quot;1000&quot; chance=&quot;7&quot; length=&quot;8&quot; spread=&quot;3&quot; min=&quot;-500&quot; max=&quot;-1200&quot;/&gt;
      &lt;attack name=&quot;energy&quot; interval=&quot;1000&quot; chance=&quot;9&quot; length=&quot;8&quot; spread=&quot;0&quot; min=&quot;-1000&quot; max=&quot;-2000&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;redshimmer&quot;/&gt;
      &lt;/attack&gt;
      &lt;attack name=&quot;poisoncondition&quot; interval=&quot;1000&quot; chance=&quot;10&quot; length=&quot;0&quot; spread=&quot;0&quot; min=&quot;-1500&quot; max=&quot;-2000&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;greenspark&quot;/&gt;
      &lt;/attack&gt;
      &lt;attack name=&quot;lifedrain&quot; interval=&quot;1000&quot; chance=&quot;15&quot; length=&quot;8&quot; spread=&quot;0&quot; min=&quot;-1000&quot; max=&quot;-1500&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;redshimmer&quot;/&gt;
      &lt;/attack&gt;
    &lt;/attacks&gt;
    &lt;defenses armor=&quot;188&quot; defense=&quot;145&quot;&gt;
      &lt;defense name=&quot;healing&quot; interval=&quot;1000&quot; chance=&quot;15&quot; min=&quot;1000&quot; max=&quot;3000&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;blueshimmer&quot;/&gt;
      &lt;/defense&gt;
      &lt;defense name=&quot;speed&quot; interval=&quot;2000&quot; chance=&quot;8&quot; speedchange=&quot;360&quot; duration=&quot;6000&quot;&gt;
        &lt;attribute key=&quot;areaEffect&quot; value=&quot;redshimmer&quot;/&gt;
      &lt;/defense&gt;
    &lt;/defenses&gt;
    &lt;immunities&gt;
      &lt;immunity physical=&quot;0&quot;/&gt;
      &lt;immunity energy=&quot;1&quot;/&gt;
      &lt;immunity fire=&quot;1&quot;/&gt;
      &lt;immunity poison=&quot;1&quot;/&gt;
      &lt;immunity lifedrain=&quot;1&quot;/&gt;
      &lt;immunity paralyze=&quot;1&quot;/&gt;
      &lt;immunity outfit=&quot;1&quot;/&gt;
      &lt;immunity drunk=&quot;1&quot;/&gt;
      &lt;immunity invisible=&quot;1&quot;/&gt;
    &lt;/immunities&gt;
    &lt;voices interval=&quot;5000&quot; chance=&quot;10&quot;&gt;
      &lt;voice sentence=&quot;SON OF A BITCH! STOP TOUCHING MEEEE!&quot; yell=&quot;1&quot;/&gt;
      &lt;voice sentence=&quot;I'M ACHMED, THE DEAD TERRORIST&quot; yell=&quot;1&quot;/&gt;
      &lt;voice sentence=&quot;GOOD EVENING... INFIDEL...&quot; yell=&quot;1&quot;/&gt;
      &lt;voice sentence=&quot;TY RASISTOWSKI PADALCU! TERAZ BEDZIESZ WALCZYL Z MAJKELEM DZEKSONEM&quot; yell=&quot;1&quot;/&gt;
      &lt;voice sentence=&quot;KNOCK KNOCK. WHO'S THERE? ME, I'LL KILL YOU!&quot; yell=&quot;1&quot;/&gt;
      &lt;voice sentence=&quot;SILENCE! I'LL KILL YOU!&quot; yell=&quot;1&quot;/&gt;
    &lt;/voices&gt;
&lt;loot&gt;
&lt;item id=&quot;2148&quot; chance=&quot;100000&quot; countmax=&quot;100&quot; /&gt; -- gold coin
&lt;item id=&quot;2148&quot; chance=&quot;50000&quot; countmax=&quot;90&quot; /&gt; -- gold coin
&lt;item id=&quot;2143&quot; chance=&quot;5000&quot; countmax=&quot;5&quot; /&gt; -- white pearl
&lt;item id=&quot;2186&quot; chance=&quot;1538&quot; /&gt; -- moonlight rod
&lt;item id=&quot;2396&quot; chance=&quot;1429&quot; /&gt; -- ice rapier
&lt;item id=&quot;2462&quot; chance=&quot;2000&quot; /&gt; -- devil helmet
&lt;item id=&quot;2214&quot; chance=&quot;4000&quot; /&gt; -- ring of healing
&lt;item id=&quot;1987&quot; chance=&quot;100000&quot; &gt; -- bag
&lt;inside&gt;
    &lt;item id=&quot;2387&quot; chance=&quot;10000&quot; /&gt; -- double axe
    &lt;item id=&quot;2393&quot; chance=&quot;800&quot; /&gt; -- giant sword
    &lt;item id=&quot;2195&quot; chance=&quot;1333&quot; /&gt; -- boots of haste
    &lt;item id=&quot;2421&quot; chance=&quot;909&quot; /&gt; -- thunder hammer
    &lt;item id=&quot;2192&quot; chance=&quot;4000&quot; /&gt; -- crystal ball
                    &lt;item id=&quot;2520&quot; chance=&quot;2000&quot; /&gt; -- demon shield
                    &lt;item id=&quot;2390&quot; chance=&quot;1000&quot; /&gt; -- magic longsword
                    &lt;item id=&quot;2470&quot; chance=&quot;1000&quot; /&gt; -- golden legs
                    &lt;item id=&quot;2472&quot; chance=&quot;1000&quot; /&gt; -- magic plate armor
                    &lt;item id=&quot;2523&quot; chance=&quot;450&quot; /&gt; -- blessed shield
                    &lt;item id=&quot;2471&quot; chance=&quot;850&quot; /&gt; -- golden helmet
                    &lt;item id=&quot;6553&quot; chance=&quot;900&quot; /&gt; -- ruthless axe
&lt;/inside&gt;
&lt;/item&gt;
&lt;/loot&gt;
    &lt;/monster&gt;</pre></div></div></div>Potem do monsters.xml dodajemy linijke:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>&lt;monster name=&quot;Achmed martwy terrorysta&quot; file=&quot;Achmed martwy terrorysta.xml&quot; /&gt;</pre></div></div></div>]]></description>
<pubDate>Âroda 27 Luty</pubDate>
<comments>Âroda 27 Luty</comments>
</item>
<item>
<title>NPC Dajacy Ogloszenia</title>
<link>http://www.pomocots.pun.pl/viewtopic.php?pid=6#p6</link>
<guid isPermaLink="false">6@http://www.pomocots.pun.pl</guid>
<description><![CDATA[W data/npc/scripts robimy takie cos<br />Ogloszenie.lua:<br /><br />a w nim wklejamy to :<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>lastclean = 0
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)

end


function onCreatureTurn(creature)

end


function onCreatureSay(cid, type, msg)

end

function onCreatureChangeOutfit(creature)

end


function onThink()
if lastclean == 0 then
lastclean = os.time()
end
if os.difftime(os.time(), lastclean) &gt;= ([color=red]4[/color*1*60) then
selfSay('[color=green]'Tekst[/color')
')
lastclean = os.time()
end
end</pre></div></div></div>Na czerwono zaznaczylem co ile minut ma sie wyswietlac tekst. Na zielono ustaw sobie jaki chcesz miec tekst&nbsp; Ja polecam ogloszenia przy pomocy: /B, /bc lub /white; /green w zaleznosci czy masz owe.<br /><br />No i oczywiscie NPC<br /><br />Robimy Postman.xml w data/npc a w nim wklejamy to<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 12em"><pre>&lt;?xml version=&quot;1.0&quot;?&gt;

&lt;npc name=&quot;Postman&quot; script=&quot;data/npc/scripts/ogloszenie.lua&quot; access=&quot;5&quot; lookdir=&quot;3&quot; autowalk=&quot;1&quot;&gt;
    &lt;health now=&quot;1&quot; max=&quot;1&quot;/&gt;
    &lt;look type=&quot;128&quot; head=&quot;20&quot; body=&quot;100&quot; legs=&quot;50&quot; feet=&quot;99&quot;/&gt;
&lt;/npc&gt;</pre></div></div></div>]]></description>
<pubDate>Âroda 27 Luty</pubDate>
<comments>Âroda 27 Luty</comments>
</item>
<item>
<title>[8.0] Manarune + NPC</title>
<link>http://www.pomocots.pun.pl/viewtopic.php?pid=5#p5</link>
<guid isPermaLink="false">5@http://www.pomocots.pun.pl</guid>
<description><![CDATA[W data/actions/scripts/ tworzymy manarune.lua<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>function onUse(cid, item, frompos, item2, topos)

local MagicLevelToUse = [color=#FFFF00]2[/color]

local MaxManaToAdd = [color=red]200[/color]          
local MinManaToAdd = [color=#00FF00]100[/color]

local mLvl = getPlayerMagLevel(cid)
local ManaToAdd = math.random(MinManaToAdd, MaxManaToAdd)

if item2.itemid == 1 and mLvl &gt;= MagicLevelToUse then
     if item.type &gt; 1 then
          doSendMagicEffect(frompos,1)
          doPlayerAddMana(cid,ManaToAdd)
          doPlayerSay(cid,&quot;Ahhh...&quot;,17)  --doCreatureSay()--
          doChangeTypeItem(item.uid,item.type-1)
     else
          doRemoveItem(item.uid,1)
     end
elseif item2.itemid &gt;= 2 then
       doPlayerSendCancel(cid,&quot;You can only use this rune on you/on other players.&quot;)
       doSendMAgicEffect(frompos,2)
elseif item2.itemid == 1 and mLvl &lt; MagicLevelToUse then
          doSendMagicEffect(frompos,2)
          doPlayerSendCancel(cid,&quot;You don't have enough magic level to use this rune.&quot;)
end
  return true
end</pre></div></div></div><span style="color: #FFFF00">2 - magic level do użycia runki</span><br /><span style="color: red">200 - max mana dodawana</span><br /><span style="color: #00FF00">100 - min mana dodawana</span><br />Ahhh... - text jaki wypowiada gracz<br /><br />Więcej - nie zmieniac! xD<br /><br />data/actions/actions.xml<br /><br />dodajemy linijkę:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>&lt;action itemid=&quot;[color=blue]2270[/color]&quot; script=&quot;manarune.lua&quot;  /&gt;</pre></div></div></div><span style="color: blue">ID (wygląd) runy. Można zastosowac każde, dosłownie każde! Może to byc lód truskawkowy czy nawet miś z annihilatora (Spis ID mamy w pliku items.xml (data/items/))</span><br /><br />No i jeszcze obiecany NPC.<br /><br />W data/npc/scripts/ znajdujemy runes.lua<br /><br />tam pod<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 15em"><pre>elseif msgcontains(msg, 'explosion') then
            buy(cid,2313,5,90)

        elseif msgcontains(msg, 'sd') then
            buy(cid,2268,5,100)

        elseif msgcontains(msg, 'blank') then
            buy(cid,2260,1,5)</pre></div></div></div>doklejamy:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>elseif msgcontains(msg, '[color=#FFFF00]manarune[/color]') then
            buy(cid,[color=#FFCC00]2270[/color],[color=#00FF00]5[/color],[color=red]55[/color])</pre></div></div></div><span style="color: #FFFF00">Manarune - co trzeba powiedziec, zeby kupic runke</span><br /><span style="color: #FFCC00">2270 - ID runki - jak zmienialiscie w actions, tu też musicie</span><br /><span style="color: #00FF00">5 - ilośc użyc w runce</span><br /><span style="color: red">55 - cena za jedno użycie (chyba - jeśli nie, to cena za tyle użyc, ile jest ustawione)</span>]]></description>
<pubDate>Âroda 27 Luty</pubDate>
<comments>Âroda 27 Luty</comments>
</item>
<item>
<title></title>
<link>http://www.pomocots.pun.pl/viewtopic.php?pid=4#p4</link>
<guid isPermaLink="false">4@http://www.pomocots.pun.pl</guid>
<description><![CDATA[<span style="color: red"><strong>Ogłaszamy nowy nabór do grupy współpracowników tibia.pl - &quot;support tibia.pl&quot;!</strong></span><br /><br /><br /><span style="color: blue">Na czym polega praca supporterów?</span><br /><br />Głównie na zbieraniu i aktualizowaniu danych na temat potworów, questów, przedmiotów i innych ważnych danych do zamieszczenia na stronie... Poszukujemy pracowitych, aktywnych i chętnych do tworzenia serwisu graczy. Jeżeli uważasz, że jesteś odpowiednią osobą - zgłoś się! <br />Dla najbardziej pracowitych będą czekały nagrody w postaci PACCów.<br /><br /><span style="color: blue">Satysfakcja gwarantowana!</span><br /><br />Jednak support, to nie tylko praca. To przede wszystkim satysfakcja. Będziesz pomagał w Tworzeniu Największej Polskiej Strony Fanowskiej! Codziennie ponad 100 000 ludzi analizuje informacje, nad którymi pracuje support. Czy to nie piękne mieć swój udział w tak wielkim przedsięwzięciu? <br />I jeszcze coś... Support, to najkrótsza droga do zostania moderatorem tibia.pl w przyszłości.&nbsp; <br /><br />To nie jest konkurs, z którego zostanie wyłoniona ograniczona liczba zwycięzców. Wybierzemy tyle osób, ile uznamy za stosowne.<br /><br />Zgłoszenia można składać tylko w <a href="http://www.forum.tibia.pl/showthread.php?t=167125" target="_blank" rel="nofollow">http://www.forum.tibia.pl/showthread.php?t=167125</a>]]></description>
<pubDate>Âroda 27 Luty</pubDate>
<comments>Âroda 27 Luty</comments>
</item>
<item>
<title>[Podstawy OTS]</title>
<link>http://www.pomocots.pun.pl/viewtopic.php?pid=3#p3</link>
<guid isPermaLink="false">3@http://www.pomocots.pun.pl</guid>
<description><![CDATA[Witam. Wiem o tym, że istnieje temat jak stworzyć OTS, ale postanowiłem napisać poradnik <br />gdzie będzie opisanych więcej informacji. Jakich dowiecie się w swoim czasie <br /><br />No więc powinniśmy zacząć od najważniejszej rzeczy... czyli śćiągnięciu OTS <br /><br />Najlepiej pobierzcie YurOTS_0.9.4d Linka chyba juz sami potraficie znalezc no nie <br /><br />Następnie rozpakowywujemy plik i zaczynamy od config.lua, którego otwieramy za pomocą notatnika. <br />Właściwości-----&gt; Otwórz za pomocą------&gt; Notatnik <br /><br />Tutaj już wam pokażę co powinniście lub możecie uzupełnić Miejsca oznaczone gwiazdką oznaczają <br />ważniejsze informacje <br /><br />Konfiguracja Config.lua <br />Cytat: <br />---------------------------- OTServ configuration ------------------------------ <br /><br />-- datadir <br />datadir = &quot;data/&quot; <br /><br />-- sets what map to load <br />map = &quot;data/world/test.otbm&quot; &lt;------ Ścieżka do mapy. Przy zmienieniu jej na mapę o nazwie ,,moja&quot; wystarczy zmienić ,,test&quot; na ,,moja&quot;. <br /><br />-- OTBM for binary, SQL for SQL map, XML for OTX maps <br />mapkind = &quot;OTBM&quot; &lt;------ To zostawiamy. <br /><br />-- SQL for acc/player info from SQL, XML for acc/player info from XML <br />sourcedata = &quot;XML&quot; &lt;------ To zostawiamy. <br /><br />-- the message the player gets when he logs in <br />loginmsg = &quot;Witam na PimpekOTS&quot; &lt;------ Napis, który pojawia się po zalogowaniu do gry na kanale Default. <br /><br />-- the port otserv listens on * <br />port = &quot;7171&quot; &lt;------ Port Servera. Najlepiej zostawić taki jaki jest. <br /><br />-- name of our server <br />servername = &quot;PimpekOTS&quot; &lt;------ Nazwa servera. <br /><br />-- name of the owner of our server <br />ownername = &quot;GM Pimpus&quot; &lt;------ Posiadacz servera. <br /><br />-- email of the owner of our server <br />owneremail = &quot;&quot; &lt;------ E-mail posiadacza servera. <br /><br />-- the url for more server info <br />url = &quot;&quot; &lt;------ Strona servera. Nie jest konieczna <br /><br />-- the location of the server <br />location = &quot;Poland&quot; &lt;------ To raczej zostawiamy <br /><br />-- the ip the server should redirect too * <br />ip = &quot;86.63.99.152&quot; &lt;------ Nasze IP. Aby je sprawdzić wchodzimy na <a href="http://www.whatismyip.org/" target="_blank" rel="nofollow">http://www.whatismyip.org/</a> <br /><br />-- The messagebox you sometimes get before you choose characters * <br />motd = &quot;Witamy na PimpekOTS &quot; &lt;------ Tekst, który pojawia się przed listą postaci. <br />motdnum=&quot;0&quot; <br /><br />-- use md5 passwords for accounts, yes/no <br />md5passwords = &quot;no&quot; <br /><br />-- world type. options: pvp, no-pvp, pvp-enforced * <br />worldtype = &quot;pvp&quot; &lt;------ Typ świata. <br /><br />Krótki opis <br />,,PvP- Można się zabijać&quot; <br />,,PvP-Enforced- Za zabicie gracza dostaje się doświadczenie&quot; <br />,,No-PvP- Nie można się zabijać. <br /><br />-- max number of players allowed * <br />maxplayers = &quot;40&quot; &lt;------ Maksymalna ilość osób na serverze. <br /><br />-- exhausted time in ms (1000 = 1sec) * <br />exhausted = 1000 &lt;------ Jak szybko można strzelać z runek. Poniżej 1000 można strzelać z macro =P <br /><br />-- exhaustion time for healing spells (1000 = 1sec) <br />exhaustedheal = 1000 &lt;------ Jak szybko można się leczyć czarami spontaniczymi (exura, exura gran, exura vita) <br /><br />-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec) <br />exhaustedadd = 300 <br /><br />-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec) <br />pzlocked = 10*1000 <br /><br />-- allow multiple logins of the same char <br />allowclones = 0 &lt;------ Ile osób może grać 1 charem. Przydatne do PvP <br /><br />-- vocation names <br />vocations = {&quot;a sorcerer&quot;, &quot;a druid&quot;, &quot;a paladin&quot;, &quot;a knight&quot;} &lt;------ Najlepiej zostawić <br />promoted_vocations = {&quot;a master sorcerer&quot;, &quot;an elder druid&quot;, &quot;a royal paladin&quot;, &quot;an elite knight&quot;} &lt;------ Też najlepiej zostawić <br /><br /><br />--- SQL part <br />sql_host = &quot;localhost&quot; <br />sql_user = &quot;root&quot; <br />sql_pass = &quot;&quot; <br />sql_db = &quot;otserv&quot; <br /><br /><br />--- SQL MAP part <br />sqlmap = &quot;test_map&quot; <br />map_host = &quot;localhost&quot; <br />map_user = &quot;root&quot; <br />map_pass = &quot;&quot; <br />map_db = &quot;&quot; <br /><br />------------------------- YurOTS basic configuration --------------------------- <br /><br />-- name of your world (seen on the character list when logging in) <br />worldname = &quot;Siwek OTS&quot; &lt;------ Nazwa Servera <br /><br />-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour) <br />autosave = 10 &lt;------ Co jaki czas ma następować zapis servera. <br /><br />-- do you want to enable cap system? (yes/no) <br />capsystem = &quot;no&quot; &lt;------ Czy ma być cap system?? <br /><br />-- do you want players to learn spells before they can use them? (yes/no) * <br />learnspells = &quot;no&quot; &lt;------ Czy trzeba uczyć się czarów?? <br /><br />-- do you want to give premium account to all players? (yes/no) <br />freepremmy = &quot;no&quot; &lt;------ Czy gracze mają zaczynać z Premium Account <br /><br />-- do you want premium players to wait in queue as others? (yes/no) <br />queuepremmy = &quot;yes&quot; <br /><br />-- how much % of {exp, mana, skill, eq, bp} do you lose when dying <br />diepercent = {&quot;7&quot;, &quot;7&quot;, &quot;7&quot;, &quot;7&quot;, &quot;100&quot;} &lt;------ Jakie są szanse na stratę doświadczenia, m lvl, skilli, eq lub backpacka <br /><br />-- how many summons player can have <br />maxsummons = 2 &lt;------ Maksymalna ilość summonów. <br /><br />-- do you want to give summons for all vocations? (yes/no) <br />summonsallvoc = &quot;no&quot; &lt;------ Czy wszystkie profesje mogą tworzyć summona (Knight biega z 2 ds'ami?) <br /><br />-- chance of losing a spear when shot (0 - none lost, 100000 - all lost) <br />spearlosechance = 50 &lt;------ Po ilu uderzeniach spear ma ulec zniszczeniu <br /><br />-- anti-afk - maximum idle time to kick player (1 = 1min) <br />kicktime = 15 &lt;------ Po ilu minutach po nie oddawaniu oznak życia gracz ma zostać wyrzucony z gry <br /><br />-- maximum number of items player can keep in his/her depot <br />maxdepotitems = 10000 &lt;------ Maksymalna ilość itemów w depo <br /><br />-- maximum number of items on a house tile (including those in containers) <br />maxhousetileitems = 20 &lt;------ Maksymalna ilość itemów na jednej kratce domku <br /><br />-- how much death entries are saved in players file (old are deleted) <br />maxdeathentries = 10 <br /><br />-- mana consumend by {snakebite, moonlight, volcanic, quagmire, tempest} rod <br />rodmana = {&quot;2&quot;, &quot;3&quot;, &quot;5&quot;, &quot;8&quot;, &quot;13&quot;} &lt;------ Najlepiej to i 3 poniższe zostawić. <br /><br />-- mana consumed by wand of {vortex, dragonbreath, plague, cosmic energy, inferno} <br />wandmana = {&quot;2&quot;, &quot;3&quot;, &quot;5&quot;, &quot;8&quot;, &quot;13&quot;} &lt;------ Najlepiej to i 2 poniższe zostawić. <br /><br />-- shooting range of {snakebite, moonlight, volcanic, quagmire, tempest} rod <br />rodrange = {&quot;4&quot;, &quot;3&quot;, &quot;2&quot;, &quot;1&quot;, &quot;3&quot;} &lt;------ Najlepiej to i 1 poniższy zostawić. <br /><br />-- shooting range of wand of {vortex, dragonbreath, plague, cosmic energy, inferno} <br />wandrange = {&quot;4&quot;, &quot;3&quot;, &quot;2&quot;, &quot;1&quot;, &quot;3&quot;} &lt;------ Najlepiej to zostawić. <br /><br />-- damage of burst arrows blast <br />-- default is from (1*lvl+5*mlvl)*0.24 to (1*lvl+5*mlvl)*0.55 &lt;------ Obrażenia od burst arrow <br />burstarrowdmg = {&quot;1.0&quot;, &quot;5.0&quot;, &quot;0.24&quot;, &quot;0.55&quot;} &lt;------ Obrażenia od burst arrow <br /><br />--------------------------- Multipliers and gains ------------------------------ <br /><br />-- experience multiplier (how much faster you got exp from monsters) * <br />expmul = 4 &lt;------ Mnożnik expa. <br /><br />-- experience multiplier for pvp-enforced (how much faster you got exp from players) <br />expmulpvp = 2 &lt;------ Przy PvP-Enforced po zabiciu gracza dostajemy jego doświadczenie. Tutaj jest mnożnik tego doświadczenia <br /><br />-- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight} <br />weaponmul = {&quot;5&quot;, &quot;5&quot;, &quot;5&quot;, &quot;5&quot;, &quot;40&quot;} &lt;------ Jak szybko mają rosnąć skille: fist, sword, axe i club figting <br />distmul = {&quot;1&quot;, &quot;1&quot;, &quot;1&quot;, &quot;40&quot;, &quot;1&quot;} &lt;------ Jak szyko ma rosnąć distance <br />shieldmul = {&quot;5&quot;, &quot;5&quot;, &quot;5&quot;, &quot;20&quot;, &quot;30&quot;} &lt;------ Jak szybko ma rosnąć shielding <br />manamul = {&quot;1&quot;, &quot;3&quot;, &quot;3&quot;, &quot;2&quot;, &quot;2&quot;} &lt;------ Jak szybko ma rosnąć magic level <br /><br />-- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight} <br />capgain = {&quot;10&quot;, &quot;10&quot;, &quot;10&quot;, &quot;20&quot;, &quot;25&quot;} &lt;------ Ile co level dana profesja ma otrzymywać capa <br />managain = {&quot;5&quot;, &quot;30&quot;, &quot;30&quot;, &quot;15&quot;, &quot;5&quot;} &lt;------ Ile co level dana profesja ma otrzymywać many <br />hpgain = {&quot;5&quot;, &quot;5&quot;, &quot;5&quot;, &quot;10&quot;, &quot;15&quot;} &lt;------ Ile co level dana profesja ma otrzymywać życia <br /><br />-- how much faster do you recovery life,mana after eating food (1 - rl tibia) <br />healthtickmul = 10 &lt;------ O ile razy szybciej ma rosnąć życie niż w rl tibii <br />manatickmul = 10 &lt;------ O ile razy szybciej ma rosnąć mana niż w rl tibii <br /><br />-------------------------------- Skull system ---------------------------------- <br /><br />-- how many unjustified kills to get a red skull <br />redunjust = 3 &lt;------ Po ilu zabiciach mamy otrzymać red skulla (tylko w PvP) <br /><br />-- how many unjustified kills to get banned <br />banunjust = 6 &lt;------ Po ilu zabiciach mamy otrzymać automatycznego bana <br /><br />-- how long do you have white skull after attacking player (1 = 1min) <br />hittime = 1 <br /><br />-- how long do you have white skull after killing player (1 = 1min) <br />whitetime = 15 &lt;------ Czas trwania white skulla <br /><br />-- how long do you have red skull (1 = 1min) <br />redtime = 6*60 &lt;------ Czas trwania red skulla. Im więcej osób tutaj zabijemy tym dłużej mamy. Po zabiciu 3 osób czekamy 3h, po 4 graczach 4h itd. <br /><br />-- how long do you have to wait to lose 1 unjustified kill (1 = 1min) <br />fragtime = 12*60 <br /><br />------------------------------ GM access rights -------------------------------- To już zostawimy <br /><br />-- access to walk into houses and open house doors <br />accesshouse = 3 <br /><br />-- access to login without waiting in the queue or when server is closed <br />accessenter = 3 <br /><br />-- access to ignore damage, exhaustion, cap limit and be ignored by monsters <br />accessprotect = 3 <br /><br />-- access to broadcast messages and talk in colors (#c blabla - in public channels) <br />accesstalk = 3 <br /><br />-- access to move distant items from/to distant locations <br />accessremote = 3 <br /><br />-- access to see id and position of the item you are looking at <br />accesslook = 3 <br /><br /><br />Tak więc po uzupełnieniu tych ważnych i mniej ważnych pól mamy właściwie OTS gotowego. <br /><br />Zmienianie cen run <br />Ale zapewne nie jeden z was chciał by, aby na serverze nie były takie drogie runy. <br />Jak to zrobić?? Właśnie tak: <br />Wchodzimy w folder z OTS następnie data/npc/scripts <br />Otwieramy plik runes.lua za pomocą notatnika i zmieniamy następujące rzeczy: <br />Cytat: <br />focus = 0 <br />talk_start = 0 <br />target = 0 <br />following = false <br />attacking = false <br /><br />function onThingMove(creature, thing, oldpos, oldstackpos) <br /><br />end <br /><br /><br />function onCreatureAppear(creature) <br /><br />end <br /><br /><br />function onCreatureDisappear(cid, pos) <br />if focus == cid then <br />selfSay('Good bye then.') <br />focus = 0 <br />talk_start = 0 <br />end <br />end <br /><br /><br />function onCreatureTurn(creature) <br /><br />end <br /><br /><br />function msgcontains(txt, str) <br />return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) <br />end <br /><br /><br />function onCreatureSay(cid, type, msg) <br />msg = string.lower(msg) <br /><br />if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) &lt; 4 then <br />selfSay('Hello ' .. creatureGetName(cid) .. '! I sell runes, wands and rods.') <br />focus = cid <br />talk_start = os.clock() <br /><br />elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) &lt; 4 then <br />selfSay('Sorry, ' .. creatureGetName(cid) .. '! I talk to you in a minute.') <br /><br />elseif focus == cid then <br />talk_start = os.clock() <br /><br />if msgcontains(msg, 'runes') then <br />selfSay('I sell hmms (40gps), uhs (40gps), gfbs (60gps), explosions (60gps), sds (90gps) and blank runes (5gps). To buy more runes say &quot;10 uh&quot; or &quot;100 sd&quot;.') <br />elseif msgcontains(msg, 'wands') then <br />selfSay('I sell wand of inferno (15k), plague (5k), cosmic energy (10k), vortex (500gp) and dragonbreath (1k).') <br />elseif msgcontains(msg, 'rods') then <br />selfSay('I sell quagmire (10k), snakebite (500gp), tempest (15k), volcanic (5k) and moonlight rod (1k).') <br /><br />elseif msgcontains(msg, 'inferno') then <br />buy(cid,2187,1,15000) <br />elseif msgcontains(msg, 'plague') then <br />buy(cid,2188,1,5000) <br />elseif msgcontains(msg, 'cosmic energy') then <br />buy(cid,2189,1,10000) <br />elseif msgcontains(msg, 'vortex') then <br />buy(cid,2190,1,500) <br />elseif msgcontains(msg, 'dragonbreath') then <br />buy(cid,2191,1,1000) <br /><br />elseif msgcontains(msg, 'quagmire') then <br />buy(cid,2181,1,10000) <br />elseif msgcontains(msg, 'snakebite') then <br />buy(cid,2182,1,500) <br />elseif msgcontains(msg, 'tempest') then <br />buy(cid,2183,1,15000) <br />elseif msgcontains(msg, 'volcanic') then <br />buy(cid,2185,1,5000) <br />elseif msgcontains(msg, 'moonlight') then <br />buy(cid,2186,1,1000) <br /><br />elseif msgcontains(msg, '100 hmm') then <br />buy(cid,2311,100,800) <br />elseif msgcontains(msg, '10 hmm') then <br />buy(cid,2311,10,80) <br />elseif msgcontains(msg, 'hmm') then <br />buy(cid,2311,5,40) <br /><br />elseif msgcontains(msg, '100 uh') then <br />buy(cid,2273,100,4000) <br />elseif msgcontains(msg, '10 uh') then <br />buy(cid,2273,10,400) <br />elseif msgcontains(msg, 'uh') then <br />buy(cid,2273,1,40) <br /><br />elseif msgcontains(msg, '100 gfb') then <br />buy(cid,2304,100,2000) <br />elseif msgcontains(msg, '10 gfb') then <br />buy(cid,2304,10,200) <br />elseif msgcontains(msg, 'gfb') then <br />buy(cid,2304,3,60) <br /><br />elseif msgcontains(msg, '100 explosion') then <br />buy(cid,2313,100,2000) <br />elseif msgcontains(msg, '10 explosion') then <br />buy(cid,2313,10,200) <br />elseif msgcontains(msg, 'explosion') then <br />buy(cid,2313,3,60) <br /><br />elseif msgcontains(msg, '100 sd') then <br />buy(cid,2268,100,9000) <br />elseif msgcontains(msg, '10 sd') then <br />buy(cid,2268,10,900) <br />elseif msgcontains(msg, 'sd') then <br />buy(cid,2268,1,90) <br /><br />elseif msgcontains(msg, 'blank') then <br />buy(cid,2260,1,5) <br /><br />elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) &lt; 4 then <br />selfSay('Good bye, ' .. creatureGetName(cid) .. '!') <br />focus = 0 <br />talk_start = 0 <br />end <br />end <br />end <br /><br /><br />function onCreatureChangeOutfit(creature) <br /><br />end <br /><br /><br />function onThink() <br />if (os.clock() - talk_start) &gt; 30 then <br />if focus &gt; 0 then <br />selfSay('Next Please...') <br />end <br />focus = 0 <br />end <br />if focus ~= 0 then <br />if getDistanceToCreature(focus) &gt; 5 then <br />selfSay('Good bye then.') <br />focus = 0 <br />end <br />end <br />end <br /><br /><br />Zrobię tutaj przykład z hmm. <br />Mamy oto takie 2 linijki: <br />Cytat: <br />elseif msgcontains(msg, 'hmm') then <br />buy(cid,2311,100,40) <br /><br /><br />Tekst, który gracz musi wypowiedzieć, aby kupić daną runę. <br />Ilość strzałów w zakupionej runie <br />Suma pieniędzy zakupu runy <br /><br />Czyli teraz przykładowo gdybyśmy napisali do NPC: <br />&gt;Hi <br />&gt;hmm <br /><br />Musieli byśmy zapłacić 40 gp, a otrzymali byśmy hmm o wartości 100 strzałów. <br />Tak zmieniamy przy każdej runie, a będzie wszystko ok]]></description>
<pubDate>Âroda 27 Luty</pubDate>
<comments>Âroda 27 Luty</comments>
</item>
<item>
<title>Ots Na Live Boxa</title>
<link>http://www.pomocots.pun.pl/viewtopic.php?pid=2#p2</link>
<guid isPermaLink="false">2@http://www.pomocots.pun.pl</guid>
<description><![CDATA[Po 1: Jest to poradnik tylko i wyłącznie sprawdzony na LiveBox'ie , więc nie odpowiadam za ewentualne szkody. <br />Po 2: Zaczynamy: <br />a) Wchodzimy na stronę <a href="http://192.168.1.1" target="_blank" rel="nofollow">http://192.168.1.1</a> <br />b) Wpisujemy: <br />Nazwa użytkownika: admin <br />Hasło: admin <br />c) Wybieramy zakładkę Serwery LAN <br />d) Klikamy na Dodaj <br />e) A tam wpisujemy: <br />Nazwa serwera: OTS (może być też jakaś inna, to nie ma znaczenia) <br />Dostęp włączony: Tak <br />Protokół: TCP <br />Port od: 7171 <br />Port do: 7171 <br />Lokalny adres IP: to powinno się zapełnić automatycznie&nbsp; <br />f) Klikamy Zastosuj <br />g) Zapisz <br />h) Teraz robimy dokładnie to samo tylko, że tym razem wybieramy Protokół UDP <br />-------------------------------------------------------------- <br />i) W ten sposób powinniśmy mieć już na liście dwa Serwery LAN, które stworzyliśmy samodzielnie&nbsp; <br />j) Teraz sprawa WebServa <br />k) Znowu klikamy Dodaj <br />l) Nazwa serwera: WebServ <br />m) Dostęp włączony: Tak <br />n) Protokół: TCP <br />o) Port od: 80 <br />p) Port do: 80 <br />r) Lokalny adres IP: powinno się zapełnić sutomatycznie&nbsp; <br />s) Klikamy Zastosuj , Zapisz <br />t) Teraz robimy dokładnie to samo lecz z Protokół: UDP ! <br />-------------------------------------------------------------- <br />u) I to mamy w głowy ;] <br /><br />Teraz zajmiemy sie OTS: <br />a) W pliku config.lua wpisujemy tylko i wyłącznie IP ze strony <a href="http://www.whatismyip.com" target="_blank" rel="nofollow">http://www.whatismyip.com</a> ! <br />b) Zmienne IP: musicie zarejestrować się na <a href="http://www.no-ip.com" target="_blank" rel="nofollow">www.no-ip.com</a> zrobić przykrywkę IP. Potem jak to zrobicie ściągnijcie WebServa, włóżcie ACC Makera itp. W WebServie jest program No-IP, dzięki któremu nie musicie wchodzić na stronkę i updatować swojego IP ! Potem podajcie kolegom IP z No-IP aby mogli zacząć grę na waszym OTS ! Ten program No-IP znajduje się również w downloadzie na głównej stronie. <br />c) Na swojego ACC makera łączymy się przez swoje IP wewnętrzne czyli to które zaczyna się na 192.168.1.?? lub 127.0.0.1]]></description>
<pubDate>Âroda 27 Luty</pubDate>
<comments>Âroda 27 Luty</comments>
</item>
</channel>
</rss>
