Thread: [DELTA] Portals with teleport options. [DELTA]

Results 1 to 6 of 6
  1. #1 [DELTA] Portals with teleport options. [DELTA] 
    Registered Member
    Join Date
    Dec 2008
    Posts
    148
    Thanks given
    0
    Thanks received
    0
    Rep Power
    16
    Hey guys. I am trying to make a God wars portal. For example, it says:

    Code:
    Banods, Armadyl, Zamorak, Saradomin.
    I have that part down. But, I have 2 portals like that. The other ones options are:

    Code:
    Rock crabs, slayer tower, mage bank, green dragons.
    The second portal is perfect. The first portal though, (godwars portal) still teleports me to rock crabs, slayer tower, mage bank, and green dragons. The portals have different IDs, but they are using the same sendFrame.
    Does anyone know how to like, seperate them?

    The following code is in my client.java

    Code:
    	if (objectID == 4156)
    	{
    				teleEffect = 1;
    
    				sendQuest("Rock Crabs", 2482);
    				sendQuest("Mage Bank", 2483);
    				sendQuest("Green Dragons", 2484);
    				sendQuest("Slayer Tower", 2485);
    				sendFrame164(2480);
    	}
    	if (objectID == 4157)
    	{
    				teleEffect = 2;
    
    				sendQuest("Bandos", 2482);
    				sendQuest("Armadyl", 2483);
    				sendQuest("Saradomin", 2484);
    				sendQuest("Zammorak", 2485);
    				sendFrame164(2480);
    	}

    I know it is probably one of the most basic things I am not getting. Please help?

    All help is appreciated.

    In clickingmost.java i made the case 9178 this:

    Code:
    case 9178:
    if (teleEffect == 1) {
    c.triggerTele(2670, 3726, 0);//rock crabs
    c.killMyNPCs();
    c.resetfollowers();
    } else if (teleEffect == 2) {
    c.triggerTele(2900, 3618, 0);//bandos
    c.killMyNPCs();
    c.resetfollowers();
    }
    break;
    Proof that God is real

    http://thewaythetruth.com/

    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2010
    Posts
    349
    Thanks given
    10
    Thanks received
    5
    Rep Power
    1
    clickingmost java i belive
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2008
    Posts
    148
    Thanks given
    0
    Thanks received
    0
    Rep Power
    16
    I know, but how do I add them, I know I need to make something like:
    Code:
    //godwars portal start
    case 9179://bandos teleport
    c.triggerTele(2900, 3617, 0);
    c.killMyNPCs();
    c.resetfollowers();
    break;
    But will that work?

    EDIT: When I add that, I dc every time I click the Godwars portal.
    Proof that God is real

    http://thewaythetruth.com/

    Reply With Quote  
     

  4. #4  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    first

    Code:
    public void Kbd() {
    	interfaceEffect = 16;
    	clearQuestInterface();
    	sendFrame126("", 2494);
    	sendFrame126("I want to go kill the King Black Dragon!", 2495);
    	sendFrame126("", 2496);
    	sendFrame126("Never mind.", 2497);
    	sendFrame126("", 2498);
    	sendQuestSomething(8143);
    	sendFrame164(2492);
    	flushOutStream();
    }
    then
    Code:
    if(objectID == 7319){
    Kbd();
    }
    then
    Code:
    		if (c.interfaceEffect == 16) {
    			c.triggerTele(3014, 3849, 0);
    			c.showInterface(8677);
    Change what u need to change just copied out of my server
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Hope i helped
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2008
    Posts
    148
    Thanks given
    0
    Thanks received
    0
    Rep Power
    16
    I know how to do that, I have multiple options..like an interface, like when you click the portal, it shows, bandos, armadyl, zamorak, saradomin. and when i click on bandos, it teles me to bandos...when i click sara, it teles me to sara. I got the names down, but i want to make them teleport me somewhere..wanna use teamviewer please?
    Proof that God is real

    http://thewaythetruth.com/

    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
  •