The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some problem ....
Author Message
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
Question Some problem ....
1) I have 2 item's ... with 2 events:

Holy Ring:
Features: Every third spell Paralyze has no effect on the owner of ring. ( Plz remake this script )
Notice: It must be working when you cast paralyze !
Code:
[EVENTS e_anti_paralyze]
On=@SpellEffect
    if rand(3)==1
        if (<argn>==38)
            effect=3,i_fx_glow,5,15,0
            return 1
        endif
    endif

Ring of Heaven:
Features: Every third spell Paralyze has no effect on the owner of ring and paralyze the attacker. ( Plz remake this script )
Notice: It must be working when you cast paralyze !
Code:
[EVENTS e_anti_paralyze_reflect]
On=@SpellEffect
    if (<eval <argn1>>==38)
        if !(<tag0.reflectivering>)
        tag.reflectivering = 1
    else
        if <tag0.reflectivering> == 2
        src.spelleffect 38,100
        src.sysmessage Paralyze has reflected on <src.name>
        tag.reflectivering=
    else
        tag.reflectivering += 1
        endif
        endif
    endif


But when you attack another player ... with special axe and with these properties:

Code:
On=@Damage
    if rand(3)=1
        if !(<src.findlayer(25).uid>==0)
            cont.say Agrrrhh!
            cont.src.dclick
            src.sound 273
        else
            cont.say Agrrrhh!
            src.sound 273
            serv.newitem i_paralyze
            new.timer = 1,5
            new.equip <src>
            src.sfx snd_spell_paralyze
        endif
    endif

Code:
[itemdef i_paralyze]
NAME=Paralyze
ID=i_memory
TYPE=t_eq_script

On=@TIMER
    cont.spelleffect s_paralyze,100.0
    remove
    return 1


I have crash SphereSrv Sad

[Image: 83777be5502d.jpg]



2) I have a equip stone ... when you can get some animal ...

Code:
[CHARDEF 0dc]
DEFNAME=c_llama
NAME=Llama
SOUND=snd_ANIMALS_LLAMA3
ICON=i_pet_LLAMA
CAN=MT_WALK|MT_RUN
ANIM=01fff
DAM=2,6
ARMOR=8
RESOURCES=7 i_ribs_raw,2 i_fur_light
FOODTYPE=5 t_crops, 5 t_fruit, 5 t_grain, 5 i_hay, 64 t_grass
//SHELTER=r_stables,spk_human_prime
DESIRES=c_llama,c_llama_pack,spk_human_prime
DESCRIPTION=Llama
SUBSECTION=Land (Domestic)
CATEGORY=Animals

ON=@Create
    NPC=brain_animal
    EVENTS = e_brain

Code:
[EVENTS e_brain]
On=@Click
    remove
    return 1

On=@DClick
    remove
    return 1

Code:
On=1
    if (<distance>>3)
        src.sysmessage You can't reach that
    elseif (<src.findlayer.25.uid>)
        src.sysmessage @55 You are already mounted!
        sdialog d_eq_stone
    else
        serv.newitem=i_mt_llama
        new.name=Llama
        new.more2 <src>
        new.equip <src>
    endif
    return 1

Code:
On=2
    if (<distance>>3)
        src.sysmessage You can't reach that
    elseif (<src.findlayer.25.uid>)
        src.sysmessage @55 You are already mounted!
        sdialog d_eq_stone
    else
        serv.newitem=i_mt_ostard_zostrich
        new.name=Zostrich
        new.more2 <src>
        new.equip <src>
    endif
    return 1

I did like that because after Wolrd Save its not removed ... But a have other problem ... Axe with this trigger: cont.src.dclick not working Sad
(This post was last modified: 09-09-2013 12:14 AM by an0n!m0use.)
09-08-2013 10:33 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Some problem .... - an0n!m0use - 09-08-2013 10:33 PM
RE: Some problem .... - Mordaunt - 09-09-2013, 12:47 AM
RE: Some problem .... - RanXerox - 09-09-2013, 03:03 AM
RE: Some problem .... - an0n!m0use - 09-09-2013, 04:17 AM
RE: Some problem .... - RanXerox - 09-09-2013, 06:02 AM
RE: Some problem .... - an0n!m0use - 09-09-2013, 08:41 AM
RE: Some problem .... - darksun84 - 09-09-2013, 08:53 AM
RE: Some problem .... - RanXerox - 09-09-2013, 10:47 AM
RE: Some problem .... - an0n!m0use - 09-09-2013, 09:17 PM
RE: Some problem .... - an0n!m0use - 09-14-2013, 02:04 AM
RE: Some problem .... - Extreme - 09-14-2013, 03:03 AM
RE: Some problem .... - an0n!m0use - 09-18-2013, 04:41 AM
RE: Some problem .... - XuN - 09-18-2013, 05:21 AM
RE: Some problem .... - an0n!m0use - 09-20-2013, 06:47 PM
RE: Some problem .... - XuN - 09-20-2013, 09:29 PM
RE: Some problem .... - an0n!m0use - 09-20-2013, 11:58 PM
RE: Some problem .... - XuN - 09-21-2013, 07:22 AM
RE: Some problem .... - an0n!m0use - 09-22-2013, 11:00 PM
RE: Some problem .... - Mordaunt - 09-22-2013, 11:26 PM
RE: Some problem .... - XuN - 09-22-2013, 11:39 PM
RE: Some problem .... - an0n!m0use - 09-24-2013, 12:31 AM
RE: Some problem .... - Mordaunt - 09-24-2013, 01:56 AM
RE: Some problem .... - XuN - 09-24-2013, 03:25 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)