Как изменить рейты на сервере hurtworld

Рейты - отправлено в Hurtworld: Доброго времени суток, форумчане! Не подскажете как можно поднять рейты на сервере? то есть рейты на добычу ресурсов ( вместо стандартного 8 дерева чтобы падало 16)

#1

Whiskey

    Новичок

  • Пользователь
  • Pip

  • 25 сообщений

Отправлено 01 Январь 2016 — 18:38

Доброго времени суток, форумчане! Не подскажете как можно поднять рейты на сервере? то есть рейты на добычу ресурсов ( вместо стандартного 8 дерева чтобы падало 16)

  • Наверх


#2


Whiskey

Whiskey

    Новичок

  • Пользователь
  • Pip

  • 25 сообщений

Отправлено 02 Январь 2016 — 4:09

неужели никто не знает как увеличить число дропа лута?

  • Наверх


#3


ykpon

Отправлено 02 Январь 2016 — 6:45

неужели никто не знает как увеличить число дропа лута?

Переписать Assembly-CSharp.dll или плагином изменять значения.

Вообще, есть плагины, которые увеличивают количество лута.

Класс LootConfigBuilder.

http://pastebin.com/jJ2czvcX

В нем уже забиты вероятности выпадения тех или иных предметов.

  • Наверх


#4


Whiskey

Whiskey

    Новичок

  • Пользователь
  • Pip

  • 25 сообщений

Отправлено 02 Январь 2016 — 17:42

Переписать Assembly-CSharp.dll или плагином изменять значения.

Вообще, есть плагины, которые увеличивают количество лута.

Класс LootConfigBuilder.

http://pastebin.com/jJ2czvcX

В нем уже забиты вероятности выпадения тех или иных предметов.

Loot Config я скачал, но он редактирует вероятность выпадения, а как поднять рейты? Gather

———————————

Переписать Assembly-CSharp.dll или плагином изменять значения.

———————————

это трудно сделать?

  • Наверх


#5


ykpon

Отправлено 02 Январь 2016 — 17:54

Loot Config я скачал, но он редактирует вероятность выпадения, а как поднять рейты? Gather

———————————

Переписать Assembly-CSharp.dll или плагином изменять значения.

———————————

это трудно сделать?

Что значит «рейты»? Увеличить количество предметов при подбирании лута?

  • Наверх


#6


Whiskey

Whiskey

    Новичок

  • Пользователь
  • Pip

  • 25 сообщений

Отправлено 02 Январь 2016 — 18:48

  • Наверх


#7


ykpon

Отправлено 02 Январь 2016 — 19:06

да

Только какие то конкретные предметы или вообще все, что подбирается с земли? Что есть лут в HurtWorld?

  • Наверх


#8


Whiskey

Whiskey

    Новичок

  • Пользователь
  • Pip

  • 25 сообщений

Отправлено 02 Январь 2016 — 19:16

ну например только на дерево и камень

  • Наверх


#9


ForZen

ForZen

    Новичок

  • Пользователь
  • Pip

  • 14 сообщений

Отправлено 07 Январь 2016 — 15:33

ну например только на дерево и камень

RandomVariance и StackSize, эти значения меняй, только обращай внимание, там не указано дерево, какое оно, с земли или с кучи. 

  • Наверх


This is a list of console commands that can be used. F1 is the default key to bring up the console. Commands can also be executed with `rcon` and autoexec.cfg

Client Commands[]

These are commands that all clients, regardless of permissions, can execute.

Command Arguments Description Example
connect <ip> Connect to a server at a specified IP, with the default port (12871) connect 192.168.0.1
connect <ip>:<port> Connect to a server at a specified IP, with the specified port connect 192.168.0.1:12871
itemlist List all items and their codes itemlist
kill USE WITH CAUTION. Commit suicide. kill
time Dumps the time of day.
deleteprefs This will delete all stored preferences.

Server Commands[]

These commands can only be executed on the server. Some can only be executed before loading a savegame. If you are on the client, and are an administrator, you can execute these commands on the server by prepending `rcon` in your console, or put them in your autoexec.cfg. ANY commands not in the autoexec will be deleted upon server restart.

Modding[]

Command Arguments Description Example
loadmod <workshopID> (<workshopID>…) Loads a mod by its workshop ID. You can specify multiple mods by separating ids with whitespace.

  • You should never remove a workshop mod unless you are prepared to wipe, as doing so mid-save often results in broken save states. To remove a workshop mod, simple delete the loadmod entry from your autoexec when you wipe your server.
  • Adding workshop mods mid-wipe is somewhat less risky, however always make sure you have a recent backup of your save state before trying.. as there is a couple of instances of this, too, corrupting save states.
  • This is for STEAM WORKSHOP mods ONLY, not oxide mods.
loadmod 714026119 704019543
ignoresharedenvironment Tells the server to not load the shared environment. Use this command to speed up connection times and reduce memory usage, if you aren’t using any in-built assets in your map. NOTE THAT THIS INCLUDES ANY WORKSHOP MOD!!! You can not use this if you use any workshop mods (loadmod 12345) ignoresharedenvironment
bakenavmesh Attempts to bake out a navmesh for the current level. Use for creating navmeshes for custom maps. bakenavmesh

CVARS[]

Networking[]

Save Management[]

Command Arguments Description Example
autobackupinterval <seconds> Sets how often the server should backup its autosave autobackupinterval 7200
wipeinterval <seconds> Sets the server wipe schedule, as displayed in the server browser, in seconds. A negative value will show no wipe. The value is the number of seconds, from when the save was created to when you will wipe. wipeinterval 1209600
autosaveenabled <value> Sets whether to autosave the server. autosaveenabled 0
savepath <path> Sets where the save file for the server will go. By default this is the same location as the executable. savepath «C:/MySaveFolder/»

Gameplay[]

Command Arguments Description Example
playerlootmode <value> Sets the player loot mode for the server.

  1. Drop nothing ever (playerlootmode 0)
  2. Drop backpack only (playerlootmode 1)
  3. Drop backpack, and use infamy (playerlootmode 2)
  4. Drop everything (playerlootmode 3)
  5. Destroy everything (playerlootmode 4)
playerlootmode 3
spawncooldown <speed> <value> Sets how spawn cooldown works. The <speed> parameter is how quickly spawn times fall back down to 10 seconds. The <value> is how much the spawn time increases upon death spawncooldown -0.1 10
stakedeauthtime <seconds> Sets the time in seconds a full ownership stake will take to deauthorise. stakedeauthtime 7200

Structures and Construction[]

Command Arguments Description Example
creativemode <bool> Turn creative mode on and off (free build). Value as 0 for off, 1 for on. creativemode 1
structurecomplexitylimit <category> <value> Sets the build limit for structures — basically how many polygons a building can be in a single cell. The categories are:

0 = Structures (default=50,000), 1 = Machines (default=200), 2 = Plants (default=25)

  • Setting this too high may induce excessive lag on a highly populated server which has many structures
structurecomplexitylimit 0 50000
structureframepacketlimit <value> This is a throttle on how many packets the initial structure sync will use per frame. Increase this if players take too long to download the structures on your server. Decrease this if you notice lag when players are connecting. The default value is 200.

  • The default value is usually fine. Adjusting either higher or lower seems to only have negative results both ways.
structureframepacketlimit 200
structuredecayenabled <bool> Turn structure decay on and off. structuredecayenabled 1
structuredecayfrequency <seconds> How often a structure will be damaged by decay. Low values may have a performance impact. Default is 600. structuredecayfrequency 600
structuredecaydamage <damage> OR <minDamage> <maxDamage> How much damage will be done when a structure decays. If you give one value, the damage is set to that value. If you give two, it will be a range between those two values. Default is 5 — 10. structuredecaydamage 5 10
structuredecaymodifytime <seconds> How long a structure must be both unclaimed and unmodified, before it begins to decay. Default is 24 hours. structuredecaymodifytime 86400

Chat[]

Command Arguments Description Example
chatspambudget <value> Sets the chat spam filter threshold. Lower values mean players will be muted sooner. Default value is 500. chatspambudget 200
chatconnectionmessagesenabled <value> Sets whether the server displays connection/disconnection messages. chatconnectionmessagesenabled 0
chatdeathmessagesenabled <value> Sets whether the server displays death messages. chatdeathmessagesenabled 0
mute <steamID> <seconds> Mutes the given player for the given amount of time. mute 76561197968052866 600
unmute <steamID> Unmutes the given player.

Performance[]

Command Arguments Description Example
loadbalancerframebudget <value> Sets how many resources the Loadbalancer can use per frame. The default is 100. Increase this number if you have high server FPS but slowupdate cycle rates.

Below is how you might improve performance using this command. It is not dangerous to your save state, however may provide variable results, or even no result at all.

  • It is good idea to increase this, testing it in increments however it does require a server restart to take effect. You can’t just do it in in-game console.
  • In console, use the command «serverstatus» and make sure your load balancer cycle rate is always above 1.0, especially once your server becomes populated server and has many structures. CHECK DAILY to make sure the cycle rate has not fallen below 1.0. If it does, then it’s time to raise the loadbalancerframebudget again.
  • Don’t worry about the second «average» cycle rate. This is none of our concern.
  • You can also see your server’s average fps with serverstatus. If you see it drop too much, your loadbalanceframebudget arg is set too high.
  • If you have a high performance server you may find it extremely useful to increase this to 10000 or more
  • You may see significant lag/ping improvements by increasing this setting, however — results may vary greatly depending on hardware, server configuration, build limits, what kind of loot and spawn tables your server has, and many other factors. There is always a limit. If you have any unresolved issues using this just go back to default.
  • Depending on hardware, server configuration, build limits, what kind of loot and spawn tables your server has, and many other factors — it may be impossible to get the desired cycle rate. You may find that you have to compromise a bit in other areas that affect how much you are stressing Hurtworld’s current capabilities.
  • It seems that values above 30000 are either ineffective or start having negative results on frame and cycle rates, even on a high performance server.
loadbalancerframebudget 100
targetfps <value> Sets the target fps for a server. A negative value will make this unlimited

  • For most servers, it is not recommended to have unlimited targetfps. 80 to 120 seems to be the way to go. This does not always mean a player will max out at the chosen frames.
targetfps -1
monitorloadbalancer <bool> Use to debug and see what is taking up time in the Load Balancer. After enabling monitoring, wait 1 minute and then run the `dumploadbalancer` command. Do not leave this enabled, as it has significant overhead. monitorloadbalancer 1
spawnercellupdatesperframe <value> Determines how much time spawners can take. If you think the spawner is running too slowly and players aren’t getting the spawns you would expect, try increasing this number. Default is 10. spawnercellupdatesperframe 10

Vehicles[]

Command Arguments Description Example
vehicledecaytime <seconds> How fast an unclaimed vehicle will despawn. Default is 3 hours. vehicledecaytime 14400

Items List V2 : Soon ![]

ID NAME COMMAND

This is a list of console commands that can be used. F1 is the default key to bring up the console. Commands can also be executed with `rcon` and autoexec.cfg

Client Commands[]

These are commands that all clients, regardless of permissions, can execute.

Command Arguments Description Example
connect <ip> Connect to a server at a specified IP, with the default port (12871) connect 192.168.0.1
connect <ip>:<port> Connect to a server at a specified IP, with the specified port connect 192.168.0.1:12871
itemlist List all items and their codes itemlist
kill USE WITH CAUTION. Commit suicide. kill
time Dumps the time of day.
deleteprefs This will delete all stored preferences.

Server Commands[]

These commands can only be executed on the server. Some can only be executed before loading a savegame. If you are on the client, and are an administrator, you can execute these commands on the server by prepending `rcon` in your console, or put them in your autoexec.cfg. ANY commands not in the autoexec will be deleted upon server restart.

Modding[]

Command Arguments Description Example
loadmod <workshopID> (<workshopID>…) Loads a mod by its workshop ID. You can specify multiple mods by separating ids with whitespace.

  • You should never remove a workshop mod unless you are prepared to wipe, as doing so mid-save often results in broken save states. To remove a workshop mod, simple delete the loadmod entry from your autoexec when you wipe your server.
  • Adding workshop mods mid-wipe is somewhat less risky, however always make sure you have a recent backup of your save state before trying.. as there is a couple of instances of this, too, corrupting save states.
  • This is for STEAM WORKSHOP mods ONLY, not oxide mods.
loadmod 714026119 704019543
ignoresharedenvironment Tells the server to not load the shared environment. Use this command to speed up connection times and reduce memory usage, if you aren’t using any in-built assets in your map. NOTE THAT THIS INCLUDES ANY WORKSHOP MOD!!! You can not use this if you use any workshop mods (loadmod 12345) ignoresharedenvironment
bakenavmesh Attempts to bake out a navmesh for the current level. Use for creating navmeshes for custom maps. bakenavmesh

CVARS[]

Networking[]

Save Management[]

Command Arguments Description Example
autobackupinterval <seconds> Sets how often the server should backup its autosave autobackupinterval 7200
wipeinterval <seconds> Sets the server wipe schedule, as displayed in the server browser, in seconds. A negative value will show no wipe. The value is the number of seconds, from when the save was created to when you will wipe. wipeinterval 1209600
autosaveenabled <value> Sets whether to autosave the server. autosaveenabled 0
savepath <path> Sets where the save file for the server will go. By default this is the same location as the executable. savepath «C:/MySaveFolder/»

Gameplay[]

Command Arguments Description Example
playerlootmode <value> Sets the player loot mode for the server.

  1. Drop nothing ever (playerlootmode 0)
  2. Drop backpack only (playerlootmode 1)
  3. Drop backpack, and use infamy (playerlootmode 2)
  4. Drop everything (playerlootmode 3)
  5. Destroy everything (playerlootmode 4)
playerlootmode 3
spawncooldown <speed> <value> Sets how spawn cooldown works. The <speed> parameter is how quickly spawn times fall back down to 10 seconds. The <value> is how much the spawn time increases upon death spawncooldown -0.1 10
stakedeauthtime <seconds> Sets the time in seconds a full ownership stake will take to deauthorise. stakedeauthtime 7200

Structures and Construction[]

Command Arguments Description Example
creativemode <bool> Turn creative mode on and off (free build). Value as 0 for off, 1 for on. creativemode 1
structurecomplexitylimit <category> <value> Sets the build limit for structures — basically how many polygons a building can be in a single cell. The categories are:

0 = Structures (default=50,000), 1 = Machines (default=200), 2 = Plants (default=25)

  • Setting this too high may induce excessive lag on a highly populated server which has many structures
structurecomplexitylimit 0 50000
structureframepacketlimit <value> This is a throttle on how many packets the initial structure sync will use per frame. Increase this if players take too long to download the structures on your server. Decrease this if you notice lag when players are connecting. The default value is 200.

  • The default value is usually fine. Adjusting either higher or lower seems to only have negative results both ways.
structureframepacketlimit 200
structuredecayenabled <bool> Turn structure decay on and off. structuredecayenabled 1
structuredecayfrequency <seconds> How often a structure will be damaged by decay. Low values may have a performance impact. Default is 600. structuredecayfrequency 600
structuredecaydamage <damage> OR <minDamage> <maxDamage> How much damage will be done when a structure decays. If you give one value, the damage is set to that value. If you give two, it will be a range between those two values. Default is 5 — 10. structuredecaydamage 5 10
structuredecaymodifytime <seconds> How long a structure must be both unclaimed and unmodified, before it begins to decay. Default is 24 hours. structuredecaymodifytime 86400

Chat[]

Command Arguments Description Example
chatspambudget <value> Sets the chat spam filter threshold. Lower values mean players will be muted sooner. Default value is 500. chatspambudget 200
chatconnectionmessagesenabled <value> Sets whether the server displays connection/disconnection messages. chatconnectionmessagesenabled 0
chatdeathmessagesenabled <value> Sets whether the server displays death messages. chatdeathmessagesenabled 0
mute <steamID> <seconds> Mutes the given player for the given amount of time. mute 76561197968052866 600
unmute <steamID> Unmutes the given player.

Performance[]

Command Arguments Description Example
loadbalancerframebudget <value> Sets how many resources the Loadbalancer can use per frame. The default is 100. Increase this number if you have high server FPS but slowupdate cycle rates.

Below is how you might improve performance using this command. It is not dangerous to your save state, however may provide variable results, or even no result at all.

  • It is good idea to increase this, testing it in increments however it does require a server restart to take effect. You can’t just do it in in-game console.
  • In console, use the command «serverstatus» and make sure your load balancer cycle rate is always above 1.0, especially once your server becomes populated server and has many structures. CHECK DAILY to make sure the cycle rate has not fallen below 1.0. If it does, then it’s time to raise the loadbalancerframebudget again.
  • Don’t worry about the second «average» cycle rate. This is none of our concern.
  • You can also see your server’s average fps with serverstatus. If you see it drop too much, your loadbalanceframebudget arg is set too high.
  • If you have a high performance server you may find it extremely useful to increase this to 10000 or more
  • You may see significant lag/ping improvements by increasing this setting, however — results may vary greatly depending on hardware, server configuration, build limits, what kind of loot and spawn tables your server has, and many other factors. There is always a limit. If you have any unresolved issues using this just go back to default.
  • Depending on hardware, server configuration, build limits, what kind of loot and spawn tables your server has, and many other factors — it may be impossible to get the desired cycle rate. You may find that you have to compromise a bit in other areas that affect how much you are stressing Hurtworld’s current capabilities.
  • It seems that values above 30000 are either ineffective or start having negative results on frame and cycle rates, even on a high performance server.
loadbalancerframebudget 100
targetfps <value> Sets the target fps for a server. A negative value will make this unlimited

  • For most servers, it is not recommended to have unlimited targetfps. 80 to 120 seems to be the way to go. This does not always mean a player will max out at the chosen frames.
targetfps -1
monitorloadbalancer <bool> Use to debug and see what is taking up time in the Load Balancer. After enabling monitoring, wait 1 minute and then run the `dumploadbalancer` command. Do not leave this enabled, as it has significant overhead. monitorloadbalancer 1
spawnercellupdatesperframe <value> Determines how much time spawners can take. If you think the spawner is running too slowly and players aren’t getting the spawns you would expect, try increasing this number. Default is 10. spawnercellupdatesperframe 10

Vehicles[]

Command Arguments Description Example
vehicledecaytime <seconds> How fast an unclaimed vehicle will despawn. Default is 3 hours. vehicledecaytime 14400

Items List V2 : Soon ![]

ID NAME COMMAND

Серверные команды HurtWorld. Эти команды отправляются напрямую в консоль сервера через RCON либо в окно игрового сервера. 

Клиентские команды

Эти команды отправляются в игровую консоль. Чтобы открыть консоль используйте клавишу F1.

Команда Описание Пример
connect Подключение к серверу connect 192.168.1.24
kill Самоубийство kill
changename Сменить имя changename «Empire»
playerid Узнать идентификатор игрока playerid

Команды администратора

Команда Описание Пример
itemlist <фильтр> Список предметов itemlist .
g <код предмета> <количество> Получить предмет g 52 100
g <имя предмета> <количество> Получить предмет.  g ore 100
g all Получить все предметы  
rcon <команда> Отправить RCON команду на сервер rcon servername NewName
spawn <prefabname> Спавн объекта spawn sandstorm
refreshai Обновить AI refreshai
teleport <игрок 1> <игрок 2> Телепортировать
игрока #1 к игроку #2
 

Серверные команды

Эти команды отправляются в консоль сервера или через RCON. Все эти команды можно вписывать в конфигурационный файл autoexec.cfg или в запуск, добавив к параметру -exec

Команда Описание Пример
addadmin <steamid64> Добавить администратора addadmin 76561198011856444
ban <steamid64> Забанить игрока ban 76561198011856445
unban <steamid64> Разбанить игрока uban 76561198011856445
testhost <порт> Тестирование хоста testhost 12871
wipeinterval <seconds> Интервал вайпа на сервере wipeinterval 600
autowipe <0/1> Автовайп autowipe 1
adminmessage <message> Сообщение администратору adminmessage «hello»
find Поиск команд  
bindip Забиндить IP bindip 0.0.0.0
host <порт> <карта> <сохранение> Основные параметры хоста.
Порт, карта, сохранение
host 12871
host 12871 DiemensLand
host 12871 DiemensLand mysave
stockvehicles    
freezetime Заморозить время. На сервере не
будет меняться день и ночь.
freezetime 0.5
setbiome Задать биом  
settime Задать текущее время settime 0.5
lowlod    
autobackupinterval <секунды> Интервал автоматического создания бекапов autobackupinterval 600
maxping <пинг мсек> Максимальный пинг на сервере.
Игроки с пингом выше будут кикнуты
maxping 200
spawnercellupdatesperframe <количество>    
combatlogtimeout <сек>    
expandpools    
warmshaders    
chatspambudget <число>    
chatconnectionmessagesenabled <1/0>    
chatdeathmessagesenabled <1/0>    
mute <steamID64> <seconds> Игрок будет молчать  
unmute <steamID64> <seconds> Игрок будет молчать  
unloadassets    
queryport Порт для запросов (Query порт) queryport 13871
enforceeac Работа EAC (0 — выключить, 1 — включить) enforceeac 0
loadbalancerframebudget <budget>    
refreshai Обновить AI  
maxplayers <число> Максимальное количество игроков на сервере maxplayers 30
servername <имя> Имя сервера servername «Alkad server»
targetfps <число> FPS сервера targetfps 128
creativemode <1/0> Творческий режим creativemode 1
find Поиск команд  
quit Запись конфигов и выход. quit
cancelquit Отменить выход  
slack    
dumpbiome Дамп биома  
serverstatus Статус сервера  
changelevel Сменить уровень  
saveserver Сохранить данные сервера  
destroyall Удалить всё destroyall
count Количество чего-то???  
loadserver Загрузить сервер loadserver
spawn    
debug <0/1> Режим разработки. Debug режим debug 1
debug 0
playerlootmode <0/1/2/3> Изменить режим лута

0 — Не выпадает ничего,
1 — Остаётся только содержимое рюкзака
2 — Остаётся содержимое рюкзака и
случайные предметы
3 — Куча всего

playerlootmode 2
deleteprefs    
deletepreference <key>    
dumpleaks Дамп утечек или дыр???  
time Время  
spawncooldown <cooldown speed> <cooldown increment>    
analytics <0/1> Сбор статистики. Аналитика сервера. analytics 0
monitorloadbalancer    
dumploadbalancer    
stakedeauthtime    
vehicledecaytime    
dumpview  

Мод Экономики

Команды:

  • /money => покажет список доступных команд
  • /money balance => показать ваш баланс
  • /money balance => показать баланс другого игрока
  • /money transfer => передать денег другому игроку

Мод Телепортация

Команды персонажа:

  • /tpr <player> => отправить запрос на телепортацию игроку с ником <player>
  • /tpa => подтвердить первый запрос на телепортацию
  • /tpa <player> => подтвердить запрос на телепортацию от игрока с ником <player>

Команды для дома:

  • /home <home> => переместиться к вашему дому с названием <home>
  • /homes => список ваших домов
  • /sethome <home> => добавить дом с названием <home> в ваш список
  • /removehome <home> => удалить дом с названием <home> из вашего списка

Мод Помощь

**Команды **

  • /help => выведет список команд помощи
  • /help <command> => вывести помощь по комманде <command>

Мод Кланы

Помощь по кланам:

  • /clan help [или /clan h] => показывает список команд клана

Команды для игрока:

  • /clan create <tag> => создать клан с тегом <tag>
  • /clan join <tag> => присоединиться к клану в который вас пригласили с названием <tag>
  • /clan leave => покинуть текущий клан
  • /c <message> => отправить сообщение в клановый чат
  • /tc => переключиться между клановым и глобальным чатом

Команды модератора клана:

  • /clan invite <player> => приглосить в клан игрока с ником <player>
  • /clan kick <player> => выгнать из клана игрока с ником <player>

Команды владельца клана:

  • /clan promote <player> => сделать модератором клана игрока с ником <player>
  • /clan demote <player> => забрать модератора у игрока с ником <player>
  • /clan disband => распустить клан (не может быть отменено!)

Мод Наборы

Команды:

  • /kit => получить список доступных наборов
  • /kit <kitname> => получить набор

Мод Местоположение

Команды:

  • /pos => выведет ваше местоположение

Мод Пинг

Команды:

  • /ping => показать ваш пинг в игре

Мод Список Игроков

Команды:

  • /players => показать список игроков

Мод Личные Сообщения

Команды:

  • /pm <player> <message> => Отправить личное сообщение игроку
  • /r <message> => ответить последнему игроку который написал вам личное сообщение

Позволяет увеличить рейты добычи ресурсов на сервере.
Increases the amount of items gained from gathering resources.

Оксид нужен 2.0.3820 или выше!
Need Oxide 2.0.3820 or higher!

{
«Debug»: false, // При значении true выводит сообщения в консоли о изменении количества ресурса при его добыче(По стандарту выключено(false) так как большой спам).
«DispenserGather»: 5, // Общий рейт добычи топорами и кирками(из бревен и руд)
«DispenserGatherItems»: { // Список ресурсов для отдельной настройки рейтов на каждый
«Flint»: 5 // Кремень х5
},
«DrillsDispenserGather»: 5, // Общий рейт добычи дрелями
«DrillsDispenserGatherItems»: { // Список ресурсов для отдельной настройки рейтов на каждый
«Flint»: 5 // Кремень х5
},
«EntityGather»: 5, // Общий рейт добычи(выпадения) из животных
«EntityGatherItems»: { // Список ресурсов для отдельной настройки рейтов на каждый
«Animal Tendon»: 5 // Кости х5
},
«PickupGather»: 5, // Общий рейт поднятых ресурсов(палки, камни)
«PickupGatherItems»: { // Список ресурсов для отдельной настройки рейтов на каждый
«Flint»: 5 // Кремень х5
},
«PlantGather»: 5, // Общий рейт добычи из растений
«PlantGatherItems»: { // Список ресурсов для отдельной настройки рейтов на каждый
«Medusa Vine Seed»: 1, // Семена медузы х1
«Owrong Seed»: 1, // Семена овронгов х1
«Pitcher Plant Seed»: 1, // Семена кувшинки(хладагента) х1
«Succulent Plant Seed»: 1 // Семена кактуса х1
}
}

{
«Debug»: false, // If true, displays messages in the console about the change in the amount of resource when it is extracted (Standard is disabled(false) because it is large spam).
«DispenserGather»: 5, // Total rate for axes and pickaxes(Gather from logs and ores)
«DispenserGatherItems»: { // List of resources for individual setting of the rates for each
«Flint»: 5 // Flint х5
},
«DrillsDispenserGather»: 5, // Total rate of Drill(Red, Green, Blue)
«DrillsDispenserGatherItems»: { // List of resources for individual setting of the rates for each
«Flint»: 5 // Flint х5
},
«EntityGather»: 5, // Total rate for drop loot of Animals/Entity
«EntityGatherItems»: { // List of resources for individual setting of the rates for each
«Animal Tendon»: 5 // Tendon х5
},
«PickupGather»: 5, // Total rate of Pickup
«PickupGatherItems»: { // List of resources for individual setting of the rates for each
«Flint»: 5 // Flint х5
},
«PlantGather»: 5, // Total rate of Plants
«PlantGatherItems»: { // List of resources for individual setting of the rates for each
«Medusa Vine Seed»: 1, // Medusa Seed х1
«Owrong Seed»: 1, // Owrong Seed х1
«Pitcher Plant Seed»: 1, // Pitcher Seed х1
«Succulent Plant Seed»: 1 // Succulent Seed х1
}
}

Команды

Клиентские команды

Эти команды отправляются в игровую консоль. Чтобы открыть консоль используйте клавишу F1.

Команда Описание Пример
connect Подключение к серверу connect 192.168.1.24
kill Самоубийство kill
changename Сменить имя changename «Empire»
playerid Узнать идентификатор игрока playerid

Команды администратора

Команда Описание Пример
itemlist <фильтр> Список предметов itemlist .
g <код предмета> <количество> Получить предмет g 52 100
g <имя предмета> <количество> Получить предмет g ore 100
g all Получить все предметы
rcon <команда> Отправить RCON команду на сервер rcon servername NewName
spawn <prefabname> Спавн объекта spawn sandstorm
refreshai Обновить AI refreshai
teleport <игрок 1> <игрок 2> Телепортировать игрока #1 к игроку #2

Серверные команды

Эти команды отправляются в консоль сервера или через RCON. Все эти команды можно вписывать в конфигурационный файл autoexec.cfg или в запуск, добавив к параметру -exec

Команда Описание Пример
addadmin <steamid64> Добавить администратора addadmin 76561198011856444
ban <steamid64> Забанить игрока ban 76561198011856445
unban <steamid64> Разбанить игрока uban 76561198011856445
testhost <порт> Тестирование хоста testhost 12871
wipeinterval <seconds> Интервал вайпа на сервере wipeinterval 600
autowipe <0/1> Автовайп autowipe 1
adminmessage <message> Сообщение администратору adminmessage «hello»
find Поиск команд
bindip Забиндить IP bindip 0.0.0.0
host <порт> <карта> <сохранение> Основные параметры хоста. Порт, карта, сохранение host 12871
host 12871 DiemensLand
host 12871 DiemensLand mysave
stockvehicles
freezetime Заморозить время. На сервере не будет меняться день и ночь. freezetime 0.5
setbiome Задать биом
settime Задать текущее время settime 0.5
lowlod
autobackupinterval <секунды> Интервал автоматического создания бекапов autobackupinterval 600
maxping <пинг мсек> Максимальный пинг на сервере. Игроки с пингом выше будут кикнуты maxping 200
spawnercellupdatesperframe <количество>
combatlogtimeout <сек>
expandpools
warmshaders
chatspambudget <число>
chatconnectionmessagesenabled <1/0>
chatdeathmessagesenabled <1/0>
mute <steamID64> <seconds> Игрок будет молчать
unmute <steamID64> <seconds> Игрок будет молчать
unloadassets
queryport Порт для запросов (Query порт) queryport 13871
enforceeac Работа EAC (0 — выключить, 1 — включить) enforceeac 0
loadbalancerframebudget <budget>
refreshai Обновить AI
maxplayers <число> Максимальное количество игроков на сервере maxplayers 30
servername <имя> Имя сервера servername «Empire-Host.org server»
targetfps <число> FPS сервера targetfps 128
creativemode <1/0> Творческий режим creativemode 1
find Поиск команд
quit Запись конфигов и выход. quit
cancelquit Отменить выход
slack
dumpbiome Дамп биома
serverstatus Статус сервера
changelevel Сменить уровень
saveserver Сохранить данные сервера
destroyall Удалить всё destroyall
count Количество чего-то???
loadserver Загрузить сервер loadserver
spawn
debug <0/1> Режим разработки. Debug режим debug 1
debug 0
playerlootmode <0/1/2/3> Изменить режим лута0 — Не выпадает ничего, 1 — Остаётся только содержимое рюкзака, 2 — Остаётся содержимое рюкзака и случайные предметы, 3 — Куча всего playerlootmode 2
deleteprefs
deletepreference <key>
dumpleaks Дамп утечек или дыр???
time Время
spawncooldown <cooldown speed> <cooldown increment>
analytics <0/1> Сбор статистики. Аналитика сервера. analytics 0
monitorloadbalancer
dumploadbalancer
stakedeauthtime
vehicledecaytime
dumpview

