forked from 2009Scape/Server
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
e42054e76f
7360 changed files with 29356 additions and 79 deletions
13
CompiledServer/Guides/UbuntuServerHostGuide.md
Normal file
13
CompiledServer/Guides/UbuntuServerHostGuide.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Ubuntu 18.04 LTS:
|
||||
|
||||
1. Get SQL: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04
|
||||
2. Remove the password: https://stackoverflow.com/questions/44890331/how-do-i-setup-mysql-with-a-blank-empty-password-on-ubuntu-16-04
|
||||
3. Install Java: sudo apt install default-jre
|
||||
4. Create global & server database:
|
||||
* Login: mysql -u root -p
|
||||
* Create:
|
||||
* CREATE DATABASE server;
|
||||
* CREATE DATABASE global;
|
||||
5. Import global & server databases:
|
||||
* mysql -u root -p server < server.sql
|
||||
* mysql -u root -p global < global.sql
|
||||
19
CompiledServer/production/09Scape/.gitignore
vendored
Normal file
19
CompiledServer/production/09Scape/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
bin/**
|
||||
out/**
|
||||
data/logs/**
|
||||
data/profile/**
|
||||
.idea/**
|
||||
/bin
|
||||
.DS_Store**
|
||||
.project**
|
||||
.classpath**
|
||||
.class**
|
||||
/bin/
|
||||
/out/
|
||||
data/cache/
|
||||
*.iml
|
||||
*.eml
|
||||
*.userlibraries
|
||||
*.class
|
||||
data/players/**
|
||||
org/
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,12 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.7
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.7
|
||||
File diff suppressed because one or more lines are too long
3
CompiledServer/production/09Scape/Crandor MS - 530.bat
Normal file
3
CompiledServer/production/09Scape/Crandor MS - 530.bat
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
java -server -Xms512m -Xmx1536m -XX:NewSize=32m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent -XX:+AggressiveOpts -cp bin;lib/*; org.keldagrim.Management false true false true true
|
||||
pause
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
@title World 1
|
||||
java -server -Xms512m -Xmx1536m -XX:NewSize=32m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent -XX:+AggressiveOpts -cp bin;data/libs/*;data/libs/slf4j/*; org.keldagrim.Management server1.properties
|
||||
pause
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
@title World 2
|
||||
java -server -Xms1024m -Xmx1536m -XX:NewSize=32m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent -XX:+AggressiveOpts -cp bin;data/libs/*;data/libs/slf4j/*; org.keldagrim.Management server2.properties
|
||||
pause
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
@title World 3
|
||||
java -server -Xms1024m -Xmx1536m -XX:NewSize=32m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent -XX:+AggressiveOpts -cp bin;data/libs/*;data/libs/slf4j/*; org.keldagrim.Management server3.properties
|
||||
pause
|
||||
3
CompiledServer/production/09Scape/META-INF/MANIFEST.MF
Normal file
3
CompiledServer/production/09Scape/META-INF/MANIFEST.MF
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Manifest-Version: 1.0
|
||||
Main-Class: org.runite.GameLaunch
|
||||
|
||||
4
CompiledServer/production/09Scape/Test.bat
Normal file
4
CompiledServer/production/09Scape/Test.bat
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
@title World 1
|
||||
java -server -Xms512m -Xmx1536m -XX:NewSize=32m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent -XX:+AggressiveOpts -cp bin;data/libs/*;data/libs/slf4j/*; org.keldagrim.tools.Test
|
||||
pause
|
||||
BIN
CompiledServer/production/09Scape/clientlibs.jar
Normal file
BIN
CompiledServer/production/09Scape/clientlibs.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/cache begin.zip
Normal file
BIN
CompiledServer/production/09Scape/data/cache begin.zip
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/cache.zip
Normal file
BIN
CompiledServer/production/09Scape/data/cache.zip
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/cache/OneNote Table Of Contents.onetoc2
vendored
Normal file
BIN
CompiledServer/production/09Scape/data/cache/OneNote Table Of Contents.onetoc2
vendored
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/cacheback up.rar
Normal file
BIN
CompiledServer/production/09Scape/data/cacheback up.rar
Normal file
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD><EFBFBD>
|
||||
BIN
CompiledServer/production/09Scape/data/eco/grand_exchange_db.emp
Normal file
BIN
CompiledServer/production/09Scape/data/eco/grand_exchange_db.emp
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/eco/offer_dispatch_db.emp
Normal file
BIN
CompiledServer/production/09Scape/data/eco/offer_dispatch_db.emp
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/kratoscache.zip
Normal file
BIN
CompiledServer/production/09Scape/data/kratoscache.zip
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/clientlibs.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/clientlibs.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/commons-io-2.4.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/commons-io-2.4.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/guava-18.0.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/guava-18.0.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/joda-time-2.9.9.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/joda-time-2.9.9.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/json-simple-1.1.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/json-simple-1.1.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/laf-plugin-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/laf-plugin-7.2.1.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/laf-widget-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/laf-widget-7.2.1.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/substance-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/substance-7.2.1.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/data/libs/trident-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/data/libs/trident-7.2.1.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
642
CompiledServer/production/09Scape/global.sql
Normal file
642
CompiledServer/production/09Scape/global.sql
Normal file
File diff suppressed because one or more lines are too long
1
CompiledServer/production/09Scape/key.cfg
Normal file
1
CompiledServer/production/09Scape/key.cfg
Normal file
|
|
@ -0,0 +1 @@
|
|||
40bd001563085fc35165329ea1ff5c5ecbdbbeef
|
||||
BIN
CompiledServer/production/09Scape/lib/clientlibs.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/clientlibs.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/commons-io-2.4.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/commons-io-2.4.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/guava-18.0.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/guava-18.0.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/javassist-3.20.0-GA.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/javassist-3.20.0-GA.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/joda-time-2.9.9.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/joda-time-2.9.9.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/json-simple-1.1.1.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/json-simple-1.1.1.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/json-simple-1.1.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/json-simple-1.1.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/laf-plugin-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/laf-plugin-7.2.1.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/laf-widget-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/laf-widget-7.2.1.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/reflections-0.9.10.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/reflections-0.9.10.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/substance-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/substance-7.2.1.jar
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/lib/trident-7.2.1.jar
Normal file
BIN
CompiledServer/production/09Scape/lib/trident-7.2.1.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
CompiledServer/production/09Scape/org/crandor/Server.class
Normal file
BIN
CompiledServer/production/09Scape/org/crandor/Server.class
Normal file
Binary file not shown.
Binary file not shown.
29
CompiledServer/production/09Scape/org/crandor/Util.java
Normal file
29
CompiledServer/production/09Scape/org/crandor/Util.java
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
package org.crandor;
|
||||
|
||||
public class Util {
|
||||
|
||||
/**
|
||||
* Capitalize the first letter of the string
|
||||
* @return Capitalized string
|
||||
*/
|
||||
public static String capitalize(String name) {
|
||||
if (name != null && name.length() != 0) {
|
||||
char[] chars = name.toCharArray();
|
||||
chars[0] = Character.toUpperCase(chars[0]);
|
||||
return new String(chars);
|
||||
} else {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
||||
public static String strToEnum(String name) {
|
||||
name = name.toUpperCase();
|
||||
return name.replaceAll(" ", "_");
|
||||
}
|
||||
|
||||
public static String enumToString(String name) {
|
||||
name = name.toLowerCase();
|
||||
name = name.replaceAll("_", " ");
|
||||
return capitalize(name);
|
||||
}
|
||||
}
|
||||
BIN
CompiledServer/production/09Scape/org/crandor/cache/Cache.class
vendored
Normal file
BIN
CompiledServer/production/09Scape/org/crandor/cache/Cache.class
vendored
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/org/crandor/cache/CacheFile.class
vendored
Normal file
BIN
CompiledServer/production/09Scape/org/crandor/cache/CacheFile.class
vendored
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/org/crandor/cache/CacheFileManager.class
vendored
Normal file
BIN
CompiledServer/production/09Scape/org/crandor/cache/CacheFileManager.class
vendored
Normal file
Binary file not shown.
BIN
CompiledServer/production/09Scape/org/crandor/cache/ServerStore.class
vendored
Normal file
BIN
CompiledServer/production/09Scape/org/crandor/cache/ServerStore.class
vendored
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue