Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Серверная часть (https://forum.zone-game.info/forumdisplay.php?f=148)
-   -   как узнать рейты сервера? (https://forum.zone-game.info/showthread.php?t=6242)

present 29.01.2010 07:15

как узнать рейты сервера?
 
как узнать рейты сервера?

PROGRAMMATOR 29.01.2010 08:36

Re: как узнать рейты сервера?
 
Взять блокнот, открыть конфиг и узнать...

Цитата:

#----------------------------
#Rates config's:
#----------------------------
#Experience gain
gameserver.rate.xp=1
#Experience gain for group
gameserver.rate.groupxp=1
#Item drop chance multiplier
gameserver.rate.drop=1
#Quest XP rate
gameserver.rate.quest.xp=1
#Quest Kinah rate
gameserver.rate.quest.kinah=1

MMd 29.01.2010 09:20

Re: как узнать рейты сервера?
 
Юра,а командой разве нельзя?о_О

PROGRAMMATOR 29.01.2010 13:07

Re: как узнать рейты сервера?
 
Какой? Просто не помню чтобы она была. Ну а если есть, то сори, не знал. В любом случае создать такую команду займет не более 5-ти минут. :)

MMd 29.01.2010 20:19

Re: как узнать рейты сервера?
 
В клиенте команды такой нет Но ты сам можеш её прописать...
как пропишеш можно на форум добавить и появится новая команда...

PROGRAMMATOR 29.01.2010 20:35

Re: как узнать рейты сервера?
 
[SOURCE="java"]/*
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu 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.
*
* aion-emu is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with aion-emu. If not, see <http://www.gnu.org/licenses/>.
*/
package admincommands;

import com.aionemu.gameserver.configs.Config;
import com.aionemu.gameserver.model.gameobjects.player.Pl ayer;
import com.aionemu.gameserver.utils.PacketSendUtility;
import com.aionemu.gameserver.utils.chathandlers.AdminCom mand;

/**
* @author Admin
*
*/
public class Rate extends AdminCommand
{
public Rate()
{
super("rate");
}

public void executeCommand(Player admin, String[] params)
{
PacketSendUtility.sendMessage(admin,
"XP: " + Config.XP_RATE
+ "\nGroup XP: " + Config.GROUPXP_RATE
+ "\nDrop: " + Config.DROP_RATE
+ "\nQuest XP: " + Config.QUEST_XP_RATE
+ "\nQuest Kinah: " + Config.QUEST_KINAH_RATE);
}
}[/SOURCE]

Где-то так, без ограничений на права, просто вводим в чат //rate и получаем рейты. Сохранить как Rate.java и поместить в директорию:

Цитата:

gameserver\data\scripts\system\handlers\admincomma nds\


Текущее время: 16:53. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot