Thread: [Kronos] How to setup your IDE + Environment

Page 4 of 11 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 106
  1. #31  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by taboo View Post
    do i need authentication? can i comment it out all together? What the is method called to authenticate? Is Xenforo Authentication being loaded in server startup? And thank you for helping us set this thing up, your doing a big thing for the future of RSPS
    All authentication is handled in the central server actually. Player saves are being done as normal, except for the authentication process, it calls back to the xenforo API. You can bypass this and instead store credentials in the player save as normally done in other servers.
    Reply With Quote  
     

  2. #32  
    ♫ Musical Project ♫

    Natalie's Avatar
    Join Date
    Dec 2015
    Posts
    172
    Thanks given
    91
    Thanks received
    59
    Rep Power
    154
    Is the friends list, etc loaded by the Central Server as well? Also, I do have another question. I am using the correct JDK version and everything. But is there something I'm doing wrong? I'm quite new to kotlin and Intellij. However, I'm getting "Cant Resolve Methods" all over in pretty much every class.

    I'm also getting errors such as:

    Code:
    > Task :runelite-client:compileTestJava
    C:\Users\natal\Desktop\Kronos-master\runelite\runelite-client\src\test\java\net\runelite\client\plugins\bank\BankPluginTest.java:79: error: constructor Item in class Item cannot be applied to given types;
    		when(itemContainer.getItems()).thenReturn(new Item[]{new Item(itemId, 30)});
    		                                                     ^
      required: int,int,String[]
      found: int,int
      reason: actual and formal argument lists differ in length
    C:\Users\natal\Desktop\Kronos-master\runelite\runelite-client\src\test\java\net\runelite\client\plugins\bank\ContainerCalculationTest.java:70: error: constructor Item in class Item cannot be applied to given types;
    		Item coins = new Item(ItemID.COINS_995, Integer.MAX_VALUE);
    		             ^
      required: int,int,String[]
      found: int,int
      reason: actual and formal argument lists differ in length
    C:\Users\natal\Desktop\Kronos-master\runelite\runelite-client\src\test\java\net\runelite\client\plugins\bank\ContainerCalculationTest.java:72: error: constructor Item in class Item cannot be applied to given types;
    		Item whip = new Item(ItemID.ABYSSAL_WHIP, 1_000_000_000);
    		            ^
      required: int,int,String[]
      found: int,int
      reason: actual and formal argument lists differ in length
    C:\Users\natal\Desktop\Kronos-master\runelite\runelite-client\src\test\java\net\runelite\client\plugins\itemcharges\ItemChargePluginTest.java:138: error: constructor Item in class Item cannot be applied to given types;
    		Item ring = new Item(ItemID.RING_OF_FORGING, 1);
    		            ^
      required: int,int,String[]
      found: int,int
      reason: actual and formal argument lists differ in length
    C:\Users\natal\Desktop\Kronos-master\runelite\runelite-client\src\test\java\net\runelite\client\plugins\itemskeptondeath\ItemsKeptOnDeathPluginTest.java:110: error: constructor Item in class Item cannot be applied to given types;
    		return new Item(id, qty);
    		       ^
      required: int,int,String[]
      found: int,int
      reason: actual and formal argument lists differ in length
    C:\Users\natal\Desktop\Kronos-master\runelite\runelite-client\src\test\java\net\runelite\client\plugins\motherlode\MotherlodePluginTest.java:175: error: constructor Item in class Item cannot be applied to given types;
    		return new Item(itemId, quantity);
    		       ^
      required: int,int,String[]
      found: int,int
      reason: actual and formal argument lists differ in length
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    6 errors
    
    > Task :runelite-client:compileTestJava FAILED
    Project does compile fine under gradle, but its little tedious with these errors in classes.
    Last edited by Natalie; 01-03-2021 at 08:19 PM.
    Reply With Quote  
     

  3. #33  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by Natalynn View Post
    Is the friends list, etc loaded by the Central Server as well? Also, I do have another question. I am using the correct JDK version and everything. But is there something I'm doing wrong? I'm quite new to kotlin and Intellij. However, I'm getting "Cant Resolve Methods" all over in pretty much every class.

    I'm also getting errors such as:

    Project does compile fine under gradle, but its little tedious with these errors in classes.
    The entire player save is loaded from the central server (when using live mode, when using dev mode, saves are stored in a folder on the desktop)

    Regarding your errors, it seems like you may have the incorrect Java version. This project is done in jdk 1.8.
    Reply With Quote  
     

  4. #34  
    ♫ Musical Project ♫

    Natalie's Avatar
    Join Date
    Dec 2015
    Posts
    172
    Thanks given
    91
    Thanks received
    59
    Rep Power
    154
    Quote Originally Posted by Patrity View Post
    The entire player save is loaded from the central server (when using live mode, when using dev mode, saves are stored in a folder on the desktop)

    Regarding your errors, it seems like you may have the incorrect Java version. This project is done in jdk 1.8.
    Yeah, I use JDK 1.8 as well, thats why im confused.

    Edit, I've fixed it. Just needed a plugin called lombok.
    Last edited by Natalie; 01-03-2021 at 09:14 PM.
    Reply With Quote  
     

  5. #35  
    Registered Member taboo's Avatar
    Join Date
    Dec 2011
    Posts
    123
    Thanks given
    14
    Thanks received
    25
    Rep Power
    1
    hey great job! i got everything live and auth key working, was wondering. With new in game account it asks you to make a forum account prior to logging in, Is it possible to make it make a forum account for you when you login for first time?
    Attached image
    Reply With Quote  
     

  6. #36  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by taboo View Post
    hey great job! i got everything live and auth key working, was wondering. With new in game account it asks you to make a forum account prior to logging in, Is it possible to make it make a forum account for you when you login for first time?
    I would heavily advise against this. It's the way we were set up previously, however it becomes much easier for users to flood or spam your server.
    Of course, anything is possible, XenForo does have end points for creating accounts, so if you want to go down that road you most definitely can.
    https://xenforo.com/community/pages/...te_post_users_
    Reply With Quote  
     

  7. #37  
    Registered Member taboo's Avatar
    Join Date
    Dec 2011
    Posts
    123
    Thanks given
    14
    Thanks received
    25
    Rep Power
    1
    Quote Originally Posted by Patrity View Post
    I would heavily advise against this. It's the way we were set up previously, however it becomes much easier for users to flood or spam your server.
    Of course, anything is possible, XenForo does have end points for creating accounts, so if you want to go down that road you most definitely can.
    https://xenforo.com/community/pages/...te_post_users_
    gotchya, and im guessing accounts are saved on the Xenforo side? becuase i looked everyone in Kronos master i couldnt find it there,
    Attached image
    Reply With Quote  
     

  8. #38  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by taboo View Post
    gotchya, and im guessing accounts are saved on the Xenforo side? becuase i looked everyone in Kronos master i couldnt find it there,
    save data is stored within the central server.
    the only thing that is stored within xenforo is the authentication data.
    Reply With Quote  
     

  9. #39  
    Registered Member taboo's Avatar
    Join Date
    Dec 2011
    Posts
    123
    Thanks given
    14
    Thanks received
    25
    Rep Power
    1
    Quote Originally Posted by Patrity View Post
    save data is stored within the central server.
    the only thing that is stored within xenforo is the authentication data.
    In \saved\social\ users are added 1,2,3,4,etc, on creation. When i try to edit it it only shows friends count, ignore count, last cc. How about where the actual points, skill xp is saved
    Attached image
    Reply With Quote  
     

  10. #40  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by taboo View Post
    In \saved\social\ users are added 1,2,3,4,etc, on creation. When i try to edit it it only shows friends count, ignore count, last cc. How about where the actual points, skill xp is saved
    Desktop/Kronos
    You'd need to change this for a linux env
    Reply With Quote  
     

Page 4 of 11 FirstFirst ... 23456 ... 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. Replies: 4
    Last Post: 08-13-2015, 05:22 AM
  2. Replies: 2
    Last Post: 08-13-2015, 12:53 AM
  3. How to setup rsps in Eclipse IDE
    By Floppy Disk in forum Snippets
    Replies: 5
    Last Post: 03-26-2015, 08:04 PM
  4. How To Set Your "Environment Variables".
    By Gluon in forum Tutorials
    Replies: 0
    Last Post: 01-29-2012, 10:48 PM
  5. [PICS]How to setup your JDK javac Classpath!
    By Aeronix in forum Tutorials
    Replies: 7
    Last Post: 11-24-2009, 08:24 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
  •