Jump to content
  • 0

Special effect scripts make my client crash?


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

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==

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

It means your client doesn't support the effect, it depends on your client.

Have you update your data folder or GRF?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

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;
}
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...