Thread: Adding interface to ruse

Results 1 to 4 of 4
  1. #1 Adding interface to ruse 
    Registered Member Sam0553's Avatar
    Join Date
    Sep 2018
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hey im trying to add a pos system to my ruse server, i've got all the server side stuff done but im struggling to add the interface i keep getting alot of method errors if you can help please pm @ discord - 69#2868
    Reply With Quote  
     

  2. #2  
    no

    Join Date
    Aug 2016
    Posts
    579
    Thanks given
    95
    Thanks received
    78
    Rep Power
    210
    So if you're using v2 you want to add the interface in CustomInterfaces.java and if you use v1, then you add the interface to RSInterface.java. If you're missing methods for that interface, then you'll need to grab those methods from wherever you got the interface from
    Best excuse for scamming i've gotten yet

    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Jul 2014
    Posts
    472
    Thanks given
    77
    Thanks received
    66
    Rep Power
    296
    Quote Originally Posted by Goody View Post
    So if you're using v2 you want to add the interface in CustomInterfaces.java and if you use v1, then you add the interface to RSInterface.java. If you're missing methods for that interface, then you'll need to grab those methods from wherever you got the interface from
    Isn't it literally the same thing tho? (never used ruse v2) but im p sure CustomInterfaces just inherits RSInterface.
    Reply With Quote  
     

  4. #4  
    no

    Join Date
    Aug 2016
    Posts
    579
    Thanks given
    95
    Thanks received
    78
    Rep Power
    210
    Quote Originally Posted by Thesuic12 View Post
    Isn't it literally the same thing tho? (never used ruse v2) but im p sure CustomInterfaces just inherits RSInterface.
    More or less yeah. RSInterface just calls the loadCustoms method at the bottom of the unpack method. It's the same thing, but 90% of your "custom" interfaces on ruse v2 are in CustomInterfaces. You're more than welcome to put them in RSInterface if you want to, but I feel like it would make more sense and look cleaner to just keep all your important methods in RSInterface and your actual "custom" interfaces in CustomInterfaces seeing as thats what the class is there for
    Best excuse for scamming i've gotten yet

    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [help] adding objects to ruse source
    By booshay96 in forum Help
    Replies: 1
    Last Post: 03-22-2016, 02:40 AM
  2. adding interfaces to server
    By pofroze in forum Help
    Replies: 1
    Last Post: 04-19-2014, 09:38 PM
  3. Replies: 8
    Last Post: 04-23-2010, 03:18 AM
  4. Replies: 0
    Last Post: 11-01-2009, 12:27 PM
  5. Replies: 4
    Last Post: 02-05-2009, 07:56 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •