[Share]NPC_Buffer l2jfree L2J 

Status
Not open for further replies.
Joined
Jan 26, 2006
Messages
30
Reaction score
0
since I've had problems with not loading custom quests server didn't load npc_buffer anymore so I adapted the code to the new one and changed some stuff

package includes:
sql files, chants (allso chant of magnus)
xml files for 2 hours buffs
jscript
html

buffer gives you buffs, dances , songs and chants you can rebuff anytime you want don't need to wait till buffs are away
if ppl think it's good buffer I ll add some more features like
mp/hp/cp, resistbuffs and will add pictures in menus to make it better

for ppl that want it I can add extra list with 3rd class buffs just ask and I make other package


View attachment NPC_Buffer_05052007.rar

Changes:
added -> CP restore ability (custom skill, work 100% server +client file included)
fixed: some bufftimes that weren't correct
changed: after PP buffs it restores HP/MP

Next version: other template make buffer more beautifull, make detailed bufflist, add 3rd class buffs , and protection buffs like arcane protection etc


View attachment NPC Buffer 090507_V2.rar
 
Last edited:
since I've had problems with not loading custom quests server didn't load npc_buffer anymore so I adapted the code to the new one and changed some stuff

package includes:
sql files, chants (allso chant of magnus)
xml files for 2 hours buffs
jscript
html

buffer gives you buffs, dances , songs and chants you can rebuff anytime you want don't need to wait till buffs are away
if ppl think it's good buffer I ll add some more features like
mp/hp/cp, resistbuffs and will add pictures in menus to make it better

for ppl that want it I can add extra list with 3rd class buffs just ask and I make other package




View attachment 40099
Yes plz an interlude buff with more skills and restores :)
 
papari just tell me what options you want and I ll try to make it

I make changes and add some 3rd class buffs, ans post it if it's done
i allso fix some minor things in previous version I notices that I forgot to change bufftime of 2 songs and for some chants etc you need to have spirit or soul ore I dont know exactly wich of these 2 but I ll change the menu so ppl can see that, later I change it so money won't go away and it says like "you need "item" "
 
New version is here look in first post.

payement in adena / restores mp/hp after prophet buff
restore CP option (working)

soon new version with more options if someone has a request just tell it :)
 
Sorry for the double post, but I have run into a problem and I needed tu bump this up so.. here it goes..

I have changed the buff Id's which works for Interlude. now all buffs work when you ask them.

But...

When I get the buff it says, script error. So that means the function "return "4.htm" " is incorrect, I thought, I have checked this but no luck at all

Here is an example how it is at the moment
Code:
			#Wind Walk
			if event == "7":
				st.takeItems(ADENA_ID,1)
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1204,2),False,False)
				st.getPlayer().setCurrentMp(st.getPlayer().getMaxMp())	
				return "5.htm"		
				st.setState(COMPLETED)

This is Interlude btw :)
Thanks in advance
Fragger-
 
its not necessary to add a jython script to make a npc buffer
take a look at buff_templates.sql
is there any way to make the html comes back after buffing?

Exemple: On jython i have a line that after the guy get the buff the html comes back to him(if i'm not wrong is when the event get complte then return to set html) but i dunno if i can do that on a simple html using the buff_template cuz thats annoying to after each buff have to enter on main menu again.
 
Status
Not open for further replies.
Back