Jump to content
  • 0

Can't Fix Scheme Buffer


Question

Posted (edited)

Hello guys :S
im trying to fix my scheme buffer
for some reason when i make a scheme and restart the server the scheme i made before is deleted...

 did i did any mistakes on the config? (this is the in the powepak)

# Npc Buffer - scheme buffer - set buffs - single buffs
BufferNpcId=50019
BufferEnabled = True
BufferUseCommand = False
BufferCommand = buffs
BufferPrice = 1000
BufferUseBBS = False
BufferExcludeOn = RB OLYMPIAD PVP SIEGE EVENT ATTACK
#list = skillId,skillLvl;skillId,skillLvl;....
FighterSkillList=1204,2;1035,3;1036,3;4344,3;1045,6;1048,6;1068,3;1077,3;1086,2;1259,3;1268,3;271,1;274,1;275,1;310,1;264,1;269,1;304,1;268,1;1356,1;1388,3;
MageSkillList=1204,2;1035,3;1036,3;4344,3;1045,6;1048,6;1078,6;1085,3;1062,2;1259,3;1059,3;273,1;276,1;365,1;264,1;268,1;304,1;267,1;1389,3;1355,1;
# Max schemes that a player can store. Please, do not use too big values
# Default value: 4 (one per subclass...)
NPCBufferMaxSchemesPerChar = 4
# Max skills that a player can store in each scheme. Please, do not use too big values.
# This value should match to max buffs a player can carry
# Default value: 24 (max buffs are 20+4 in retail)
NPCBufferMaxSkllsperScheme = 32
# This enables/disables storing character schemes at server shutdown to database
# Default = True
NPCBufferStoreSchemes = True
# This is to bypasss SQL Adena amount reference so that you can set the same cost for all
# or even setting them for free.
# Free = 0
# Disabled = -1 (if you want to read adena from SQL)
# Default value: -1
NPCBufferStaticCostPerBuff = -1


and also to change the html on my class master you know the little cat where do i go ?? data/hrml/??? (can't find it)


i use l2jfrozen (interlude)

Edited by Stev0

14 answers to this question

Recommended Posts

  • 0
Posted (edited)

sorry i forgot to write it lol
anyways :P

i use l2jfrozen  (interlude)

Edited by Stev0
  • 0
Posted

and also to change the html on my class master you know the little cat where do i go ?? data/hrml/??? (can't find it)

 

I think it's in default folder , or in class master.

  • 0
Posted

there is no class master folder
i searched in default folder but nothing the id of the npc is 31228
i tried to search for the npc id but when i open it its not the class master but the event cat which you give event medals to get potions and shit... im lost :P

i use l2jfrozen interlude if that helps

and about the scheme buffer i still cant make it to store the buff list after a RR the lists are deleted..

  • 0
Posted

i dont care much about the class manager..
but i need to fix the scheme buffer -.-"

can any1 help? im waiting~

  • 0
Posted

i guess this is the table for schemes
i get this message when i open it

orFEADJ.png



i just dont understand what is wrong with the scheme buffer -.-"

  • 0
Posted

There's no primary key because as you can see there's no column with "unique" pattern. Multiple lines can refer to the same schemes, player, skill id or skill level. There is no problem by itself.

 

The scheme save is probably made on Shutdown.java, verify if you got a line here. If not then add one. If yes, than shutdown your server correctly.

  • 0
Posted

Sorry for big bump but the solution is very easy. To fix this issue you have to go to com.l2jfrozen.gameserver.datatables.CharSchemesTable.java and change:
if (PowerPakConfig.NPCBUFFER_STORE_SCHEMES ) to if (PowerPakConfig.NPCBUFFER_STORE_SCHEMES == true) then test it again ;)

Hope I helped you or anyone :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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