Thread: Avalon Release 2

Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 61
  1. #21  
    ⚔️ Battle614 - Superiority ⚔️

    Yuuji's Avatar
    Join Date
    Feb 2012
    Posts
    666
    Thanks given
    181
    Thanks received
    135
    Discord
    View profile
    Rep Power
    187
    Quote Originally Posted by yepperzpk View Post
    First of all, thank you so much for sharing what you've put together. Excited to look into it. I got everything imported, however, I keep getting this exception error. Any ideas?

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
    at com.rs.Launcher.main(Launcher.java:71)

    (screenshot below)

    [Only registered and activated users can see links. ]

    As it shows in the screenshot, its on line 71.. here's whats there:

    Settings.VPS_HOSTED = Boolean.parseBoolean(args[3]);
    You're not setting any Program Arguments.

    Boolean Boolean Boolean Port Id

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #22  
    Owner of Pride-RSPS
    combatx's Avatar
    Join Date
    Mar 2013
    Posts
    113
    Thanks given
    3
    Thanks received
    10
    Rep Power
    3
    Insane i cant believe you released it!!
    Reply With Quote  
     

  3. #23  
    Registered Member
    Join Date
    Jan 2020
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Levi X D View Post
    You're not setting any Program Arguments.

    Boolean Boolean Boolean Port Id
    Gotcha. I'm still diving back into Javascript and RSPS as a whole... so I'll continue researching. I plan to pick up a few Javascript books as well..

    For example, this is all at the top of loader.java:

    Settings.VPS_HOSTED = Boolean.parseBoolean(args[3]);
    Settings.PORT_ID = Integer.valueOf(args[2]);
    Settings.HOSTED = Boolean.parseBoolean(args[1]);
    Settings.DEBUG = Boolean.parseBoolean(args[0]);
    long Time = Utils.currentTimeMillis();
    You're saying there is no Program Arguments. So I would need to potentially set Program Arguments for all of these? Maybe not long Time = Utils line on the last line...

    What Program Argument would I set? I'm doing some research on this now to get a better understanding of this but it isn't clicking. Hope to make this click as it's probably something basic I am missing..

    EDIT: Wait, are you saying I need to set the Program Argument because it's basically a boolean that is setup on the basis of those 3 arguments at the end? In other words, the boolean needs to be defined as an argument now for that boolean to connect?..
    Reply With Quote  
     

  4. #24  
    ⚔️ Battle614 - Superiority ⚔️

    Yuuji's Avatar
    Join Date
    Feb 2012
    Posts
    666
    Thanks given
    181
    Thanks received
    135
    Discord
    View profile
    Rep Power
    187
    Quote Originally Posted by yepperzpk View Post
    Gotcha. I'm still diving back into Javascript and RSPS as a whole... so I'll continue researching. I plan to pick up a few Javascript books as well..

    For example, this is all at the top of loader.java:



    You're saying there is no Program Arguments. So I would need to potentially set Program Arguments for all of these? Maybe not long Time = Utils line on the last line...

    What Program Argument would I set? I'm doing some research on this now to get a better understanding of this but it isn't clicking. Hope to make this click as it's probably something basic I am missing..
    0 = true/false. 1 = true/false. 2 = true/false, 3 = 43594 (port ID)

    example:
    false false false 43594

    Only the args that the launcher wants.

    They're specified by = (args[0-3]).

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #25  
    Registered Member

    Join Date
    Aug 2013
    Posts
    38
    Thanks given
    3
    Thanks received
    4
    Rep Power
    85
    I have inspected the source and came to the conclusion that there are a lot of unnecessary code and code that always turn false regardless of the check such as flooritem

    Code:
    if (floorItem.getAmount() + item.getAmount() < 0
                        || floorItem.getAmount() + item.getAmount() > Integer.MAX_VALUE) {
    this check is always false as getAmount + item.getAmount() can't reach over Integer.MAX_VALUE, therefore it is false regardless of the value and may return 1.

    However I think it's a nice attempt and I see that you're learning I assume, and it's not the WORST, so well done.

    To the user:
    Inspect the code, test content properly and you may need to rewrite a bit and remove/rework some unnecessary code.
    Reply With Quote  
     

  6. Thankful user:


  7. #26  
    Registered Member

    Join Date
    Mar 2011
    Age
    24
    Posts
    550
    Thanks given
    158
    Thanks received
    170
    Rep Power
    220
    Quote Originally Posted by Rename View Post
    I have inspected the source and came to the conclusion that there are a lot of unnecessary code and code that always turn false regardless of the check such as flooritem

    Code:
    if (floorItem.getAmount() + item.getAmount() < 0
                        || floorItem.getAmount() + item.getAmount() > Integer.MAX_VALUE) {
    this check is always false as getAmount + item.getAmount() can't reach over Integer.MAX_VALUE, therefore it is false regardless of the value and may return 1.

    However I think it's a nice attempt and I see that you're learning I assume, and it's not the WORST, so well done.

    To the user:
    Inspect the code, test content properly and you may need to rewrite a bit and remove/rework some unnecessary code.
    I've been using the same source since 2013, alot of the code is old while some are newer

    Edit: this for example, redid degrading, since the one in the current source is really awful with loads of arrays
    [Only registered and activated users can see links. ]

    Also started packing older sprites & interfaces to look more like 2011, don't like the blue background interfaces.











    AvalonPK Developer
    Reply With Quote  
     

  8. #27  
    Extreme Donator

    Skrew's Avatar
    Join Date
    Jul 2011
    Posts
    879
    Thanks given
    161
    Thanks received
    117
    Rep Power
    124
    Quote Originally Posted by -Andreas View Post
    I've been using the same source since 2013, alot of the code is old while some are newer

    Edit: this for example, redid degrading, since the one in the current source is really awful with loads of arrays
    [Only registered and activated users can see links. ]

    Also started packing older sprites & interfaces to look more like 2011, don't like the blue background interfaces.











    Damn that looks awesome. Interested to see how well this turns out.

    Something else you could do if you really wanted to go all out, is to replace the tree models to an older version, the big bulky trees in 718 look bad. (IN MY OPINION)
    Reply With Quote  
     

  9. Thankful user:


  10. #28  
    Registered Member

    Join Date
    Aug 2013
    Posts
    38
    Thanks given
    3
    Thanks received
    4
    Rep Power
    85
    Quote Originally Posted by Joy. View Post
    Damn that looks awesome. Interested to see how well this turns out.

    Something else you could do if you really wanted to go all out, is to replace the tree models to an older version, the big bulky trees in 718 look bad. (IN MY OPINION)
    or at least just pack the old tree models in and just like 'old items look', make it with objects
    Reply With Quote  
     

  11. #29  
    ⚔️ Battle614 - Superiority ⚔️

    Yuuji's Avatar
    Join Date
    Feb 2012
    Posts
    666
    Thanks given
    181
    Thanks received
    135
    Discord
    View profile
    Rep Power
    187
    I don't know if this occurs for anyone else, but some NPC's in the Wilderness do NOT like following under combat. As in it just "stops" attacking. Even if the player is standing right next to the monster and the monster is "targeting" the player.

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  12. #30  
    Extreme Donator

    Skrew's Avatar
    Join Date
    Jul 2011
    Posts
    879
    Thanks given
    161
    Thanks received
    117
    Rep Power
    124
    Quote Originally Posted by Levi X D View Post
    I don't know if this occurs for anyone else, but some NPC's in the Wilderness do NOT like following under combat. As in it just "stops" attacking. Even if the player is standing right next to the monster and the monster is "targeting" the player.
    I had this EXACT issue, where the NPC you were fighting would literally just stop attacking for some reason when using some of Avalon's code.
    Reply With Quote  
     

Page 3 of 7 FirstFirst 12345 ... 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: 70
    Last Post: 05-08-2017, 07:29 PM
  2. [Final Release] Project blue V2...
    By Sam Server in forum Downloads
    Replies: 73
    Last Post: 05-02-2013, 04:14 PM
  3. [Release] Testclient
    By sarah101 in forum Downloads
    Replies: 28
    Last Post: 09-04-2008, 04:34 PM
  4. Nforcescape (released!!)
    By nforce2 in forum Downloads
    Replies: 5
    Last Post: 01-12-2008, 02:12 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
  •