L2J Chronicle 4

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Sikken
Posts: 53
Joined: Sat Sep 05, 2009 10:03 pm

L2J Chronicle 4

Post by Sikken »

Looking for a complete list of quests for c4, if someone has come across one, please link, or upload.

thank you ;)
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: L2J Chronicle 4

Post by Aikimaniac »

on retail or on L2J in time when C4 was actual ? If the 2nd option, check this rar http://trac.l2jdp.com/browser/branches/C4_Datapack
Image
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: L2J Chronicle 4

Post by JIV »

get it from client..
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: L2J Chronicle 4

Post by jurchiks »

there's a txt file in attachment with all missing c4 quests listed in numerical order.
it's compared to latest c4 datapack and latest c4 client.
Quite honestly i was surprised when i made this because it seems that there are more quests missing than done.
You do not have the required permissions to view the files attached to this post.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Pandragon
Posts: 704
Joined: Tue Jul 26, 2005 7:38 pm

Re: L2J Chronicle 4

Post by Pandragon »

I Tried to add some quests from the C5 branch but they do not seem to load.

Added 11_SecretMeetingWithKetraOrcs quest folder.
Added '11_SecretMeetingwithKetraOrcs', line in __init__.py of quests folder.

When C4 branch server is loading quests...
console doesn't show any message for quest #11
importing quests: 10: Into The World
importing quests: 19: Go To The Pastureland

Tried lots of C5 branch quests with no result,
is there another file that I must register the quest?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: L2J Chronicle 4

Post by jurchiks »

maybe the c5 scripts don't log the "importing" text?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Pandragon
Posts: 704
Joined: Tue Jul 26, 2005 7:38 pm

Re: L2J Chronicle 4

Post by Pandragon »

jurchiks wrote:maybe the c5 scripts don't log the "importing" text?
No, __init__.py has the text at the last line, same as C4 quests.
http://svn.l2jdp.com/branches/C5_Datapa ... _init__.py
print "importing quests: 11: Secret Meeting With Ketra Orcs"
also when I go to get the quest, the NPC doesn't show it.

Also tried to build from C4 branch SVN and precompiled server from nightlies folder, same thing...
What I use:
C4 Server: http://www.l2jserver.com/nightly/index. ... server.zip
C4 datapack: http://www.l2jserver.com/nightly/index. ... tapack.zip
Quest #11 from C5 datapack: http://www.l2jserver.com/nightly/index. ... tapack.zip
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: L2J Chronicle 4

Post by jurchiks »

I noticed only this:
in C4 (http://svn.l2jdp.com/branches/C4_Datapa ... _init__.py)
at the bottom you have this:

Code: Select all

QUEST.addStartNpc(7008)CREATED.addTalkId(7008)STARTED.addTalkId(7008)
In C5 (http://svn.l2jdp.com/branches/C5_Datapa ... _init__.py), however, you have this:

Code: Select all

QUEST.addStartNpc(Cadmon)QUEST.addTalkId(Cadmon)QUEST.addTalkId(Leon)
See the difference?
Not sure if that's all there is to it, but it might just be it.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: L2J Chronicle 4

Post by tukune »

C4 -- def onTalk (Self,npc,st):
C5 -- def onTalk (Self,npc,player):

command prompt:

Code: Select all

svn diff^ http://svn.l2jdp.com/branches/C4_Datapack/datapack_development/data/jscript/quests/101_SwordOfSolidarityQuest/__init__.py^ http://svn.l2jdp.com/branches/C5_Datapack/data/jscript/quests/101_SwordOfSolidarityQuest/__init__.py
User avatar
Pandragon
Posts: 704
Joined: Tue Jul 26, 2005 7:38 pm

Re: L2J Chronicle 4

Post by Pandragon »

Did both the above and also changed correct NPC ids (script and htm files).
Still doesn't seem to load quest, not even give an error for it.

C5->C4 script

Code: Select all

#made by Emperorcimport sysfrom net.sf.l2j.gameserver.model.quest import Statefrom net.sf.l2j.gameserver.model.quest import QuestStatefrom net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "11_SecretMeetingWithKetraOrcs" #NPCsCadmon = 8296Leon = 7040Wahkan = 8371 #ItemBox = 7231 class Quest (JQuest) :  def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)  def onEvent (self,event,st) :     htmltext = event     if event == "8296-03.htm" :       if st.getPlayer().getLevel() >= 74 :            st.set("cond","1")            htmltext = "8296-03.htm"            st.setState(STARTED)            st.playSound("ItemSound.quest_accept")       else :            htmltext = "8296-02.htm"            st.exitQuest(1)     elif event == "7040-02.htm" :         st.set("cond","2")         htmltext = "7040-02.htm"         st.giveItems(Box,1)     elif event == "8371-02.htm" :         htmltext = "8371-02.htm"         st.takeItems(Box,-1)         st.addExpAndSp(22787,0) #Despite what stratics may say, this is the correct reward for this quest.         st.set("cond","0")         st.set("onlyone","1")         st.setState(COMPLETED)         st.playSound("ItemSound.quest_finish")     return htmltext  def onTalk (Self,npc,st):     npcId = npc.getNpcId()     htmltext = "<html><head><body>I have nothing to say to you.</body></html>"      cond = st.getInt("cond")     onlyone = st.getInt("onlyone")     if st.getState() == CREATED :        st.set("cond","0")        st.set("onlyone","0")     if onlyone == 0 :         if npcId == Cadmon :             if cond == 0 :                 htmltext = "8296-01.htm"             elif cond == 1 :                 htmltext = "8296-04.htm"             if npcId == Leon :                 if cond == 1 :                     htmltext = "7040-01.htm"                 elif cond == 2 :                     htmltext = "7040-03.htm"             elif npcId == Wahkan and cond == 2 :                 htmltext = "8371-01.htm"     return htmltext     QUEST       = Quest(11, qn, "Secret Meeting With Ketra Orcs")CREATED     = State('Start',    QUEST)STARTED     = State('Started',  QUEST)COMPLETED   = State('Completed',QUEST) QUEST.setInitialState(CREATED)QUEST.addStartNpc(Cadmon) CREATED.addTalkId(Cadmon) STARTED.addTalkId(Cadmon)STARTED.addTalkId(Leon)STARTED.addTalkId(Wahkan) print "importing quests: 11: Secret Meeting With Ketra Orcs" 
Include full script and htmls in attachment.
You do not have the required permissions to view the files attached to this post.
User avatar
Pandragon
Posts: 704
Joined: Tue Jul 26, 2005 7:38 pm

Re: L2J Chronicle 4

Post by Pandragon »

Just tested another thing.

-Took C4 quest #10.
-Renamed it as quest #11 (in script and folder name).

Should load it at server startup because it is surelly a C4 quest.
-doesn't load quest -
Post Reply