Thread: Randomized theiving stall

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Randomized theiving stall 
    Registered Member
    Join Date
    Jun 2008
    Posts
    67
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Ok so if my default thieving stall code looks like,
    Code:
    if(objectID == 7053){
    TheifStall("gem stall", "and recieve 1m", 105, 1000*playerLevel[17], 995, 1000000, 0x340);
    }
    where 105 is the skill level (max skill lvl for my server is 150) and 1000000 is the amount of money recieved, how can i make it so that when you thief that stall, you either get coins, or another good item, i.e. when you click the stall the first time you get 10m but the second time you get 5k rune arrows. How would i make this work?
    Reply With Quote  
     

  2. #2  
    Registered Member cryingsoul's Avatar
    Join Date
    Jul 2008
    Posts
    257
    Thanks given
    0
    Thanks received
    2
    Rep Power
    15
    do it so it adds randon items ?
    Reply With Quote  
     

  3. #3  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    int[] item {995,3453, 3455,24242,24245,245,2452,45,2345,234,5234,5234};

    if(objectID == 7053){
    TheifStall("gem stall", "and recieve 1m", 105, 1000*playerLevel[17], item[Misc.random(item.length], 1, 0x340);
    }
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2008
    Posts
    67
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    doenst work
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Dec 2008
    Posts
    3,004
    Thanks given
    10
    Thanks received
    198
    Rep Power
    0
    Is this for deltascape?
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2008
    Posts
    67
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    yes .
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Dec 2008
    Posts
    3,004
    Thanks given
    10
    Thanks received
    198
    Rep Power
    0
    if so why not copy the other methods and edit it
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2008
    Posts
    67
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    there were no randamized methods.
    Reply With Quote  
     

  9. #9  
    Old School Member

    Join Date
    Feb 2008
    Age
    29
    Posts
    2,163
    Thanks given
    372
    Thanks received
    40
    Rep Power
    687
    barrows chest is randomized.
    Reply With Quote  
     

  10. #10  
    Registered Member b1untma/\/'s Avatar
    Join Date
    Jan 2008
    Posts
    294
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    this will work, but you gotta change the items it gives you. if you don't know how to do that i can help aswell.

    Code:
    if(objectID == 7053){
    TheifStall("gem stall", "and recieve Your message", 80, 750*playerLevel[17], Item.randomBarrows(), 1, 0x340);
    }
    Thanks for the idea aswell.
    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
  •