Thread: Your a very custom stall i made for pk spawn servers that wanna have a stall for gold

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Your a very custom stall i made for pk spawn servers that wanna have a stall for gold 
    Banned

    Join Date
    Jul 2010
    Age
    34
    Posts
    773
    Thanks given
    39
    Thanks received
    83
    Rep Power
    0
    Basically what this is doing is giving a way to make money for pk based servers. That way if you want you can make gold unspawnable! and still yet the players can gain gold based on there pking.

    If you all like this stuff like this let me know and ill make more systems and release stuff similair to this.

    This system hasn't been tested yet i just wrote the whole thing and havn't had the time to test it. so let me know of any glitchs/bugs
    In ActionHandler add this under secondclickobject.
    Code:
    			case 6163:
    				int easy = 7500;
    				int medium = 22500;
    				int hard = 50000;
    				int extreme = 75000;
    				int legend = 100000;
    				int amount = 1;
    				if (c.KC <= 20 && c.getItems().freeSlots() >=1)  
    				{
    					c.getItems().addItem(995, easy);
    					c.getItems().addItem(1891, amount);
    					c.sendMessage("You obtain "+easy+" gold, you can obtain more the more kills you have!");
    				} 
    				else if (c.KC >= 21 && c.KC <= 50 && c.getItems().freeSlots() >=1) 
    				{
    					c.getItems().addItem(995, medium);
    					c.getItems().addItem(1891, amount);
    					c.sendMessage("You obtain "+medium+" gold, you can obtain more the more kills you have!");				
    				}
    				else if (c.KC >= 51 && c.KC <= 75 && c.getItems().freeSlots() >=1) 
    				{
    					c.getItems().addItem(995, hard);
    					c.getItems().addItem(1891, amount);
    					c.sendMessage("You obtain "+hard+" gold, you can obtain more the more kills you have!");				
    				}
    				else if (c.KC >= 101 && c.getItems().freeSlots() >=1) 
    				{
    					c.getItems().addItem(995, legend);
    					c.getItems().addItem(1891, amount);
    					c.sendMessage("You obtain "+legend+" gold, you can obtain more the more kills you have!");				
    				}
    				else if (c.KC >= 76 && c.KC <= 100 && c.getItems().freeSlots() >=1) 
    				{
    					c.getItems().addItem(995, extreme);
    					c.getItems().addItem(1891, amount);
    					c.sendMessage("You obtain "+extreme+" gold, you can obtain more the more kills you have!");				
    				}
    				else
    				{
    					c.sendMessage("You need more slots to thieve from this stall");
    				}
    				break;
    In integrated to work with KDR, Which i believe all bases nowadays have.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Feb 2012
    Age
    30
    Posts
    783
    Thanks given
    135
    Thanks received
    90
    Rep Power
    171
    This seems very basic and "useless" to me for a spawn server, nevertheless gj.
    Also people will need to add the killCount variable.
    If your going to release something mayaswell have the full thing naaaaaa meeeeeen
    Starting a new account on RS07 hoping for someone to play alongside with, PM me.
    Reply With Quote  
     

  3. #3  
    Registered Member

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

    Actually no.
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2010
    Age
    34
    Posts
    773
    Thanks given
    39
    Thanks received
    83
    Rep Power
    0
    had to do small update on it, didnt relieve at first you could mass click it, you can still mass click but you store ur items it gives
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jul 2010
    Age
    34
    Posts
    773
    Thanks given
    39
    Thanks received
    83
    Rep Power
    0
    Quote Originally Posted by Someone View Post
    Ehm..

    Actually no.
    Yeah i put it under the wrong objectclick.
    it goes under secondClickObject.
    Reply With Quote  
     

  6. #6  
    Learner

    Kaiser Btw's Avatar
    Join Date
    Dec 2010
    Posts
    2,420
    Thanks given
    509
    Thanks received
    445
    Rep Power
    209
    Sorry but this is horrible.
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    Oops, somebody forgot to stop players from selling items. I guess I'll be rich in no time .
    Reply With Quote  
     

  9. #8  
    xd


    Join Date
    Oct 2007
    Age
    28
    Posts
    6,078
    Thanks given
    98
    Thanks received
    488
    Rep Power
    5000
    this could be 1000000x cleaner

    thanks for releasing it though
    Quote Originally Posted by clem585 View Post
    Wat. Reading java doc isn't going to teach you anything. It's like reading the dictionary to learn grammatical rules.
    Reply With Quote  
     

  10. #9  
    Registered Member

    Join Date
    Jan 2013
    Posts
    583
    Thanks given
    343
    Thanks received
    146
    Rep Power
    163
    c.KC*10000

    I don't know what you heard about me
    But a pleb can't get a rep out of me
    No rep, no thanks, you can't see
    That I'm a mother****ing P - I - M - P

    Cool Cats
    Thakiller 🎺 Scu11 🎸 Tyler 🎷 Lare 🎤 ur nan
    Reply With Quote  
     

  11. #10  
    Banned

    Join Date
    Jul 2010
    Age
    34
    Posts
    773
    Thanks given
    39
    Thanks received
    83
    Rep Power
    0
    Quote Originally Posted by Arithium View Post
    Oops, somebody forgot to stop players from selling items. I guess I'll be rich in no time .
    Tim, you cant sell items on my pk server
    The only people you can sell items to is another player
    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

Similar Threads

  1. FUN PK SPAWN SERVER [for lols]
    By x Shoter x in forum Advertise
    Replies: 12
    Last Post: 12-17-2011, 10:20 PM
  2. Need Pro coder for 317 spawn server
    By Jhcnhjm in forum Requests
    Replies: 13
    Last Post: 05-09-2011, 02:57 AM
  3. Replies: 6
    Last Post: 04-14-2011, 07:15 PM
  4. Replies: 19
    Last Post: 11-10-2010, 08:34 PM
  5. Replies: 5
    Last Post: 10-06-2007, 08:20 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •