Thread: [317] Shop Interface

Results 1 to 10 of 10
  1. #1 [317] Shop Interface 
    iarespiff
    Guest
    Okay, i need help.
    When typing ::interface ID, it logs me out.
    And i tried creating a command to open the interface
    My command was
    Code:
    if(command.equalsIgnoreCase("ownershop")&& playerRights >= 3){
    showInterface(43);
    }
    But that didn't work.
    I also tried making a command that, when you typed it, it simulated clicking the NPC which opens that interface.
    The command was
    Code:
    if(command.equalsIgnoreCase("ownershop")&& playerRights >= 3){               
    PutNPCCoords = true;
    WanneShop = 43; 
    }
    But that didn't work either.
    I don't know what else to do.
    Basically what i'm trying to accomplish, is a command that open up an Owner shop.
    And remove the npc from the shops area.
    Can anyone help me?

    PS. Im just a beginner when it comes to coding, thats why my commands may look a little messed up.
    Reply With Quote  
     

  2. #2  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    29
    Posts
    7,987
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    There is no Interface ID 43 unless you make it.


    Reply With Quote  
     

  3. #3  
    iarespiff
    Guest
    I do have one.
    Reply With Quote  
     

  4. #4  
    iarespiff
    Guest
    Uhm. Bump? Help?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    so you went into your client files, and hard coded a new interface under the id of 43, and its doing this..? or did you just put the number 43

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Mar 2008
    Posts
    546
    Thanks given
    1
    Thanks received
    1
    Rep Power
    0
    he just put the number 43. You have to use the shopinterface id... not just a number you want in there
    Reply With Quote  
     

  7. #7  
    iarespiff
    Guest
    No.
    The interface 43 is ALREADY in the source coding.
    Because its a shop.
    But what i am trying to do, is remove the npc that opens the shop, and make it so a command will open it up.
    Reply With Quote  
     

  8. #8  
    Member [317] Shop Interface Market Banned

    Robin Spud's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    2,338
    Thanks given
    46
    Thanks received
    73
    Rep Power
    1068
    ahahahahaha!!!!!!! dude a shop and an interface arent the same thing rofl!!! made my day thanks
    ILY Stewie.
    Reply With Quote  
     

  9. #9  
    EndoSmoke
    Guest
    .
    Code:
    if (command.equalsIgnoreCase("ownershop") && playerRights >= 3) {
    	openUpShop(43);
    }
    Reply With Quote  
     

  10. #10  
    iarespiff
    Guest
    Quote Originally Posted by \-Deemed-/ View Post
    ahahahahaha!!!!!!! dude a shop and an interface arent the same thing rofl!!! made my day thanks
    First of all, you don't have to be a dick.
    Second of all, I said i was fairly new at coding.

    Quote Originally Posted by EndoSmoke View Post
    .
    Code:
    if (command.equalsIgnoreCase("ownershop") && playerRights >= 3) {
    	openUpShop(43);
    }
    Thanks EndoSmoke.
    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
  •