Quest doesnt show the right html

Results 1 to 15 of 15
  1. #1
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Quest doesnt show the right html

    My idea is that when u get a special level (lvl30 for example). Only the teleport buttons where you should level will be shown.
    But when im lvl 1 it worx fine, I do myself lvl 30, and the html shows the same as when i was lvl 1..
    Code:
    (quest (index 10000 1)
        (case (if (level 1))
            (then (html 000960)))
        (case (if (level 30))
                (then (html 000962)))
        (case (if (level 50))
                (then (html 000964)))
        (case (if (level 60))
                (then (html 000966)))
        (case (if (level 67))
                (then (html 000968)))
        (case (if (level 70))
                (then (html 000970)))
            (case (if (level 75))
                (then (html 000972)))
    (case (then (html 999832)))        
    )


  2. #2
    Account Upgraded | Title Enabled! StickyIcky is offline
    MemberRank
    Feb 2008 Join Date
    daheimLocation
    465Posts

    Re: Quest doesnt show the right html

    try html 960 without zero

  3. #3
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Re: Quest doesnt show the right html

    (quest (index 10000 1)
    (case (if (level 1))
    (then (html 000960)))
    this loads properly.. but when i get lvl 30, the html of level 1 loads.

  4. #4
    Kal Craker cristy_abaddon is offline
    MemberRank
    Apr 2006 Join Date
    acasaLocation
    859Posts

    Re: Quest doesnt show the right html

    you should try to reverse them ^_^ its just normal
    it check if the user is level 1 first time ,if it is then skip others
    do with descending levels
    like
    if level 70 then
    if level 60 then
    should work :)

  5. #5
    Account Upgraded | Title Enabled! StickyIcky is offline
    MemberRank
    Feb 2008 Join Date
    daheimLocation
    465Posts

    Re: Quest doesnt show the right html

    uhmm yea u need to write the higher lvl at first cuz if u make the lower lvl at first it will stay there alltime

  6. #6
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Re: Quest doesnt show the right html

    Code:
    (quest (index 10000 1)
    	(case (if (level 75))
    		(then (html 000972)))
    	(case (if (level 70))
    	        (then (html 000970)))
    	(case (if (level 67))
    	        (then (html 000968)))
    	(case (if (level 60))
    	        (then (html 000966)))
    	(case (if (level 50))
    	        (then (html 000964)))
    	(case (if (level 30))
    	        (then (html 000962)))
            (case (if (level 1))
    	        (then (html 000960)))
    (case (then (html 999832)))		
    )
    It looks like this now.
    But It still wont work. when im lvl 30 it still shows the html of lvl 1 "/..

  7. #7
    Account Upgraded | Title Enabled! StickyIcky is offline
    MemberRank
    Feb 2008 Join Date
    daheimLocation
    465Posts

    Re: Quest doesnt show the right html

    lol... mainserver dont like u xD
    but it should work like that

  8. #8
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Re: Quest doesnt show the right html

    Quote Originally Posted by StickyIcky View Post
    lol... mainserver dont like u xD
    but it should work like that
    But it doesnt

  9. #9
    boo General is offline
    MemberRank
    Sep 2006 Join Date
    at homeLocation
    2,269Posts

    Re: Quest doesnt show the right html

    (quest (index 10000 1)
    (case (if (level 75)) (then (html 972)))
    (case (if (level 70))
    (then (html 970)))
    (case (if (level 67))
    (then (html 968)))
    (case (if (level 60))
    (then (html 966)))
    (case (if (level 50))
    (then (html 964)))
    (case (if (level 30))
    (then (html 962)))
    (case (if (level 1))
    (then (html 960)))
    (case (then (html 999832)))
    )

  10. #10
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Re: Quest doesnt show the right html

    thank you.
    but it still doesnt work "/

  11. #11
    boo General is offline
    MemberRank
    Sep 2006 Join Date
    at homeLocation
    2,269Posts

    Re: Quest doesnt show the right html

    u sure the dialogues are right oO

    initnpc should be

    (kind 3) (quest 10000 1)

  12. #12
    Account Upgraded | Title Enabled! StickyIcky is offline
    MemberRank
    Feb 2008 Join Date
    daheimLocation
    465Posts

    Re: Quest doesnt show the right html

    just lil question
    u got win xp sp3 and use sharcrypt ?

  13. #13
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Re: Quest doesnt show the right html

    Quote Originally Posted by BjornVH View Post
    u sure the dialogues are right oO

    initnpc should be

    (kind 3) (quest 10000 1)
    Now i cant talk to the teleport stone.

    Here's the .dat files:

    This and the one under is for lvl1
    Code:
    (filechk file_ver (country_type ENG) (filename s000960))
    (background
    	(font 12) 
    	(link system ( param ( width 886) ( height 609) ( style center transparent) ( caption "Teleport")))
    )
    
    ( page ( pos 0 0) ( bitmap 'Teleport_menu' (colorkey 255 0 255)))
    
    ;D1
    ( page	( font 12)
    	( pos 25 140)
    	( button link	(bitmap 'dungeon1_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D2
    ( page	( font 12)
    	( pos 25 193)
    	( button link	(bitmap 'dungeon2_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D3
    ( page	( font 12)
    	( pos 25 246)
    	( button link	(bitmap 'dungeon3_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D4
    ( page	( font 12)
    	( pos 25 299)
    	( button link	(bitmap 'dungeon4_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;Death Valley
    ( page	( font 12)
    	( pos 25 352)
    	( button link	(bitmap 'deathvalley_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;E-Mok Island
    ( page	( font 12)
    	( pos 25 405)
    	( button link	(bitmap 'emokisland_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;Dragon Island
    ( page	( font 12)
    	( pos 25 458)
    	( button link	(bitmap 'dragonisland_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;Dragon Island
    ( page	( font 12)
    	( pos 25 511)
    	( button link	(bitmap 'nextpage') ( param load "s000961" )( tip "")(colorkey 15 15 15))
    )
    Code:
    (filechk file_ver (country_type ENG) (filename s000961))
    (background
    	(font 12) 
    	(link system ( param ( width 886) ( height 609) ( style center transparent) ( caption "Teleport")))
    )
    
    ( page ( pos 0 0) ( bitmap 'Teleport_menu' (colorkey 255 0 255)))
    
    ;D1
    ( page	( font 12)
    	( pos 25 140)
    	( button link	(bitmap 'eventisland_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D2
    ( page	( font 12)
    	( pos 25 193)
    	( button link	(bitmap 'forestofelements_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D3
    ( page	( font 12)
    	( pos 25 246)
    	( button link	(bitmap 'dungeon5_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    
    ;Dragon Island
    ( page	( font 12)
    	( pos 25 299)
    	( button link	(bitmap 'firstpage') ( param load "s000960" )( tip "")(colorkey 15 15 15))
    )
    there 2 below are for the lvl 30.
    Code:
    (filechk file_ver (country_type ENG) (filename s000962))
    (background
    	(font 12) 
    	(link system ( param ( width 886) ( height 609) ( style center transparent) ( caption "Teleport")))
    )
    
    ( page ( pos 0 0) ( bitmap 'Teleport_menu' (colorkey 255 0 255)))
    
    ;D1
    ( page	( font 12)
    	( pos 25 140)
    	( button link	(bitmap 'dungeon1') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D2
    ( page	( font 12)
    	( pos 25 193)
    	( button link	(bitmap 'dungeon2_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D3
    ( page	( font 12)
    	( pos 25 246)
    	( button link	(bitmap 'dungeon3_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D4
    ( page	( font 12)
    	( pos 25 299)
    	( button link	(bitmap 'dungeon4_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;Death Valley
    ( page	( font 12)
    	( pos 25 352)
    	( button link	(bitmap 'deathvalley_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;E-Mok Island
    ( page	( font 12)
    	( pos 25 405)
    	( button link	(bitmap 'emokisland_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;Dragon Island
    ( page	( font 12)
    	( pos 25 458)
    	( button link	(bitmap 'dragonisland_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;Dragon Island
    ( page	( font 12)
    	( pos 25 511)
    	( button link	(bitmap 'nextpage') ( param load "s000963" )( tip "")(colorkey 15 15 15))
    )
    Code:
    (filechk file_ver (country_type ENG) (filename s000963))
    (background
    	(font 12) 
    	(link system ( param ( width 886) ( height 609) ( style center transparent) ( caption "Teleport")))
    )
    
    ( page ( pos 0 0) ( bitmap 'Teleport_menu' (colorkey 255 0 255)))
    
    ;D1
    ( page	( font 12)
    	( pos 25 140)
    	( button link	(bitmap 'eventisland_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D2
    ( page	( font 12)
    	( pos 25 193)
    	( button link	(bitmap 'forestofelements_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    ;D3
    ( page	( font 12)
    	( pos 25 246)
    	( button link	(bitmap 'dungeon5_nocolor') ( param send quest 6006 11 )( tip "")(colorkey 15 15 15))
    )
    
    ;Dragon Island
    ( page	( font 12)
    	( pos 25 299)
    	( button link	(bitmap 'firstpage') ( param load "s000962" )( tip "")(colorkey 15 15 15))
    )

  14. #14

    Re: Quest doesnt show the right html

    use save and clear

    like in (quest (index 2 1)

    then if they get
    lvl 30 it goes 10000 2 (linked)
    lvl 40 it goes 10000 3 (linked)

  15. #15
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Re: Quest doesnt show the right html

    Quote Originally Posted by ronjambo View Post
    use save and clear

    like in (quest (index 2 1)

    then if they get
    lvl 30 it goes 10000 2 (linked)
    lvl 40 it goes 10000 3 (linked)
    It's almost the same as i made without linked.

    If lvl 1 = html 000960
    If lvl 30 = html 000961

    EDIT : Fixed it.



Advertisement