Yes a COMPLETE BUFF NPC

Results 1 to 11 of 11
  1. #1
    ☺☺Just Ask The Pope☺☺ PopeJohnPaul is offline
    MemberRank
    Jul 2009 Join Date
    Ottawa CALocation
    578Posts

    Yes a COMPLETE BUFF NPC

    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 "BuffNPC" 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 by PopeJohnPaul; 27-07-19 at 09:41 AM.


  2. #2
    Enthusiast jajaopil is offline
    MemberRank
    Jan 2010 Join Date
    33Posts

    Re: Yes a COMPLETE BUFF NPC

    What parts should be edited? Could you please specify? Thanks!

  3. #3
    ☺☺Just Ask The Pope☺☺ PopeJohnPaul is offline
    MemberRank
    Jul 2009 Join Date
    Ottawa CALocation
    578Posts

    Re: Yes a COMPLETE BUFF NPC

    I edited the part that only has to be edited in red in main script :)

  4. #4
    Enthusiast jajaopil is offline
    MemberRank
    Jan 2010 Join Date
    33Posts

    Re: Yes a COMPLETE BUFF NPC

    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
    Last edited by jajaopil; 27-07-19 at 08:01 PM.

  5. #5
    ☺☺Just Ask The Pope☺☺ PopeJohnPaul is offline
    MemberRank
    Jul 2009 Join Date
    Ottawa CALocation
    578Posts

    Re: Yes a COMPLETE BUFF NPC

    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.

  6. #6
    Enthusiast jajaopil is offline
    MemberRank
    Jan 2010 Join Date
    33Posts

    Re: Yes a COMPLETE BUFF NPC

    Quote Originally Posted by PopeJohnPaul View Post
    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.

  7. #7

    Re: Yes a COMPLETE BUFF NPC

    better would be a tutorial for a BUFF Map

    or is there such a tutorial already?

  8. #8
    Enthusiast vipzomen is offline
    MemberRank
    Feb 2018 Join Date
    48Posts

    Re: Yes a COMPLETE BUFF NPC

    2016Files Don't work

  9. #9
    Enthusiast linian is offline
    MemberRank
    Jul 2020 Join Date
    SpainLocation
    26Posts

    Re: Yes a COMPLETE BUFF NPC

    work in all files

  10. #10
    Enthusiast vipzomen is offline
    MemberRank
    Feb 2018 Join Date
    48Posts

    Re: Yes a COMPLETE BUFF NPC

    If u click the NPC client will quit and error! 2016Files .

  11. #11
    Apprentice harmbasi is offline
    MemberRank
    Mar 2022 Join Date
    19Posts
    Where can I find all the buff/ state names?

    nvm - got it
    Last edited by harmbasi; 06-09-22 at 07:45 PM.



Advertisement