<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0">
<channel>
<title>Tibia</title>
<link>http://www.tibia-76.pun.pl</link>
<description> Tibia</description>
<language>pl</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>Efekt za Postacia</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=23#p23</link>
<guid isPermaLink="false">23@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Pozatym ze to Kod mojego Autorstwa to Ciekawy Kod ;).. Powinnienes dostac Bana za podszywanie sie ;)<br /><br /><br />Spojrz w kod Idioto ;)&nbsp; &nbsp;<br /><br />&quot;if(param == &quot;off&quot;)//by KaWa&quot;]]></description>
<pubDate>Wtorek 14 StyczeĹ</pubDate>
<comments>Wtorek 14 StyczeĹ</comments>
</item>
<item>
<title>Wasze propozycje</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=22#p22</link>
<guid isPermaLink="false">22@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Witam,<br />W tym o to temacie proszę pisać co chcecie by zostało wprowadzone w życie forum! <br />A gdy to będzie możliwe, zostanie wprowadzone. <br />Więc nie czekaj, tylko pisz.; )]]></description>
<pubDate>PiĹĄtek 12 Lipiec</pubDate>
<comments>PiĹĄtek 12 Lipiec</comments>
</item>
<item>
<title>WloclawskiOTS</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=21#p21</link>
<guid isPermaLink="false">21@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Także zapraszam, ale do przed ostatniego pkt. nie jestem pewien :D<br />Pozdrawiam!]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>WloclawskiOTS</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=19#p19</link>
<guid isPermaLink="false">19@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[<em>Siemka, a więc jak dział do tego przypisany zapraszam was na :</em><br /><br /><img class="postimg" src="http://wloclawskiots.no-ip.org/images/img.gif" alt="http://wloclawskiots.no-ip.org/images/img.gif" /><br /><br /><br /><em>- Exp x250,<br />- Skills x20,<br />- Loot x3,<br />- Fast Attack,<br />- World type pvp ,<br />- Zbalansowane profesje,<br />- Nowe czary, potwory, itemy,<br />- Manaruny dodajace mane!<br />- Soft Boots, Life Ring i Roh (regeneruja HP oraz mane),<br />- Nowe Outfity (Nimfa i Dwarf),<br />- White Skull time = 1 minuta,<br />- Red Skull = 6 Fragi,<br />- 1 Frag = 1 Godzine,<br />- Ban 12 Frags (Ban za PK trwa 7 dni),<br />- Niekończąca się amunicja (spears,bolts, p bolts itp),<br />- Cap system - Właczony,<br />- Nauka czarow - Wyłaczona,<br />- Rent House System (domki kupujemy (1000lvl),<br />- Zaawansowany Acc-Maker,<br />- BARDZO MIŁY SENIOR TUTOR<br />To i tak nie wszystko..</em><br /><br /><br /><strong>FORUM:</strong> <a href="http://www.wloclawski-forum.pun.pl/" target="_blank" rel="nofollow">http://www.wloclawski-forum.pun.pl/</a><br /><strong>ACC MAKER: </strong>http://wloclawskiots.no-ip.org/<br />Klient do pobrania na ACC MAKERZE.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>WloclawskiOTS</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=20#p20</link>
<guid isPermaLink="false">20@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[<em>Siemka, a więc jak dział do tego przypisany zapraszam was na :</em><br /><br /><img class="postimg" src="http://wloclawskiots.no-ip.org/images/img.gif" alt="http://wloclawskiots.no-ip.org/images/img.gif" /><br /><br /><br /><em>- Exp x250,<br />- Skills x20,<br />- Loot x3,<br />- Fast Attack,<br />- World type pvp ,<br />- Zbalansowane profesje,<br />- Nowe czary, potwory, itemy,<br />- Manaruny dodajace mane!<br />- Soft Boots, Life Ring i Roh (regeneruja HP oraz mane),<br />- Nowe Outfity (Nimfa i Dwarf),<br />- White Skull time = 1 minuta,<br />- Red Skull = 6 Fragi,<br />- 1 Frag = 1 Godzine,<br />- Ban 12 Frags (Ban za PK trwa 7 dni),<br />- Niekończąca się amunicja (spears,bolts, p bolts itp),<br />- Cap system - Właczony,<br />- Nauka czarow - Wyłaczona,<br />- Rent House System (domki kupujemy (1000lvl),<br />- Zaawansowany Acc-Maker,<br />- Mili i Sumienni GM'owie.<br />To i tak nie wszystko..</em><br /><br /><br /><strong>FORUM:</strong> <a href="http://www.wloclawski-forum.pun.pl/" target="_blank" rel="nofollow">http://www.wloclawski-forum.pun.pl/</a><br /><strong>ACC MAKER: </strong> <a href="http://wloclawskiots.no-ip.org/" target="_blank" rel="nofollow">http://wloclawskiots.no-ip.org/</a><br />Klient do pobrania na ACC MAKERZE.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Konkurs ~ViP~</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=18#p18</link>
<guid isPermaLink="false">18@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Powodzenia! Oczywiśc bierzemy udział jak najbardziej.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Konkurs ~ViP~</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=17#p17</link>
<guid isPermaLink="false">17@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Witam. Dziś razem z Kule przeprowadzamy konkurs.<br /><br />Opis konkursu:<br />Konkurs polega na tym, że reklamuje forum tibia-76.pun.pl&nbsp; na innych serwerach, forach i gdzie się da. I wstawiamy zdjęcia (ss'y) reklamy. Czym więcej reklam tym większa jest szansa na wygraną.<br /><br />Uwaga, liczy się też czas reklamy na OTS więc każdy ss'y się liczy. (nie ma tak: wejdziesz napiszesz zdanie zrobisz ss'a, prosimy podawać ss'y np, reklamujesz serwer godzine to wstaw jeden ss co 10minut, 5. ) &quot;mogą być filmiki&quot;<br /><br />Konkurs trwa do 18 lipca od dziś. Nagrody będą w postaci Vipa po wynikach.<br /><br />Screeny z reklam proszę wrzucać w dziale &quot;SCREENY&quot;, robiąc nowy wątek!<br />Pozdrawiam.<br /><br />Jakie możliwości ma ranga &quot;VIP&quot;?<br /><strong> * Większa skrzynka na prywatne wiadomości<br />* Nowy kolor użytkownika<br />* Nowa ranga<br />* Możliwość edycji napisu pod nazwą użytkownika<br />* Większe możliwości na forum<br />* Dostęp do specjalnego działu wyłącznie dla VIP'ów<br /></strong><br /><br />Źródło: Kule<br />Edit: Rolus.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Mapper</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=16#p16</link>
<guid isPermaLink="false">16@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Witajcie!<br /><br />Szukam bardzo doświadczonego mappera, nie jakiegoś amatora do projektu ots pod 7.60, który ruszy za jakiś miesiąc.<br />A więc praca mappera ma wyglądać o tak:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>- Robisz mape, expy questy, całą no co tu dużo mówić od teraz np. przez 31 dni, ja oceniam jeżeli podoba mi się wstawiam do silnika i pracujemy wspólnie przy serwerze, jeżeli nie to dostaniesz nagrode za czas przy mapie - Tutor. Czekam do sierpnia.</pre></div></div></div><strong>Zainteresowanych zapraszam na GG - 19799437 @e-mail: danielekots@wp.pl lub PW Forum.</strong><br /><br />@topic<br />Oraz szukam sponsora dot. robienia OTS, <em>zapraszam PW.</em>]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>TibiaBot NG Item ID</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=15#p15</link>
<guid isPermaLink="false">15@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre> Rings
    Might Ring, 3048
    Stealth Ring, 3049
    Power Ring, 3050
    Energy Ring, 3051
    Life Ring, 3052
    Time Ring, 3053
    Axe Ring, 3092
    Ring of Healing, 3098
    Ring of the Skies, 3006
    Wedding Ring, 3004
    Crystal Ring, 3007
    Sword Ring, 3091
    Club Ring, 3093
    Dwarven ring, 3097
    Amulets & Necklaces
    Crystal Necklace, 3008
    Bronzen Necklace, 3009
    Emerald Bangle, 3010
    Wolven Teeth Chain, 3012
    Golden Amulet, 3013
    Star Amulet, 3014
    Silver Necklace, 3015
    Ruby Necklace, 3016
    Scarab Amulet, 3018
    Starlight, 3021
    Ancient Amulet, 3025
    Strange Talisman, 3045
    Silver Amulet, 3054
    Platinum Amulet, 3055
    Bronze Amulet, 3056
    Amulet of Loss, 3057
    Broken Amulet, 3080
    Stone Skin Amulet, 3081
    Elven Amulet, 3082
    Garlic Necklace, 3083
    Protection Amulet, 3084
    Dragon Necklace, 3085
    Ammunition
    Burst Arrow, 3449
    Arrow, 3447
    Bolts, 3446
    Poison Arrow, 3448
    Power Bolt, 3450
    Crystal Arrow, 3239
    Stone, 1781
    Spear, 3277
    Earth arrow, 774
    Flaming arrow, 763
    Shiver arrow,762
    Infernal bolt, 6528
    Food
    Carrot, 3595
    Meat, 3577
    Fish, 3578
    Salmon, 3579
    Ham, 3582
    Dragon Ham, 3583
    Pears, 3584
    Bread, 3600
    Pear, 3584
    Apple, 3585
    Orange, 3586
    Banana, 3587
    Blueberry, 3588
    Coconut, 3589
    Cherry, 3590
    Strawberry, 3591
    Grape, 3592
    Melon, 3593
    Pumpkin, 3594
    Cookie, 3598
    Candy Cane, 3599
    Roll, 3601
    Brown Bread, 3602
    Cheese, 3607
    Brown Mushroom, 3725
    Tortoise Eggs, 5678
    Coins
    Gold Coin, 3031
    Platinum Coin, 3035
    Crystal Coin, 3043
    Scarab Coin, 3042
    Gems
    White Pearl, 3026
    Black Pearl, 3027
    Small Diamond, 3028
    Small Sapphire, 3029
    Small Ruby, 3030
    Small Emerald, 3032
    Small Amethyst, 3033
    Talon, 3034
    Yellow Gem, 3037
    Wands
    Magic LightWand, 3046
    Magic LightWand(Used), 3047
    Crystal Wand, 3068
    Wand of Inferno, 3071
    Wand of Decay, 3072
    Wand of Cosmic Energy, 3073
    Wand of Vortex, 3074
    Wand of Dragonbreath, 3075
    Crystal Wand, 3068
    Rods
    Snakebite Rod, 3066
    Moonlight Rod, 3070
    Necrotic Rod, 3069
    Terra Rod, 3065
    Hailstorm Rod, 3067
    Containers: Bags
    Normal bag, 2853
    Green bag, 2857
    Yellow bag, 2858
    Red bag, 2859
    Purple bag, 2860
    Blue bag, 2861
    Grey bag, 2862
    Golden bag, 2863
    Containers: Backpacks
    Normal backpack, 2854
    Green backpack, 2865
    Yellow backpack, 2866
    Red backpack, 2867
    Purple backpack, 2868
    Blue backpack, 2869
    Grey backpack, 2870
    Golden backpack, 2871
    Backpack of Holding, 3253
    Addon Items
    Sniper Gloves, 5875
    Lizard Leather, 5876
    Green Dragon Leather, 5877
    Minotaur Leather, 5878
    Giant Spider Silk, 5879
    Iron Ore, 5880
    Lizard Scale, 5881
    Red Dragon Scale, 5882
    Ape Fur, 5883
    Chicken Feather, 5890
    Behemoth Fang, 5893
    Bat wing, 5894
    Fish Fin, 5895
    Bear Paw, 5896
    Wolf Paw, 5897
    Beholder Eye, 5898
    Turtle Shells, 5899
    Honeycomb, 5902
    Magic Sulphur, 5904
    Vampire Dust, 5905
    Demon Dust, 5906
    White Piece of Cloth, 5909
    Red Piece of Cloth, 5911
    Blue Piece of Cloth, 5912
    Brown Piece of Cloth, 5913
    Yellow Piece of Cloth, 5914
    Dragon Claw, 5919
    Green Dragon Scale, 5920
    Heaven Blossom, 5921
    Holy Orchid, 5922
    Hardened Bone, 5925
    Behemoth Claw, 5930
    Demon Horn, 5954
    Red Dragon Leather, 5948
    Bast Skirt, 3560
    Hook, 6097
    Eye Patch, 6098
    Peg Leg, 6126
    Tools/Misc
    Fishing rod, 3483
    Dice, 5794
    Voodoo Doll (Pirate), 5810
    Wood, 5901
    1st Music Sheet, 6087
    2nd Music Sheet, 6088
    3rd Music Sheet, 6089
    4th Music Sheet, 6070
    Tortoise Shield, 6131
    Worms, 3492
    Feather Headdress, 3406
    Frozen Starlight, 3249
    Dwarven Beard, 5900
    Wood, 5901
    Obsidian Knife, 5908
    Surprise bag, 6570
    Piggy Bank, 2995
    Shard, 7290
    Cyclops Trophy - 7398
    Minotaur Trophy - 7401
    Deer Trophy - 7397
    Dragon Lord Trophy - 7399
    Lion Trophy - 7400
    Wolf Trophy - 7394
    Ice Cube - 7441
    Dragon Slayer - 7402
    Diamond Spectre - 7387
    Beastslayer - 3344
    Mammoth fur cape - 7463
    Brutetamers Staff, 7379
    Life crystal, 3061
    Beholder Helmet, 3408
    Key Ring, 5801
    Red Robe, 3566
    Phoenix Egg, 3215
    Nomad Parchment, 7533
    Pirate Stuff
    Pirate Shirt: 6095
    Pirate Hat: 6096
    Pirate Boots: 5461
    Pirate Backpack: 5926
    Potions
    Normal Health Potion 266
    Great Health Potion 239
    Normal Mana Potion 268
    Strong Mana Potion 237
    Berserk Potion 7443
    Strong Health Potion, 236
    Ultimate Health Potion, 7643
    Great Spirit Potion, 7642
    Bullseye Potion, 7443
    Decoration
    Holy Scarab, 3032
    Small Oil Lamp, 2933
    Voodoo Doll (Pirate), 5810
    Voodoo Doll (Dworcs), 3002
    Life crystal, 3061
    Ice Cube, 7441
    Cyclops Trophy, 7398
    Minotaur Trophy, 7401
    Deer Trophy, 7397
    Dragon Lord Trophy, 7399
    Lion Trophy, 7400
    Wolf Trophy, 7394
    Marlin Trophy, 902
    Dwarven Beard, 5900
    Stuffed Dragon, 5791
    Baby Seal Doll, 7183
    Mysterious Voodoo Skull, 5668
    Panda Teddy, 5080
    Certificate from Dreamer's Challenge, 6498
    Blood Herb, 3734
    Skeleton Decoration, 6525
    Bat Decoration, 6491
    Pirate Tapestry, 5615
    Blue Rose, 3659
    Firlefanz, 896
    Green Balloons, 6577
    Red Balloons, 6575
    Gemmed Lamp, 3231
    Jewel Case, 6104
    Santa Doll, 6511
    Model Ship, 2994
    Jester Staff, 895
    Ice Mammoth, 7446
    UNCONFIRMED ARMORS/WEAPONS
    [Warning: Might contain duplicates! Meaning there are already added items to the main list that are also in this one.]
    Fine Sulphur, 124
    Magic Sulphur, 6547
    Boots of Waterwalking, 6132 or 2358
    Softboots, 6132 or 2358
    Please confirm that the following ID's are alright when you loot one
    Earmuffs, 7459
    Krimhorn Helmet, 7461
    Ragnir Helmet, 7462
    Fur Cap, 7458
    Fur Boots, 7457
    Mammoth Fur Cape, 7463
    Mammoth Fur Shorts, 7464
    Blue Legs, 7730
    Furry Club, 7432
    Noble Axe, 7456
    Spiked Squelcher, 7452
    Shadow Sceptre, 7451
    Crystal Sword, 7449
    Demonbone, 7431
    Dragonbone Staff, 7430
    Blessed Sceptre, 7429
    Chaos Mace, 7427
    Amber Staff, 7426
    Bloody Edge, 7416
    Cranial Basher, 7415
    Taurus Mace, 7425
    Abyss Hammer, 7414
    Titan Axe, 7413
    Butcher's Axe, 7412
    Wyvern Fang, 7408
    Haunted Blade, 7407
    Blacksteel Sword, 7406
    Shenlong Sword, 7405
    Assassin Dagger, 7404
    Royal Axe, 7434
    Dragon Slayer, 7402
    Orcish Maul, 7392
    The Justice Seeker, 7390
    Heroic Axe, 7389
    Vile Axe, 7388
    Diamond Sceptre, 7387
    Mercenary Sword, 7386 [!]
    Mystic Blade, 7384 [!]
    Relic Sword, 7383
    Demonrage Sword, 7382
    Headchopper, 7380
    Brutetamer's Staff, 7379
    Royal Spear, 7378
    Assassin Star, 7368
    Enchanted Spear, 7367
    Viper Star, 7366
    Onyx Arrow, 7365
    Sniper Arrow, 7364
    Piercing Bolt, 7363
    Santa Doll, 6567 or 6512 [!]
    Panda Teddy, 6568
    Ruthless Axe, 6553 [!]
    Mushroom Spores, 6549 [!]
    Dracola's Eye, 6546 [!]
    Piece of Massacre's Shell, 6540 [!]
    The Avenger, 6528 [!]
    Infernal Bolt, 6529 [!]
    Handmaiden's Protector, 6539 [!]
    Plasmother's Remains, 6535 [!]
    Imperor's Trident, 6535
    Nightmare Shield, 6391
    Death Ring, 6300
    Mammoth Whopper, 7381
    Crimson Sword, 860
    Skull, 3114 (The ones dropped by Amazons)</pre></div></div></div>Pozdrawiam,<br />Rolus.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Reborn System - MazurskiOTS</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=14#p14</link>
<guid isPermaLink="false">14@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Ooo bardzo mi się to przyda. Dzięki.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Blackd Proxy</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=13#p13</link>
<guid isPermaLink="false">13@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Dziękuje, wszystko działa jak należy.<br />Close.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Linux - Konfiguracja</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=12#p12</link>
<guid isPermaLink="false">12@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[<strong>Poniższy poradnik powinien działać na prawie każdym systemie opartym na linuxie.</strong><br /><br /><br />Na wstępie&#8230;<br /><br /><br /><em>Ochrona przed DDoS to ważna rzecz dla serwerów, jeśli nie chcemy mieć problemów z dostępnością usług. Prędzej czy później znajdzie się ktoś komu przeszkadza nasz serwer, chce się pobawić, wredna konkurencja, nudzi mu się itd. i akurat nasz serwer przypadł mu do ataku. Na takich agentów jest wiele sposobów. Oczywiście opisuję tutaj metody na Linuxa, bo Windows załapuje DDoS przed podłączeniem do sieci (a dobry firewall kosztuje fortunę).<br />Do poniższych czynności potrzebne są uprawnienia roota (su).</em><br /><br /><br />Po pierwsze: APF (Advanced Policy-based Firewall)<br /><br />Jest to rozbudowany firewall, troszkę inny niż iptables. Nic nie przeszkadza, aby mieć je oba, a wiadomo firewall bez wrednych reguł, nie zawadza.<br />Instalacja:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 15em"><pre>Kod:
# cd /usr/src
# mkdir utils
# cd utils
# wget http://rfxnetworks.com/downloads/apf-current.tar.gz
# tar xfz apf-current.tar.gz
# cd apf-*
# ./install.sh</pre></div></div></div>I już zainstalowane&#8230; ale nie gotowe. W plikach README.apf i README.antidos znajdziesz opisy konfiguracji, które warto przeczytać. Teraz wypada zmienić trochę konfigurację. Edytuj plik /etc/apf/conf.apf i zmień następujące linie:<br /><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 10.5em"><pre>Kod:
DEVEL_MODE=&#8221;0&#8221;
IG_TCP_CPORTS=&#8221;21,22,25,53,80,110,143,443,3306&#8221;
IG_UDP_CPORTS=&#8221;53,111&#8221;
USE_AD=&#8221;1&#8221;</pre></div></div></div>Teraz krótkie wyjaśnienie: Pierwsza linijka &#8211; wyłączamy development mode. Druga linijka: Określamy dozwolone porty WEJŚCIOWE TCP. Bardzo ważne by nie zapomnieć np o porcie 22 dla SSH i wszystkich innych nam potrzebnych. Trzecie linijka, to samo tylko, że porty UDP. Tutaj głównie DNS (port 53), Portmapper (port 111). Na końcu uruchamiamy AntiDDoS (czwarta linijka).<br />Dobra, namęczyliśmy się, pora to wykorzystać. Odpalamy APF komendą:<br /><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
# apf &#8211;start</pre></div></div></div>Jeśli wyświetli Ci się błąd (Unable to load iptables module (ip_tables), aborting), dodaj w configu APF (tym co wyżej), linię &#8220;SET_MONOKERN 1&#8221;.<br /><br /><br /><br />Po drugie: DDoS Deflate<br /><br /><br />Do działania DDoS Deflate wymagany jest APF&nbsp; Instalacja:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 15em"><pre>Kod:
# cd /usr/src/utils
# mkdir ddos
# cd ddos
# wget http://www.inetbase.com/scripts/ddos/install.sh
# sh install.sh
Teraz konfiguracja:
W pliku/usr/local/ddos/ddos.conf możesz zwiększyć czasy blokad (banów na IP).</pre></div></div></div>Odpalamy:<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
# /usr/local/ddos/ddos.sh -c</pre></div></div></div>Gotowe. DDoS Deflate został dodany do crona. co 5 minut uruchamia się i blokuje adresy IP w APF, które mają więcej niż ilość połączeń ustawiona w configu na czas określony w configu. Polecam czas blokady zwiększyć.<br /><br /><br /><br />Po trzecie: Reguły do IPTables:<br /><br /><br /><br />Blokada przed atakiem DOS &#8211; Ping of Death<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
iptables -A INPUT -p ICMP &#8211;icmp-type echo-request -m length &#8211;length 60:65535 -j ACCEPT</pre></div></div></div>Blokada przed atakiem DOS &#8211; Teardrop<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
iptables -A INPUT -p UDP -f -j DROP</pre></div></div></div>Blokada przed atakiem DOS &#8211; SYN-flood<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
iptables -A INPUT -p TCP &#8211;syn -m iplimit &#8211;iplimit-above 9 -j DROP</pre></div></div></div>Blokada przed atakiem DOS &#8211; Smurf<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Kod:
iptables -A INPUT -m pkttype &#8211;pkt-type broadcast -j DROP
iptables -A INPUT -p ICMP &#8211;icmp-type echo-request -m pkttype &#8211;pkttype broadcast -j DROP
iptables -A INPUT -p ICMP &#8211;icmp-type echo-request -m limit &#8211;limit 3/s -j ACCEPT</pre></div></div></div>Blokada przed atakiem DOS &#8211; UDP-flood (Pepsi)<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>Kod:
iptables -A INPUT -p UDP &#8211;dport 7 -j DROP
iptables -A INPUT -p UDP &#8211;dport 19 -j DROP</pre></div></div></div>Blokada przed atakiem DOS &#8211; SMBnuke<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>Kod:
iptables -A INPUT -p UDP &#8211;dport 135:139 -j DROP
iptables -A INPUT -p TCP &#8211;dport 135:139 -j DROP</pre></div></div></div>Blokada przed atakiem DOS &#8211; Connection-flood<br />Kod:<br />iptables -A INPUT -p TCP &#8211;syn -m iplimit &#8211;iplimit-above 3 -j DROP<br /><br />Blokada przed atakiem DOS &#8211; Fraggle<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>Kod:
iptables -A INPUT -p UDP -m pkttype &#8211;pkt-type broadcast -j DROP
iptables -A INPUT -p UDP -m limit &#8211;limit 3/s -j ACCEPT</pre></div></div></div>Blokada przed atakiem DOS &#8211; Jolt<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
iptables -A INPUT -p ICMP -f -j DROP</pre></div></div></div>Istnieje możliwość, że system zastrajkuje z powodu braku w kernelu jakiegoś modułu, wtedy należy sobie przekompilować jajko lub&#8230; dać sobie spokój jeśli to za trudne, piszę o tym tylko dlatego, zebyście wiedzieli, że tak może być.<br /><br />Na zakończenie&#8230;<br /><em><br />Teraz jesteśmy (prawie) bezpieczni.<br />Należy pamiętać aby dodać APF do autostartu, jeśli instalujemy z paczki jest to automatycznie, jeśli z opisanego wyżej sposobu, trzeba to zrobić samemu.<br />Zauważ, że wszystkie pliki instalacyjne zostawiamy w katalogu /usr/src/utils. Dlaczego ? Bo jak sama nazwa wskazuje, tam powinny się znaleźć ! (A nie śmiecić w /root)</em><br /><br /><br />@@@@ Poradnik By <strong>Rolus</strong> <span class="bbu"><strong>--(Wszelkie prawa zastrzeżone)--</strong></span>]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Reborn System - MazurskiOTS</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=11#p11</link>
<guid isPermaLink="false">11@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Dziś przedstawiam Reborn System praktycznie taki sam jak na MazurskimOTS.<br /><br />1. Opis:<br />Po wbiciu danego poziomu (Do ustawienia w config.lua):<br />- postać automatycznie otrzymuje reborn.<br />- postać automatycznie dostaje 10 poziom.<br />- postać dostaje &quot;ileś %&quot; dmg (Do ustawienia w config.lua).<br />- postać otrzymuje połowę hp,mp z poprzedniego rebornu (Co to znaczy? Jeżeli postać na poziomie np. 700,000 ma 2,000,000 HP to po rebornie będzie posiadać 1,000,000).<br />- postać dostaje wiadomość o tym że wbiła reborn.<br /><br />2. Autorzy: Rolus<br />Autorem jestem Ja: Rolus jednak przy dzieleniu hp,mp na pół i zwiększaniu dmg pomógł mi Wizard.<br /><br />3. Przedstawienie kodu:<br />W ioplayerxml.cpp pod:<br /><br />&nbsp; &nbsp;<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 13.5em"><pre>    nodeValue = (char*)xmlGetProp(root, (const xmlChar *) &quot;cap&quot;);
    if(nodeValue) {
    player-&gt;capacity = atoi(nodeValue);
    xmlFreeOTSERV(nodeValue);
    }
    else
    isLoaded = false;</pre></div></div></div>dodajemy:<br /><br />&nbsp; &nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 16.5em"><pre>#ifdef AUTO_REB
    nodeValue = (char*)xmlGetProp(root, (const xmlChar *) &quot;reborn&quot;);
    if(nodeValue) {
    player-&gt;reborn = (atoi(nodeValue) != 0);
    xmlFreeOTSERV(nodeValue);
    }
    else
    isLoaded = false;
    #endif //AUTO_REB</pre></div></div></div>dalej pod:<br /><br />&nbsp; &nbsp;<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>    sb &lt;&lt; player-&gt;getCapacity(); xmlSetProp(root, (const xmlChar*) &quot;cap&quot;, (const xmlChar*)sb.str().c_str()); sb.str(&quot;&quot;);</pre></div></div></div>dodajemy:<br /><br />&nbsp; &nbsp;<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre> #ifdef AUTO_REB
    sb &lt;&lt; player-&gt;reborn; xmlSetProp(root, (const xmlChar*) &quot;reborn&quot;, (const xmlChar*)sb.str().c_str()); sb.str(&quot;&quot;);
    #endif //AUTO_REB</pre></div></div></div>Teraz w player.cpp pod:<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>guildId = 0;</pre></div></div></div>dodajemy:<br /><br />&nbsp; &nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>#ifdef AUTO_REB
    reborn = 0;
    #endif //AUTO_REB</pre></div></div></div>dalej pod:<br /><br />&nbsp; &nbsp;<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 10.5em"><pre>    if(guildNick.length())
    s &lt;&lt; &quot; (&quot; &lt;&lt; guildNick &lt;&lt; &quot;)&quot;;

    s &lt;&lt; &quot;.&quot;;
    }</pre></div></div></div>dodajemy:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 10.5em"><pre>    #ifdef AUTO_REB
    if(reborn &gt; 0){
    s &lt;&lt; &quot;Reborn: &quot; &lt;&lt; reborn &lt;&lt; &quot;.&quot;;
    }
    #endif //AUTO_REB</pre></div></div></div>dalej w tym samym pliku zamieniamy całą funkcje:<br /><br />&nbsp; &nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>void Player::addExp(exp_t exp)</pre></div></div></div>na moją:<br /><br />&nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>  #ifdef AUTO_REB
    void Player::addExp(exp_t exp)
    {
    this-&gt;experience += exp;
    int lastLv = this-&gt;level;
    while (this-&gt;experience &gt;= this-&gt;getExpForLv(this-&gt;level+1)) {
    this-&gt;level++;
    this-&gt;healthmax += g_config.HP_GAIN[(int)vocation];
    this-&gt;health += g_config.HP_GAIN[(int)vocation];
    this-&gt;manamax += g_config.MANA_GAIN[(int)vocation];
    this-&gt;mana += g_config.MANA_GAIN[(int)vocation];
    this-&gt;capacity += g_config.CAP_GAIN[(int)vocation];
    }
    if(lastLv != this-&gt;level)
    {
    this-&gt;setNormalSpeed();
    g_game.changeSpeed(this-&gt;getID(), this-&gt;getSpeed());
    std::stringstream lvMsg,rebMsg;
    if(this-&gt;level &gt; g_config.getGlobalNumber(&quot;rebornLvl&quot;))
    {
    this-&gt;level = 10;
    this-&gt;experience = 9300;
    this-&gt;reborn++;
    this-&gt;healthmax /= 2;
    this-&gt;health /= 2;
    this-&gt;manamax /= 2;
    this-&gt;mana /= 2;
    lvMsg &lt;&lt; &quot;Awansowales z poziomu &quot; &lt;&lt; lastLv &lt;&lt; &quot; na poziom &quot; &lt;&lt; level &lt;&lt; &quot;.&quot;;
    rebMsg &lt;&lt; &quot;Gratulacje! Osiagnales reborn.&quot;;
    this-&gt;sendTextMessage(MSG_INFO,rebMsg.str().c_str());
    this-&gt;sendTextMessage(MSG_ADVANCE,lvMsg.str().c_str());
    }else
    {
    lvMsg &lt;&lt; &quot;Awansowales z poziomu &quot; &lt;&lt; lastLv &lt;&lt; &quot; na poziom &quot; &lt;&lt; level &lt;&lt; &quot;.&quot;;
    this-&gt;sendTextMessage(MSG_ADVANCE,lvMsg.str().c_str());
    this-&gt;sendStats();
    }

    }
    }
    #endif //AUTO_REB</pre></div></div></div>Na koniec w player.h pod:<br /><br />&nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>class Player : public Creature
    {
    public:</pre></div></div></div>dodajemy:<br /><br />&nbsp; &nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>#ifdef AUTO_REB
    short reborn;
    #endif //AUTO_REB</pre></div></div></div>Jeszcze w game.cpp pod:<br /><br />&nbsp; &nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>    if (damage != 0)
    {</pre></div></div></div>dodaj:<br /><br />&nbsp; &nbsp; <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 10.5em"><pre>    #ifdef AUTO_REB
    if(attackPlayer && attackPlayer-&gt;reborn &gt; 0){
    damage += (int)(damage*(0.01*(attackPlayer-&gt;reborn*(g_config.getGlobalNumber(&quot;rebornDmg&quot;, 2)))));
    }
    #endif//AUTO_REB</pre></div></div></div>No i jeszcze dodamy do Parametrów (ALT + P):<br /><br /> <div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre> :-DAUTO_REB</pre></div></div></div>i do config.lua na samym końcu pliku:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>    ----- Reborn System &#169; by Rolus, Wizard ----
    rebornDmg = 140 -- Ile % DMG postac ma dostawac za kazdy reborn.
    rebornLvl = 700 -- Od jakiego poziomu ma byc reborn.
    ----- Reborn System &#169; by Rolus, Wizard ----</pre></div></div></div>Przebuduj i gotowe :)]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Anty Spells Spam- powtorzone czary nie wyswietlaja sie</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=10#p10</link>
<guid isPermaLink="false">10@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Opis:<br />Jeśli wpiszesz ten sam czar(na pomarańczowo) po raz drugi to go nie wyświetli..<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>protocol76.cpp</pre></div></div></div>zamień:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>Kod:
if(game-&gt;creatureSaySpell(player, text))
        type = SPEAK_SAY;</pre></div></div></div>na:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 34.5em"><pre>Kod:
#ifdef _NG_BBK_SPAMSPELL__
   bool Spells = false;
      
   if(game-&gt;creatureSaySpell(player, text))
         Spells = true;
    
    if(player && Spells)
      {
           if(text == player-&gt;msgB)
               return;
           else
           {
               type = SPEAK_MONSTER1;
               player-&gt;msgB = text;
           }
      }
#else
    if(game-&gt;creatureSaySpell(player, text))
        type = SPEAK_SAY;
#endif //_NG_BBK_SPAMSPELL__</pre></div></div></div>pod:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Kod:
case SPEAK_SAY:
        game-&gt;creatureSay(player, type, text);
        break;</pre></div></div></div>dodaj:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 12em"><pre>Kod:
#ifdef _NG_BBK_SPAMSPELL__
case SPEAK_MONSTER1:
game-&gt;creatureSay(player, type, text);
break;
#endif //_NG_BBK_SPAMSPELL__</pre></div></div></div>w player.cpp pod:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Kod:
    looktype   = PLAYER_MALE_1;
    vocation   = VOCATION_NONE;
    capacity   = 300.00;</pre></div></div></div>dodaj:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Kod:
#ifdef _NG_BBK_SPAMSPELL__
msgB = &quot;&quot;;
#endif //_NG_BBK_SPAMSPELL__</pre></div></div></div>i w player.h pod:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Kod:
class Player : public Creature
{
public:</pre></div></div></div>dodaj:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Kod:
#ifdef _NG_BBK_SPAMSPELL__
std::string msgB;
#endif //_NG_BBK_SPAMSPELL__</pre></div></div></div>na koniec dodaj do projektu<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
-D_NG_BBK_SPAMSPELL__</pre></div></div></div>]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
<item>
<title>Efekt za Postacia</title>
<link>http://www.tibia-76.pun.pl/viewtopic.php?pid=9#p9</link>
<guid isPermaLink="false">9@http://www.tibia-76.pun.pl</guid>
<description><![CDATA[Autor= Ja Rolus<br />Kod pod Clienta = 7.6<br /><br />Kod polega na tym ze po wpisaniu komendy !efekt on za postacią która się rusza będą widoczne rożne efekty (np. NM_ME_FIRE_AREA). Kod jest ten pod komendę ponieważ może niektórych denerwować a także 'zamulac' grę.<br /><br />Noto tak<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>Na początek w player.cpp pod</pre></div></div></div><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>healthTick = 0;</pre></div></div></div>dodajemy<br /><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>ShowEffect = false;</pre></div></div></div>następnie kierujemy sie do player.h i pod<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 7.5em"><pre>#ifdef TLM_HOUSE_SYSTEM
    bool houseRightsChanged;
#endif //TLM_HOUSE_SYSTEM</pre></div></div></div>dodajemy<br /><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>bool ShowEffect;</pre></div></div></div>potem w protocol76.cpp zamieniamy całość od<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>:
void Protocol76::parseMoveByMouse(NetworkMessage &msg)</pre></div></div></div>do<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>void Protocol76::parseRequestOutfit(NetworkMessage &msg)</pre></div></div></div>na to<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Kod:
void Protocol76::parseMoveByMouse(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
    // first we get all directions...
    std::list&lt;Direction&gt; path;
    size_t numdirs = msg.GetByte();
    for (size_t i = 0; i &lt; numdirs; ++i) {
        unsigned char rawdir = msg.GetByte();
        Direction dir = SOUTH;
        
        switch(rawdir) {
        case 1: dir = EAST; break;
        case 2: dir = NORTHEAST; break;
        case 3: dir = NORTH; break;
        case 4: dir = NORTHWEST; break;
        case 5: dir = WEST; break;
        case 6: dir = SOUTHWEST; break;
        case 7: dir = SOUTH; break;
        case 8: dir = SOUTHEAST; break;
            
        default:
            continue;
        };
        
        /*
        #ifdef __DEBUG__
        std::cout &lt;&lt; &quot;Walk by mouse: Direction: &quot; &lt;&lt; dir &lt;&lt; std::endl;
        #endif
        */
        path.push_back(dir);
    }
    
    game-&gt;playerAutoWalk(player, path);
}

void Protocol76::parseMoveNorth(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        player-&gt;pos.x, player-&gt;pos.y-1, player-&gt;pos.z, 1);
}

void Protocol76::parseMoveEast(NetworkMessage &msg)
{
    if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        player-&gt;pos.x+1, player-&gt;pos.y, player-&gt;pos.z, 1);
}


void Protocol76::parseMoveSouth(NetworkMessage &msg)
{
    if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        player-&gt;pos.x, player-&gt;pos.y+1, player-&gt;pos.z, 1);
}


void Protocol76::parseMoveWest(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        player-&gt;pos.x-1, player-&gt;pos.y, player-&gt;pos.z, 1);
}

void Protocol76::parseMoveNorthEast(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        (player-&gt;pos.x+1), (player-&gt;pos.y-1), player-&gt;pos.z, 1);
}

void Protocol76::parseMoveSouthEast(NetworkMessage &msg)
{
    if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        (player-&gt;pos.x+1), (player-&gt;pos.y+1), player-&gt;pos.z, 1);
}

void Protocol76::parseMoveSouthWest(NetworkMessage &msg)
{
    if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        (player-&gt;pos.x-1), (player-&gt;pos.y+1), player-&gt;pos.z, 1);
}

void Protocol76::parseMoveNorthWest(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK

    if(game-&gt;stopEvent(player-&gt;eventAutoWalk)) {
        player-&gt;sendCancelWalk();
    }
    
    this-&gt;sleepTillMove();
    this-&gt;sleepTillMove();
    
    game-&gt;thingMove(player, player,
        (player-&gt;pos.x-1), (player-&gt;pos.y-1), player-&gt;pos.z, 1);  
}


void Protocol76::parseTurnNorth(NetworkMessage &msg)
{    
    if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK
    game-&gt;creatureTurn(player, NORTH);
}


void Protocol76::parseTurnEast(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK
    game-&gt;creatureTurn(player, EAST);
}


void Protocol76::parseTurnSouth(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK
    game-&gt;creatureTurn(player, SOUTH);
}


void Protocol76::parseTurnWest(NetworkMessage &msg)
{
     if(player-&gt;ShowEffect == true)
{    
    if(player && player-&gt;isPremium())
    {
        for(AutoList&lt;Player&gt;::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it)
        {
            Player* everybody = dynamic_cast&lt;Player*&gt;(it-&gt;second);
            
            if(everybody)
                everybody-&gt;sendMagicEffect(player-&gt;pos, (int)random_range(1, 24));
        }
    }
}
#ifdef TR_ANTI_AFK
    player-&gt;notAfk();
#endif //TR_ANTI_AFK
    game-&gt;creatureTurn(player, WEST);
}</pre></div></div></div>Noto teraz czas na komende czyli w commands.cpp na sam dół dodajemy<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Kod:
bool Commands::CloseEffect(Creature* c, const std::string &cmd, const std::string &param)
{
    Player* player = dynamic_cast&lt;Player*&gt;(c);

    
    if (player-&gt;isPremium())
    {
        if(param == &quot;on&quot;)
        {
            player-&gt;ShowEffect = true;  
            player-&gt;sendTextMessage(MSG_INFO, &quot;Efekt zostal wlaczony.&quot;);    
        }
        if(param == &quot;off&quot;)//by KaWa
        {
            player-&gt;ShowEffect = false;
            player-&gt;sendTextMessage(MSG_INFO, &quot;Efekt zostal wylaczony.&quot;);        
        }
                }else{
                      if(player-&gt;premiumTicks == 0)
                      player-&gt;sendTextMessage(MSG_INFO, &quot;Komenda Tylko dla graczy z Pacc.&quot;);
                      }
    return true;
}</pre></div></div></div>następnie na górze(dalej w commands.cpp) pod<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
s_defcommands Commands::defined_commands[] = {</pre></div></div></div>dodajemy<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
{&quot;!efekt&quot;,&Commands::CloseEffect},</pre></div></div></div>I na sam koniec deklaracja w commands.h pod<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
//commands</pre></div></div></div>dodajemy<br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 6em"><pre>Kod:
bool CloseEffect(Creature* c, const std::string &cmd, const std::string &param);</pre></div></div></div>I to wszystko, by włączyć efekt postać musi miec Pacc i wpisać !efekt on a by wyłączyć poprostu !efekt off .. Proszę o wyrozumiałość wiem ze nie jestem PRO.]]></description>
<pubDate>Czwartek 11 Lipiec</pubDate>
<comments>Czwartek 11 Lipiec</comments>
</item>
</channel>
</rss>
