Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
* I tried with this code but there's no change. not applied. T_T
===============================================
function OnMsg.ModsLoaded()
Unmount("Fonts")
MountPack("Fonts", Mods["bpoUrm4"].path .. "Fonts/Nfonts.hpk")
end
This being said I would not recommend reverse engineering on feet like this. Check out the Modding discord (https://discord.gg/gZtkVSv) , in particular the #resources thread has a bunch of pinned stuff including decompiled Lua code from the game.
[H1]-- globals.lua
-- show all global variables
local seen={}
function dump(t,i)
print("hi")
seen[t]=true
local s={}
local n=0
for k in pairs(t) do
n=n+1 s[n]=k
end
table.sort(s)
for k,v in ipairs(s) do
print(i,v)
v=t[v]
if type(v)=="table" and not seen[v] then
dump(v,i.."\t")
end
end
end
dump(_G,"")[/h1]
However, it appears it is saying it can't compare string with a number... I added a few prints for debugging, (see just below 'dump' function) however it still is erroring using print send the string to the console, or no? Also, if anyone can see anything I'm blind to? Such as an end I forgot... The code seems to work on standalone Lua, but in the game...