[Question] About quests

Results 1 to 18 of 18
  1. #1
    Account Upgraded | Title Enabled! swarm133 is offline
    MemberRank
    Oct 2006 Join Date
    237Posts

    [Question] About quests

    I am trying to make a quest that can be done several times. And for the quest dialog to be added in the quest list screen. and the quest to be removed from the quest list after each attempt of the quest. I don't think it's passable but i thought it's worth a shot. Does anyone know how to remove the 'clear' flag from a quest through quest.txt?


  2. #2
    Alpha Member Shortor is offline
    MemberRank
    Jun 2007 Join Date
    1,627Posts

    Re: [Question] About quests

    i think vladi knows how, but he's pwning some nubs

  3. #3
    Laravel Core Programmer Jangan is offline
    DeveloperRank
    Jul 2007 Join Date
    Dubai, UAELocation
    2,113Posts

    Re: [Question] About quests

    hmm well why dont you just make the same quest be done 3 times..

    "3 different quests in 1 npc" its easily done =D but idk about auto repeating the quest... gotta hear what bakabug is going to say about that

  4. #4
    Alpha Member Shortor is offline
    MemberRank
    Jun 2007 Join Date
    1,627Posts

    Re: [Question] About quests

    lol? luca doesn't know anything about quests.txt etc, he never looked into the official server files >_>.

  5. #5
    Account Upgraded | Title Enabled! swarm133 is offline
    MemberRank
    Oct 2006 Join Date
    237Posts

    Re: [Question] About quests

    Three quests in the one wont help when i want unlimited attempts possible for the quest. well unfortunately you cant decrease the flag number. there goes that idea. oh well. :(

  6. #6
    Account Upgraded | Title Enabled! PsyChiC is offline
    MemberRank
    Sep 2006 Join Date
    570Posts

    Re: [Question] About quests

    u can make quest several times but i wont tell u

  7. #7
    Your omega Dopestar is offline
    MemberRank
    Aug 2006 Join Date
    the NetherlandsLocation
    3,193Posts

    Re: [Question] About quests

    Quote Originally Posted by PsyChiC View Post
    u can make quest several times but i wont tell u
    then dont post ! little kid

  8. #8
    Laravel Core Programmer Jangan is offline
    DeveloperRank
    Jul 2007 Join Date
    Dubai, UAELocation
    2,113Posts

    Re: [Question] About quests

    Quote Originally Posted by swarm133 View Post
    Three quests in the one wont help when i want unlimited attempts possible for the quest. well unfortunately you cant decrease the flag number. there goes that idea. oh well. :(
    no one really does the same quest over 10 times.. they get bored.. i would suggest to make a hard quest be done like 3 - 5 times.. =P but yeah idk

  9. #9
    Account Upgraded | Title Enabled! PsyChiC is offline
    MemberRank
    Sep 2006 Join Date
    570Posts

    Re: [Question] About quests

    Quote Originally Posted by Dopestar View Post
    then dont post ! little kid
    oO Dopestar i tough u know why
    none shares with me, give me a reason to share with them
    (if its a good reason i will tell him)

  10. #10
    Laravel Core Programmer Jangan is offline
    DeveloperRank
    Jul 2007 Join Date
    Dubai, UAELocation
    2,113Posts

    Re: [Question] About quests

    well he said if you dont want to share then dont post =D

  11. #11
    Your omega Dopestar is offline
    MemberRank
    Aug 2006 Join Date
    the NetherlandsLocation
    3,193Posts

    Re: [Question] About quests

    yes jangan said it :P

    if you dont want to share your knowledge or dont have anything to add or what ever dont post in a thread

  12. #12
    This Time = Dead Time! gumby is offline
    MemberRank
    Oct 2006 Join Date
    #(^>*)>Location
    981Posts

    Re: [Question] About quests

    Quote Originally Posted by PsyChiC View Post
    oO Dopestar i tough u know why
    none shares with me, give me a reason to share with them
    (if its a good reason i will tell him)
    It's a public DEV forum...either share you knowledge or GTFO leacher Swarm has done many things for the kalonline comunity... he deserves help for this.... but anyways dont belive you know how, think your just trying to look smart

  13. #13
    Laravel Core Programmer Jangan is offline
    DeveloperRank
    Jul 2007 Join Date
    Dubai, UAELocation
    2,113Posts

    Re: [Question] About quests

    true swarm helped this community alot.. especially with valdi files =D

    its not really possible unless it auto resets it.. but then again that will take away your xp and contribution.. so we go back again to where we started =P

    i would prefer having to do it 10x.. im not really sure anyone on earth would do the same quest more than 5 times =S especially if swarm made it really hard

  14. #14
    Proficient Member FredyKiller is offline
    MemberRank
    Oct 2006 Join Date
    192Posts

    Re: [Question] About quests

    i really dont get the thing in this thread lol

    i know u want to make a quest that can be made seveal times but u mean a custom quest or the quest that are already in kal?? and wot kind of quest ...if u r making a quest of getting some items...like the bird event 1 i think u ca make it all the times u want. ..or i just dont get it lol

  15. #15
    Account Upgraded | Title Enabled! PsyChiC is offline
    MemberRank
    Sep 2006 Join Date
    570Posts

    Re: [Question] About quests

    Quote Originally Posted by gumby View Post
    It's a public DEV forum...either share you knowledge or GTFO leacher Swarm has done many things for the kalonline comunity... he deserves help for this.... but anyways dont belive you know how, think your just trying to look smart
    kk then i will tell him but not here it can be used for quest hack to
    reason for the first place to dont tell him =)

  16. #16
    Account Upgraded | Title Enabled! swarm133 is offline
    MemberRank
    Oct 2006 Join Date
    237Posts

    Re: [Question] About quests

    Would you mind pm'ing me through forum then? i would appreciate the help

  17. #17
    Account Upgraded | Title Enabled! swarm133 is offline
    MemberRank
    Oct 2006 Join Date
    237Posts

    Re: [Question] About quests

    Quote Originally Posted by PsyChiC View Post
    u can make quest several times but i wont tell u

    His 'idea' had nothing to do with what i was doing.

    It had nothing to do with the quest list (pressing q key)
    his idea wouldn't let monsters drop the items when doing quest and not when not doing quest.

    he was just suggesting the param send quest....so not usefull in any way

    ---------------------------------------------------------------------------------
    So i guess php or slq query every week is the only way.

    if anyone wants to make a quest that you can do over and over again (ie collect heads for random reward) i would suggest the following

    To make the quest be able to be completed 10 times a week:
    use enough flags to be able to have it switch on and off 10 times
    ie
    Code:
    1000 1 = Quest on
    1000 2 = Quest off
    
    1000 3 = Quest on for 2nd attempt
    1000 4 = quest off
    
    1000 5 = Quest on for 3rd attempt
    1000 6 = quest off
    
    1000 7 = Quest on for 4th attempt
    1000 8 = quest off
    
    1000 9 = Quest on for 5th attempt
    1000 10 = quest off
    
    1000 11 = Quest on for 6th attempt
    1000 12 = quest off
    
    1000 13 = Quest on for 7th attempt
    1000 14 = quest off
    
    1000 15 = Quest on for 8th attempt
    1000 16 = quest off
    
    1000 17 = Quest on for 9th attempt
    1000 18 = quest off
    
    1000 19 = Quest on for 10th attempt
    1000 20 = quest off and clear the quest to remove it from quest list
    and having a php scrypt that you run every week to reset
    any even quest flag to 1000 0 (and reset clear flag to 0 if (clear 1000 20) reached)
    and
    any odd quest flag to 1000 1

    And having the following put in the init monster if needed


    in initmonster.txt
    Code:
    (quest (1000 1 # 1)(1000 3 # 1)(1000 5 # 1)(1000 7 # 1)(1000 9 # 1)(1000 11 # 1)(1000 13 # 1)(1000 15 # 1)(1000 17 # 1)(1000 19 # 1))
    in itemgroup.txt
    Code:
     (group (index #) (item (1000 ? 0 *)))
    (itemgroup (index #) (group (1000 #)))
    where
    # = number for item group
    ? = Item index
    * = amount of item to drop

    and in task-e.dat(config.pk)
    Code:
     ( task 
    	( key 1000)
    	( name "Repeatable Quest")
    	( desc "This quest can be completed 10 times a week")
    	
    	( flag 
    		( key 1)
    		( desc "Your having your 1st attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 2)
    		( desc "Congrats on completing the quest. you can complete it 9 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 3)
    		( desc "Your having your 2nd attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 4)
    		( desc "Congrats on completing the quest. you can complete it 8 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 5)
    		( desc "Your having your 3rd attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 6)
    		( desc "Congrats on completing the quest. you can complete it 7 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 7)
    		( desc "Your having your 4th attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 8)
    		( desc "Congrats on completing the quest. you can complete it 6 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 9)
    		( desc "Your having your 5th attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 10)
    		( desc "Congrats on completing the quest. you can complete it 5 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 11)
    		( desc "Your having your 6th attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 12)
    		( desc "Congrats on completing the quest. you can complete it 4 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 13)
    		( desc "Your having your 7th attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 14)
    		( desc "Congrats on completing the quest. you can complete it 3 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 15)
    		( desc "Your having your 8th attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 16)
    		( desc "Congrats on completing the quest. you can complete it 2 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 17)
    		( desc "Your having your 9th attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 18)
    		( desc "Congrats on completing the quest. you can complete it 1 more times")
    		( param 257032 257425)
    	)
    	( flag 
    		( key 19)
    		( desc "Your having your 10th attempt at the quest")
    		( param 265183 262364)
    	)
    	( flag 
    		( key 20)
    		( desc "Shouldn't see this as should have used command (clear 1000 20)")
    		( param 257032 257425)
    	)
    )
    I'll leave the php script to some more talented people

    Don't forget to change the location of the ( param 257032 257425) to the location of the npc that gives the quest
    thats for the red dot to appear on the map

    Hope this help someone. and if anyone feels up to making a php script for this example that would be great.

  18. #18
    Your omega Dopestar is offline
    MemberRank
    Aug 2006 Join Date
    the NetherlandsLocation
    3,193Posts

    Re: [Question] About quests

    nice work swarm :)

    good to see you how it turned out



Advertisement