Thread: 562 help urgent

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32
  1. #1 562 help urgent 
    Registered Member
    Join Date
    Jul 2010
    Posts
    250
    Thanks given
    6
    Thanks received
    1
    Rep Power
    30
    how do u make there be just seperate shops for donators. and how do u make spawning charge coins or kills for regular players and donors. how wud you add npc's to a staffzone for example. how do u change the starter kit when a new player logs in i tried to search for that forever. alos how do u make an item unspawnable
     

  2. #2  
    Registered Member
    Join Date
    Jul 2010
    Posts
    250
    Thanks given
    6
    Thanks received
    1
    Rep Power
    30
    ohhh and also how do u add and remove stuff from any shop on a 562, btw my source is pkzevolution
     

  3. #3  
    Adobe

    Dreamweaver's Avatar
    Join Date
    Jan 2010
    Posts
    1,067
    Thanks given
    38
    Thanks received
    149
    Rep Power
    246
    shops.cfg i think
     

  4. #4  
    Member
    Join Date
    Jul 2010
    Posts
    65
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    just make a shop and put it in donator zone to change starter pack. go to Actionsender and search for starter and for item unspawnable go to commandspackethandler.java and search for int[] jad = {10637, 11700, 6570, 10566}; and u add the items in those int
    's or u can make your own
    SEASON-X IS SHUTDOWN
     

  5. #5  
    Registered Member
    Join Date
    Jul 2010
    Posts
    250
    Thanks given
    6
    Thanks received
    1
    Rep Power
    30
    i mean like how wud i make a seperate shop cuz all the shops in the server have the same shit
     

  6. #6  
    Member
    Join Date
    Jul 2010
    Posts
    65
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    go to summonpackethandler and make sure your npc's are connected with the shops.
    SEASON-X IS SHUTDOWN
     

  7. #7  
    Registered Member
    Join Date
    Jul 2010
    Posts
    250
    Thanks given
    6
    Thanks received
    1
    Rep Power
    30
    and how do u add items in shops and shit
     

  8. #8  
    Member
    Join Date
    Jul 2010
    Posts
    65
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    go to shops.java and shophandler.java

    In shops.java there shoudl be something like this

    public int[] herquinshop = {//Item id's ect.};
    public int[] herquinshopN = {//Amount of item's in ship};
    Then in shophandler.java
    case 1:
    switch (buttonId2) {
    case 0:return ;
    case 1:return ;
    ECT

    }
    The case's represent the item and case 1: above switch (button represetns the shop id

    like this
    case 1:
    p.getActionSender().sendString("Name of shop(random)", 620, 22);
    shopopen(p, 1);
    items = GameEngine.shops.herquinshop;
    itemsN = GameEngine.shops.herquinshopN;
    p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());
    p.getActionSender().sendItems( -1, 63746, 556,items, itemsN);
    break;
    that's the connection with shops.java which should be at the bottom of shophandler.java
     

  9. #9  
    Registered Member
    Join Date
    Jul 2010
    Posts
    250
    Thanks given
    6
    Thanks received
    1
    Rep Power
    30
    im sozz but one more thing, how do i make admins not be able to trade, cuz they r giving out shit they shudnt be
     

  10. #10  
    Registered Member
    Join Date
    Jul 2010
    Posts
    250
    Thanks given
    6
    Thanks received
    1
    Rep Power
    30
    and how do i add seperate npcs to places, btw u mite think im dumb but i just started coding 5 days ago
     

Page 1 of 4 123 ... 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
  •