Thread: summoning

Results 1 to 8 of 8
  1. #1 summoning 
    Registered Member g0d 0f war's Avatar
    Join Date
    Mar 2011
    Posts
    711
    Thanks given
    10
    Thanks received
    15
    Rep Power
    20
    remove
    Reply With Quote  
     

  2. #2  
    Registered Member
    Rainaka's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,391
    Thanks given
    273
    Thanks received
    89
    Rep Power
    870
    You didn't supply any code for anyone to work with.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    well if you have erasedpkz summon (pretty sure you do) in walking class put something like

    if (c.absX >= ### && c.absY >= ### && c.lastsummon > 0) {
    c.absX--;
    c.sendMessage("You cannot bring a summoning here!");
    //return;//if the c.absX-- doesnt work, uncomment the return
    }
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    3
    Thanks received
    40
    Rep Power
    0
    Do Exactly This, (100% Right)

    Go To Player.java

    And Declare this Boolean:

    public boolean cannotSummon() {
    if(absX >= ##### && absX <= ##### && absY >= ##### && absY <= ##### ||
    absX >= ##### && absX <= ##### && absY >= ##### && absY <= ##### ||
    inDuelArena()) {
    return true;
    }
    return false;
    }
    Then go to NPC handler, and where you made the method for when you summon a familiar

    Right this:

    if(c.cannotSummon()) {
    c.sendMessage("Your npc will spawn when your out of the home area");
    }else{
    (what would normally happen when you summon (Wont release Mine))
    }
    That should be it If you need anymore help, I'll do it for you
    Reply With Quote  
     

  5. #5  
    Tantalizing

    Join Date
    Apr 2011
    Posts
    445
    Thanks given
    106
    Thanks received
    123
    Rep Power
    66
    Quote Originally Posted by Knox View Post
    Do Exactly This, (100% Right)

    Go To Player.java

    And Declare this Boolean:



    Then go to NPC handler, and where you made the method for when you summon a familiar

    Right this:



    That should be it If you need anymore help, I'll do it for you

    Wouldn't that just make it so he can't summon anything in that area?

    I believe he wants it so you can't walk into that area while having a pet out.

    Although this is needed too or it would make it pointless.
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    3
    Thanks received
    40
    Rep Power
    0
    Quote Originally Posted by Light View Post
    Wouldn't that just make it so he can't summon anything in that area?

    I believe he wants it so you can't walk into that area while having a pet out.

    Although this is needed too or it would make it pointless.
    Well all he was to do then is add what me and lawl said. Then he would be good to go.
    Reply With Quote  
     

  7. #7  
    Registered Member g0d 0f war's Avatar
    Join Date
    Mar 2011
    Posts
    711
    Thanks given
    10
    Thanks received
    15
    Rep Power
    20
    what would normally happen when you summon (Wont release Mine))

    what do you mean?
    Reply With Quote  
     

  8. #8  
    Registered Member g0d 0f war's Avatar
    Join Date
    Mar 2011
    Posts
    711
    Thanks given
    10
    Thanks received
    15
    Rep Power
    20
    bump......
    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

Similar Threads

  1. Replies: 20
    Last Post: 09-15-2011, 05:31 AM
  2. [Summoning][508][Espeon[508][Summoning]
    By ghostrevan in forum Help
    Replies: 0
    Last Post: 03-05-2009, 08:30 PM
  3. Replies: 7
    Last Post: 08-06-2008, 01:06 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •