Strange Bug for add quest on questpropriety
Posted: Fri Nov 12, 2010 2:18 pm
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Last:
L2JDP Revision Last:
So just incomprehensible
i need to add 1quest on quest propriety so when i add in config.java
quest was 692_Howtoopposeevil
So i go on quest script and add
After i go to quest.propriety and add
After i go to config.java and now i have a strange prob
When i copy past
and change to
I can Compiled
and when i change to
i get this error
anyone have idea
» Find Revision
L2J Revision Last:
L2JDP Revision Last:
So just incomprehensible
i need to add 1quest on quest propriety so when i add in config.java
quest was 692_Howtoopposeevil
So i go on quest script and add
Code: Select all
def onKill(self,npc,player,isPet): partyMember = self.getRandomPartyMember(player,"3") if not partyMember: return st = partyMember.getQuestState(qn) if st : chance = DROP_CHANCE * Config.RATE_QUEST_DROP numItems, chance = divmod(chance,1000) if st.getRandom(1000) < chance : numItems += 1 if numItems : if npc.getNpcId() in DESTRUCTION_MOBS : st.giveItems(FLEET_STEED_TROUPS_CHARM,3) else : st.giveItems(NUCLEUS_OF_A_FREED_SOUL,3) st.playSound("ItemSound.quest_itemget") return
Code: Select all
# 692_How to Oppose Evil# Quest item drop rate# 1000 = 100%DROP_RATE_692 = 500
When i copy past
Code: Select all
QUESTS_645 = getInt(properties, override, "DROP_RATE_645", 1);
Code: Select all
QUESTS_645 = getInt(properties, override, "DROP_RATE_692", 1);
and when i change to
Code: Select all
QUESTS_692 = getInt(properties, override, "DROP_RATE_692", 1);
Code: Select all
:3418: cannot find symbol [javac] symbol : variable QUESTS_692 [javac] location: class com.l2jserver.Config [javac]QUESTS_692 = getInt(properties, override, "DROP_RATE_692", 1); [javac] ^ [javac] 1 error

anyone have idea
