Insane i cant believe you released it!!
|
|

Insane i cant believe you released it!!

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...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();
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?..


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
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.Code:if (floorItem.getAmount() + item.getAmount() < 0 || floorItem.getAmount() + item.getAmount() > Integer.MAX_VALUE) {
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.
![]()


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.
| « An editor for Vincent's CS2 compiler/decompiler | ♛ EnoxScape 718/830 ♛ » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |