Показать сообщение отдельно
Непрочитано 25.12.2009, 21:58   #5
Аватар для PROGRAMMATOR
Администратор

Автор темы (Топик Стартер) Re: Aion-Unique версии 727

BloodShadow, вот diff:

[SOURCE="diff"]Index: build.xml
================================================== =================
--- build.xml (revision 727)
+++ build.xml (working copy)
@@ -61,7 +61,8 @@
<javac destdir="${build.classes}" optimize="on" debug="on"
nowarn="off"
source="1.6"
- target="1.6">
+ target="1.6"
+ encoding="UTF-8">

<src path="${src}"/>
<bootclasspath refid="bootclasspath"/>
Index: config/gameserver.properties
================================================== =================
--- config/gameserver.properties (revision 727)
+++ config/gameserver.properties (working copy)
@@ -84,4 +84,11 @@
#Quest XP rate
gameserver.rate.quest.xp=1
#Quest Kinah rate
-gameserver.rate.quest.kinah=1
\ No newline at end of file
+gameserver.rate.quest.kinah=1
+
+
+#----------------------------------------------------------------
+# Custom config's (not official)
+#----------------------------------------------------------------
+# Show Developer Copyright?
+gameserver.show.copyright=true
\ No newline at end of file
Index: src/com/aionemu/gameserver/configs/Config.java
================================================== =================
--- src/com/aionemu/gameserver/configs/Config.java (revision 727)
+++ src/com/aionemu/gameserver/configs/Config.java (working copy)
@@ -163,6 +163,17 @@
*/
@Property(key = "gameserver.skill.autolearn",defaultValue = "true")
public static boolean SKILL_AUTOLEARN;
+
+ /**
+ * Custom Settings
+ */
+
+ /*
+ * Developer Copyright
+ */
+ @Property(key = "gameserver.show.copyright", defaultValue = "true")
+ public static boolean SHOW_COPYRIGHT;
+
/**
* Initialize all configs in com.aionemu.gameserver.configs package
*/
Index: src/com/aionemu/gameserver/network/aion/clientpackets/CM_ENTER_WORLD.java
================================================== =================
--- src/com/aionemu/gameserver/network/aion/clientpackets/CM_ENTER_WORLD.java (revision 727)
+++ src/com/aionemu/gameserver/network/aion/clientpackets/CM_ENTER_WORLD.java (working copy)
@@ -234,9 +234,8 @@



- sendPacket(new SM_MESSAGE(0, null, "Welcome to " + Config.SERVER_NAME
- + " server\nPowered by aion-unique software\ndeveloped by www.aion-unique.org team.\nCopyright 2009", null,
- ChatType.ANNOUNCEMENTS));
+ String Copyright = (Config.SHOW_COPYRIGHT) ? "\nРаботает на продукте Aion-Unique\nРазработано командой www.aion-unique.org\nCopyright 2009" : "";
+ sendPacket(new SM_MESSAGE(0, null, "Добро пожаловать на сервер " + Config.SERVER_NAME + Copyright, null,ChatType.ANNOUNCEMENTS));

playerService.playerLoggedIn(player);
}
[/SOURCE]
__________________
composer require laravel/framework
yarn add vue
PROGRAMMATOR вне форума Отправить сообщение для PROGRAMMATOR с помощью ICQ Отправить сообщение для PROGRAMMATOR с помощью Skype™ Ответить с цитированием