Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción
in your guide, have a problema the Base.AssaultRifle has write "AssualtRifle"
#1 require "MagazineAPI"
#2 MagAPI.defineParam(Base.AssualtRifle, Base.556Clip, MyMagMod.556ExtClip)
#3 MagAPI.defineParam(Base.AssualtRifle2, Base.308Clip, MyMagMod.308DrumMag)
i fixed that but still don't work
Callframe at: StartAction
function: begin -- file: ISBaseTimedAction.lua line # 85 | Vanilla
function: onCompleted -- file: ISTimedActionQueue.lua line # 87 | Vanilla
function: onCompleted -- file: ShortcutItem.lua line # 45 | MOD: TheShortcut
function: perform -- file: ISBaseTimedAction.lua line # 66 | Vanilla
function: perform -- file: ISEquipWeaponAction.lua line # 139 | Vanilla
ERROR: General f:339737, t:1749455306002> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: __len not defined for operand at KahluaUtil.fail(KahluaUtil.java:100).
Assumeyou are whom in TIS discord, I left a reply in mod_develop channel.
Don't have hard time alone. you can share your issue in there. :)
https://pzwiki.net/wiki/Magazine_API
I would also like to give some tips with your framework which would improve it, notably the use of modules:
https://pzwiki.net/wiki/Lua_(language)#Modules
Overall everything looks clean however ! I noticed you used some deprecated functions (empty functions now) from your API in your example mod but you probably already know about that haha