Jump to content
turbotutone

ItemZed (updated 1.1b)

Recommended Posts

Eya, added version 1.3, which should fix the problem with errors during import.

Full list of changes:

FIXED file loading, should now ommit invalid txt files from scripts dir.
CHANGED most settings are stored in registery now instead of files.
CHANGED various outputs (logs, backups, temp&userdata etc) now defaults to "userorhomedir/.ItemZed/"
window.txt to force window size and position now generates in .ItemZed directory as well.
CHANGED some names in file menu to be more clearer.
ADDED some hot buttons on the select folder bar for open/close/save
CHANGED backups are now turned off by default, they can be turned on by going to folder settings and checking the backup tickbox at bottom.
 

Share this post


Link to post
Share on other sites

Hm, so, some basic questions about ItemZed and distribution:

-First, does the functionality still work? Reading the generated .lua seems pretty straight forward so I'm guessing it does.

-When I add new items to containers in this way, does it overwrite the container or does the DataManager merge any mods that touch the same container?

-What is the difference between this and the ProceduralDistribution lua method and is this preferable?

-If yes, can I just copy the code for appropriate containers and add in my own items?

-What it s the Rolls/chance value? A percentage?

 

Sorry for any too obvious things but I'm new to lua.

Share this post


Link to post
Share on other sites

@turbotutone

[RU]

В ItemZed имеется ошибка из-за которой она не работает правильно у значительной части людей. Из-за этого она падает после "Reading file: uniquerecipes.txt". Для преобразования в число с плавающей точкой используется float.TryParse(str, out num). Но так как эта функция зависит от текущих параметров системы и десятичный разделитель может отличаться от ".", следует использовать eё перегрузку, например float.TryParse(str, NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite | NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowThousands | NumberStyles.AllowExponent, new CultureInfo("en-US").NumberFormat, out num).

[EN]

In ItemZed there is an error due to which it does not work correctly for significant proportion of people. Because of this, the program crashes on "Reading file: uniquerecipes.txt". To convert a floating point number used float.TryParse(str, out num). But since this function depends on the current parameters of the system and the decimal separator may be different from ".", should use its overload, for example float.TryParse(str, NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite | NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowThousands | NumberStyles.AllowExponent, new CultureInfo("en-US").NumberFormat, out num).

Edited by Broddy

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...