Thread: Treasure Trail Codes/Base

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 Treasure Trail Codes/Base 
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,957
    Thanks given
    7
    Thanks received
    255
    Rep Power
    445
    This Isn't Full Treasure Trails, as I'm Just Gonna Put Some Codes That Will Help You When Creating Treasure Trails. This Is Practily a Base But im Not Going To Spoon Feed You On How To Use These Codes

    FIRST!: Find Your Frames And Add This.

    Code:
    // Item On Interface
    	public void sendFrame34(int frame,int item,int slot,int amount){
            outStream.createFrameVarSizeWord(34);
            outStream.writeWord(frame);
            outStream.writeByte(slot);
            outStream.writeWord(item+1);
            outStream.writeByte(255);
            outStream.writeDWord(amount);
            outStream.endFrameVarSizeWord();
        }
    HAVING A INTERFACE POP UP whEN THE SCROLL IS CLICKED
    Put in case 122:

    Code:
    
    if (ItemID == Cluescroll) {
    openinterface($$$$)
    }
    replace the clue scroll id with well the id you want the scroll or casket or w/e to be. change $$$$ to the interface id of the clue scroll that you wish to open, (such as a tt map)


    SAMPLE VOID FOR TREASURE TRAIL REWARD
    Here Is a Sample Void:
    Code:
    public void clueScroll(int i1, int a1, int i2, int a2, int i3, int a3, int i4,int a4,int clueID){
    		showInterface(6960);
    		sendFrame34(6963,i1, 0,a1);
    		sendFrame34(6963, i2, 1, a2);
    		sendFrame34(6963, i3, 2, a3);
    		sendFrame34(6963, i4, 3, a4);
    				addItem(i1,a1);
    				addItem(i2,a2);
    				addItem(i3,a3);
    				addItem(i4,a4);
    				sendMessage("Congradulations, You Have Completed Treasure Trails");
    			deleteItem(clueID,GetItemSlot(clueID),1);
    	}
    Well That Was The "ending" interface of which you get when comleting treasure trails. i am not showing you how to use the void (its common knoledge)



    EXTRA THINGS THAT MIGHT COME IN HANDY
    EXTRA:
    Code:
    void Scroll(String line1, String line2, String line3, String line4, String line5, String line6, String line7, String line8) {
    			showInterface(6965);
    				sendString(line1, 6968);
    				sendString(line2, 6969);
    				sendString(line3, 6970);
    				sendString(line4, 6971);
    				sendString(line5, 6972);
    				sendString(line6, 6973);
    				sendString(line7, 6974);
    				sendString(line8, 6975);
    			}
    That Is a Blank Clue Scroll So You Can Write Some!


    SOME CLUE INTERFACES(not them all)
    9359 Clue Scroll //West Ardougne, West side. Northeast house in the group of 12 houses in the middle near the Underground Pass entrance
    9454 Clue Scroll // somehwere not sure where
    9507 Clue Scroll
    9632 Clue Scroll
    9720 Clue Scroll // clock tower south of ard bank
    9839 Clue Scroll // building next to rimmington
    4305 Clue scroll map // peinsula next to craft guild
    6960 Clue Reward
    6965 Clue scroll // brown fox? wtf?
    6984 Hint // nothing
    7045 Clue map // varrock east mine
    7092 Lines on the clue scroll (ya its lines lol)
    7113 Clue map // draynor clue
    7162 Clue map // east of ranging guild
    7271 Clue map // fally rocks north of entrance
    17620 clue map // wildy lv 50 near agility course



    CREDITS:
    ME!
    Whovever Made The Frame34 Code
    Filth Jr- for the code to put in packet 122
    Reply With Quote  
     

  2. #2  
    Registered Member
    Klorox's Avatar
    Join Date
    Sep 2007
    Posts
    1,090
    Thanks given
    2
    Thanks received
    11
    Rep Power
    700
    Nice i suppose.
    Reply With Quote  
     

  3. #3  
    ( ͡° ͜ʖ ͡°)
    Edgeville's Avatar
    Join Date
    Nov 2007
    Posts
    2,455
    Thanks given
    80
    Thanks received
    428
    Rep Power
    2589
    Not bad, Thanks.

    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,957
    Thanks given
    7
    Thanks received
    255
    Rep Power
    445
    Quote Originally Posted by klorox View Post
    Nice i suppose.
    well its just some codes that can easily be used to mold a nice treasure trail system. didn't feel like giving out a whole treasure trail as not many have this (other than delta)
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Mar 2008
    Posts
    2,595
    Thanks given
    128
    Thanks received
    191
    Rep Power
    0
    Lol, if you were gonna add to a tutorial I would've explained better.

    Place this code in packet 122. Change 'Cluescroll' to your clue scroll/casket ID. Change 'clues(bah)' to 'clueScroll(int, int, int, int, int, int, int,int, int )' or 'Scroll(String, String, String, String, String, String, String, String)'

    Code:
    if (ItemID == Cluescroll) {
    clues(bah);
    }
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,957
    Thanks given
    7
    Thanks received
    255
    Rep Power
    445
    Quote Originally Posted by filth jr View Post
    Lol, if you were gonna add to a tutorial I would've explained better.
    i wasn't gonna add that, as i forgot about opening the interfaces, but i had a different method of doing it since im using dodian but ill post yours.

    i knew what you ment tho.
    Reply With Quote  
     

  7. #7  
    chanclor
    Guest
    Yes it would be appreciated if you explain more.. How would we make it so you can write the text in the blank clue?

    What i want to know is what to do with the "extra" thing.. I get errors for the first voidscroll(string) part.. do i change those? Please help..
    Reply With Quote  
     

  8. #8  
    Registered Member
    ViperSniper's Avatar
    Join Date
    Apr 2007
    Age
    27
    Posts
    2,417
    Thanks given
    367
    Thanks received
    82
    Rep Power
    976
    give Sigex credits for frame34, and:
    Code:
    public void clueScroll(int i1, int a1, int i2, int a2, int i3, int a3, int i4,int a4,int clueID){
    		showInterface(6960);
    		sendFrame34(6963,i1, 0,a1);
    		sendFrame34(6963, i2, 1, a2);
    		sendFrame34(6963, i3, 2, a3);
    		sendFrame34(6963, i4, 3, a4);
    				addItem(i1,a1);
    				addItem(i2,a2);
    				addItem(i3,a3);
    				addItem(i4,a4);
    				sendMessage("Congradulations, You Have Completed Treasure Trails");
    			deleteItem(clueID,GetItemSlot(clueID),1);
    	}
    Is mine with a sendmessage added. o.o
    Which you spelt wrong btw. lol.
    :indeed:
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Jun 2007
    Age
    26
    Posts
    3,007
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    Quote Originally Posted by ViperSniper View Post
    give Sigex credits for frame34, and:
    Code:
    public void clueScroll(int i1, int a1, int i2, int a2, int i3, int a3, int i4,int a4,int clueID){
    		showInterface(6960);
    		sendFrame34(6963,i1, 0,a1);
    		sendFrame34(6963, i2, 1, a2);
    		sendFrame34(6963, i3, 2, a3);
    		sendFrame34(6963, i4, 3, a4);
    				addItem(i1,a1);
    				addItem(i2,a2);
    				addItem(i3,a3);
    				addItem(i4,a4);
    				sendMessage("Congradulations, You Have Completed Treasure Trails");
    			deleteItem(clueID,GetItemSlot(clueID),1);
    	}
    Is mine with a sendmessage added. o.o
    Which you spelt wrong btw. lol.
    hehe
    good job, its a nice clue scroll base.
    Reply With Quote  
     

  10. #10  
    chanclor
    Guest
    Umm can someone help me? All i wanna do is know how to make it have text.. It had no explination..

    Also, can someone help me make it so when i dig with a spade in that certain area, it completes that part of the clue? I have what should be correct.. But its not working.. I used a barrows minigame to help but it isnt working.

    If someone is kind enough to help, i would greately appreciate it.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •