mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Random stuff 3 (#307)
* Make ::update automatically restart server as well
* Add bank area checks back since previously you could open a bank, and as long as you didn't open another interface you could abuse it
* Fix noclip (NEEDS TESTING)
* Revert "Fix noclip (#302)"
This reverts commit 521ae52e4c.
* ::clip command removed, fixed a typo, reordered some stuff, fixed a bug with others cannon
-Removed the clip command from the client;
-Fixed a typo in a dialogue;
-Fixed mud battlestaff nto working as runes (water and earth);
-Fixed a bug with other cannons near you preventing you from setting down a cannon. Somehow your player would glitch himself and make it impossible to spawn a cannon at certain spot;
* Snow improvement
Nothing major
Co-authored-by: Daniel Ginovker <dcress01@uoguelph.ca>
This commit is contained in:
@@ -34,7 +34,4 @@ public class ClientSettings {
|
||||
|
||||
public static final BigInteger RSA_MODULUS = new BigInteger("91553247461173033466542043374346300088148707506479543786501537350363031301992107112953015516557748875487935404852620239974482067336878286174236183516364787082711186740254168914127361643305190640280157664988536979163450791820893999053469529344247707567448479470137716627440246788713008490213212272520901741443");
|
||||
public static final BigInteger RSA_EXPONENT = new BigInteger("65537");
|
||||
|
||||
public final static Boolean SNOW = true;
|
||||
|
||||
}
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
import java.util.Calendar;
|
||||
import java.util.GregorianCalendar;
|
||||
|
||||
public final class Flo {
|
||||
|
||||
public static void unpackConfig(StreamLoader streamLoader) {
|
||||
@@ -25,7 +28,8 @@ public final class Flo {
|
||||
return;
|
||||
} else if (i == 1) {
|
||||
anInt390 = stream.read3Bytes();
|
||||
if (ClientSettings.SNOW) {
|
||||
Calendar date = new GregorianCalendar();
|
||||
if ((date.get(Calendar.MONTH) + 1) == 12) {
|
||||
anInt390 = 0xffffff;
|
||||
}
|
||||
method262(anInt390);
|
||||
|
||||
@@ -149,8 +149,8 @@ public class Commands implements PacketType {
|
||||
else {
|
||||
player.isSnowy = true;
|
||||
player.getPacketSender().walkableInterface(11877);
|
||||
player.getPacketSender().sendMessage("Happy Holidays! Type ::snow to disable/enable! (Auto-disabling in certain area)");
|
||||
}
|
||||
player.getPacketSender().sendMessage("Happy Holidays! Type ::snow to disable/enable! (Auto-disabling in certain area)");
|
||||
}
|
||||
break;
|
||||
case "withdrawshop":
|
||||
|
||||
Reference in New Issue
Block a user