[GH-ISSUE #276] Adding toggeable snow for Christmas #4317

Closed
opened 2026-05-26 12:20:09 +00:00 by Dark98 · 4 comments
Owner

Originally created by @Gptaqbc on GitHub (Dec 12, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/276

https://www.rune-server.ee/runescape-development/rs2-server/help/452302-pi-making-snow.html

Also, add a check to know if it's december to this^ and snowy ground:

Code:
import java.util.Calendar;
import java.util.GregorianCalendar;

public class DateAndTime {

public static String getTodaysDate() {
	Calendar date = new GregorianCalendar();
	return date.get(Calendar.DAY_OF_MONTH) + "."
			+ (date.get(Calendar.MONTH) + 1) + "."
			+ date.get(Calendar.YEAR);
}

}

Code:
if (DateAndTime.getTodaysDate().contains(".12")) {
if (anInt390 == 0x35720A || anInt390 == 0x50680B
|| anInt390 == 0x78680B || anInt390 == 0x6CAC10
|| anInt390 == 0x819531)
anInt390 = 0xffffff;
}

Originally created by @Gptaqbc on GitHub (Dec 12, 2019). Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/276 https://www.rune-server.ee/runescape-development/rs2-server/help/452302-pi-making-snow.html Also, add a check to know if it's december to this^ and snowy ground: Code: import java.util.Calendar; import java.util.GregorianCalendar; public class DateAndTime { public static String getTodaysDate() { Calendar date = new GregorianCalendar(); return date.get(Calendar.DAY_OF_MONTH) + "." + (date.get(Calendar.MONTH) + 1) + "." + date.get(Calendar.YEAR); } } Code: if (DateAndTime.getTodaysDate().contains(".12")) { if (anInt390 == 0x35720A || anInt390 == 0x50680B || anInt390 == 0x78680B || anInt390 == 0x6CAC10 || anInt390 == 0x819531) anInt390 = 0xffffff; }
Author
Owner

@mrextremez commented on GitHub (Dec 13, 2019):

Wasn't this already added? Other than the date part

<!-- gh-comment-id:565339361 --> @mrextremez commented on GitHub (Dec 13, 2019): Wasn't this already added? Other than the date part
Author
Owner

@Gptaqbc commented on GitHub (Dec 13, 2019):

Some stuff missing + snow interface

<!-- gh-comment-id:565339540 --> @Gptaqbc commented on GitHub (Dec 13, 2019): Some stuff missing + snow interface
Author
Owner

@Gptaqbc commented on GitHub (Dec 14, 2019):

If(c.inarea()) {
getPA().walkableInterface(11877);
}

<!-- gh-comment-id:565734165 --> @Gptaqbc commented on GitHub (Dec 14, 2019): If(c.inarea()) { getPA().walkableInterface(11877); }
Author
Owner

@Gptaqbc commented on GitHub (Dec 15, 2019):

Doooone - gotta push

<!-- gh-comment-id:565819427 --> @Gptaqbc commented on GitHub (Dec 15, 2019): Doooone - gotta push
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#4317