安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
When eating from the HotBar, most of the time the count update is not done immediately after the eat action (I guess because it is a timed action). In order to get the update immediately I added the following code:
____________________________________
require "ISUI/hotbar_inventorypage"
local genuine_ISBaseTimedAction_perform = ISBaseTimedAction.perform;
function ISBaseTimedAction:perform()
genuine_ISBaseTimedAction_perform(self);
if HotBar and HotBar.inventoryPage then
HotBar.inventoryPage:updateInventory(true);
end
end
___________ hotbar_RISInventoryPaneContextMenu.lua _________________________
require "ISUI/ISInventoryPaneContextMenu"
local genuine_ISInventoryPaneContextMenu_transferIfNeeded = ISInventoryPaneContextMenu.transferIfNeeded;
function ISInventoryPaneContextMenu.transferIfNeeded(playerObj, item)
if not instanceof(item, "InventoryItem") or item:getContainer() then
genuine_ISInventoryPaneContextMenu_transferIfNeeded(playerObj, item);
end
end
I met a minor error that I guess everyone has.
Context:
I put a stack of food items on a key of the hot bar
I right click it + left click on Eat.
During the Eat TimeAction, I right click it + left click on Eat. (left click can be done afterwards too)
Current: one error occurs (no consequence)
STACK TRACE
-----------------------------------------
function: walkToContainer -- file: luautils.lua line # 146
function: haveToBeTransfered -- file: luautils.lua line # 200
function: transferIfNeeded -- file: ISInventoryPaneContextMenu.lua line # 1272
function: eatItem -- file: ISInventoryPaneContextMenu.lua line # 2678
function: onEatItems -- file: ISInventoryPaneContextMenu.lua line # 2800
function: onMouseUp -- file: ISContextMenu.lua line # 95
Expected:
No error occurs.
The second charge of food is eaten immediately after the first.
yes, that is intended behaviour. I feel it'd be "cheaty" to allow quick access to items buried in containers.
https://github.com/blind-coder/pz-hotbar/blob/master/media/lua/client/ISUI/hotbar_inventorypage.lua#L196 would need to be made into a recursive function to check for containers and https://github.com/blind-coder/pz-hotbar/blob/master/media/lua/client/ISUI/hotbar_inventorypage.lua#L258 would need to be changed to accomodate for items in containers and possibly move them to the main inventory before using (optionally move them back?).
click
Items in the inventory,
The game system will
Report once
error
I don't see a reason why it shouldn't. It must be enabled on the server or on the host and should then work just fine.
"Traditional" means that the activated item will be equipped in the player's hand, or hands for two-handed weapons.
"Smart" means that the mod will check the item, and use it accordingly, ie eat food, use bandages, wear clothes, etc.
I've now also updated the description to contain this information
Those are good ideas, I'll check them out.
"Traditional" means that the activated item will be equipped in the player's hand, or hands for two-handed weapons.
"Smart" means that the mod will check the item, and use it accordingly, ie eat food, use bandages, wear clothes, etc.
Also, I don't see anything that explains what the 'smart' function is. What does that do, and is it possible to add a floating info box when hovering over it to explain? Like the ones in the base game that explain different settings in sandbox if you mouse over them.
Hope that all made sense!
As you said, it was as easy as making sure the 3 mods where in the "Steam workshop" option.
if anyone else has the problem the names of the mods that have to be activated in the server options are:
-"Hotbar for 5-20 often used items"
-"Mod Releasenotes"
-"blincoders Modding Utility"
"File doesn´t exist on the server:
media/lua/client/ISUI/hotbar_inventorypage.lua
D:\SteamLibrary\steamapps\workshop\content\108600\503645367\mods\bcHotBar\media\lua\client\ISUI\hotbar_inventorypage.lua"
I´m playing with other mods but the server shows this error.
I copyed all the logs after the first stack trace bc i don´t know how to read it.
http://vpaste.net/rV4i4
@iicycube: That's a good idea, actually. I'll look into it!