Ogłoszenie

Witam Na Nowym Forum:)

#1 2008-03-22 11:25:59

GoD Hoster

Hoster

328432
Call me!
Skąd: Pomorsaki OTS
Zarejestrowany: 2008-03-05
Posty: 100001
Punktów :   

Skrypty Tutaj Podajecie Wlasnie Je

HEHEHee chyba napisalem Wszystko w temacie


Jestem tutaj bo wy jestescie ..........
Nie muwicie kim jestescie moja praca jest wiedziec........

Offline

 

#2 2008-04-15 16:07:12

Leny

Początkujący

Zarejestrowany: 2008-04-15
Posty: 4
Punktów :   

Re: Skrypty Tutaj Podajecie Wlasnie Je

Chce napisac skrypt zeby zrobic inwazje na miasto otoz tak:
data>acction>action.xml
Zjezdzamy na sam dol i usuwamy te strzalki --><--
Mniej wiecej to bendzie wygladalo tak:
<action itemid="2139" script="invasion.lua" />

</actions>
i przed temple tworza ci sie orki jak zrobisz za duzo to bendzie lagg
wpisujemy /i 2139 1 i klikamy prawym przyciskiem na ten amulet

Offline

 

#3 2008-04-15 16:08:21

Leny

Początkujący

Zarejestrowany: 2008-04-15
Posty: 4
Punktów :   

Re: Skrypty Tutaj Podajecie Wlasnie Je

Uczenie się spelli ze scrolów.


Do actions.xml:



<action itemid="1949" script="spell_scroll.lua" />


Teraz w spells/scripts



Spell_scroll.lua -------------nazwa .lua




I teraz skrypcik


function onUse(cid, item, frompos, item2, topos)
if item.actionid == 12000 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Light Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12001 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura gran')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Intense Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12002 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo flam hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Fire Wave spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12003 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo res ina')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Creature Illusion spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12004 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exiva')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Find Person spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12005 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Light spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12006 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exani tera')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Magic Rope spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12007 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exana pox')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Antidote spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12008 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori mort')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Force Strike spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12009 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exani hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Levitate spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12010 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori flam')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Fire Strike spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12011 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Energy Strike spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12012 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo gran lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Great Light spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12013 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utamo vita')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Magic Shield spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12014 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utani hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Haste spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12015 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura sio')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Heal friend spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12016 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exeta res')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Challenge spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12017 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura vita')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Ultimate Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12018 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utani gran hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Strong Haste spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12019 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exana ina')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Cancel Invisiblity spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12020 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo vis lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Ultimate Light spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12021 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo grav vita')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Wild Growth spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12022 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo gran vis lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Great Energy Beam spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12023 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo vis lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Energy Beam spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12024 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utana vid')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Invisible spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12025 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Berserk spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12026 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura gran mas res')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Mass Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12027 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo mort hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Energy Wave spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12028 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo gran mas pox')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Poison Storm spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12029 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo gran mas vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Ultimate Explosion spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12030 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exeta vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Enchant Staff spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12031 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo pan')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Create Food spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12032 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevon con')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Conjure Arrow spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12033 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con pox')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Poison Arrow spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12034 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con mort')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Conjure Bolt spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12035 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con flam')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Explosive Arrow spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12036 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Power Bolt spell.')
doRemoveItem(item.uid,1)

end
return 1
end

Offline

 

#4 2008-04-15 16:11:41

Leny

Początkujący

Zarejestrowany: 2008-04-15
Posty: 4
Punktów :   

Re: Skrypty Tutaj Podajecie Wlasnie Je

Witam dziś przedstawię wam różdżkę 'wand of star'

ródżka pod wersje 8.1
dla druta,sorca
Obraz:

http://img181.imageshack.us/my.php?image=wandes6.jpg

data/weapon/script tworzymy wand of star.lua a w nim :

    Spoiler:

    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 31)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -1, -1, -5)

    function onUseWeapon(cid, var)
        return doCombat(cid, combat, var)
    end

a potem w speel.xml :

    Spoiler:

    <wand id="7735" range="3" lvl="20" mana="50" enabled="1" exhaustion="0" script="Wand of Star.lua"><vocation id="1"/><vocation id="2"/><vocation id="5"/><vocation id="6"/></wand>

Potem do items.xml

    Spoiler:

    <item id="7735" article="a" name="Wand Of Star">
            <attribute key="weight" value="40"/>
            <attribute key="description" value="Stars are in."/>
            <attribute key="weaponType" value="wand"/>
            <attribute key="defense" value="30"/>
            <attribute key="attack" value="41"/>
            <attribute key="range" value="2"/>

Offline

 

#5 2008-04-18 18:42:48

Vaizard II

Początkujący

Zarejestrowany: 2008-04-18
Posty: 2
Punktów :   

Re: Skrypty Tutaj Podajecie Wlasnie Je

heheh Wandzik fajny xd ale uczenie sie spelli ze scrolli to wedlug mnie nie za dobry numer

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
siostry duszy chrystusowej blokada reklam w nowych oknach mozilla księżniczka burundi chomik zdięcia Gry java dowland