Thread: need help

Results 1 to 10 of 10
  1. #1 need help 
    Donator
    Gladius.'s Avatar
    Join Date
    May 2010
    Posts
    1,160
    Thanks given
    112
    Thanks received
    58
    Rep Power
    11
    hello rune server
    i'm making a costum minigame but i got 1 problem
    i want make it so that you can't get any item in it like dungeoneering on rs
    so plz help me any one
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    1. you need format

    2. You want so you cant wear certain items in this minigame?
    Reply With Quote  
     

  3. #3  
    Donator
    Gladius.'s Avatar
    Join Date
    May 2010
    Posts
    1,160
    Thanks given
    112
    Thanks received
    58
    Rep Power
    11
    i want that you cant wear take any thing whit you
    the npc on the minigame drops items for it
    and what i want is the same as dungeoneering on rs when you enter you cant take items whit you
    Reply With Quote  
     

  4. #4  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Just use your Castle Wars method...the one with the cape, but with all items.
    Reply With Quote  
     

  5. #5  
    Donator
    Gladius.'s Avatar
    Join Date
    May 2010
    Posts
    1,160
    Thanks given
    112
    Thanks received
    58
    Rep Power
    11
    ok i go look on it
    but i need for the item on the bag to i dont want any item
    in the minigame
    Reply With Quote  
     

  6. #6  
    Registered Member
    Iwin's Avatar
    Join Date
    Mar 2008
    Age
    30
    Posts
    677
    Thanks given
    12
    Thanks received
    56
    Rep Power
    245
    Code:
    for(int i = 0; i < 28; i++){
    if(playerItems[i] != -1) //Item slot
    sM("You cannot have any items while entering this minigame.");
    return;
    }
    [SPOIL]
    [/SPOIL]
    Reply With Quote  
     

  7. #7  
    Donator
    Gladius.'s Avatar
    Join Date
    May 2010
    Posts
    1,160
    Thanks given
    112
    Thanks received
    58
    Rep Power
    11
    i still got 1 problem i have this

    if (c.playerLevel[23] < 25) {
    c.getPA().movePlayer(2550, 3026, 0);
    c.sendMessage("Welcomt to the first area");
    } else {
    c.sendMessage("You need a lower leven then 25 to enter this area");
    }
    break;

    and now must i add this to it

    for(int i = 0; i < 28; i++){
    if(playerItems[i] != -1) //Item slot
    sM("You cannot have any items while entering this minigame.");
    return;
    }

    but when i do it i get error's so if sombody can help 1 more time
    Reply With Quote  
     

  8. #8  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    hes writing out code for delta thats why. sM should be c.sendMessage and im not gonna look up how to do the items just look at how items are handled in your inventory in itemassistant.java
    Reply With Quote  
     

  9. #9  
    Donator
    Gladius.'s Avatar
    Join Date
    May 2010
    Posts
    1,160
    Thanks given
    112
    Thanks received
    58
    Rep Power
    11
    i know how i must add it but not whit i have already add it the tele and that you cant enter if you level is higher then 25
    Reply With Quote  
     

  10. #10  
    Donator
    Gladius.'s Avatar
    Join Date
    May 2010
    Posts
    1,160
    Thanks given
    112
    Thanks received
    58
    Rep Power
    11
    need still help


    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
  •