Jump to content

  • Пиратия: Документация

PKOdev.NET - Community of Developers & Administrators

  • Existing user? Sign In  

  • Sign Up

V3ct0r

  • Reply to this topic

  • Start new topic

Recommended Posts

  • Report post

Рейты сервера

Привет!

В данной статье я расскажу как изменить рейты сервера. Рейты — это значения, на которые умножаются опыт, шанс выпадения предмета, рост феи.

Откройте файл variable.lua (папка GameServerresourcescriptcalculate) и найдите следующие переменные:

EXP_RAID = 15             -- Рейт на опыт     
TeamExp_RAID = 30         -- Рейт на опыт в отряде      
MF_RAID = 25              -- Рейт на выпадение предметов из монстров 
Resource_RAID_ADJUST = 10 -- Рейт на выпадение ресурсов
ELEEXP_GETRAD = 1000      -- Рейт на рост феи

В данном случае:  15х кач соло, 30х кач в пати, 25х дроп, 10х дроп ресурсов, 1000х рост феи.

Изменяя значения этих переменных Вы можете настраивать рейты сервера. Не забудьте сохранить файл variable.lua и перезапустить все GameServer.exe после проделанных изменений. 

Так же Вы можете воспользоваться специальной программой:

Вы можете создать рейт для получения опыта корабля, по умолчанию он отсутствует в скриптах. Добавьте в variable.lua переменную для нового рейта, для примера назовем ее SHIP_RAID:

SHIP_RAID = 1

Затем откройте файл exp_and_level.lua (папка GameServerresourcescriptcalculate) и найдите функцию GetExp_PKM(dead , atk), а в ней строку:

local ship_expadd = math.floor(math.min(7, (dead_lv / 10 + 2))) 

замените эту строку на следующую:

local ship_expadd = math.floor(math.min(7, (dead_lv / 10 + 2)) * SHIP_RAID) 

Теперь получаемый опыт в корабле будет умножаться на значение переменной SHIP_RAID.

В 24.10.2016 в 18:10, NMS3RR сказал:

Если вы хотите повысить опыт за квест или золото за квест то:

а)Опыт
1.Идем в папку GameServerresourcescriptMisSdk

2.Ищем   elseif actions.func == AddExp then

3.Добавляем EXP_QUEST_RAID как показано в примере.

			elseif actions[i].func == AddExp then
			PRINT( "ActionProc:AddExp, p1 = , p2 = ", actions[i].p1, actions[i].p2 )
			local retExpState = GetExpState(character)
			actions[i].p1 = (actions[i].p1  * GetExpState(character) /100)*EXP_QUEST_RAID
			actions[i].p2 = (actions[i].p2  * GetExpState(character) /100)*EXP_QUEST_RAID
			local ret = AddExp( character, npc, actions[i].p1, actions[i].p2 )
			if ret ~= LUA_TRUE then
				PRINT( "ActionProc: AddExp failed!" )
				SystemNotice( character, "ActionProc: AddExp Add Exp failed!" )
				return LUA_FALSE
			end

4. EXP_QUEST_RAID переменная из variable для рейтов.

б)Золото

1.Идем в папку GameServerresourcescriptMisSdk

2.Ищем   elseif actions.func == AddMoney then

3.Добавляем MONEY_QUEST_RAID как показано в примере.

elseif actions[i].func == AddMoney then
			PRINT( "ActionProc:AddMoney, p1 =", actions[i].p1 )
			local ret = AddMoney( character, npc, actions[i].p1 )* MONEY_QUEST_RAID
			if ret ~= LUA_TRUE then
				PRINT( "ActionProc: AddMoney failed!param1 = %d", actions[i].p1 )
				SystemNotice( character, "ActionProc: AddMoney failed!" )
				return LUA_FALSE
			end

4. MONEY_QUEST_RAID переменная из variable для рейтов.

См. также:

[FYI] Разному времени суток — разный дроп

Share this post


Link to post
Share on other sites
  • Report post

@V3ct0r рейты на опыт с заданий описывать не будешь?

  • Quote

Делай добро и бросай его в воду

Share this post


Link to post
Share on other sites
  • Report post

Добавлю сам.
Если вы хотите повысить опыт за квест или золото за квест то:

а)Опыт
1.Идем в папку GameServerresourcescriptMisSdk

2.Ищем   elseif actions.func == AddExp then


3.Добавляем
EXP_QUEST_RAID как показано в примере.

			elseif actions[i].func == AddExp then
			PRINT( "ActionProc:AddExp, p1 = , p2 = ", actions[i].p1, actions[i].p2 )
			local retExpState = GetExpState(character)
			actions[i].p1 = (actions[i].p1  * GetExpState(character) /100)*EXP_QUEST_RAID
			actions[i].p2 = (actions[i].p2  * GetExpState(character) /100)*EXP_QUEST_RAID
			local ret = AddExp( character, npc, actions[i].p1, actions[i].p2 )
			if ret ~= LUA_TRUE then
				PRINT( "ActionProc: AddExp failed!" )
				SystemNotice( character, "ActionProc: AddExp Add Exp failed!" )
				return LUA_FALSE
			end


4.
EXP_QUEST_RAID переменная из variable для рейтов.



б)Золото


1.Идем в папку
GameServerresourcescriptMisSdk


2.Ищем  
elseif actions.func == AddMoney then


3.Добавляем
MONEY_QUEST_RAID как показано в примере.

elseif actions[i].func == AddMoney then
			PRINT( "ActionProc:AddMoney, p1 =", actions[i].p1 )
			local ret = AddMoney( character, npc, actions[i].p1 )* MONEY_QUEST_RAID
			if ret ~= LUA_TRUE then
				PRINT( "ActionProc: AddMoney failed!param1 = %d", actions[i].p1 )
				SystemNotice( character, "ActionProc: AddMoney failed!" )
				return LUA_FALSE
			end


4. MONEY_QUEST_RAID переменная из variable для рейтов.


Делай добро и бросай его в воду

Share this post


Link to post
Share on other sites
  • Report post
@V3ct0r Еще один Апдейт для ленивых :

Каждой локации свой шанс выпадения.

1.Идем в файл skilleffect.lua и ищем function Check_Baoliao

2.Вставляем в начало функции

local map_name_ATKER = GetChaMapName ( ATKER )
local RAID_MAP=1

3.Вставляем перед if IsPlayer(Defer) == 1 then

if map_name_ATKER =="abandonedcity" or map_name_ATKER=="abandonedcity2" or map_name_ATKER="abandonedcity3" then 
		RAID_MAP=хх -- Шанс в ФС
	elseif map_name_ATKER == "darkswamp" then
		RAID_MAP=хх -- Шанс в ДС
	elseif map_name_ATKER == "garner2" then
		RAID_MAP=хх -- Шанс в ХС
	elseif map_name_ATKER == "07xmas" then
		RAID_MAP=хх -- Шанс в СНВ
	elseif map_name_ATKER == "puzzleworld" or map_name_ATKER == "puzzleworld2"  then
		RAID_MAP=хх -- Шанс в ДВ
		
	else 
		RAID_MAP=хх -- Не данж 
	end

4. Добавляем нашу переменную RAID_MAP

mf = math.min ( 1, 100 / arg[i] * ( bsmf / 100 ) ) * ... * RAID_MAP * ...

Теперь мы можем контролировать шанс выпадения на разных картах не переписывая CharacterInfo


Edited November 1, 2016 by NMS3RR

  • Quote

Делай добро и бросай его в воду

Share this post


Link to post
Share on other sites
  • Report post

Если карты «данж» и «не данж» на одном ГСе, то игроки на разных картах будут друг другу переписывать рейты. Надо делать отдельные переменные на каждую карту либо в массив их сложить

  • Quote

Share this post


Link to post
Share on other sites
  • Report post

@NMS3RR можно сделать что-то вроде такого:

variable.lua

-- Массив <карта> = дополнительный рейт на дроп
MAP_RAID = {}
MAP_RAID["abandonedcity"]  = 1
MAP_RAID["abandonedcity2"] = 2
MAP_RAID["abandonedcity3"] = 3
MAP_RAID["darkswamp"]  = 15
MAP_RAID["07xmas"] = 25
MAP_RAID["puzzleworld"] = 50
MAP_RAID["puzzleworld2"] = 20

Начало функции Check_Baoliao() из skilleffect.lua:

local raid = 1
local map_name = GetChaMapName(ATKER)
if (MAP_RAID[map_name] ~= nil) then
	raid = MAP_RAID[map_name]
end

Редактируем формулу, та же функция и файл:

mf = math.min(1, 100 / arg[i] * bsmf) * MF_RAID * MF_RAID_STATE * raid

Либо просто сделать переменную RAID_MAP локальной в контексте функции Check_Baoliao(), т.е. не выносить ее в variable.lua

local RAID_MAP = 1

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later.

If you have an account, sign in now to post with your account.


×

  • Existing user? Sign In
  • Sign Up

  • Browse
  • Staff
  • Online Users
  • All Activity
  • Unread Content
  • Search
  • Leaderboard

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Как изменить резюме на авито через ассистента
  • Как изменить резус фактор крови
  • Как изменить результаты теста через код страницы
  • Как изменить результаты теста на сайте
  • Как изменить результаты егэ на сайте

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии