Skip to content

Instantly share code, notes, and snippets.

View Jire's full-sized avatar
🍖
the coding caveman

Jire Jire

🍖
the coding caveman
View GitHub Profile
@Jire
Jire / RSDK Server
Created June 16, 2011 17:31
The application will deploy a new RuneScape server module.
package us.rsdk;
import java.net.InetSocketAddress;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.logging.Logger;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
CURRENT REVISION: UNRELEASED
==========
IF CURRENT REVISION is UNRELEASED, it means that the program has yet to be released to the general public, and therefore
does not need a revision number. Changes are made too often before release to maintain a CURRENT REVISION before release--
I'd be changing it every update I made, and that's a lot of updates. Only a select number of people WILL see the CURRENT
REVISION being set on UNRELEASED, so if you are one of those people, consider yourself...priviliged. :)
###TODO List (Goes by importance):
1. Reconstruct the thread model for the engine
fish = raw_input("Enter a fish name: ")
if fish == "fish":
print "you are awesome"
print "...seriously!"
elif fish == "slamon":
print "I hope I don't get SLAMonilla poissin"
elif fish == "bass":
print "easy there bass boat"
else:
print "you are lame"
import static java.lang.System.out;
/**
* Advanced logging utility with node support.
* @author Thomas Nappo
*/
public class Logger {
/**
* Prints a String and then terminate the line. This method behaves as
@Jire
Jire / Logger.java
Created June 23, 2011 17:54
Advanced logging utility with node support.
import static java.lang.System.out;
import java.security.InvalidParameterException;
/**
* Advanced logging utility with node support.
* @author Thomas Nappo
*/
public class Logger {
@Jire
Jire / Encoder.java
Created June 29, 2011 16:38
Encodes outgoing OutBuffers to be delivered towards a connected channel by encoding them into a channel buffer which is used by the Netty implementation.
/*
* Nital is an effort to provide a well documented, powerful, scalable, and robust
* RuneScape server framework delivered open-source to all users.
*
* Copyright (C) 2011 Nital Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@Jire
Jire / FrontDecoder.java
Created June 29, 2011 20:22
Performs decoding measures which decodes a new connection into a login request which is then processed by the server to enable game access for the user.
/*
* Nital is an effort to provide a well documented, powerful, scalable, and robust
* RuneScape server framework delivered open-source to all users.
*
* Copyright (C) 2011 Nital Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@Jire
Jire / GenericWorldLoader.java
Created July 3, 2011 23:44
This implementation is used for a generic world loader in which player process results and save/load results are at standard.
/*
* Nital is an effort to provide a well documented, powerful, scalable, and robust
* RuneScape server framework delivered open-source to all users.
*
* Copyright (C) 2011 Nital Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@Jire
Jire / FrontDecoder.java
Created July 4, 2011 00:03
Performs decoding measures which decodes a new connection into a login request which is then processed by the server to enable game access for the user.
/*
* Nital is an effort to provide a well documented, powerful, scalable, and robust
* RuneScape server framework delivered open-source to all users.
*
* Copyright (C) 2011 Nital Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@Jire
Jire / EntityList.java
Created July 13, 2011 16:03
This utility provides an iterable container of Entity objects, by which they are stored, and using their hash code are marked by an index attribute.
/*
* Nital is an effort to provide a well documented, powerful, scalable, and robust
* RuneScape server framework delivered open-source to all users.
*
* Copyright (C) 2011 Nital Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.