Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Yes a COMPLETE BUFF NPC

☺☺Just Ask The Pope☺☺
Joined
Jul 19, 2009
Messages
585
Reaction score
93
Today im going to teach you how to add your very own BUFF NPC


Make sure you have a Buff NPC made or use any unused NPC
once you have NPC of your choice only edit the name ill mark it in red


1. Place The Script in (ScenarioBookShelf\Map)

2. MAKE SURE the script is inserted in to Field.txt under
Map/whatever you called the script.

3. make sure you have the correct skill level. EXAMPLE,

abstateset Clicker "StaSafeProtection" 11 3600000.
abstateset Clicker "StaDarknessProtection" 5 3600000.
abstateset Clicker "StaGTISpeed" 1 15000.
abstateset Clicker "StaBestHighConSPPotion" 5 15000.
abstateset Clicker "StaBestHighConHPPotion" 5 15000.

I HAVE SKILL LEVEL 11, 5 ,1, 5 ,5,

You may want higher or a lover level buff.

save as a .ps file

Code:
open [main]
    var InterruptBlock	""
        InterruptArg	""
		BuffHandle	0
		Exit			"".

     
    interruptclear all.
    interruptset admin "" 1 "".
    call "RouItemMctPey".
	infinite
	
    open
        waitinterrupt InterruptBlock "InterruptArg".    
        call InterruptBlock "RouItemMctPey".
		
	close
		

close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [IsRunning]
    broadcast Handle "I am running" InterruptArg.
    interruptset admin "" 1 "".
	call InterruptBlock "RouItemMctPey".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [RouItemMctPey]
    npcstand Exit "[COLOR="#FF0000"][B]BuffNPC[/B][/COLOR]" 7485 6997 0 1000 "Normal".
    interruptset NPCClickHandle "ExitClick" 1 Exit "RouItemMctPeyBuff".
	interruptset admin "" 1 "".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [RouItemMctPeyBuff] 
    var Clicker 0.
    whoclickme Clicker InterruptArg.
        abstateset Clicker "StaSafeProtection" 11 3600000.
        abstateset Clicker "StaDarknessProtection" 5 3600000.
		abstateset Clicker "StaBestHighStrCriPotion" 5 3600000.
		abstateset Clicker "StaBlessingMain" 5 3600000.
		abstateset Clicker "StaRamaPotion07" 5 3600000.
		abstateset Clicker "StaSacrifice" 1 3600000.
		abstateset Clicker "StaBestHighConHPPotion" 5 360000.
		abstateset Clicker "StaBestHighConSPPotion" 5 360000.
		
    interruptset NPCClickHandle "ExitClick" 1 Exit "RouItemMctPeyBuff".
	interruptset admin "" 1 "".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [LightsOff]

    maplight 0 0 0.
    interruptset admin "" 1 "".
close

open [LightsOffSlow]

LightTick = 0.

while LightTick < 52
  open
   maplight (255 - LightTick * 5) (255 - LightTick * 5) (255 - LightTick * 5).
   LightTick = LightTick + 1.
  close
interruptset admin "" 1 "".
close

Enjoy Your New Buffer...

Edited From Old Falou Files.
 
Last edited:
Newbie Spellweaver
Joined
Jan 31, 2010
Messages
33
Reaction score
0
I edited the part you highlighted and added the buff npc, but it does nothing, even when you click it or stand right next to it, do I have to add/do something else? I also tried modifying the NPC file and yet nothing. Is the buff npc info related to the script info?

Edit: Somehow the buff npc I created appeared in Roumen (I placed it in Elderine) and it works perfectly. The one placed in Elderine does nothing:laugh:
 
Last edited:
☺☺Just Ask The Pope☺☺
Joined
Jul 19, 2009
Messages
585
Reaction score
93
1. DID U SAVE THE SCRIPT AS A .PS
2. Did you only edit the part in red
3. Is the name of the script the same as the call functions in the script?

if your having issues with this still then maybe I can teamview you.
 
Newbie Spellweaver
Joined
Jan 31, 2010
Messages
33
Reaction score
0
1. DID U SAVE THE SCRIPT AS A .PS
2. Did you only edit the part in red
3. Is the name of the script the same as the call functions in the script?

if your having issues with this still then maybe I can teamview you.

Hi there, I got it working, it somehow appeared in Roumen and works perfectly, I am trying to place another one in other maps as well.
 
Newbie Spellweaver
Joined
Feb 3, 2018
Messages
68
Reaction score
34
If u click the NPC client will quit and error! 2016Files .
 
Newbie Spellweaver
Joined
Mar 25, 2022
Messages
19
Reaction score
1
Where can I find all the buff/ state names?

nvm - got it
 
Last edited:
Back
Top