Jump to content
  • 0

Special effect scripts make my client crash?


Question

Posted
izlude,129,149,4    script    Waterfall#h1-1::Waterfall    111,{
    end;


    OnInit:
    hideonnpc strnpcinfo(0);
    while(1){
        specialeffect 349;
    }
    end;
    }
 

 

 

When i reloadthe script, my client crash==

6 answers to this question

Recommended Posts

Posted

About the script

    while(1){
        specialeffect 349;
    }

== mapserv display an infinite loop

 

 

What I should do is something like this

izlude,129,149,4	script	Waterfall#h1-1::Waterfall	100,12,12,{
OnInit:
	hideonnpc strnpcinfo(1);
	end;
OnTouch:
	specialeffect 349;
	end;
}
Posted

349 is the waterfall effect....i believe it's better for you to create / edit your map using browedit ..

 

those method above...can make ur "waterfall effect" worst only when it keep stacking...

Posted

About the script

    while(1){
        specialeffect 349;
    }

== mapserv display an infinite loop

 

 

What I should do is something like this

izlude,129,149,4	script	Waterfall#h1-1::Waterfall	100,12,12,{
OnInit:
	hideonnpc strnpcinfo(1);
	end;
OnTouch:
	specialeffect 349;
	end;
}

 

once i type @Load it's disappear=.="

 

 

349 is the waterfall effect....i believe it's better for you to create / edit your map using browedit ..

 

those method above...can make ur "waterfall effect" worst only when it keep stacking...

oh... so cant be able to use script add?

Posted

OnTouch will only trigger when you move near to the npc ....

 

this effect can be add using script...but not a good result ....

for example....2 Players..named X and Y

 

X come to the area..saw the waterfall effect...

Y come...and saw the waterfall effect too...

now.. X..do @refresh....so..the effect gone.....but Y still can see the effect...

now...X walk near the NPC...the effect show up again....

but... Y will saw stacking waterfall effect...

samething keep repeating if you do this by using script...

Posted

OnTouch will only trigger when you move near to the npc ....

 

this effect can be add using script...but not a good result ....

for example....2 Players..named X and Y

 

X come to the area..saw the waterfall effect...

Y come...and saw the waterfall effect too...

now.. X..do @refresh....so..the effect gone.....but Y still can see the effect...

now...X walk near the NPC...the effect show up again....

but... Y will saw stacking waterfall effect...

samething keep repeating if you do this by using script...

ok thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...