Thread: Quest config

Results 1 to 7 of 7
  1. #1 Quest config 
    Community Veteran

    Songoty's Avatar
    Join Date
    Dec 2007
    Posts
    2,741
    Thanks given
    207
    Thanks received
    1,022
    Rep Power
    2351
    How do you obtain the config for each quest text/interface (7332, ect). I think that's how you properly change the color. I've been trying to get it for the past half hour, but unfortunately I'm not that good at clients
    Reply With Quote  
     

  2. #2  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    26
    Posts
    7,989
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    Seeing as how they have no configurations for being enabled. I guess you would just use packet 122.
    Code:
    if (pktType == 122) {
    				int id = packetStream.method436();
    				int color = packetStream.method436();
    				int red = color >> 10 & 0x1f;
    				int green = color >> 5 & 0x1f;
    				int Blue = color & 0x1f;
    				RSInterface.interfaceCache[id].disabledColor = (red << 19)
    						+ (green << 11) + (Blue << 3);
    				pktType = -1;
    				return true;
    			}


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Community Veteran

    Songoty's Avatar
    Join Date
    Dec 2007
    Posts
    2,741
    Thanks given
    207
    Thanks received
    1,022
    Rep Power
    2351
    Oh. I was told a long time ago it was a config state

    Thanks alot stewie
    Reply With Quote  
     

  5. #4  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    26
    Posts
    7,989
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    No Problem


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #5  
    Registered Member Deathfire138's Avatar
    Join Date
    Aug 2009
    Posts
    175
    Thanks given
    26
    Thanks received
    16
    Rep Power
    57
    To clear up any current misconceptions:

    400+ use configs for their quest names (i.e.: Turning the quest 'Romeo and Juliet' red, yellow, or green) while anything lower does not. With those you have to use the sendString packet and do a @[email protected], @[email protected], or @[email protected] Hope this clears any misunderstandings about quest-configuration relationships.



    Reply With Quote  
     

  7. #6  
    Community Veteran

    Songoty's Avatar
    Join Date
    Dec 2007
    Posts
    2,741
    Thanks given
    207
    Thanks received
    1,022
    Rep Power
    2351
    Quote Originally Posted by Deathfire138 View Post
    To clear up any current misconceptions:

    400+ use configs for their quest names (i.e.: Turning the quest 'Romeo and Juliet' red, yellow, or green) while anything lower does not. With those you have to use the sendString packet and do a @[email protected], @[email protected], or @[email protected] Hope this clears any misunderstandings about quest-configuration relationships.
    using colors in the string in the sendquest removes the hover over effect. Packet 122 allows you to send the color for that string without removing the hover.
    Reply With Quote  
     

  8. #7  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Quote Originally Posted by Songoty View Post
    using colors in the string in the sendquest removes the hover over effect. Packet 122 allows you to send the color for that string without removing the hover.
    Could you post an example of using packet 122?

    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •