Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge "113-improve-and-clean-codebase" into develop #114

Merged
merged 29 commits into from
Mar 9, 2023

Conversation

ofoxsmith
Copy link
Collaborator

@ofoxsmith ofoxsmith commented Mar 1, 2023

Might have some minor issues with tests, but I think it is fine.

Resolves #113

@ofoxsmith ofoxsmith requested a review from Ismoh March 1, 2023 21:43
@ofoxsmith ofoxsmith added the enhancement New feature or request. This will increase MINOR version number, when merged into develop. label Mar 1, 2023
@Ismoh Ismoh added this to the Features or QoL milestone Mar 1, 2023
@Ismoh
Copy link
Owner

Ismoh commented Mar 1, 2023

Thanks for the improvements, but as long as the tests aren't succeeded, I cannot merge it:

D:\a\NoitaMP\NoitaMP\LuaJIT-2.0.4\bin\luajit.exe: ...taMP\mods\noita-mp\files\scripts\util\CustomProfiler.lua:13: module 'file_util' not found:
	no field package.preload['file_util']

Do you need help on running tests locally?

@ofoxsmith ofoxsmith force-pushed the 113-improve-and-clean-codebase branch from b83b962 to 77c89ba Compare March 2, 2023 02:48
@Ismoh Ismoh linked an issue Mar 2, 2023 that may be closed by this pull request
@Ismoh Ismoh added the good_first_issue Good for newcomers label Mar 5, 2023
@Ismoh
Copy link
Owner

Ismoh commented Mar 5, 2023

Something went wrong with tag creation and changelog update. Need to fix this first. Tests wasn't succesfully

@codecov
Copy link

codecov bot commented Mar 5, 2023

Codecov Report

Merging #114 (45cbb1e) into develop (0bef7fb) will decrease coverage by 0.12%.
The diff coverage is 55.92%.

❗ Current head 45cbb1e differs from pull request most recent head 19a047b. Consider uploading reports for the commit 19a047b to get more accurate results

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #114      +/-   ##
===========================================
- Coverage    53.22%   53.11%   -0.12%     
===========================================
  Files           47       47              
  Lines         4678     4686       +8     
===========================================
- Hits          2490     2489       -1     
- Misses        2188     2197       +9     
Flag Coverage Δ
unittesting 53.11% <55.92%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...oita-mp/files/scripts/extensions/ffiExtensions.lua 78.50% <ø> (ø)
...a-mp/files/scripts/extensions/stringExtensions.lua 89.79% <ø> (ø)
mods/noita-mp/files/scripts/util/MinaUtils.lua 25.92% <0.00%> (ø)
...oita-mp/files/scripts/util/NoitaComponentUtils.lua 13.04% <0.00%> (ø)
...files/scripts/extensions/stringExtensions_test.lua 100.00% <ø> (ø)
.../files/scripts/extensions/tableExtensions_test.lua 94.31% <ø> (ø)
mods/noita-mp/files/scripts/net/Client.lua 34.68% <7.24%> (+0.07%) ⬆️
mods/noita-mp/files/scripts/net/Server.lua 28.71% <7.93%> (+0.82%) ⬆️
mods/noita-mp/files/scripts/util/EntityUtils.lua 4.58% <11.11%> (ø)
...ds/noita-mp/files/scripts/util/NetworkVscUtils.lua 6.54% <14.28%> (ø)
... and 17 more

... and 1 file with indirect coverage changes

Impacted file tree graph

@Ismoh
Copy link
Owner

Ismoh commented Mar 5, 2023

Version and changelog workflows fixed now.
Now it's about you @ofoxsmith fixing tests, afterwards this PR can be merged!

@Ismoh
Copy link
Owner

Ismoh commented Mar 7, 2023

Regarding LuaRocks and testing, I wuould suggest to make sure, you commited and pushed all left changes.
Then I would remove repo directory completely, afterwards I would do a checkout, then:

@Ismoh
Copy link
Owner

Ismoh commented Mar 8, 2023

I am going to squash and merge it, when luarocks test works on your local system @ofoxsmith and when noita.exe is loading NoitaMP. Just give me a shout!

Copy link
Owner

@Ismoh Ismoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is mods/noita-mp/output.txt ? Binary file?

@Ismoh Ismoh self-requested a review March 8, 2023 23:51
Not needed anymore
Slightly reformatting
@ofoxsmith
Copy link
Collaborator Author

What is mods/noita-mp/output.txt ? Binary file?

A file I used for testing. I must have accidentally commited it.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

🤖 meep moop beep boop

ℹ️ When this pull request was merged,
the current version v4.0.1-alpha+1195 will be automatically increase to v4.1.0-alpha+1216 in develop
and a new tag with v4.1.0-alpha+1216 will be created to the specific commit.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

🤖 meep moop beep boop

# Changelog

Unreleased

Full Changelog

Implemented enhancements:

Closed issues:

v4.0.1-alpha+792 (17.02.2023)

Full Changelog

Breaking changes:

  • Developer want to improve caching #89 [rework]
  • Developer want to rework client and server modules/classes #48 [rework]

Implemented enhancements:

Merged pull requests:

v4.0.0-alpha+1302 (16.02.2023)

Full Changelog

Breaking changes:

Fixed bugs:

Closed issues:

  • Dependency Dashboard #91

v2.5.1-alpha+790 (12.01.2023)

Full Changelog

v3.0.0-alpha+1285 (09.01.2023)

Full Changelog

v2.6.6-alpha+1223 (28.10.2022)

Full Changelog

v2.6.6-alpha+1162 (28.10.2022)

Full Changelog

v2.6.5-alpha+1143 (14.10.2022)

Full Changelog

v2.6.4-alpha+1138 (07.10.2022)

Full Changelog

v2.6.3-alpha+1134 (06.10.2022)

Full Changelog

v2.6.2-alpha+1130 (06.10.2022)

Full Changelog

v2.6.1-alpha+1073 (27.09.2022)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Developer want to fix version increase #78 [bug]

v2.6.0-alpha+1070 (24.09.2022)

Full Changelog

v2.5.0-alpha+1065 (24.09.2022)

Full Changelog

v2.4.0-alpha+1045 (11.07.2022)

Full Changelog

Implemented enhancements:

v2.4.0-alpha+1040 (11.07.2022)

Full Changelog

Breaking changes:

  • Developer want to rework NetworkComponents #27 [rework]

Implemented enhancements:

Fixed bugs:

  • Client sometimes crashing when projectile collides #37 [bug]
  • IsDirectory is not reliable. Use lfs? #13 [bug]

Closed issues:

  • Add GitHub Workflow for windows-latest #14
  • Enable tests in file_util_test.lua #12

* This Changelog was automatically generated by github_changelog_generator

@ofoxsmith ofoxsmith merged commit 5c848a7 into develop Mar 9, 2023
@ofoxsmith ofoxsmith deleted the 113-improve-and-clean-codebase branch March 9, 2023 23:10
ofoxsmith added a commit that referenced this pull request Mar 9, 2023
commit 2220044
Author: Ismoh <12631485+Ismoh@users.noreply.github.com>
Date:   Thu Mar 9 11:53:33 2023 +0100

commit 0668d2c
Author: Ismoh <12631485+Ismoh@users.noreply.github.com>
Date:   Thu Mar 9 11:51:36 2023 +0100

commit d1d4f94
Author: Ismoh <12631485+Ismoh@users.noreply.github.com>
Date:   Thu Mar 9 11:43:11 2023 +0100

commit ff6bbb4
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 9 20:13:44 2023 +1100

    remove mocking and require calls from each test file that should be moved to the main file

commit 1442e79
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 9 13:57:05 2023 +1100

    remove unneeded luaunit call

commit 6b5173f
Merge: 02f9a58 2a3e48c
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 9 11:59:02 2023 +1100

    Merge branch '113-improve-and-clean-codebase' of https://github.com/Ismoh/NoitaMP into 113-improve-and-clean-codebase

commit 02f9a58
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 9 11:58:57 2023 +1100

    remove output.txt

commit 2a3e48c
Author: Torben H <Ismoh@users.noreply.github.com>
Date:   Thu Mar 9 00:59:09 2023 +0100

    Update unitTestRunner.lua

    Slightly reformatting

commit e0320eb
Author: Torben H <Ismoh@users.noreply.github.com>
Date:   Thu Mar 9 00:53:50 2023 +0100

    Delete init_logger_test.lua

    Not needed anymore

commit 92dd211
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 9 08:25:10 2023 +1100

    Change way that the test files are run

commit 45cbb1e
Author: Ismoh <12631485+Ismoh@users.noreply.github.com>
Date:   Wed Mar 8 13:30:09 2023 +0100

commit 954d010
Author: Ismoh <12631485+Ismoh@users.noreply.github.com>
Date:   Wed Mar 8 13:26:20 2023 +0100

commit b852ff2
Merge: b431b5f f1a0539
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Wed Mar 8 08:54:26 2023 +1100

    Merge branch '113-improve-and-clean-codebase' of https://github.com/Ismoh/NoitaMP into 113-improve-and-clean-codebase

commit b431b5f
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Wed Mar 8 08:54:20 2023 +1100

    remove line causing test env to fail

commit f1a0539
Merge: 9b3b3ae 0bef7fb
Author: Torben H <Ismoh@users.noreply.github.com>
Date:   Sun Mar 5 19:24:24 2023 +0100

    Merge branch 'develop' into 113-improve-and-clean-codebase

commit 0bef7fb
Author: Torben H <Ismoh@users.noreply.github.com>
Date:   Sun Mar 5 19:24:09 2023 +0100

    Fixed tag creation and updating changelog

commit 8b0d631
Author: Torben H <Ismoh@users.noreply.github.com>
Date:   Sun Mar 5 19:22:18 2023 +0100

    Fixed tag creation and updating changelog

commit 9b3b3ae
Author: github-actions <action@github.com>
Date:   Sun Mar 5 13:57:22 2023 +0000

    Updated CHANGELOG.md in #114

commit 54fed47
Author: github-actions <action@github.com>
Date:   Sun Mar 5 13:56:25 2023 +0000

    Updated version to v4.1.0-alpha+1195 in #114

commit d8fd5a3
Author: github-actions <action@github.com>
Date:   Sun Mar 5 13:56:21 2023 +0000

    Updated version to v4.1.0-alpha+1184 in #114

commit d9ed7f1
Author: Ismoh <12631485+Ismoh@users.noreply.github.com>
Date:   Sun Mar 5 14:55:04 2023 +0100

commit 77c89ba
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 2 13:40:13 2023 +1100

    fix failing tests

commit de45a6a
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 2 09:28:19 2023 +1100

    fix custom profiler using old fileutils path

commit 1a29098
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 2 08:40:24 2023 +1100

    clean Ui file

commit e0e194d
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 2 08:36:32 2023 +1100

    rename test files

commit 6f86a9e
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 2 08:22:39 2023 +1100

    ensure consistent naming of extension files

commit 3b62e7d
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Mar 2 08:19:04 2023 +1100

    cleanup init files

commit 19c5cfa
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Fri Feb 24 14:43:09 2023 +1100

    refactor the noita component scripts

commit 7e1bf60
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Fri Feb 24 08:50:50 2023 +1100

    rename util.lua to Utils.lua

commit c782ef5
Author: Gustavo <77560533+ofoxsmith@users.noreply.github.com>
Date:   Thu Feb 23 13:40:46 2023 +1100

    rename file_util to FileUtils to follow the naming pattern
Ismoh added a commit that referenced this pull request Jul 1, 2023
* #42 Added version file extraction pattern.

* #42 Fixing not necessary $ in labelNames.

* #42 Trying to commit and push changed version to the specific pull request.

* #42 labelNames wasn't set. git push didn't work, because no branch was checked out? "fatal: You are not currently on a branch. To push the history leading to the current (detached HEAD). state now, use 'git push origin HEAD:<name-of-remote-branch>'"

* #42 Trying to get the branch name within github action.

* #42 Found the head_ref branch name. Is '$' necessary?

* #42 '$' is necessary!

* #42 Adding commits count to version!

* #42 "[detached HEAD 1345a7c] Updated version of this PR to 2.4.0-alpha. 1 file changed, 1 insertion(+), 1 deletion(-) To https://github.com/Ismoh/NoitaMP ! [rejected] HEAD -> 42-developer-want-to-add-github-workflow-action-to-automatically-increase-the-version-of-noitamp (fetch first) error: failed to push some refs to 'https://github.com/Ismoh/NoitaMP'
     hint: Updates were rejected because the remote contains work that you do
     hint: not have locally. This is usually caused by another repository pushing
     hint: to the same ref. You may want to first integrate the remote changes
     hint: (e.g., 'git pull ...') before pushing again.
     hint: See the 'Note about fast-forwards' in 'git push --help' for details."

* #42 "You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch>"

* #42 "You have divergent branches and need to specify how to reconcile them." Use ref for using the merge and not the initial branch

* #42 Does "actions/checkout@v3" help?

* #42 Error: .github#L1: a step cannot have both the `uses` and `run` keys

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch>

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch> 2

* Updated version of this PR to 2.4.0-alpha

* #42 It's working fine, besides overwriting .version file. Should work now.

* Updated version of this PR to 2.4.0-alpha

* #42 I want githubs icon on the commit

* Updated version of this PR to 2.5.0-alpha

* #42 Fixed version

* #42 Doesnt work when merged

* #42 Use base ref instead.

* #42 Adding comment to the pull request.

* #42 Fixing syntax.

* #42 Fixing syntax 2

* #42 Fixing syntax 3

* #42 Fixing syntax 4

* #42 Fixing syntax 5

* #42 Fixing syntax 6

* #42 Fixing syntax 7

* #42 Fixing syntax 8

* #42 Fixing syntax 9

* #42 Fixing syntax 10

* #42 Fixing syntax 11

* #42 Fixing syntax 12

* #42 Fixing syntax 13

* #42 Escaping everything!

* #42 Escaping everything! doesnt help

* #42 Escaping everything! doesnt help 2

* #42 Escaping everything! doesnt help 3

* #42 Escaping everything! doesnt help 4

* #42 Found the issue.

* #42 Found the issue. 2

* #42 Found the issue. 3

* #42 Found the issue. 4

* #42 Found the issue. 5

* #42 polishing

* #42 polishing 2

* #42 polishing 3

* #42 Colon is fycking up the json body.

* #42 Colon is fycking up the json body. 2

* #42 Colon is fycking up the json body. 3

* #42 Colon is fycking up the json body. 4

* #42 Triple escape characters.

* #42 Head ref doesnt exist, after merge.

* #42 merged flag is false?

* #42 merged flag is false?

* #42 merged flag is false? 2

* #42 merged flag is false? 2

* Updated version of https://github.com/Ismoh/NoitaMP/pull/65 to v2.4.0-alpha+1040

* #42 Polishing!

* #42 Made a mistake. Fixing version manually.

* Updated version to v2.4.0-alpha+1045 in https://github.com/Ismoh/NoitaMP/pull/66

* Bump HardNorth/github-version-generate from 1.1.2 to 1.2.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* #72 Added changelog generator in a separated yaml file and in version.yml.

* #72 Removed changelog generator in version.yml.

* #72 Fixed non-existing tag key in changelog-generator.yml

* #72 Added changelog generator to version.yml

* #72 Fixed not working changelog generator workflow action.

* #72 Trying to get the directories working?!

* #72 Still trying to find out, where CHANGELOG.md is created.

* #72 Typo in yaml.

* #72 Changed branch from github.base_ref to github.head_ref, because CHANGELOG.md has to be changed in the PR-branch itself.

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* #72 Fixed order of workflow steps, to create first a tag, then updating CHANGELOG.md into the merged branch (github.base_ref)

* #72 Changed wording and added version file name.

* #72 Removed CHANGELOG.md, because it was generated not correctly.

* #72 Removed not working changelog-generator.yml. Renamed version.yml to version-and-changelog-update.yml.

* #72 Changed wording and order of steps for a better reading

* Updated version to v2.5.0-alpha+1065 in https://github.com/Ismoh/NoitaMP/pull/73

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* Integrate gource.io because its fun (#75)

* #69 Added gource, because it's fun!

* #69 Fixed 'ERROR: No Git repository found'

* Updated version to v2.6.0-alpha+1070 in https://github.com/Ismoh/NoitaMP/pull/75

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/75

* Version and changelog update on pull requests fails (#80)

* #78 Simply echoing toJSON of github context to find the "development" section info/object on a pull request.

* #78 There is no build-in GitHub API endpoint or a context variable, which contains linked issues. That's why yet another action is added to simply check if an issue is linked to the PR.

* #78 Adding comment when there is no linked issue.

* #78 Fixed workflow: Repo needs to be checked out!

* Update version-and-changelog-update.yml

* #78 Trying to polish stuff, by using gh cli and api endpoints.

* #78 Moved gh cli command to the correct workflow step.

* #78 Changed command and quoting.

* #78 Added GitHub token to be allowed to execute gh cli commands.

* #78 Added gh cli to get all comments regarding versioning and removing them to add a comment with the latest version.

* #78 Fixed wrong jq command.

* #78 Fixed missing quotes on jq command. Changed gource.io only running on develop.

* #78 Fixed broken jq command.

* #78 Fixed broken workflow

* #78 Fixed GitHub API url and changed wording slightly.

* #78 Fixed quoting again.

* #78 Changed escaped body to non-escaped.

* #78 Fixed new line. Added comment for changelog.

* #78 Fixed removing old comments and typos. Added removing changelog comments and adding a new changelog comment.

* #78 Missed GitHub token.

* #78 Eeeh, new line in markdown with gh string: Fun fun fun !

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! [space][space][enter] ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! \ ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! <br /> ?

* #78 Playing around with escaping $CHANGELOG.

* #78 Fixed non-created changelog.

* #78 Fixed wrong output usage.

* #78 Getting rid of 'Unreleased' for this specific pull request. Next version is used instead.

* #78 Fixed typo on env usage. Fixed deletion of previous comments.

* #78 Where is the env gone?

* #78 Adding global environment variable to have access on it between jobs.

* #78 Why is this environment variable not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Global environments aren't working. Using GitHubs output now.

* #78 Fixed outputs.

* #78 Fixed naming.

* #78 Added deletion of not linked issue.

* #78 Where is the $ coming from?

* #78 Fixed typo, where unnecessary $ was added.

* #78 Fixed usage of env. Misled by typo.

* #78 Getting headache from syntax differences.

* #78 Does env adds the $?

* #78 Last try to get this annoying $ removed!

* #78 Fixed typo! Finally, found the unnecessary $!

* #78 Clean up!

* #78 Making it pretty!

* #78 Polishing!

* Updated version to v2.6.1-alpha+1073 in https://github.com/Ismoh/NoitaMP/pull/80

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/80

* develop Hotfix for version workflow!

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT. Authorised app on GitHub! Hopefully it shouldn't be done each workflow run!

* develop Hotfix for version workflow! Unable to set PAT on gh cli.

* develop Hotfix for version workflow! Trying out authorization header on api requests.

* develop Hotfix for version workflow! Typo!

* develop Hotfix for version workflow! Yet another typo!

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'.

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'. Variable isn't resolved correctly.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks!

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Removed Bearer.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Fixed auth.

* develop Hotfix for version workflow! Still need to use PAT?

* develop Hotfix for version workflow! Still need to use PAT? with Bearer?

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Extended curl command.

* develop Escaped body of curl.

* Get rid of -i

* develop Add pull_request_target for forked pull requests

* develop Fixed curl data.

* develop Fixed body of curl

* develop Added fromJSON

* Added jq for parsing string

* develop Fixed string parsing with jq

* develop printf?

* develop echo pipe jq into variable

* develop String escaped manually

* develop Fixed escaping string by simply doing it manually

* develop Fixed quote typos

* develop Fixed escaped quote typos

* develop Added pull_request_target. Added nektos/act. Added powershell script for running GitHub actions locally.

* develop Fixed wrong json formatting. Added nektos/act for being able to run actions locally, which isn't working atm.

* develop Fixed wrong json formatting with 'jq -Rsa .'.

* develop Yet another string concatenation try!

* develop Yet another string concatenation try! 2

* develop Yet another string concatenation try! 3

* develop Quoting!

* develop Finally using jq!

* develop Finally using jq! Still didnt work.

* develop Finally using jq! Still didn't work either.

* develop This one looks promising. Tested locally on wsl.

* develop Tidying up!

* develop Tidying up!

* develop Print GitHub context!

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* replace wiki links, fandom.com->wiki.gg per official migration (#79)

Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.2-alpha+1130 in https://github.com/Ismoh/NoitaMP/pull/79

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/79

* develop Hotfix changelog workflow

* Bump actions/upload-artifact from 2 to 3 (#77)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.3-alpha+1134 in https://github.com/Ismoh/NoitaMP/pull/77

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/77

* develop Hotfix changelog workflow.

* Bump actions/checkout from 2 to 3.1.0 (#82)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.4-alpha+1138 in https://github.com/Ismoh/NoitaMP/pull/82

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/82

* develop Hotfix clean up.

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0 (#83)

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Removed trigger

pull_request_target is enough. Removed pull_request trigger.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.5-alpha+1143 in https://github.com/Ismoh/NoitaMP/pull/83

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/83

* Update README.md

Added additional info about current progress

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* Bump HarshCasper/validate-issues-over-pull-requests from 0.1.1 to 0.1.2 (#86)

Bumps [HarshCasper/validate-issues-over-pull-requests](https://github.com/HarshCasper/validate-issues-over-pull-requests) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/HarshCasper/validate-issues-over-pull-requests/releases)
- [Commits](https://github.com/HarshCasper/validate-issues-over-pull-requests/compare/v0.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: HarshCasper/validate-issues-over-pull-requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated version to v2.6.6-alpha+1162 in https://github.com/Ismoh/NoitaMP/pull/86

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/86

* Fixed old label name for "help wanted" to "help_wanted"

* Create snyk-container.yml

* Delete snyk-container.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Updated version string to json format

* Update .version

* Update README.md

* Add renovate.json (#90)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Merge rework of client and server classes into develop (#110)

* Quick and dirty rework of Client and Server Developer want to rework client and server modules/classes #48

* A lot Client and Server rework. Tried EZGUI. #48

* Dependabot?!

* Renamed username to name. Extended logger with log channel. #48

* Reworked sock.lua and updated EZGUI to 0.1.2

* Trying to add lfs

* Little bit UI. SaveSlot. Logger. #48

* Clean up #48

* world seed does not load #48

* Seed synced

* Reworking client/server. #48

* Reworking client/server. 2 #48

* Updated EZGUI to v0.2.0

* ui changes #48

* new ui class added #48

* ui changes #48

* Fixing unit tests #48

* Fixing and extending unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* RTT halved and UI update #48

* Commit before updating EZGUI

* Trying to fix Ezgui #48

* ezgui fixed #48

* newNuid #48

* need nuid #48

* need nuid 2 #48

* need nuid 3 #48

* need nuid 4 #48

* need nuid 5 #48

* Adding luacheck

* Fix missing owner

The localOwner is stored in {name=, guid=} format
When server sends local entities, clients recieve the localOwner

* Only consider root entities for syncing

Some entities have multiple sub entities, but come from one file
This fixes the infinite minas bug

* Better velocity handling

Check if component exists to prevent generating empty tables
Rework spawning to prevent false warning

* #48 Small guid changes.

* #48 Let me do my own acknowledgement!

* #48 Let me do my own acknowledgement! 2

* #48 Added a lot of checks.

* #48 Still duplicated entities.

* #48 Guid and entityData

* #48 entityData

* #48 Trying to fix 'alreadySent'

* #48 New teaser gif added.

* #48 Added polymorphism and version.

* #48 Hopefully fixed public ip issue.

* Add silent os.execute and io.popen

Prevents several cmd windows from opening

* Block FFI extension on Linux

* #48 Added profiler.lua for being able to find bottlenecks!

* #48 Added new de-/serializer (MessagePack) and de-/compressor (ZStandard) for network messages. In addition to this polymorphism is now synced.

* #48 Fixed removing AiComponents. Removed some profiler hacks. Added tick rate for better performance. Added debug ui for detecting in-/exclude entities. Changed detections of dead entities/nuid by multiplying entityId with -1 instead of -99. Improved default mod setting values.

* #48 Adding custom testing map.

* #48 Fixed non-working custom map/biome.

* #48 Changed custom map. Reworking GUID, because locally same GUID can be generated. Added range to detect changes. Fixed clients modSettings for insert servers ip.

* #69 Added CustomProfiler.lua to profile NoitaMP scripts only! Changed testing map to add more enemies. Disabled logging at all for testing performance issues.

* #69 Added profiling of Noita API ModSetting* functions. Changed CustomProfiler threshold to 1ms.

* #48 Fixed bug where zstd wasn't able to be loaded.

* #48 Fixed libraries issue. Added ModSetting for dis-/enable logger at all. Started to rework detection of entities by using coroutines. Disabled Client and Server updateVariables. Added EntityUtils cache. Removed Ubuntu lua testing workflow.

* #48 Fixed 'not enough memory'. Refactored profiler and plotly.lua to be able to profile at runtime. Disabled some profiling function, to avoid stack overflow!

* Updated plotly.js version from 2.9.0 to 2.16.0

* Added bar chart settings

* Added bar chart entry text

* #48 Extended profiling to find the FPS drop issue.

* #48 Added garbage collector functions. Added git submodules updater. Fixed math extensions. Added fileUtil function for getting Windows desktop directory path.

* #48 Updated git submodules updater.

* #38 Add synchronisation for client and server mods (#85)

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* implement server onNeedModList function and add needModList/Content events

* Finish implementing server side mod sync functions and add onNeedModContent

* make modListCached a prop on Server class

* make onNeedModContent also return workshop id to avoid overwriting workshop mods

* Finish implementing mod synchronisation

* make onNeedModList run on connection to server

* move mod conflict gui into drawModConflictWarning function

* disable auto formatting

* fix Client.lua formatting and add CustomProfiler to onNeedModList/Content

Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.6-alpha+1223 in https://github.com/Ismoh/NoitaMP/pull/85

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/85

* Fixed non working version workflow manually

* #48 Changed CustomProfiler.lua settings. Added comments regarding possible memory leak!

* #48 Reworking entity processing for networking. Removed one of x caches. Added a new small cache for transform. Changed small wordings. Changed code formatting.

* #48 Added destroying entities on client. Added workaround to get __len on lua5.1. Added removing dead entities on transformCache. Added check to see if entityId is a remoteMinä. Added check if entity changed (health, rotation, velocity, x, y) depending on threshold set in ModSettings. Added simple and stupid UI text, if transformCache got huge! Fixed broken modSetting for change detection threshold.

* #48 Fixed assigning metatable. Hopefully fixed annoying broken windows lua testing workflow.

* #48 Added table metamethod function to set default metamethods to a table. Added table.metamethods test. Added EntityUtils transform cache. Removed Server and Client cache. Removed EntityUtils entity cache.

* #48 Fixed broken windows lua testing workflow

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows.

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows. The second :)

* #48 Fixed usage of logger when running on GitHub.

* #48 Fixed order of checks when defining metamethods.

* #48 Fixed table metamethods 'table_extensions.lua:179: stack overflow'.

* #48 Fixed errors after rework.

* #48 Added logging to unit test.

* #48 Added metamethods to cache tables. (Doesn't seem to work!) Added memory usage to CustomProfiler.lua. Fixed Velocity bug when calculating any changes.

* #48 Rework no.3. Server FPS drops are gone. Looks promising! Client still broken, will be fixed soon. Improved CustomProfiler.lua.

* #48 Fixed missing stops of CustomProfiler, which was leading to memory overflow. Got rid of EntityGetRootEntity, which was also leading to problems and not synced entities, like Minäs wands.

* #48 Added possibility to send readable tables via sock.lua. Removed not used files anymore! Reworked cache on Server and Client. Server does have a cache now for each client. Reworked 'alreadySent', but isn't working yet. Small cleaning code. Fixed missing nuid on Servers Minä. Changed version to json format. Fixed needModList- and needModContent schemas. Added function in NuidUtils.lua to clean cache on Server and Client; still not working. Added cache sizes to UI. Changed log level order.

* #48 Added resendIdentifier to NetworkUtils events. Reworked acknowledgment cache for Server and Client. Reworked resend mechanism based on new acknowledgment cache. Reworked displaying cache size. Simplified table.size(). Fixed GlobalsUtils for getting and setting dead nuids. Fixed EntityUtils.destroyByNuid. Need to fix removing entries of acknowledgment cache, when an entity died.

* #48 Tried to add lua unit testing locally. Didn't work!

* #48 Added unit test templates. Fixed several nil bugs.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Improved sock.lua being able to receive non index based tables. Fixed timing issues when sending playerInfo. Removed cache from Server, because Server send by its Client copies. Reordering nuid_debugger. Added functions for detecting if entity is a child. Changed playerInfo schema. Added resendIdentifier (optional - improves performance) for needNuid schema. Removed enabling disabled components and added tags instead.

* rework type annotations for most files and minor bugfixing around type issues

* rollback some changes and ensure critical functions do not silently fail

* #48 Several bug fixes. Additionally, parent and child spawning.

* #48 Moved child adding. Added clearing cache.

* #48 Added luarocks, because I am sick of this dependency problems. In addition, I want to run unit tests easily. Messed around with broken paths in test lua files. Fixed sending acknowledgements. Added removing cache entries when entity died. Removed metamethod.mode! Tried to fix 'alreadySent', still doesn't work. Need unit tests for this!

* #48 Quick fix for unreasonable cache entries for events, which must not be cached and acknowledged.

* Developer want to use luarocks for dependencies (#100)

* #92 Added luarocks installation files.

* #92 Added all-in-one luarocks executable. Added README.md how to use luarocks init in NoitaMP repo. Fixed smaller bugs on existing files.

* #92 Looks like luarocks is working. package.paths aren't fully working yet.

* #92 Updated README.md. Updated rockspec. Removed lfs.lua, which is using FFI.

* #92 Reworking init_package_loading.lua. Need to know how to use LuaJIT in luarocks!

* #92 Set LuaJIT-2.0.4 as lua interpreter for luarocks!

* #92 Trying to add NSEW as a luarocks dependency, but doesn't like it atm.

* #92 It's not possible to install, make or build dependencies on others repositories. Need to fork NSEW and add luarocks there. Damn it!

* #92 Change Noita-Synchronise-Expansive-Worlds dependency name to nsew

* #92 Changed rockspec. Removed NSEW rockspec. Trying to get tests running.

* #92 Moved files regarding luarocks directory structure.

* #92 Fixed broken test files fetching. Still trying to run tests. Changed rockspec as file names changed.

* #92 Fixed broken test files fetching. Changed rockspec as file names changed. Tests are running locally, but some fail! Fixed broken badges and added new ones.

* #92 Fixed execution of unit tests, they are now running as expected.

* #92 Updated LuaRocks README.md

* #92 Fixing GitHub actions. Need to know paths, that's why a dirty commit and push is done.

* #92 Fixed GitHub action for unit testing.

* #92 Fixed GitHub action Installing and initialising LuaRocks and configuring LuaJIT.

* #92 Fixed missing Lua interpreter.

* #92 Fixed typo in path.

* #92 GitHub still doesn't like the path.

* #92 Fixed lua interpreter not found.

* #92 Fixed LuaRocks paths with `luarocks config ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --scope="project" ..`

* #92 Fixed LuaRocks paths with `luarocks init noita-mp`

* #92 Make sure luarocks does have any installed lua version.

* #92 Make sure luarocks does have any installed lua version. Removed git submodule updater.

* #92 LuaJIT is already set.

* #92 Fixed wrong path and coveralls.

* #92 Missing luarocks install packages.

* #92 Fixed luacov path issue.

* #92 Removed unnecessary installs.

* #92 Added mingw32-gcc for lfs building.

* #92 Install LuaJIT to fix LuaRocks not finding any Lua installation.

* #92 Moved JIT modules and fixed missing directories on GitHub.

* #92 Fixed paths.

* #92 Moved Noitas lua51.dll into LuaJIT ones, to see if `luajit.exe: error loading module 'enet' from file 'D:\a\NoitaMP\NoitaMP\mods\noita-mp\lua_modules\lib\lua\5.1\enet.dll':%1 is not a valid Win32 application.` is fixed then. Because locally it's working fine!

* #92 Don't use Luas dll, use Noitas dll instead.

* #92 LuaRocks don't like Noitas dll.

* #92 Make sure MSYS2 uses mingw32 with i686 to see if enet is recognised as a 32bit library. In addition, added -m32 flag.

* #92 Remove mingw32 flags.

* #92 Replaced MSYS2 with Visual Studio x86

* #92 Missed `shell: cmd`.

* #92 MSYS2 or better to say MINGW32 is necessary for luarocks dependency installs. Changed LauJIT build and install action.

* #92 Fixed wrong package name for MSYS2/MINGW32 installation.

* #92 Let's see what LuaRocks is using!

* #92 Trying to fix wrong gcc flags by keeping LuaRocks config the same as local.

* #92 Where is mingw32-gcc installed?

* #92 It's all about naming!

* #92 Set a location to install msys2 into workspace directory.

* #92 Fixed path to i686-w64-mingw32-gcc.exe

* #92 Try it as it's working locally.

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 Fucking stupid LuaRocks!

* #92 Fucking stupid LuaRocks!

* Update windows-latest-lua-unit-testing.yml

* Make use of MVSC prompt

* Updated path with ${{ github.workspace }}

* Looks like luarocks forgot his own config file

* Use luajit.exe

* Update windows-latest-lua-unit-testing.yml

* Update LPATH and CPATH

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Exit?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Added new LuaCov config file

* Changed luacov-coveralls command

* Changed luacov and luacov-coveralls commands

* Where is the report file?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 I think MSVC logging isn't properly working.

* #92 Fixed wrong path.

* #92 Fixed wrong shell version.

* #92 Fixed paths using GitHubs variable.

* #92 Fixed powershell commands.

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed wrong luarocks path.

* Fixed wrong windows command

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed CodeCov path. Coveralls still didn't work.

* #92 Where is the log going? Uff

* #92 luajit.exe instead of lua.bat?

* #92 Let's try powershell again.

* #92 Path issues again!

* #92 Looks like `shell: cmd` isn't working properly, when using LuaRocks, because after the first `luarocks` command the shell/bash is exited. That's why I am using powershell now.

* #92 Fixed formatting.

* Update windows-latest-lua-unit-testing.yml

* #92 Make sure necessary files are available.

* #92 CMD again.. Trying `call`.

* #92 Added exit code, when necessary files are missing. Using cmd with `call ...` now. Looks promising.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue. Added custom GitHub error messages.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Added LuaRocks path to GitHub path.

* #92 Added LuaRocks path to GitHub path. What's happening?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Write LuaRocks path directly in $GITHUB_PATH

* #92 Does setx work?

* #92 Does setx work?

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Added `LUA_PATH` and `LUA_CPATH` as global environment to be able to set those environment variables.

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Fixed setting GitHub environment variable.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 What's happening with the key?

* #92 What's wrong with json.lua?

* #92 LuaRocks is now working fine! Fixed several unit test and reworked guid.lua using uuid.lua now! Temporary disabled NetworkUtils_test.lua. Extended README.md for LuaRocks setup.

* #92 Don't stop unit test workflow, when coverage isn't working anymore.

* #92 luacov.stats.out exists, but luacov.report.out doesn't?

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* Update windows-latest-lua-unit-testing.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

https://codecov.freshdesk.com/support/solutions/articles/43000593943-files-not-showing-in-codecov-fixing-paths-

* #92 CodeCov fixes for paths doesn't work. Trying to do it myself.

* Update windows-latest-lua-unit-testing.yml

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Does fix luacov-coveralls ?

* #92 Updating README.md for more usability.

* #92 Fixed coveralls `base-path` or `root`-path.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Changed README.md

* #92 Testing failed and errored unit tests.

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Re- and moved all unnecessary files.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* #92 Does this finally fix this bitchy cmd syntax?

* Finally fixed workflow!

* Changed version back to 0.1.1

* 0.1.0

* Update version-and-changelog-update.yml

* #92 Testing Ismoh-Games/find-linked-issues

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4 with PAT.

* #92 Moved and updated actions/checkout

* #92 Why isn't my latest workflow.yml used?

* #92 Updated Ismoh-Games/find-linked-issues to v0.0.5

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.

Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>

* Updated version to v3.0.0-alpha+1285 in https://github.com/Ismoh/NoitaMP/pull/100

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/100

* Added NoitaMP contributing flow chart

* Unbenanntes Diagramm.drawio.png eingefügt

* Unbenanntes Diagramm.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md. Fixed version update issues.

* FlowChart-work-around.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md.

* #92 Updating CONTRIBUTING.md.

* Update CONTRIBUTING.md

* #92 Updating CONTRIBUTING.md.

* #48 Updated CONTRIBUTING.md

* Update init_package_loading.lua (#104)

* Update init_package_loading.lua

on game start, there was an error "The current directory is not inside the noita-mp". fixed it, 
io.popen("cd"):read("*a") were return Noita directory, not mod
also don't think we need to check for correct directory, it can't be uncorrect
now it works(how i think) as it supposed to be. 

P.S: there are still error about libs, if i understood correctly, you want to move all libs from \lua_modules to \files\lib\external\ , so i didn't touch it (kinda strange that it's already defined in mod, but still not moved)

* Update init_package_loading.lua

keep directory check

* Rework network and entity caches to use the C API (#105)

* Create cache.c and add CMakeList file

* add lua51 lib file for linking

* add solution file and update gitignore

* move cache file to be in the main folder and push dll

* make cache.c export the required dll functions

* disable precompiled headers as they are not needed

* make linker use an absolute path for lua51.lib

* add setCache function to cache.c

* add cache read functions

* change luaL_checknumber to luaL_checkinteger

* move dll output to be in mods/noita-mp

* implement delete functions

* switch entityutils to use new cache system

* change order of params to cache.set call

* max cache.c check for duplicates before adding data

* update Ui.lua to use new cache system

* change cache build outdir

* fix incorrect types being used for guid

* fix nil check in NoitaComponentUtils.getEntityData

* allow nil nuids

* fix client and server still using old cache funcs

* rename cache to EntityCache

* Fix _crtisvalidheappointer(block) error

* add cacheusage func to get current memory usage

* add checks before entitycache calls to avoid fatal errors

* prefix entity cache functions with entityCache

* Add network cache C implementation

* add remove oldest function to network cache

* Mostly implemented new network caching system

* fix bug in network cache profiling function

* actually remember to compile the dll :skull:

* Fix bug in checksum function and other small bugs

* move cache.c to building folder and update msbuild file

* #89 Fixed package.path|cpath issues. Fixed some small bugs. Changed requirements: Used require instead of dofile_once. Added NetworkUtils_test.lua.

* #89 Removed logging.lua and associated files. Added new Logger class. Changed old logging to new one. Changed unit test initialization and executing.

* #89 Added new restart function, thanks to dextercd. Fixed using old logger.

* #89 Removed old and unused files. Removed unnecessary logging. Fixed and added Logger errors. Extended tests.

* #89 Renamed guid.lua to GuidUtils.lua. Renamed clientCacheID to _Id. Changed getClientCacheID to simply use peers guid, but recalculated to a number based on 16: A = 11, etc. pp. Fixed bugs while adding tests.

* #89 Changed clientCacheId to GuidUtils.toNumber

* #89 Added NetworkCacheUtils to have testable function and all functions regarding NetworkCache in one class. Moved both calculation of 'sum' into one function (DRY). Added NetworkCacheUtils_test. Fixed GuidUtils bug. Fixed some tests.

* #89 Reinstalled lfs and removed lfs_ffi. Fixed test. Fixed unit test workflow.

* #89 Updated zstandard library to version v1.5.2 win32. Hopefully fix GitHub issue, when running tests.

* #89 Rebuild libzstd locally with `call "build.generic.cmd" VS2019 Win32 Release v140`.

* #89 Removed building zstd on GitHub.

* #89 Installed luajit-zstd with luarocks. Replaced libzstd.dll with a fresh build from Visual Studio 2015 Win32. Let's see, if this helps on GitHub.

* #89 Let's see, if this helps on GitHub.

* #89 Added x64 of zstd. Changed zstd.lua with wacky hacky loading. Let's see, if this helps on GitHub. I don't think so.

* #89 Does MSVC help?

* #89 Fixed wrong pcall?

* #89 Is LuaJIT x86/32bit ?

* #89 Added table.contentToString, which simply concat table values with a comma. Moved all md5 and NetworkCache function into NetworkCacheUtils.lua. Added checks to NetworkCacheUtils.lua. Added table.contentToString test. Extended NetworkCacheUtils_test.lua with additional tests.

* #89 Fixed typos.

* #89 Added hint regarding pairs order.

* #89 Fixed several bugs. NeedNuid event still broken.

* #89 Fixed several bugs. Added cache logging.

* #89 Added checks for data consistency. Added sendNewGuid. Added new tests. Added overwritten API functions for being able to use two noita instances, without having guid issues.

* #89 Updated zstandard to 1.5.2 per GitHub release.

* #89 Trying to fix zstd ffi.load

* #89 Simply put zstd version into repo dir for reference, since no library provides versions?

* #89 Removed zstd files and added version command.

* fixed bug where noita_root_directory_path could be nil

* fix zstd paths

* add logic for network event resendIdentifiers

* #89 Added resendIdentifier for checking if network message has to be send again.

* #89 No need to deepcopy the data table.

* #89 Small changes.

* remove resendindentifier declaration from events without any

* #89 Added mocked functions. Fixed path issues on different systems. Renamed function for being more clear. Adjusted test related to path issues. Still trying to get alreadySend working.

* add check for nil resendIdentifiers

* #89 Fixed newNuid alreadySent

* make contentToString clean whitespace

* #89 Trying to fix alreadySent issues.

* #89 Removed logging from table_extensions.lua. Changed whoAmI(). Added ackedAt to acknowledgement event. Fixed caching issue, where some networkMessages aren't cached correctly. Changed reading NoitaMP .version. Do not remove networkMessageId when event is acknowledgement. Acknowledgement networkMessages won't be cached, because those will only be sent in callbacks. Changed tests a bit in general. Finally fixed alreadySent tests and issues.

* #89 Change alreadySent tests for being more reliable. Change some Server send functions to return true or false for a small check if message was sent. Added check if inUsedGuids are valid guids.

* #89 Added some tests for alreadySent!

* fix tests for mod content events

* #89 Added NoitaMpSettings.lua, which will replace ModSettings in the future; ModSettings now read and write from NoitaMpSettings.lua! Added MinaUtils.lua. Added winapi.dll for getting processId. Added and changed tests slightly. Moved *localPlayer* function from EntityUtils into MinaUtils. Clean up!

* rename cache.c to the more generic luaExtensions.c, as we can add non-cache funcs

* rename dll to luaExtensions.dll

* remove old dll

* add tests for entityCache

* #89 Change require order. Removed EntityCache from Lua context. Changed tests a bit.

* #89 Added version update for rockspec. Added building luaExtensions.dll when there are changes in the specific luaExtensions.c. Applying PR suggestions.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #89 Changed EntityCache_test.lua slightly.

* rebuild luaExtensions dll

* #89 Rebuild luaExtensions.dll

* #89 Changed EntityCache_test.lua, because setUp() seemed to be broken? There were plenty of entries in cache, although there should only be 5?

* #89 Formatting only.

* #89 Wrong wording.

---------

Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v4.0.0-alpha+1302 in https://github.com/Ismoh/NoitaMP/pull/105

---------

Co-authored-by: Ismoh <hertor3@mail.de>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>

* Merge branch 'master' into develop

Clean up!

* develop Updated find-linked-issues

* develop Changed commiting into base_ref. Changed README.md

* Fixed tag creation and updating changelog

* Fixed tag creation and updating changelog

* Merge "113-improve-and-clean-codebase" into develop (#114)

* rename file_util to FileUtils to follow the naming pattern

* rename util.lua to Utils.lua

* refactor the noita component scripts

* cleanup init files

* ensure consistent naming of extension files

* rename test files

* clean Ui file

* fix custom profiler using old fileutils path

* fix failing tests

* #113 Added some logging.

* Updated version to v4.1.0-alpha+1184 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated version to v4.1.0-alpha+1195 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/114

* remove line causing test env to fail

* #113 Fixed os detections.

* #113 Manually fixed version, because of workflow issue some days ago.

* Change way that the test files are run

* Delete init_logger_test.lua

Not needed anymore

* Update unitTestRunner.lua

Slightly reformatting

* remove output.txt

* remove unneeded luaunit call

* remove mocking and require calls from each test file that should be moved to the main file

* #113 Fixed ffiExtensions issue where it was loaded more than once. Added lfs_ffi again, but will be removed soon again, I assume.

* #113 Fixed recursive unitTestRunner execution.

* #113 Removed unnecessary lfs_ffi again. Removed hack, for not loading ffiExtensions more than once, but this hided the initial error.

* #113 Fixed Logger.

---------

Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* # Conflicts:
#	.github/workflows/version-and-changelog-update.yml

* develop Fixed several issues on dependency-updater.yml

* develop Fixed wildcard in powershell

* develop Changed wildcard..

* develop Fixed path issues. Missed `$`

* develop Fixed `Expand-Archive` and paths.

* develop Fixed path again.

* develop Fixed `Remove-Item`.

* develop Added missing `git add`. Clean up.

* develop Fixed `git add` with force. Needs to double check `Expand-Archive` output.

* develop Fixed missing directory. Fixed `git push`.

* develop Fixed git.

* develop Fixed missing `"`

* develop Fixed git command order.

* develop Fixed git command order and added `origin`.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Trying to fix git commands.

* develop Trying to fix git commands.

* develop Ignore LuaRocks for now!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Fixed `gh pr`

* develop Finalised.

* develop Added version file by tagName. Added check, if PR already exists.

* develop Finalised: Do this only on schedule.

* develop Added `git add` for version files.

* develop Finalised dependency-updater.yml

* develop Finished dependency-updater.yml

* develop Finished dependency-updater.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Ismoh added a commit that referenced this pull request Jul 1, 2023
* #42 Trying to get the branch name within github action.

* #42 Found the head_ref branch name. Is '$' necessary?

* #42 '$' is necessary!

* #42 Adding commits count to version!

* #42 "[detached HEAD 1345a7c] Updated version of this PR to 2.4.0-alpha. 1 file changed, 1 insertion(+), 1 deletion(-) To https://github.com/Ismoh/NoitaMP ! [rejected] HEAD -> 42-developer-want-to-add-github-workflow-action-to-automatically-increase-the-version-of-noitamp (fetch first) error: failed to push some refs to 'https://github.com/Ismoh/NoitaMP'
     hint: Updates were rejected because the remote contains work that you do
     hint: not have locally. This is usually caused by another repository pushing
     hint: to the same ref. You may want to first integrate the remote changes
     hint: (e.g., 'git pull ...') before pushing again.
     hint: See the 'Note about fast-forwards' in 'git push --help' for details."

* #42 "You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch>"

* #42 "You have divergent branches and need to specify how to reconcile them." Use ref for using the merge and not the initial branch

* #42 Does "actions/checkout@v3" help?

* #42 Error: .github#L1: a step cannot have both the `uses` and `run` keys

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch>

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch> 2

* Updated version of this PR to 2.4.0-alpha

* #42 It's working fine, besides overwriting .version file. Should work now.

* Updated version of this PR to 2.4.0-alpha

* #42 I want githubs icon on the commit

* Updated version of this PR to 2.5.0-alpha

* #42 Fixed version

* #42 Doesnt work when merged

* #42 Use base ref instead.

* #42 Adding comment to the pull request.

* #42 Fixing syntax.

* #42 Fixing syntax 2

* #42 Fixing syntax 3

* #42 Fixing syntax 4

* #42 Fixing syntax 5

* #42 Fixing syntax 6

* #42 Fixing syntax 7

* #42 Fixing syntax 8

* #42 Fixing syntax 9

* #42 Fixing syntax 10

* #42 Fixing syntax 11

* #42 Fixing syntax 12

* #42 Fixing syntax 13

* #42 Escaping everything!

* #42 Escaping everything! doesnt help

* #42 Escaping everything! doesnt help 2

* #42 Escaping everything! doesnt help 3

* #42 Escaping everything! doesnt help 4

* #42 Found the issue.

* #42 Found the issue. 2

* #42 Found the issue. 3

* #42 Found the issue. 4

* #42 Found the issue. 5

* #42 polishing

* #42 polishing 2

* #42 polishing 3

* #42 Colon is fycking up the json body.

* #42 Colon is fycking up the json body. 2

* #42 Colon is fycking up the json body. 3

* #42 Colon is fycking up the json body. 4

* #42 Triple escape characters.

* #42 Head ref doesnt exist, after merge.

* #42 merged flag is false?

* #42 merged flag is false?

* #42 merged flag is false? 2

* #42 merged flag is false? 2

* Updated version of https://github.com/Ismoh/NoitaMP/pull/65 to v2.4.0-alpha+1040

* #42 Polishing!

* #42 Made a mistake. Fixing version manually.

* Updated version to v2.4.0-alpha+1045 in https://github.com/Ismoh/NoitaMP/pull/66

* Bump HardNorth/github-version-generate from 1.1.2 to 1.2.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* #72 Added changelog generator in a separated yaml file and in version.yml.

* #72 Removed changelog generator in version.yml.

* #72 Fixed non-existing tag key in changelog-generator.yml

* #72 Added changelog generator to version.yml

* #72 Fixed not working changelog generator workflow action.

* #72 Trying to get the directories working?!

* #72 Still trying to find out, where CHANGELOG.md is created.

* #72 Typo in yaml.

* #72 Changed branch from github.base_ref to github.head_ref, because CHANGELOG.md has to be changed in the PR-branch itself.

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* #72 Fixed order of workflow steps, to create first a tag, then updating CHANGELOG.md into the merged branch (github.base_ref)

* #72 Changed wording and added version file name.

* #72 Removed CHANGELOG.md, because it was generated not correctly.

* #72 Removed not working changelog-generator.yml. Renamed version.yml to version-and-changelog-update.yml.

* #72 Changed wording and order of steps for a better reading

* Updated version to v2.5.0-alpha+1065 in https://github.com/Ismoh/NoitaMP/pull/73

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* Integrate gource.io because its fun (#75)

* #69 Added gource, because it's fun!

* #69 Fixed 'ERROR: No Git repository found'

* Updated version to v2.6.0-alpha+1070 in https://github.com/Ismoh/NoitaMP/pull/75

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/75

* Version and changelog update on pull requests fails (#80)

* #78 Simply echoing toJSON of github context to find the "development" section info/object on a pull request.

* #78 There is no build-in GitHub API endpoint or a context variable, which contains linked issues. That's why yet another action is added to simply check if an issue is linked to the PR.

* #78 Adding comment when there is no linked issue.

* #78 Fixed workflow: Repo needs to be checked out!

* Update version-and-changelog-update.yml

* #78 Trying to polish stuff, by using gh cli and api endpoints.

* #78 Moved gh cli command to the correct workflow step.

* #78 Changed command and quoting.

* #78 Added GitHub token to be allowed to execute gh cli commands.

* #78 Added gh cli to get all comments regarding versioning and removing them to add a comment with the latest version.

* #78 Fixed wrong jq command.

* #78 Fixed missing quotes on jq command. Changed gource.io only running on develop.

* #78 Fixed broken jq command.

* #78 Fixed broken workflow

* #78 Fixed GitHub API url and changed wording slightly.

* #78 Fixed quoting again.

* #78 Changed escaped body to non-escaped.

* #78 Fixed new line. Added comment for changelog.

* #78 Fixed removing old comments and typos. Added removing changelog comments and adding a new changelog comment.

* #78 Missed GitHub token.

* #78 Eeeh, new line in markdown with gh string: Fun fun fun !

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! [space][space][enter] ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! \ ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! <br /> ?

* #78 Playing around with escaping $CHANGELOG.

* #78 Fixed non-created changelog.

* #78 Fixed wrong output usage.

* #78 Getting rid of 'Unreleased' for this specific pull request. Next version is used instead.

* #78 Fixed typo on env usage. Fixed deletion of previous comments.

* #78 Where is the env gone?

* #78 Adding global environment variable to have access on it between jobs.

* #78 Why is this environment variable not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Global environments aren't working. Using GitHubs output now.

* #78 Fixed outputs.

* #78 Fixed naming.

* #78 Added deletion of not linked issue.

* #78 Where is the $ coming from?

* #78 Fixed typo, where unnecessary $ was added.

* #78 Fixed usage of env. Misled by typo.

* #78 Getting headache from syntax differences.

* #78 Does env adds the $?

* #78 Last try to get this annoying $ removed!

* #78 Fixed typo! Finally, found the unnecessary $!

* #78 Clean up!

* #78 Making it pretty!

* #78 Polishing!

* Updated version to v2.6.1-alpha+1073 in https://github.com/Ismoh/NoitaMP/pull/80

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/80

* develop Hotfix for version workflow!

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT. Authorised app on GitHub! Hopefully it shouldn't be done each workflow run!

* develop Hotfix for version workflow! Unable to set PAT on gh cli.

* develop Hotfix for version workflow! Trying out authorization header on api requests.

* develop Hotfix for version workflow! Typo!

* develop Hotfix for version workflow! Yet another typo!

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'.

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'. Variable isn't resolved correctly.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks!

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Removed Bearer.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Fixed auth.

* develop Hotfix for version workflow! Still need to use PAT?

* develop Hotfix for version workflow! Still need to use PAT? with Bearer?

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Extended curl command.

* develop Escaped body of curl.

* Get rid of -i

* develop Add pull_request_target for forked pull requests

* develop Fixed curl data.

* develop Fixed body of curl

* develop Added fromJSON

* Added jq for parsing string

* develop Fixed string parsing with jq

* develop printf?

* develop echo pipe jq into variable

* develop String escaped manually

* develop Fixed escaping string by simply doing it manually

* develop Fixed quote typos

* develop Fixed escaped quote typos

* develop Added pull_request_target. Added nektos/act. Added powershell script for running GitHub actions locally.

* develop Fixed wrong json formatting. Added nektos/act for being able to run actions locally, which isn't working atm.

* develop Fixed wrong json formatting with 'jq -Rsa .'.

* develop Yet another string concatenation try!

* develop Yet another string concatenation try! 2

* develop Yet another string concatenation try! 3

* develop Quoting!

* develop Finally using jq!

* develop Finally using jq! Still didnt work.

* develop Finally using jq! Still didn't work either.

* develop This one looks promising. Tested locally on wsl.

* develop Tidying up!

* develop Tidying up!

* develop Print GitHub context!

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* replace wiki links, fandom.com->wiki.gg per official migration (#79)

Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.2-alpha+1130 in https://github.com/Ismoh/NoitaMP/pull/79

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/79

* develop Hotfix changelog workflow

* Bump actions/upload-artifact from 2 to 3 (#77)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.3-alpha+1134 in https://github.com/Ismoh/NoitaMP/pull/77

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/77

* develop Hotfix changelog workflow.

* Bump actions/checkout from 2 to 3.1.0 (#82)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.4-alpha+1138 in https://github.com/Ismoh/NoitaMP/pull/82

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/82

* develop Hotfix clean up.

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0 (#83)

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Removed trigger

pull_request_target is enough. Removed pull_request trigger.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.5-alpha+1143 in https://github.com/Ismoh/NoitaMP/pull/83

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/83

* Update README.md

Added additional info about current progress

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* Bump HarshCasper/validate-issues-over-pull-requests from 0.1.1 to 0.1.2 (#86)

Bumps [HarshCasper/validate-issues-over-pull-requests](https://github.com/HarshCasper/validate-issues-over-pull-requests) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/HarshCasper/validate-issues-over-pull-requests/releases)
- [Commits](https://github.com/HarshCasper/validate-issues-over-pull-requests/compare/v0.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: HarshCasper/validate-issues-over-pull-requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated version to v2.6.6-alpha+1162 in https://github.com/Ismoh/NoitaMP/pull/86

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/86

* Fixed old label name for "help wanted" to "help_wanted"

* Create snyk-container.yml

* Delete snyk-container.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Updated version string to json format

* Update .version

* Update README.md

* Add renovate.json (#90)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Merge rework of client and server classes into develop (#110)

* Quick and dirty rework of Client and Server Developer want to rework client and server modules/classes #48

* A lot Client and Server rework. Tried EZGUI. #48

* Dependabot?!

* Renamed username to name. Extended logger with log channel. #48

* Reworked sock.lua and updated EZGUI to 0.1.2

* Trying to add lfs

* Little bit UI. SaveSlot. Logger. #48

* Clean up #48

* world seed does not load #48

* Seed synced

* Reworking client/server. #48

* Reworking client/server. 2 #48

* Updated EZGUI to v0.2.0

* ui changes #48

* new ui class added #48

* ui changes #48

* Fixing unit tests #48

* Fixing and extending unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* RTT halved and UI update #48

* Commit before updating EZGUI

* Trying to fix Ezgui #48

* ezgui fixed #48

* newNuid #48

* need nuid #48

* need nuid 2 #48

* need nuid 3 #48

* need nuid 4 #48

* need nuid 5 #48

* Adding luacheck

* Fix missing owner

The localOwner is stored in {name=, guid=} format
When server sends local entities, clients recieve the localOwner

* Only consider root entities for syncing

Some entities have multiple sub entities, but come from one file
This fixes the infinite minas bug

* Better velocity handling

Check if component exists to prevent generating empty tables
Rework spawning to prevent false warning

* #48 Small guid changes.

* #48 Let me do my own acknowledgement!

* #48 Let me do my own acknowledgement! 2

* #48 Added a lot of checks.

* #48 Still duplicated entities.

* #48 Guid and entityData

* #48 entityData

* #48 Trying to fix 'alreadySent'

* #48 New teaser gif added.

* #48 Added polymorphism and version.

* #48 Hopefully fixed public ip issue.

* Add silent os.execute and io.popen

Prevents several cmd windows from opening

* Block FFI extension on Linux

* #48 Added profiler.lua for being able to find bottlenecks!

* #48 Added new de-/serializer (MessagePack) and de-/compressor (ZStandard) for network messages. In addition to this polymorphism is now synced.

* #48 Fixed removing AiComponents. Removed some profiler hacks. Added tick rate for better performance. Added debug ui for detecting in-/exclude entities. Changed detections of dead entities/nuid by multiplying entityId with -1 instead of -99. Improved default mod setting values.

* #48 Adding custom testing map.

* #48 Fixed non-working custom map/biome.

* #48 Changed custom map. Reworking GUID, because locally same GUID can be generated. Added range to detect changes. Fixed clients modSettings for insert servers ip.

* #69 Added CustomProfiler.lua to profile NoitaMP scripts only! Changed testing map to add more enemies. Disabled logging at all for testing performance issues.

* #69 Added profiling of Noita API ModSetting* functions. Changed CustomProfiler threshold to 1ms.

* #48 Fixed bug where zstd wasn't able to be loaded.

* #48 Fixed libraries issue. Added ModSetting for dis-/enable logger at all. Started to rework detection of entities by using coroutines. Disabled Client and Server updateVariables. Added EntityUtils cache. Removed Ubuntu lua testing workflow.

* #48 Fixed 'not enough memory'. Refactored profiler and plotly.lua to be able to profile at runtime. Disabled some profiling function, to avoid stack overflow!

* Updated plotly.js version from 2.9.0 to 2.16.0

* Added bar chart settings

* Added bar chart entry text

* #48 Extended profiling to find the FPS drop issue.

* #48 Added garbage collector functions. Added git submodules updater. Fixed math extensions. Added fileUtil function for getting Windows desktop directory path.

* #48 Updated git submodules updater.

* #38 Add synchronisation for client and server mods (#85)

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* implement server onNeedModList function and add needModList/Content events

* Finish implementing server side mod sync functions and add onNeedModContent

* make modListCached a prop on Server class

* make onNeedModContent also return workshop id to avoid overwriting workshop mods

* Finish implementing mod synchronisation

* make onNeedModList run on connection to server

* move mod conflict gui into drawModConflictWarning function

* disable auto formatting

* fix Client.lua formatting and add CustomProfiler to onNeedModList/Content

Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v2.6.6-alpha+1223 in https://github.com/Ismoh/NoitaMP/pull/85

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/85

* Fixed non working version workflow manually

* #48 Changed CustomProfiler.lua settings. Added comments regarding possible memory leak!

* #48 Reworking entity processing for networking. Removed one of x caches. Added a new small cache for transform. Changed small wordings. Changed code formatting.

* #48 Added destroying entities on client. Added workaround to get __len on lua5.1. Added removing dead entities on transformCache. Added check to see if entityId is a remoteMinä. Added check if entity changed (health, rotation, velocity, x, y) depending on threshold set in ModSettings. Added simple and stupid UI text, if transformCache got huge! Fixed broken modSetting for change detection threshold.

* #48 Fixed assigning metatable. Hopefully fixed annoying broken windows lua testing workflow.

* #48 Added table metamethod function to set default metamethods to a table. Added table.metamethods test. Added EntityUtils transform cache. Removed Server and Client cache. Removed EntityUtils entity cache.

* #48 Fixed broken windows lua testing workflow

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows.

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows. The second :)

* #48 Fixed usage of logger when running on GitHub.

* #48 Fixed order of checks when defining metamethods.

* #48 Fixed table metamethods 'table_extensions.lua:179: stack overflow'.

* #48 Fixed errors after rework.

* #48 Added logging to unit test.

* #48 Added metamethods to cache tables. (Doesn't seem to work!) Added memory usage to CustomProfiler.lua. Fixed Velocity bug when calculating any changes.

* #48 Rework no.3. Server FPS drops are gone. Looks promising! Client still broken, will be fixed soon. Improved CustomProfiler.lua.

* #48 Fixed missing stops of CustomProfiler, which was leading to memory overflow. Got rid of EntityGetRootEntity, which was also leading to problems and not synced entities, like Minäs wands.

* #48 Added possibility to send readable tables via sock.lua. Removed not used files anymore! Reworked cache on Server and Client. Server does have a cache now for each client. Reworked 'alreadySent', but isn't working yet. Small cleaning code. Fixed missing nuid on Servers Minä. Changed version to json format. Fixed needModList- and needModContent schemas. Added function in NuidUtils.lua to clean cache on Server and Client; still not working. Added cache sizes to UI. Changed log level order.

* #48 Added resendIdentifier to NetworkUtils events. Reworked acknowledgment cache for Server and Client. Reworked resend mechanism based on new acknowledgment cache. Reworked displaying cache size. Simplified table.size(). Fixed GlobalsUtils for getting and setting dead nuids. Fixed EntityUtils.destroyByNuid. Need to fix removing entries of acknowledgment cache, when an entity died.

* #48 Tried to add lua unit testing locally. Didn't work!

* #48 Added unit test templates. Fixed several nil bugs.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Improved sock.lua being able to receive non index based tables. Fixed timing issues when sending playerInfo. Removed cache from Server, because Server send by its Client copies. Reordering nuid_debugger. Added functions for detecting if entity is a child. Changed playerInfo schema. Added resendIdentifier (optional - improves performance) for needNuid schema. Removed enabling disabled components and added tags instead.

* rework type annotations for most files and minor bugfixing around type issues

* rollback some changes and ensure critical functions do not silently fail

* #48 Several bug fixes. Additionally, parent and child spawning.

* #48 Moved child adding. Added clearing cache.

* #48 Added luarocks, because I am sick of this dependency problems. In addition, I want to run unit tests easily. Messed around with broken paths in test lua files. Fixed sending acknowledgements. Added removing cache entries when entity died. Removed metamethod.mode! Tried to fix 'alreadySent', still doesn't work. Need unit tests for this!

* #48 Quick fix for unreasonable cache entries for events, which must not be cached and acknowledged.

* Developer want to use luarocks for dependencies (#100)

* #92 Added luarocks installation files.

* #92 Added all-in-one luarocks executable. Added README.md how to use luarocks init in NoitaMP repo. Fixed smaller bugs on existing files.

* #92 Looks like luarocks is working. package.paths aren't fully working yet.

* #92 Updated README.md. Updated rockspec. Removed lfs.lua, which is using FFI.

* #92 Reworking init_package_loading.lua. Need to know how to use LuaJIT in luarocks!

* #92 Set LuaJIT-2.0.4 as lua interpreter for luarocks!

* #92 Trying to add NSEW as a luarocks dependency, but doesn't like it atm.

* #92 It's not possible to install, make or build dependencies on others repositories. Need to fork NSEW and add luarocks there. Damn it!

* #92 Change Noita-Synchronise-Expansive-Worlds dependency name to nsew

* #92 Changed rockspec. Removed NSEW rockspec. Trying to get tests running.

* #92 Moved files regarding luarocks directory structure.

* #92 Fixed broken test files fetching. Still trying to run tests. Changed rockspec as file names changed.

* #92 Fixed broken test files fetching. Changed rockspec as file names changed. Tests are running locally, but some fail! Fixed broken badges and added new ones.

* #92 Fixed execution of unit tests, they are now running as expected.

* #92 Updated LuaRocks README.md

* #92 Fixing GitHub actions. Need to know paths, that's why a dirty commit and push is done.

* #92 Fixed GitHub action for unit testing.

* #92 Fixed GitHub action Installing and initialising LuaRocks and configuring LuaJIT.

* #92 Fixed missing Lua interpreter.

* #92 Fixed typo in path.

* #92 GitHub still doesn't like the path.

* #92 Fixed lua interpreter not found.

* #92 Fixed LuaRocks paths with `luarocks config ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --scope="project" ..`

* #92 Fixed LuaRocks paths with `luarocks init noita-mp`

* #92 Make sure luarocks does have any installed lua version.

* #92 Make sure luarocks does have any installed lua version. Removed git submodule updater.

* #92 LuaJIT is already set.

* #92 Fixed wrong path and coveralls.

* #92 Missing luarocks install packages.

* #92 Fixed luacov path issue.

* #92 Removed unnecessary installs.

* #92 Added mingw32-gcc for lfs building.

* #92 Install LuaJIT to fix LuaRocks not finding any Lua installation.

* #92 Moved JIT modules and fixed missing directories on GitHub.

* #92 Fixed paths.

* #92 Moved Noitas lua51.dll into LuaJIT ones, to see if `luajit.exe: error loading module 'enet' from file 'D:\a\NoitaMP\NoitaMP\mods\noita-mp\lua_modules\lib\lua\5.1\enet.dll':%1 is not a valid Win32 application.` is fixed then. Because locally it's working fine!

* #92 Don't use Luas dll, use Noitas dll instead.

* #92 LuaRocks don't like Noitas dll.

* #92 Make sure MSYS2 uses mingw32 with i686 to see if enet is recognised as a 32bit library. In addition, added -m32 flag.

* #92 Remove mingw32 flags.

* #92 Replaced MSYS2 with Visual Studio x86

* #92 Missed `shell: cmd`.

* #92 MSYS2 or better to say MINGW32 is necessary for luarocks dependency installs. Changed LauJIT build and install action.

* #92 Fixed wrong package name for MSYS2/MINGW32 installation.

* #92 Let's see what LuaRocks is using!

* #92 Trying to fix wrong gcc flags by keeping LuaRocks config the same as local.

* #92 Where is mingw32-gcc installed?

* #92 It's all about naming!

* #92 Set a location to install msys2 into workspace directory.

* #92 Fixed path to i686-w64-mingw32-gcc.exe

* #92 Try it as it's working locally.

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 Fucking stupid LuaRocks!

* #92 Fucking stupid LuaRocks!

* Update windows-latest-lua-unit-testing.yml

* Make use of MVSC prompt

* Updated path with ${{ github.workspace }}

* Looks like luarocks forgot his own config file

* Use luajit.exe

* Update windows-latest-lua-unit-testing.yml

* Update LPATH and CPATH

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Exit?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Added new LuaCov config file

* Changed luacov-coveralls command

* Changed luacov and luacov-coveralls commands

* Where is the report file?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 I think MSVC logging isn't properly working.

* #92 Fixed wrong path.

* #92 Fixed wrong shell version.

* #92 Fixed paths using GitHubs variable.

* #92 Fixed powershell commands.

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed wrong luarocks path.

* Fixed wrong windows command

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed CodeCov path. Coveralls still didn't work.

* #92 Where is the log going? Uff

* #92 luajit.exe instead of lua.bat?

* #92 Let's try powershell again.

* #92 Path issues again!

* #92 Looks like `shell: cmd` isn't working properly, when using LuaRocks, because after the first `luarocks` command the shell/bash is exited. That's why I am using powershell now.

* #92 Fixed formatting.

* Update windows-latest-lua-unit-testing.yml

* #92 Make sure necessary files are available.

* #92 CMD again.. Trying `call`.

* #92 Added exit code, when necessary files are missing. Using cmd with `call ...` now. Looks promising.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue. Added custom GitHub error messages.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Added LuaRocks path to GitHub path.

* #92 Added LuaRocks path to GitHub path. What's happening?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Write LuaRocks path directly in $GITHUB_PATH

* #92 Does setx work?

* #92 Does setx work?

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Added `LUA_PATH` and `LUA_CPATH` as global environment to be able to set those environment variables.

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Fixed setting GitHub environment variable.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 What's happening with the key?

* #92 What's wrong with json.lua?

* #92 LuaRocks is now working fine! Fixed several unit test and reworked guid.lua using uuid.lua now! Temporary disabled NetworkUtils_test.lua. Extended README.md for LuaRocks setup.

* #92 Don't stop unit test workflow, when coverage isn't working anymore.

* #92 luacov.stats.out exists, but luacov.report.out doesn't?

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* Update windows-latest-lua-unit-testing.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

https://codecov.freshdesk.com/support/solutions/articles/43000593943-files-not-showing-in-codecov-fixing-paths-

* #92 CodeCov fixes for paths doesn't work. Trying to do it myself.

* Update windows-latest-lua-unit-testing.yml

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Does fix luacov-coveralls ?

* #92 Updating README.md for more usability.

* #92 Fixed coveralls `base-path` or `root`-path.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Changed README.md

* #92 Testing failed and errored unit tests.

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Re- and moved all unnecessary files.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* #92 Does this finally fix this bitchy cmd syntax?

* Finally fixed workflow!

* Changed version back to 0.1.1

* 0.1.0

* Update version-and-changelog-update.yml

* #92 Testing Ismoh-Games/find-linked-issues

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4 with PAT.

* #92 Moved and updated actions/checkout

* #92 Why isn't my latest workflow.yml used?

* #92 Updated Ismoh-Games/find-linked-issues to v0.0.5

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.

Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>

* Updated version to v3.0.0-alpha+1285 in https://github.com/Ismoh/NoitaMP/pull/100

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/100

* Added NoitaMP contributing flow chart

* Unbenanntes Diagramm.drawio.png eingefügt

* Unbenanntes Diagramm.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md. Fixed version update issues.

* FlowChart-work-around.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md.

* #92 Updating CONTRIBUTING.md.

* Update CONTRIBUTING.md

* #92 Updating CONTRIBUTING.md.

* #48 Updated CONTRIBUTING.md

* Update init_package_loading.lua (#104)

* Update init_package_loading.lua

on game start, there was an error "The current directory is not inside the noita-mp". fixed it, 
io.popen("cd"):read("*a") were return Noita directory, not mod
also don't think we need to check for correct directory, it can't be uncorrect
now it works(how i think) as it supposed to be. 

P.S: there are still error about libs, if i understood correctly, you want to move all libs from \lua_modules to \files\lib\external\ , so i didn't touch it (kinda strange that it's already defined in mod, but still not moved)

* Update init_package_loading.lua

keep directory check

* Rework network and entity caches to use the C API (#105)

* Create cache.c and add CMakeList file

* add lua51 lib file for linking

* add solution file and update gitignore

* move cache file to be in the main folder and push dll

* make cache.c export the required dll functions

* disable precompiled headers as they are not needed

* make linker use an absolute path for lua51.lib

* add setCache function to cache.c

* add cache read functions

* change luaL_checknumber to luaL_checkinteger

* move dll output to be in mods/noita-mp

* implement delete functions

* switch entityutils to use new cache system

* change order of params to cache.set call

* max cache.c check for duplicates before adding data

* update Ui.lua to use new cache system

* change cache build outdir

* fix incorrect types being used for guid

* fix nil check in NoitaComponentUtils.getEntityData

* allow nil nuids

* fix client and server still using old cache funcs

* rename cache to EntityCache

* Fix _crtisvalidheappointer(block) error

* add cacheusage func to get current memory usage

* add checks before entitycache calls to avoid fatal errors

* prefix entity cache functions with entityCache

* Add network cache C implementation

* add remove oldest function to network cache

* Mostly implemented new network caching system

* fix bug in network cache profiling function

* actually remember to compile the dll :skull:

* Fix bug in checksum function and other small bugs

* move cache.c to building folder and update msbuild file

* #89 Fixed package.path|cpath issues. Fixed some small bugs. Changed requirements: Used require instead of dofile_once. Added NetworkUtils_test.lua.

* #89 Removed logging.lua and associated files. Added new Logger class. Changed old logging to new one. Changed unit test initialization and executing.

* #89 Added new restart function, thanks to dextercd. Fixed using old logger.

* #89 Removed old and unused files. Removed unnecessary logging. Fixed and added Logger errors. Extended tests.

* #89 Renamed guid.lua to GuidUtils.lua. Renamed clientCacheID to _Id. Changed getClientCacheID to simply use peers guid, but recalculated to a number based on 16: A = 11, etc. pp. Fixed bugs while adding tests.

* #89 Changed clientCacheId to GuidUtils.toNumber

* #89 Added NetworkCacheUtils to have testable function and all functions regarding NetworkCache in one class. Moved both calculation of 'sum' into one function (DRY). Added NetworkCacheUtils_test. Fixed GuidUtils bug. Fixed some tests.

* #89 Reinstalled lfs and removed lfs_ffi. Fixed test. Fixed unit test workflow.

* #89 Updated zstandard library to version v1.5.2 win32. Hopefully fix GitHub issue, when running tests.

* #89 Rebuild libzstd locally with `call "build.generic.cmd" VS2019 Win32 Release v140`.

* #89 Removed building zstd on GitHub.

* #89 Installed luajit-zstd with luarocks. Replaced libzstd.dll with a fresh build from Visual Studio 2015 Win32. Let's see, if this helps on GitHub.

* #89 Let's see, if this helps on GitHub.

* #89 Added x64 of zstd. Changed zstd.lua with wacky hacky loading. Let's see, if this helps on GitHub. I don't think so.

* #89 Does MSVC help?

* #89 Fixed wrong pcall?

* #89 Is LuaJIT x86/32bit ?

* #89 Added table.contentToString, which simply concat table values with a comma. Moved all md5 and NetworkCache function into NetworkCacheUtils.lua. Added checks to NetworkCacheUtils.lua. Added table.contentToString test. Extended NetworkCacheUtils_test.lua with additional tests.

* #89 Fixed typos.

* #89 Added hint regarding pairs order.

* #89 Fixed several bugs. NeedNuid event still broken.

* #89 Fixed several bugs. Added cache logging.

* #89 Added checks for data consistency. Added sendNewGuid. Added new tests. Added overwritten API functions for being able to use two noita instances, without having guid issues.

* #89 Updated zstandard to 1.5.2 per GitHub release.

* #89 Trying to fix zstd ffi.load

* #89 Simply put zstd version into repo dir for reference, since no library provides versions?

* #89 Removed zstd files and added version command.

* fixed bug where noita_root_directory_path could be nil

* fix zstd paths

* add logic for network event resendIdentifiers

* #89 Added resendIdentifier for checking if network message has to be send again.

* #89 No need to deepcopy the data table.

* #89 Small changes.

* remove resendindentifier declaration from events without any

* #89 Added mocked functions. Fixed path issues on different systems. Renamed function for being more clear. Adjusted test related to path issues. Still trying to get alreadySend working.

* add check for nil resendIdentifiers

* #89 Fixed newNuid alreadySent

* make contentToString clean whitespace

* #89 Trying to fix alreadySent issues.

* #89 Removed logging from table_extensions.lua. Changed whoAmI(). Added ackedAt to acknowledgement event. Fixed caching issue, where some networkMessages aren't cached correctly. Changed reading NoitaMP .version. Do not remove networkMessageId when event is acknowledgement. Acknowledgement networkMessages won't be cached, because those will only be sent in callbacks. Changed tests a bit in general. Finally fixed alreadySent tests and issues.

* #89 Change alreadySent tests for being more reliable. Change some Server send functions to return true or false for a small check if message was sent. Added check if inUsedGuids are valid guids.

* #89 Added some tests for alreadySent!

* fix tests for mod content events

* #89 Added NoitaMpSettings.lua, which will replace ModSettings in the future; ModSettings now read and write from NoitaMpSettings.lua! Added MinaUtils.lua. Added winapi.dll for getting processId. Added and changed tests slightly. Moved *localPlayer* function from EntityUtils into MinaUtils. Clean up!

* rename cache.c to the more generic luaExtensions.c, as we can add non-cache funcs

* rename dll to luaExtensions.dll

* remove old dll

* add tests for entityCache

* #89 Change require order. Removed EntityCache from Lua context. Changed tests a bit.

* #89 Added version update for rockspec. Added building luaExtensions.dll when there are changes in the specific luaExtensions.c. Applying PR suggestions.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #89 Changed EntityCache_test.lua slightly.

* rebuild luaExtensions dll

* #89 Rebuild luaExtensions.dll

* #89 Changed EntityCache_test.lua, because setUp() seemed to be broken? There were plenty of entries in cache, although there should only be 5?

* #89 Formatting only.

* #89 Wrong wording.

---------

Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* Updated version to v4.0.0-alpha+1302 in https://github.com/Ismoh/NoitaMP/pull/105

---------

Co-authored-by: Ismoh <hertor3@mail.de>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>

* Merge branch 'master' into develop

Clean up!

* develop Updated find-linked-issues

* develop Changed commiting into base_ref. Changed README.md

* Fixed tag creation and updating changelog

* Fixed tag creation and updating changelog

* Merge "113-improve-and-clean-codebase" into develop (#114)

* rename file_util to FileUtils to follow the naming pattern

* rename util.lua to Utils.lua

* refactor the noita component scripts

* cleanup init files

* ensure consistent naming of extension files

* rename test files

* clean Ui file

* fix custom profiler using old fileutils path

* fix failing tests

* #113 Added some logging.

* Updated version to v4.1.0-alpha+1184 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated version to v4.1.0-alpha+1195 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/114

* remove line causing test env to fail

* #113 Fixed os detections.

* #113 Manually fixed version, because of workflow issue some days ago.

* Change way that the test files are run

* Delete init_logger_test.lua

Not needed anymore

* Update unitTestRunner.lua

Slightly reformatting

* remove output.txt

* remove unneeded luaunit call

* remove mocking and require calls from each test file that should be moved to the main file

* #113 Fixed ffiExtensions issue where it was loaded more than once. Added lfs_ffi again, but will be removed soon again, I assume.

* #113 Fixed recursive unitTestRunner execution.

* #113 Removed unnecessary lfs_ffi again. Removed hack, for not loading ffiExtensions more than once, but this hided the initial error.

* #113 Fixed Logger.

---------

Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>

* # Conflicts:
#	.github/workflows/version-and-changelog-update.yml

* develop Fixed several issues on dependency-updater.yml

* develop Fixed wildcard in powershell

* develop Changed wildcard..

* develop Fixed path issues. Missed `$`

* develop Fixed `Expand-Archive` and paths.

* develop Fixed path again.

* develop Fixed `Remove-Item`.

* develop Added missing `git add`. Clean up.

* develop Fixed `git add` with force. Needs to double check `Expand-Archive` output.

* develop Fixed missing directory. Fixed `git push`.

* develop Fixed git.

* develop Fixed missing `"`

* develop Fixed git command order.

* develop Fixed git command order and added `origin`.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Trying to fix git commands.

* develop Trying to fix git commands.

* develop Ignore LuaRocks for now!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Fixed `gh pr`

* develop Finalised.

* develop Added version file by tagName. Added check, if PR already exists.

* develop Finalised: Do this only on schedule.

* develop Added `git add` for version files.

* develop Finalised dependency-updater.yml

* develop Finished dependency-updater.yml

* develop Finished dependency-updater.yml

* Update dependencies (#126)

* Updated NoitaPatcher dependencies

* Updated nsew dependencies

---------

Co-authored-by: github-actions <action@github.com>

* Updated version to v4.1.0-alpha+1257 in https://github.com/Ismoh/NoitaMP/pull/126

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/126

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Ismoh added a commit that referenced this pull request Jul 1, 2023
* #42 Trying to get the branch name within github action.

* #42 Found the head_ref branch name. Is '$' necessary?

* #42 '$' is necessary!

* #42 Adding commits count to version!

* #42 "[detached HEAD 1345a7c] Updated version of this PR to 2.4.0-alpha. 1 file changed, 1 insertion(+), 1 deletion(-) To https://github.com/Ismoh/NoitaMP ! [rejected] HEAD -> 42-developer-want-to-add-github-workflow-action-to-automatically-increase-the-version-of-noitamp (fetch first) error: failed to push some refs to 'https://github.com/Ismoh/NoitaMP'
     hint: Updates were rejected because the remote contains work that you do
     hint: not have locally. This is usually caused by another repository pushing
     hint: to the same ref. You may want to first integrate the remote changes
     hint: (e.g., 'git pull ...') before pushing again.
     hint: See the 'Note about fast-forwards' in 'git push --help' for details."

* #42 "You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch>"

* #42 "You have divergent branches and need to specify how to reconcile them." Use ref for using the merge and not the initial branch

* #42 Does "actions/checkout@v3" help?

* #42 Error: .github#L1: a step cannot have both the `uses` and `run` keys

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch>

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch> 2

* Updated version of this PR to 2.4.0-alpha

* #42 It's working fine, besides overwriting .version file. Should work now.

* Updated version of this PR to 2.4.0-alpha

* #42 I want githubs icon on the commit

* Updated version of this PR to 2.5.0-alpha

* #42 Fixed version

* #42 Doesnt work when merged

* #42 Use base ref instead.

* #42 Adding comment to the pull request.

* #42 Fixing syntax.

* #42 Fixing syntax 2

* #42 Fixing syntax 3

* #42 Fixing syntax 4

* #42 Fixing syntax 5

* #42 Fixing syntax 6

* #42 Fixing syntax 7

* #42 Fixing syntax 8

* #42 Fixing syntax 9

* #42 Fixing syntax 10

* #42 Fixing syntax 11

* #42 Fixing syntax 12

* #42 Fixing syntax 13

* #42 Escaping everything!

* #42 Escaping everything! doesnt help

* #42 Escaping everything! doesnt help 2

* #42 Escaping everything! doesnt help 3

* #42 Escaping everything! doesnt help 4

* #42 Found the issue.

* #42 Found the issue. 2

* #42 Found the issue. 3

* #42 Found the issue. 4

* #42 Found the issue. 5

* #42 polishing

* #42 polishing 2

* #42 polishing 3

* #42 Colon is fycking up the json body.

* #42 Colon is fycking up the json body. 2

* #42 Colon is fycking up the json body. 3

* #42 Colon is fycking up the json body. 4

* #42 Triple escape characters.

* #42 Head ref doesnt exist, after merge.

* #42 merged flag is false?

* #42 merged flag is false?

* #42 merged flag is false? 2

* #42 merged flag is false? 2

* Updated version of #65 to v2.4.0-alpha+1040

* #42 Polishing!

* #42 Made a mistake. Fixing version manually.

* Updated version to v2.4.0-alpha+1045 in #66

* Bump HardNorth/github-version-generate from 1.1.2 to 1.2.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](HardNorth/github-version-generate@v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* #72 Added changelog generator in a separated yaml file and in version.yml.

* #72 Removed changelog generator in version.yml.

* #72 Fixed non-existing tag key in changelog-generator.yml

* #72 Added changelog generator to version.yml

* #72 Fixed not working changelog generator workflow action.

* #72 Trying to get the directories working?!

* #72 Still trying to find out, where CHANGELOG.md is created.

* #72 Typo in yaml.

* #72 Changed branch from github.base_ref to github.head_ref, because CHANGELOG.md has to be changed in the PR-branch itself.

* Updated CHANGELOG.md in #73

* #72 Fixed order of workflow steps, to create first a tag, then updating CHANGELOG.md into the merged branch (github.base_ref)

* #72 Changed wording and added version file name.

* #72 Removed CHANGELOG.md, because it was generated not correctly.

* #72 Removed not working changelog-generator.yml. Renamed version.yml to version-and-changelog-update.yml.

* #72 Changed wording and order of steps for a better reading

* Updated version to v2.5.0-alpha+1065 in #73

* Updated CHANGELOG.md in #73

* Integrate gource.io because its fun (#75)

* #69 Added gource, because it's fun!

* #69 Fixed 'ERROR: No Git repository found'

* Updated version to v2.6.0-alpha+1070 in #75

* Updated CHANGELOG.md in #75

* Version and changelog update on pull requests fails (#80)

* #78 Simply echoing toJSON of github context to find the "development" section info/object on a pull request.

* #78 There is no build-in GitHub API endpoint or a context variable, which contains linked issues. That's why yet another action is added to simply check if an issue is linked to the PR.

* #78 Adding comment when there is no linked issue.

* #78 Fixed workflow: Repo needs to be checked out!

* Update version-and-changelog-update.yml

* #78 Trying to polish stuff, by using gh cli and api endpoints.

* #78 Moved gh cli command to the correct workflow step.

* #78 Changed command and quoting.

* #78 Added GitHub token to be allowed to execute gh cli commands.

* #78 Added gh cli to get all comments regarding versioning and removing them to add a comment with the latest version.

* #78 Fixed wrong jq command.

* #78 Fixed missing quotes on jq command. Changed gource.io only running on develop.

* #78 Fixed broken jq command.

* #78 Fixed broken workflow

* #78 Fixed GitHub API url and changed wording slightly.

* #78 Fixed quoting again.

* #78 Changed escaped body to non-escaped.

* #78 Fixed new line. Added comment for changelog.

* #78 Fixed removing old comments and typos. Added removing changelog comments and adding a new changelog comment.

* #78 Missed GitHub token.

* #78 Eeeh, new line in markdown with gh string: Fun fun fun !

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! [space][space][enter] ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! \ ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! <br /> ?

* #78 Playing around with escaping $CHANGELOG.

* #78 Fixed non-created changelog.

* #78 Fixed wrong output usage.

* #78 Getting rid of 'Unreleased' for this specific pull request. Next version is used instead.

* #78 Fixed typo on env usage. Fixed deletion of previous comments.

* #78 Where is the env gone?

* #78 Adding global environment variable to have access on it between jobs.

* #78 Why is this environment variable not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Global environments aren't working. Using GitHubs output now.

* #78 Fixed outputs.

* #78 Fixed naming.

* #78 Added deletion of not linked issue.

* #78 Where is the $ coming from?

* #78 Fixed typo, where unnecessary $ was added.

* #78 Fixed usage of env. Misled by typo.

* #78 Getting headache from syntax differences.

* #78 Does env adds the $?

* #78 Last try to get this annoying $ removed!

* #78 Fixed typo! Finally, found the unnecessary $!

* #78 Clean up!

* #78 Making it pretty!

* #78 Polishing!

* Updated version to v2.6.1-alpha+1073 in #80

* Updated CHANGELOG.md in #80

* develop Hotfix for version workflow!

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT. Authorised app on GitHub! Hopefully it shouldn't be done each workflow run!

* develop Hotfix for version workflow! Unable to set PAT on gh cli.

* develop Hotfix for version workflow! Trying out authorization header on api requests.

* develop Hotfix for version workflow! Typo!

* develop Hotfix for version workflow! Yet another typo!

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'.

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'. Variable isn't resolved correctly.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks!

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Removed Bearer.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Fixed auth.

* develop Hotfix for version workflow! Still need to use PAT?

* develop Hotfix for version workflow! Still need to use PAT? with Bearer?

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Extended curl command.

* develop Escaped body of curl.

* Get rid of -i

* develop Add pull_request_target for forked pull requests

* develop Fixed curl data.

* develop Fixed body of curl

* develop Added fromJSON

* Added jq for parsing string

* develop Fixed string parsing with jq

* develop printf?

* develop echo pipe jq into variable

* develop String escaped manually

* develop Fixed escaping string by simply doing it manually

* develop Fixed quote typos

* develop Fixed escaped quote typos

* develop Added pull_request_target. Added nektos/act. Added powershell script for running GitHub actions locally.

* develop Fixed wrong json formatting. Added nektos/act for being able to run actions locally, which isn't working atm.

* develop Fixed wrong json formatting with 'jq -Rsa .'.

* develop Yet another string concatenation try!

* develop Yet another string concatenation try! 2

* develop Yet another string concatenation try! 3

* develop Quoting!

* develop Finally using jq!

* develop Finally using jq! Still didnt work.

* develop Finally using jq! Still didn't work either.

* develop This one looks promising. Tested locally on wsl.

* develop Tidying up!

* develop Tidying up!

* develop Print GitHub context!

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* replace wiki links, fandom.com->wiki.gg per official migration (#79)



* Updated version to v2.6.2-alpha+1130 in #79

* Updated CHANGELOG.md in #79

* develop Hotfix changelog workflow

* Bump actions/upload-artifact from 2 to 3 (#77)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...







* Updated version to v2.6.3-alpha+1134 in #77

* Updated CHANGELOG.md in #77

* develop Hotfix changelog workflow.

* Bump actions/checkout from 2 to 3.1.0 (#82)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...







* Updated version to v2.6.4-alpha+1138 in #82

* Updated CHANGELOG.md in #82

* develop Hotfix clean up.

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0 (#83)

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](HardNorth/github-version-generate@v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* Removed trigger

pull_request_target is enough. Removed pull_request trigger.





* Updated version to v2.6.5-alpha+1143 in #83

* Updated CHANGELOG.md in #83

* Update README.md

Added additional info about current progress

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* Bump HarshCasper/validate-issues-over-pull-requests from 0.1.1 to 0.1.2 (#86)

Bumps [HarshCasper/validate-issues-over-pull-requests](https://github.com/HarshCasper/validate-issues-over-pull-requests) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/HarshCasper/validate-issues-over-pull-requests/releases)
- [Commits](HarshCasper/validate-issues-over-pull-requests@v0.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: HarshCasper/validate-issues-over-pull-requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...






* Updated version to v2.6.6-alpha+1162 in #86

* Updated CHANGELOG.md in #86

* Fixed old label name for "help wanted" to "help_wanted"

* Create snyk-container.yml

* Delete snyk-container.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Updated version string to json format

* Update .version

* Update README.md

* Add renovate.json (#90)



* Merge rework of client and server classes into develop (#110)

* Quick and dirty rework of Client and Server Developer want to rework client and server modules/classes #48

* A lot Client and Server rework. Tried EZGUI. #48

* Dependabot?!

* Renamed username to name. Extended logger with log channel. #48

* Reworked sock.lua and updated EZGUI to 0.1.2

* Trying to add lfs

* Little bit UI. SaveSlot. Logger. #48

* Clean up #48

* world seed does not load #48

* Seed synced

* Reworking client/server. #48

* Reworking client/server. 2 #48

* Updated EZGUI to v0.2.0

* ui changes #48

* new ui class added #48

* ui changes #48

* Fixing unit tests #48

* Fixing and extending unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* RTT halved and UI update #48

* Commit before updating EZGUI

* Trying to fix Ezgui #48

* ezgui fixed #48

* newNuid #48

* need nuid #48

* need nuid 2 #48

* need nuid 3 #48

* need nuid 4 #48

* need nuid 5 #48

* Adding luacheck

* Fix missing owner

The localOwner is stored in {name=, guid=} format
When server sends local entities, clients recieve the localOwner

* Only consider root entities for syncing

Some entities have multiple sub entities, but come from one file
This fixes the infinite minas bug

* Better velocity handling

Check if component exists to prevent generating empty tables
Rework spawning to prevent false warning

* #48 Small guid changes.

* #48 Let me do my own acknowledgement!

* #48 Let me do my own acknowledgement! 2

* #48 Added a lot of checks.

* #48 Still duplicated entities.

* #48 Guid and entityData

* #48 entityData

* #48 Trying to fix 'alreadySent'

* #48 New teaser gif added.

* #48 Added polymorphism and version.

* #48 Hopefully fixed public ip issue.

* Add silent os.execute and io.popen

Prevents several cmd windows from opening

* Block FFI extension on Linux

* #48 Added profiler.lua for being able to find bottlenecks!

* #48 Added new de-/serializer (MessagePack) and de-/compressor (ZStandard) for network messages. In addition to this polymorphism is now synced.

* #48 Fixed removing AiComponents. Removed some profiler hacks. Added tick rate for better performance. Added debug ui for detecting in-/exclude entities. Changed detections of dead entities/nuid by multiplying entityId with -1 instead of -99. Improved default mod setting values.

* #48 Adding custom testing map.

* #48 Fixed non-working custom map/biome.

* #48 Changed custom map. Reworking GUID, because locally same GUID can be generated. Added range to detect changes. Fixed clients modSettings for insert servers ip.

* #69 Added CustomProfiler.lua to profile NoitaMP scripts only! Changed testing map to add more enemies. Disabled logging at all for testing performance issues.

* #69 Added profiling of Noita API ModSetting* functions. Changed CustomProfiler threshold to 1ms.

* #48 Fixed bug where zstd wasn't able to be loaded.

* #48 Fixed libraries issue. Added ModSetting for dis-/enable logger at all. Started to rework detection of entities by using coroutines. Disabled Client and Server updateVariables. Added EntityUtils cache. Removed Ubuntu lua testing workflow.

* #48 Fixed 'not enough memory'. Refactored profiler and plotly.lua to be able to profile at runtime. Disabled some profiling function, to avoid stack overflow!

* Updated plotly.js version from 2.9.0 to 2.16.0

* Added bar chart settings

* Added bar chart entry text

* #48 Extended profiling to find the FPS drop issue.

* #48 Added garbage collector functions. Added git submodules updater. Fixed math extensions. Added fileUtil function for getting Windows desktop directory path.

* #48 Updated git submodules updater.

* #38 Add synchronisation for client and server mods (#85)

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* implement server onNeedModList function and add needModList/Content events

* Finish implementing server side mod sync functions and add onNeedModContent

* make modListCached a prop on Server class

* make onNeedModContent also return workshop id to avoid overwriting workshop mods

* Finish implementing mod synchronisation

* make onNeedModList run on connection to server

* move mod conflict gui into drawModConflictWarning function

* disable auto formatting

* fix Client.lua formatting and add CustomProfiler to onNeedModList/Content



* Updated version to v2.6.6-alpha+1223 in #85

* Updated CHANGELOG.md in #85

* Fixed non working version workflow manually

* #48 Changed CustomProfiler.lua settings. Added comments regarding possible memory leak!

* #48 Reworking entity processing for networking. Removed one of x caches. Added a new small cache for transform. Changed small wordings. Changed code formatting.

* #48 Added destroying entities on client. Added workaround to get __len on lua5.1. Added removing dead entities on transformCache. Added check to see if entityId is a remoteMinä. Added check if entity changed (health, rotation, velocity, x, y) depending on threshold set in ModSettings. Added simple and stupid UI text, if transformCache got huge! Fixed broken modSetting for change detection threshold.

* #48 Fixed assigning metatable. Hopefully fixed annoying broken windows lua testing workflow.

* #48 Added table metamethod function to set default metamethods to a table. Added table.metamethods test. Added EntityUtils transform cache. Removed Server and Client cache. Removed EntityUtils entity cache.

* #48 Fixed broken windows lua testing workflow

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows.

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows. The second :)

* #48 Fixed usage of logger when running on GitHub.

* #48 Fixed order of checks when defining metamethods.

* #48 Fixed table metamethods 'table_extensions.lua:179: stack overflow'.

* #48 Fixed errors after rework.

* #48 Added logging to unit test.

* #48 Added metamethods to cache tables. (Doesn't seem to work!) Added memory usage to CustomProfiler.lua. Fixed Velocity bug when calculating any changes.

* #48 Rework no.3. Server FPS drops are gone. Looks promising! Client still broken, will be fixed soon. Improved CustomProfiler.lua.

* #48 Fixed missing stops of CustomProfiler, which was leading to memory overflow. Got rid of EntityGetRootEntity, which was also leading to problems and not synced entities, like Minäs wands.

* #48 Added possibility to send readable tables via sock.lua. Removed not used files anymore! Reworked cache on Server and Client. Server does have a cache now for each client. Reworked 'alreadySent', but isn't working yet. Small cleaning code. Fixed missing nuid on Servers Minä. Changed version to json format. Fixed needModList- and needModContent schemas. Added function in NuidUtils.lua to clean cache on Server and Client; still not working. Added cache sizes to UI. Changed log level order.

* #48 Added resendIdentifier to NetworkUtils events. Reworked acknowledgment cache for Server and Client. Reworked resend mechanism based on new acknowledgment cache. Reworked displaying cache size. Simplified table.size(). Fixed GlobalsUtils for getting and setting dead nuids. Fixed EntityUtils.destroyByNuid. Need to fix removing entries of acknowledgment cache, when an entity died.

* #48 Tried to add lua unit testing locally. Didn't work!

* #48 Added unit test templates. Fixed several nil bugs.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Improved sock.lua being able to receive non index based tables. Fixed timing issues when sending playerInfo. Removed cache from Server, because Server send by its Client copies. Reordering nuid_debugger. Added functions for detecting if entity is a child. Changed playerInfo schema. Added resendIdentifier (optional - improves performance) for needNuid schema. Removed enabling disabled components and added tags instead.

* rework type annotations for most files and minor bugfixing around type issues

* rollback some changes and ensure critical functions do not silently fail

* #48 Several bug fixes. Additionally, parent and child spawning.

* #48 Moved child adding. Added clearing cache.

* #48 Added luarocks, because I am sick of this dependency problems. In addition, I want to run unit tests easily. Messed around with broken paths in test lua files. Fixed sending acknowledgements. Added removing cache entries when entity died. Removed metamethod.mode! Tried to fix 'alreadySent', still doesn't work. Need unit tests for this!

* #48 Quick fix for unreasonable cache entries for events, which must not be cached and acknowledged.

* Developer want to use luarocks for dependencies (#100)

* #92 Added luarocks installation files.

* #92 Added all-in-one luarocks executable. Added README.md how to use luarocks init in NoitaMP repo. Fixed smaller bugs on existing files.

* #92 Looks like luarocks is working. package.paths aren't fully working yet.

* #92 Updated README.md. Updated rockspec. Removed lfs.lua, which is using FFI.

* #92 Reworking init_package_loading.lua. Need to know how to use LuaJIT in luarocks!

* #92 Set LuaJIT-2.0.4 as lua interpreter for luarocks!

* #92 Trying to add NSEW as a luarocks dependency, but doesn't like it atm.

* #92 It's not possible to install, make or build dependencies on others repositories. Need to fork NSEW and add luarocks there. Damn it!

* #92 Change Noita-Synchronise-Expansive-Worlds dependency name to nsew

* #92 Changed rockspec. Removed NSEW rockspec. Trying to get tests running.

* #92 Moved files regarding luarocks directory structure.

* #92 Fixed broken test files fetching. Still trying to run tests. Changed rockspec as file names changed.

* #92 Fixed broken test files fetching. Changed rockspec as file names changed. Tests are running locally, but some fail! Fixed broken badges and added new ones.

* #92 Fixed execution of unit tests, they are now running as expected.

* #92 Updated LuaRocks README.md

* #92 Fixing GitHub actions. Need to know paths, that's why a dirty commit and push is done.

* #92 Fixed GitHub action for unit testing.

* #92 Fixed GitHub action Installing and initialising LuaRocks and configuring LuaJIT.

* #92 Fixed missing Lua interpreter.

* #92 Fixed typo in path.

* #92 GitHub still doesn't like the path.

* #92 Fixed lua interpreter not found.

* #92 Fixed LuaRocks paths with `luarocks config ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --scope="project" ..`

* #92 Fixed LuaRocks paths with `luarocks init noita-mp`

* #92 Make sure luarocks does have any installed lua version.

* #92 Make sure luarocks does have any installed lua version. Removed git submodule updater.

* #92 LuaJIT is already set.

* #92 Fixed wrong path and coveralls.

* #92 Missing luarocks install packages.

* #92 Fixed luacov path issue.

* #92 Removed unnecessary installs.

* #92 Added mingw32-gcc for lfs building.

* #92 Install LuaJIT to fix LuaRocks not finding any Lua installation.

* #92 Moved JIT modules and fixed missing directories on GitHub.

* #92 Fixed paths.

* #92 Moved Noitas lua51.dll into LuaJIT ones, to see if `luajit.exe: error loading module 'enet' from file 'D:\a\NoitaMP\NoitaMP\mods\noita-mp\lua_modules\lib\lua\5.1\enet.dll':%1 is not a valid Win32 application.` is fixed then. Because locally it's working fine!

* #92 Don't use Luas dll, use Noitas dll instead.

* #92 LuaRocks don't like Noitas dll.

* #92 Make sure MSYS2 uses mingw32 with i686 to see if enet is recognised as a 32bit library. In addition, added -m32 flag.

* #92 Remove mingw32 flags.

* #92 Replaced MSYS2 with Visual Studio x86

* #92 Missed `shell: cmd`.

* #92 MSYS2 or better to say MINGW32 is necessary for luarocks dependency installs. Changed LauJIT build and install action.

* #92 Fixed wrong package name for MSYS2/MINGW32 installation.

* #92 Let's see what LuaRocks is using!

* #92 Trying to fix wrong gcc flags by keeping LuaRocks config the same as local.

* #92 Where is mingw32-gcc installed?

* #92 It's all about naming!

* #92 Set a location to install msys2 into workspace directory.

* #92 Fixed path to i686-w64-mingw32-gcc.exe

* #92 Try it as it's working locally.

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 Fucking stupid LuaRocks!

* #92 Fucking stupid LuaRocks!

* Update windows-latest-lua-unit-testing.yml

* Make use of MVSC prompt

* Updated path with ${{ github.workspace }}

* Looks like luarocks forgot his own config file

* Use luajit.exe

* Update windows-latest-lua-unit-testing.yml

* Update LPATH and CPATH

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Exit?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Added new LuaCov config file

* Changed luacov-coveralls command

* Changed luacov and luacov-coveralls commands

* Where is the report file?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 I think MSVC logging isn't properly working.

* #92 Fixed wrong path.

* #92 Fixed wrong shell version.

* #92 Fixed paths using GitHubs variable.

* #92 Fixed powershell commands.

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed wrong luarocks path.

* Fixed wrong windows command

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed CodeCov path. Coveralls still didn't work.

* #92 Where is the log going? Uff

* #92 luajit.exe instead of lua.bat?

* #92 Let's try powershell again.

* #92 Path issues again!

* #92 Looks like `shell: cmd` isn't working properly, when using LuaRocks, because after the first `luarocks` command the shell/bash is exited. That's why I am using powershell now.

* #92 Fixed formatting.

* Update windows-latest-lua-unit-testing.yml

* #92 Make sure necessary files are available.

* #92 CMD again.. Trying `call`.

* #92 Added exit code, when necessary files are missing. Using cmd with `call ...` now. Looks promising.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue. Added custom GitHub error messages.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Added LuaRocks path to GitHub path.

* #92 Added LuaRocks path to GitHub path. What's happening?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Write LuaRocks path directly in $GITHUB_PATH

* #92 Does setx work?

* #92 Does setx work?

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Added `LUA_PATH` and `LUA_CPATH` as global environment to be able to set those environment variables.

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Fixed setting GitHub environment variable.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 What's happening with the key?

* #92 What's wrong with json.lua?

* #92 LuaRocks is now working fine! Fixed several unit test and reworked guid.lua using uuid.lua now! Temporary disabled NetworkUtils_test.lua. Extended README.md for LuaRocks setup.

* #92 Don't stop unit test workflow, when coverage isn't working anymore.

* #92 luacov.stats.out exists, but luacov.report.out doesn't?

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* Update windows-latest-lua-unit-testing.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

https://codecov.freshdesk.com/support/solutions/articles/43000593943-files-not-showing-in-codecov-fixing-paths-

* #92 CodeCov fixes for paths doesn't work. Trying to do it myself.

* Update windows-latest-lua-unit-testing.yml

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Does fix luacov-coveralls ?

* #92 Updating README.md for more usability.

* #92 Fixed coveralls `base-path` or `root`-path.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Changed README.md

* #92 Testing failed and errored unit tests.

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Re- and moved all unnecessary files.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* #92 Does this finally fix this bitchy cmd syntax?

* Finally fixed workflow!

* Changed version back to 0.1.1

* 0.1.0

* Update version-and-changelog-update.yml

* #92 Testing Ismoh-Games/find-linked-issues

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4 with PAT.

* #92 Moved and updated actions/checkout

* #92 Why isn't my latest workflow.yml used?

* #92 Updated Ismoh-Games/find-linked-issues to v0.0.5

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.



* Updated version to v3.0.0-alpha+1285 in #100

* Updated CHANGELOG.md in #100

* Added NoitaMP contributing flow chart

* Unbenanntes Diagramm.drawio.png eingefügt

* Unbenanntes Diagramm.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md. Fixed version update issues.

* FlowChart-work-around.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md.

* #92 Updating CONTRIBUTING.md.

* Update CONTRIBUTING.md

* #92 Updating CONTRIBUTING.md.

* #48 Updated CONTRIBUTING.md

* Update init_package_loading.lua (#104)

* Update init_package_loading.lua

on game start, there was an error "The current directory is not inside the noita-mp". fixed it, 
io.popen("cd"):read("*a") were return Noita directory, not mod
also don't think we need to check for correct directory, it can't be uncorrect
now it works(how i think) as it supposed to be. 

P.S: there are still error about libs, if i understood correctly, you want to move all libs from \lua_modules to \files\lib\external\ , so i didn't touch it (kinda strange that it's already defined in mod, but still not moved)

* Update init_package_loading.lua

keep directory check

* Rework network and entity caches to use the C API (#105)

* Create cache.c and add CMakeList file

* add lua51 lib file for linking

* add solution file and update gitignore

* move cache file to be in the main folder and push dll

* make cache.c export the required dll functions

* disable precompiled headers as they are not needed

* make linker use an absolute path for lua51.lib

* add setCache function to cache.c

* add cache read functions

* change luaL_checknumber to luaL_checkinteger

* move dll output to be in mods/noita-mp

* implement delete functions

* switch entityutils to use new cache system

* change order of params to cache.set call

* max cache.c check for duplicates before adding data

* update Ui.lua to use new cache system

* change cache build outdir

* fix incorrect types being used for guid

* fix nil check in NoitaComponentUtils.getEntityData

* allow nil nuids

* fix client and server still using old cache funcs

* rename cache to EntityCache

* Fix _crtisvalidheappointer(block) error

* add cacheusage func to get current memory usage

* add checks before entitycache calls to avoid fatal errors

* prefix entity cache functions with entityCache

* Add network cache C implementation

* add remove oldest function to network cache

* Mostly implemented new network caching system

* fix bug in network cache profiling function

* actually remember to compile the dll 💀

* Fix bug in checksum function and other small bugs

* move cache.c to building folder and update msbuild file

* #89 Fixed package.path|cpath issues. Fixed some small bugs. Changed requirements: Used require instead of dofile_once. Added NetworkUtils_test.lua.

* #89 Removed logging.lua and associated files. Added new Logger class. Changed old logging to new one. Changed unit test initialization and executing.

* #89 Added new restart function, thanks to dextercd. Fixed using old logger.

* #89 Removed old and unused files. Removed unnecessary logging. Fixed and added Logger errors. Extended tests.

* #89 Renamed guid.lua to GuidUtils.lua. Renamed clientCacheID to _Id. Changed getClientCacheID to simply use peers guid, but recalculated to a number based on 16: A = 11, etc. pp. Fixed bugs while adding tests.

* #89 Changed clientCacheId to GuidUtils.toNumber

* #89 Added NetworkCacheUtils to have testable function and all functions regarding NetworkCache in one class. Moved both calculation of 'sum' into one function (DRY). Added NetworkCacheUtils_test. Fixed GuidUtils bug. Fixed some tests.

* #89 Reinstalled lfs and removed lfs_ffi. Fixed test. Fixed unit test workflow.

* #89 Updated zstandard library to version v1.5.2 win32. Hopefully fix GitHub issue, when running tests.

* #89 Rebuild libzstd locally with `call "build.generic.cmd" VS2019 Win32 Release v140`.

* #89 Removed building zstd on GitHub.

* #89 Installed luajit-zstd with luarocks. Replaced libzstd.dll with a fresh build from Visual Studio 2015 Win32. Let's see, if this helps on GitHub.

* #89 Let's see, if this helps on GitHub.

* #89 Added x64 of zstd. Changed zstd.lua with wacky hacky loading. Let's see, if this helps on GitHub. I don't think so.

* #89 Does MSVC help?

* #89 Fixed wrong pcall?

* #89 Is LuaJIT x86/32bit ?

* #89 Added table.contentToString, which simply concat table values with a comma. Moved all md5 and NetworkCache function into NetworkCacheUtils.lua. Added checks to NetworkCacheUtils.lua. Added table.contentToString test. Extended NetworkCacheUtils_test.lua with additional tests.

* #89 Fixed typos.

* #89 Added hint regarding pairs order.

* #89 Fixed several bugs. NeedNuid event still broken.

* #89 Fixed several bugs. Added cache logging.

* #89 Added checks for data consistency. Added sendNewGuid. Added new tests. Added overwritten API functions for being able to use two noita instances, without having guid issues.

* #89 Updated zstandard to 1.5.2 per GitHub release.

* #89 Trying to fix zstd ffi.load

* #89 Simply put zstd version into repo dir for reference, since no library provides versions?

* #89 Removed zstd files and added version command.

* fixed bug where noita_root_directory_path could be nil

* fix zstd paths

* add logic for network event resendIdentifiers

* #89 Added resendIdentifier for checking if network message has to be send again.

* #89 No need to deepcopy the data table.

* #89 Small changes.

* remove resendindentifier declaration from events without any

* #89 Added mocked functions. Fixed path issues on different systems. Renamed function for being more clear. Adjusted test related to path issues. Still trying to get alreadySend working.

* add check for nil resendIdentifiers

* #89 Fixed newNuid alreadySent

* make contentToString clean whitespace

* #89 Trying to fix alreadySent issues.

* #89 Removed logging from table_extensions.lua. Changed whoAmI(). Added ackedAt to acknowledgement event. Fixed caching issue, where some networkMessages aren't cached correctly. Changed reading NoitaMP .version. Do not remove networkMessageId when event is acknowledgement. Acknowledgement networkMessages won't be cached, because those will only be sent in callbacks. Changed tests a bit in general. Finally fixed alreadySent tests and issues.

* #89 Change alreadySent tests for being more reliable. Change some Server send functions to return true or false for a small check if message was sent. Added check if inUsedGuids are valid guids.

* #89 Added some tests for alreadySent!

* fix tests for mod content events

* #89 Added NoitaMpSettings.lua, which will replace ModSettings in the future; ModSettings now read and write from NoitaMpSettings.lua! Added MinaUtils.lua. Added winapi.dll for getting processId. Added and changed tests slightly. Moved *localPlayer* function from EntityUtils into MinaUtils. Clean up!

* rename cache.c to the more generic luaExtensions.c, as we can add non-cache funcs

* rename dll to luaExtensions.dll

* remove old dll

* add tests for entityCache

* #89 Change require order. Removed EntityCache from Lua context. Changed tests a bit.

* #89 Added version update for rockspec. Added building luaExtensions.dll when there are changes in the specific luaExtensions.c. Applying PR suggestions.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #89 Changed EntityCache_test.lua slightly.

* rebuild luaExtensions dll

* #89 Rebuild luaExtensions.dll

* #89 Changed EntityCache_test.lua, because setUp() seemed to be broken? There were plenty of entries in cache, although there should only be 5?

* #89 Formatting only.

* #89 Wrong wording.

---------




* Updated version to v4.0.0-alpha+1302 in #105

---------








* Merge branch 'master' into develop

Clean up!

* develop Updated find-linked-issues

* develop Changed commiting into base_ref. Changed README.md

* Fixed tag creation and updating changelog

* Fixed tag creation and updating changelog

* Merge "113-improve-and-clean-codebase" into develop (#114)

* rename file_util to FileUtils to follow the naming pattern

* rename util.lua to Utils.lua

* refactor the noita component scripts

* cleanup init files

* ensure consistent naming of extension files

* rename test files

* clean Ui file

* fix custom profiler using old fileutils path

* fix failing tests

* #113 Added some logging.

* Updated version to v4.1.0-alpha+1184 in #114

* Updated version to v4.1.0-alpha+1195 in #114

* Updated CHANGELOG.md in #114

* remove line causing test env to fail

* #113 Fixed os detections.

* #113 Manually fixed version, because of workflow issue some days ago.

* Change way that the test files are run

* Delete init_logger_test.lua

Not needed anymore

* Update unitTestRunner.lua

Slightly reformatting

* remove output.txt

* remove unneeded luaunit call

* remove mocking and require calls from each test file that should be moved to the main file

* #113 Fixed ffiExtensions issue where it was loaded more than once. Added lfs_ffi again, but will be removed soon again, I assume.

* #113 Fixed recursive unitTestRunner execution.

* #113 Removed unnecessary lfs_ffi again. Removed hack, for not loading ffiExtensions more than once, but this hided the initial error.

* #113 Fixed Logger.

---------





* # Conflicts:
#	.github/workflows/version-and-changelog-update.yml

* develop Fixed several issues on dependency-updater.yml

* develop Fixed wildcard in powershell

* develop Changed wildcard..

* develop Fixed path issues. Missed `$`

* develop Fixed `Expand-Archive` and paths.

* develop Fixed path again.

* develop Fixed `Remove-Item`.

* develop Added missing `git add`. Clean up.

* develop Fixed `git add` with force. Needs to double check `Expand-Archive` output.

* develop Fixed missing directory. Fixed `git push`.

* develop Fixed git.

* develop Fixed missing `"`

* develop Fixed git command order.

* develop Fixed git command order and added `origin`.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Trying to fix git commands.

* develop Trying to fix git commands.

* develop Ignore LuaRocks for now!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Fixed `gh pr`

* develop Finalised.

* develop Added version file by tagName. Added check, if PR already exists.

* develop Finalised: Do this only on schedule.

* develop Added `git add` for version files.

* develop Finalised dependency-updater.yml

* develop Finished dependency-updater.yml

* develop Finished dependency-updater.yml

* Update dependencies (#126)

* Updated NoitaPatcher dependencies

* Updated nsew dependencies

---------



* Updated version to v4.1.0-alpha+1257 in #126

* Updated CHANGELOG.md in #126

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Ismoh added a commit that referenced this pull request Nov 21, 2023
* Updating master with develop (#127) (#128)

* #42 Trying to get the branch name within github action.

* #42 Found the head_ref branch name. Is '$' necessary?

* #42 '$' is necessary!

* #42 Adding commits count to version!

* #42 "[detached HEAD 1345a7c] Updated version of this PR to 2.4.0-alpha. 1 file changed, 1 insertion(+), 1 deletion(-) To https://github.com/Ismoh/NoitaMP ! [rejected] HEAD -> 42-developer-want-to-add-github-workflow-action-to-automatically-increase-the-version-of-noitamp (fetch first) error: failed to push some refs to 'https://github.com/Ismoh/NoitaMP'
     hint: Updates were rejected because the remote contains work that you do
     hint: not have locally. This is usually caused by another repository pushing
     hint: to the same ref. You may want to first integrate the remote changes
     hint: (e.g., 'git pull ...') before pushing again.
     hint: See the 'Note about fast-forwards' in 'git push --help' for details."

* #42 "You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch>"

* #42 "You have divergent branches and need to specify how to reconcile them." Use ref for using the merge and not the initial branch

* #42 Does "actions/checkout@v3" help?

* #42 Error: .github#L1: a step cannot have both the `uses` and `run` keys

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch>

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch> 2

* Updated version of this PR to 2.4.0-alpha

* #42 It's working fine, besides overwriting .version file. Should work now.

* Updated version of this PR to 2.4.0-alpha

* #42 I want githubs icon on the commit

* Updated version of this PR to 2.5.0-alpha

* #42 Fixed version

* #42 Doesnt work when merged

* #42 Use base ref instead.

* #42 Adding comment to the pull request.

* #42 Fixing syntax.

* #42 Fixing syntax 2

* #42 Fixing syntax 3

* #42 Fixing syntax 4

* #42 Fixing syntax 5

* #42 Fixing syntax 6

* #42 Fixing syntax 7

* #42 Fixing syntax 8

* #42 Fixing syntax 9

* #42 Fixing syntax 10

* #42 Fixing syntax 11

* #42 Fixing syntax 12

* #42 Fixing syntax 13

* #42 Escaping everything!

* #42 Escaping everything! doesnt help

* #42 Escaping everything! doesnt help 2

* #42 Escaping everything! doesnt help 3

* #42 Escaping everything! doesnt help 4

* #42 Found the issue.

* #42 Found the issue. 2

* #42 Found the issue. 3

* #42 Found the issue. 4

* #42 Found the issue. 5

* #42 polishing

* #42 polishing 2

* #42 polishing 3

* #42 Colon is fycking up the json body.

* #42 Colon is fycking up the json body. 2

* #42 Colon is fycking up the json body. 3

* #42 Colon is fycking up the json body. 4

* #42 Triple escape characters.

* #42 Head ref doesnt exist, after merge.

* #42 merged flag is false?

* #42 merged flag is false?

* #42 merged flag is false? 2

* #42 merged flag is false? 2

* Updated version of https://github.com/Ismoh/NoitaMP/pull/65 to v2.4.0-alpha+1040

* #42 Polishing!

* #42 Made a mistake. Fixing version manually.

* Updated version to v2.4.0-alpha+1045 in https://github.com/Ismoh/NoitaMP/pull/66

* Bump HardNorth/github-version-generate from 1.1.2 to 1.2.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* #72 Added changelog generator in a separated yaml file and in version.yml.

* #72 Removed changelog generator in version.yml.

* #72 Fixed non-existing tag key in changelog-generator.yml

* #72 Added changelog generator to version.yml

* #72 Fixed not working changelog generator workflow action.

* #72 Trying to get the directories working?!

* #72 Still trying to find out, where CHANGELOG.md is created.

* #72 Typo in yaml.

* #72 Changed branch from github.base_ref to github.head_ref, because CHANGELOG.md has to be changed in the PR-branch itself.

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* #72 Fixed order of workflow steps, to create first a tag, then updating CHANGELOG.md into the merged branch (github.base_ref)

* #72 Changed wording and added version file name.

* #72 Removed CHANGELOG.md, because it was generated not correctly.

* #72 Removed not working changelog-generator.yml. Renamed version.yml to version-and-changelog-update.yml.

* #72 Changed wording and order of steps for a better reading

* Updated version to v2.5.0-alpha+1065 in https://github.com/Ismoh/NoitaMP/pull/73

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* Integrate gource.io because its fun (#75)

* #69 Added gource, because it's fun!

* #69 Fixed 'ERROR: No Git repository found'

* Updated version to v2.6.0-alpha+1070 in https://github.com/Ismoh/NoitaMP/pull/75

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/75

* Version and changelog update on pull requests fails (#80)

* #78 Simply echoing toJSON of github context to find the "development" section info/object on a pull request.

* #78 There is no build-in GitHub API endpoint or a context variable, which contains linked issues. That's why yet another action is added to simply check if an issue is linked to the PR.

* #78 Adding comment when there is no linked issue.

* #78 Fixed workflow: Repo needs to be checked out!

* Update version-and-changelog-update.yml

* #78 Trying to polish stuff, by using gh cli and api endpoints.

* #78 Moved gh cli command to the correct workflow step.

* #78 Changed command and quoting.

* #78 Added GitHub token to be allowed to execute gh cli commands.

* #78 Added gh cli to get all comments regarding versioning and removing them to add a comment with the latest version.

* #78 Fixed wrong jq command.

* #78 Fixed missing quotes on jq command. Changed gource.io only running on develop.

* #78 Fixed broken jq command.

* #78 Fixed broken workflow

* #78 Fixed GitHub API url and changed wording slightly.

* #78 Fixed quoting again.

* #78 Changed escaped body to non-escaped.

* #78 Fixed new line. Added comment for changelog.

* #78 Fixed removing old comments and typos. Added removing changelog comments and adding a new changelog comment.

* #78 Missed GitHub token.

* #78 Eeeh, new line in markdown with gh string: Fun fun fun !

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! [space][space][enter] ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! \ ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! <br /> ?

* #78 Playing around with escaping $CHANGELOG.

* #78 Fixed non-created changelog.

* #78 Fixed wrong output usage.

* #78 Getting rid of 'Unreleased' for this specific pull request. Next version is used instead.

* #78 Fixed typo on env usage. Fixed deletion of previous comments.

* #78 Where is the env gone?

* #78 Adding global environment variable to have access on it between jobs.

* #78 Why is this environment variable not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Global environments aren't working. Using GitHubs output now.

* #78 Fixed outputs.

* #78 Fixed naming.

* #78 Added deletion of not linked issue.

* #78 Where is the $ coming from?

* #78 Fixed typo, where unnecessary $ was added.

* #78 Fixed usage of env. Misled by typo.

* #78 Getting headache from syntax differences.

* #78 Does env adds the $?

* #78 Last try to get this annoying $ removed!

* #78 Fixed typo! Finally, found the unnecessary $!

* #78 Clean up!

* #78 Making it pretty!

* #78 Polishing!

* Updated version to v2.6.1-alpha+1073 in https://github.com/Ismoh/NoitaMP/pull/80

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/80

* develop Hotfix for version workflow!

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT. Authorised app on GitHub! Hopefully it shouldn't be done each workflow run!

* develop Hotfix for version workflow! Unable to set PAT on gh cli.

* develop Hotfix for version workflow! Trying out authorization header on api requests.

* develop Hotfix for version workflow! Typo!

* develop Hotfix for version workflow! Yet another typo!

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'.

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'. Variable isn't resolved correctly.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks!

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Removed Bearer.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Fixed auth.

* develop Hotfix for version workflow! Still need to use PAT?

* develop Hotfix for version workflow! Still need to use PAT? with Bearer?

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Extended curl command.

* develop Escaped body of curl.

* Get rid of -i

* develop Add pull_request_target for forked pull requests

* develop Fixed curl data.

* develop Fixed body of curl

* develop Added fromJSON

* Added jq for parsing string

* develop Fixed string parsing with jq

* develop printf?

* develop echo pipe jq into variable

* develop String escaped manually

* develop Fixed escaping string by simply doing it manually

* develop Fixed quote typos

* develop Fixed escaped quote typos

* develop Added pull_request_target. Added nektos/act. Added powershell script for running GitHub actions locally.

* develop Fixed wrong json formatting. Added nektos/act for being able to run actions locally, which isn't working atm.

* develop Fixed wrong json formatting with 'jq -Rsa .'.

* develop Yet another string concatenation try!

* develop Yet another string concatenation try! 2

* develop Yet another string concatenation try! 3

* develop Quoting!

* develop Finally using jq!

* develop Finally using jq! Still didnt work.

* develop Finally using jq! Still didn't work either.

* develop This one looks promising. Tested locally on wsl.

* develop Tidying up!

* develop Tidying up!

* develop Print GitHub context!

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* replace wiki links, fandom.com->wiki.gg per official migration (#79)



* Updated version to v2.6.2-alpha+1130 in https://github.com/Ismoh/NoitaMP/pull/79

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/79

* develop Hotfix changelog workflow

* Bump actions/upload-artifact from 2 to 3 (#77)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...







* Updated version to v2.6.3-alpha+1134 in https://github.com/Ismoh/NoitaMP/pull/77

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/77

* develop Hotfix changelog workflow.

* Bump actions/checkout from 2 to 3.1.0 (#82)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...







* Updated version to v2.6.4-alpha+1138 in https://github.com/Ismoh/NoitaMP/pull/82

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/82

* develop Hotfix clean up.

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0 (#83)

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* Removed trigger

pull_request_target is enough. Removed pull_request trigger.





* Updated version to v2.6.5-alpha+1143 in https://github.com/Ismoh/NoitaMP/pull/83

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/83

* Update README.md

Added additional info about current progress

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* Bump HarshCasper/validate-issues-over-pull-requests from 0.1.1 to 0.1.2 (#86)

Bumps [HarshCasper/validate-issues-over-pull-requests](https://github.com/HarshCasper/validate-issues-over-pull-requests) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/HarshCasper/validate-issues-over-pull-requests/releases)
- [Commits](https://github.com/HarshCasper/validate-issues-over-pull-requests/compare/v0.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: HarshCasper/validate-issues-over-pull-requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...






* Updated version to v2.6.6-alpha+1162 in https://github.com/Ismoh/NoitaMP/pull/86

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/86

* Fixed old label name for "help wanted" to "help_wanted"

* Create snyk-container.yml

* Delete snyk-container.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Updated version string to json format

* Update .version

* Update README.md

* Add renovate.json (#90)



* Merge rework of client and server classes into develop (#110)

* Quick and dirty rework of Client and Server Developer want to rework client and server modules/classes #48

* A lot Client and Server rework. Tried EZGUI. #48

* Dependabot?!

* Renamed username to name. Extended logger with log channel. #48

* Reworked sock.lua and updated EZGUI to 0.1.2

* Trying to add lfs

* Little bit UI. SaveSlot. Logger. #48

* Clean up #48

* world seed does not load #48

* Seed synced

* Reworking client/server. #48

* Reworking client/server. 2 #48

* Updated EZGUI to v0.2.0

* ui changes #48

* new ui class added #48

* ui changes #48

* Fixing unit tests #48

* Fixing and extending unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* RTT halved and UI update #48

* Commit before updating EZGUI

* Trying to fix Ezgui #48

* ezgui fixed #48

* newNuid #48

* need nuid #48

* need nuid 2 #48

* need nuid 3 #48

* need nuid 4 #48

* need nuid 5 #48

* Adding luacheck

* Fix missing owner

The localOwner is stored in {name=, guid=} format
When server sends local entities, clients recieve the localOwner

* Only consider root entities for syncing

Some entities have multiple sub entities, but come from one file
This fixes the infinite minas bug

* Better velocity handling

Check if component exists to prevent generating empty tables
Rework spawning to prevent false warning

* #48 Small guid changes.

* #48 Let me do my own acknowledgement!

* #48 Let me do my own acknowledgement! 2

* #48 Added a lot of checks.

* #48 Still duplicated entities.

* #48 Guid and entityData

* #48 entityData

* #48 Trying to fix 'alreadySent'

* #48 New teaser gif added.

* #48 Added polymorphism and version.

* #48 Hopefully fixed public ip issue.

* Add silent os.execute and io.popen

Prevents several cmd windows from opening

* Block FFI extension on Linux

* #48 Added profiler.lua for being able to find bottlenecks!

* #48 Added new de-/serializer (MessagePack) and de-/compressor (ZStandard) for network messages. In addition to this polymorphism is now synced.

* #48 Fixed removing AiComponents. Removed some profiler hacks. Added tick rate for better performance. Added debug ui for detecting in-/exclude entities. Changed detections of dead entities/nuid by multiplying entityId with -1 instead of -99. Improved default mod setting values.

* #48 Adding custom testing map.

* #48 Fixed non-working custom map/biome.

* #48 Changed custom map. Reworking GUID, because locally same GUID can be generated. Added range to detect changes. Fixed clients modSettings for insert servers ip.

* #69 Added CustomProfiler.lua to profile NoitaMP scripts only! Changed testing map to add more enemies. Disabled logging at all for testing performance issues.

* #69 Added profiling of Noita API ModSetting* functions. Changed CustomProfiler threshold to 1ms.

* #48 Fixed bug where zstd wasn't able to be loaded.

* #48 Fixed libraries issue. Added ModSetting for dis-/enable logger at all. Started to rework detection of entities by using coroutines. Disabled Client and Server updateVariables. Added EntityUtils cache. Removed Ubuntu lua testing workflow.

* #48 Fixed 'not enough memory'. Refactored profiler and plotly.lua to be able to profile at runtime. Disabled some profiling function, to avoid stack overflow!

* Updated plotly.js version from 2.9.0 to 2.16.0

* Added bar chart settings

* Added bar chart entry text

* #48 Extended profiling to find the FPS drop issue.

* #48 Added garbage collector functions. Added git submodules updater. Fixed math extensions. Added fileUtil function for getting Windows desktop directory path.

* #48 Updated git submodules updater.

* #38 Add synchronisation for client and server mods (#85)

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* implement server onNeedModList function and add needModList/Content events

* Finish implementing server side mod sync functions and add onNeedModContent

* make modListCached a prop on Server class

* make onNeedModContent also return workshop id to avoid overwriting workshop mods

* Finish implementing mod synchronisation

* make onNeedModList run on connection to server

* move mod conflict gui into drawModConflictWarning function

* disable auto formatting

* fix Client.lua formatting and add CustomProfiler to onNeedModList/Content



* Updated version to v2.6.6-alpha+1223 in https://github.com/Ismoh/NoitaMP/pull/85

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/85

* Fixed non working version workflow manually

* #48 Changed CustomProfiler.lua settings. Added comments regarding possible memory leak!

* #48 Reworking entity processing for networking. Removed one of x caches. Added a new small cache for transform. Changed small wordings. Changed code formatting.

* #48 Added destroying entities on client. Added workaround to get __len on lua5.1. Added removing dead entities on transformCache. Added check to see if entityId is a remoteMinä. Added check if entity changed (health, rotation, velocity, x, y) depending on threshold set in ModSettings. Added simple and stupid UI text, if transformCache got huge! Fixed broken modSetting for change detection threshold.

* #48 Fixed assigning metatable. Hopefully fixed annoying broken windows lua testing workflow.

* #48 Added table metamethod function to set default metamethods to a table. Added table.metamethods test. Added EntityUtils transform cache. Removed Server and Client cache. Removed EntityUtils entity cache.

* #48 Fixed broken windows lua testing workflow

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows.

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows. The second :)

* #48 Fixed usage of logger when running on GitHub.

* #48 Fixed order of checks when defining metamethods.

* #48 Fixed table metamethods 'table_extensions.lua:179: stack overflow'.

* #48 Fixed errors after rework.

* #48 Added logging to unit test.

* #48 Added metamethods to cache tables. (Doesn't seem to work!) Added memory usage to CustomProfiler.lua. Fixed Velocity bug when calculating any changes.

* #48 Rework no.3. Server FPS drops are gone. Looks promising! Client still broken, will be fixed soon. Improved CustomProfiler.lua.

* #48 Fixed missing stops of CustomProfiler, which was leading to memory overflow. Got rid of EntityGetRootEntity, which was also leading to problems and not synced entities, like Minäs wands.

* #48 Added possibility to send readable tables via sock.lua. Removed not used files anymore! Reworked cache on Server and Client. Server does have a cache now for each client. Reworked 'alreadySent', but isn't working yet. Small cleaning code. Fixed missing nuid on Servers Minä. Changed version to json format. Fixed needModList- and needModContent schemas. Added function in NuidUtils.lua to clean cache on Server and Client; still not working. Added cache sizes to UI. Changed log level order.

* #48 Added resendIdentifier to NetworkUtils events. Reworked acknowledgment cache for Server and Client. Reworked resend mechanism based on new acknowledgment cache. Reworked displaying cache size. Simplified table.size(). Fixed GlobalsUtils for getting and setting dead nuids. Fixed EntityUtils.destroyByNuid. Need to fix removing entries of acknowledgment cache, when an entity died.

* #48 Tried to add lua unit testing locally. Didn't work!

* #48 Added unit test templates. Fixed several nil bugs.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Improved sock.lua being able to receive non index based tables. Fixed timing issues when sending playerInfo. Removed cache from Server, because Server send by its Client copies. Reordering nuid_debugger. Added functions for detecting if entity is a child. Changed playerInfo schema. Added resendIdentifier (optional - improves performance) for needNuid schema. Removed enabling disabled components and added tags instead.

* rework type annotations for most files and minor bugfixing around type issues

* rollback some changes and ensure critical functions do not silently fail

* #48 Several bug fixes. Additionally, parent and child spawning.

* #48 Moved child adding. Added clearing cache.

* #48 Added luarocks, because I am sick of this dependency problems. In addition, I want to run unit tests easily. Messed around with broken paths in test lua files. Fixed sending acknowledgements. Added removing cache entries when entity died. Removed metamethod.mode! Tried to fix 'alreadySent', still doesn't work. Need unit tests for this!

* #48 Quick fix for unreasonable cache entries for events, which must not be cached and acknowledged.

* Developer want to use luarocks for dependencies (#100)

* #92 Added luarocks installation files.

* #92 Added all-in-one luarocks executable. Added README.md how to use luarocks init in NoitaMP repo. Fixed smaller bugs on existing files.

* #92 Looks like luarocks is working. package.paths aren't fully working yet.

* #92 Updated README.md. Updated rockspec. Removed lfs.lua, which is using FFI.

* #92 Reworking init_package_loading.lua. Need to know how to use LuaJIT in luarocks!

* #92 Set LuaJIT-2.0.4 as lua interpreter for luarocks!

* #92 Trying to add NSEW as a luarocks dependency, but doesn't like it atm.

* #92 It's not possible to install, make or build dependencies on others repositories. Need to fork NSEW and add luarocks there. Damn it!

* #92 Change Noita-Synchronise-Expansive-Worlds dependency name to nsew

* #92 Changed rockspec. Removed NSEW rockspec. Trying to get tests running.

* #92 Moved files regarding luarocks directory structure.

* #92 Fixed broken test files fetching. Still trying to run tests. Changed rockspec as file names changed.

* #92 Fixed broken test files fetching. Changed rockspec as file names changed. Tests are running locally, but some fail! Fixed broken badges and added new ones.

* #92 Fixed execution of unit tests, they are now running as expected.

* #92 Updated LuaRocks README.md

* #92 Fixing GitHub actions. Need to know paths, that's why a dirty commit and push is done.

* #92 Fixed GitHub action for unit testing.

* #92 Fixed GitHub action Installing and initialising LuaRocks and configuring LuaJIT.

* #92 Fixed missing Lua interpreter.

* #92 Fixed typo in path.

* #92 GitHub still doesn't like the path.

* #92 Fixed lua interpreter not found.

* #92 Fixed LuaRocks paths with `luarocks config ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --scope="project" ..`

* #92 Fixed LuaRocks paths with `luarocks init noita-mp`

* #92 Make sure luarocks does have any installed lua version.

* #92 Make sure luarocks does have any installed lua version. Removed git submodule updater.

* #92 LuaJIT is already set.

* #92 Fixed wrong path and coveralls.

* #92 Missing luarocks install packages.

* #92 Fixed luacov path issue.

* #92 Removed unnecessary installs.

* #92 Added mingw32-gcc for lfs building.

* #92 Install LuaJIT to fix LuaRocks not finding any Lua installation.

* #92 Moved JIT modules and fixed missing directories on GitHub.

* #92 Fixed paths.

* #92 Moved Noitas lua51.dll into LuaJIT ones, to see if `luajit.exe: error loading module 'enet' from file 'D:\a\NoitaMP\NoitaMP\mods\noita-mp\lua_modules\lib\lua\5.1\enet.dll':%1 is not a valid Win32 application.` is fixed then. Because locally it's working fine!

* #92 Don't use Luas dll, use Noitas dll instead.

* #92 LuaRocks don't like Noitas dll.

* #92 Make sure MSYS2 uses mingw32 with i686 to see if enet is recognised as a 32bit library. In addition, added -m32 flag.

* #92 Remove mingw32 flags.

* #92 Replaced MSYS2 with Visual Studio x86

* #92 Missed `shell: cmd`.

* #92 MSYS2 or better to say MINGW32 is necessary for luarocks dependency installs. Changed LauJIT build and install action.

* #92 Fixed wrong package name for MSYS2/MINGW32 installation.

* #92 Let's see what LuaRocks is using!

* #92 Trying to fix wrong gcc flags by keeping LuaRocks config the same as local.

* #92 Where is mingw32-gcc installed?

* #92 It's all about naming!

* #92 Set a location to install msys2 into workspace directory.

* #92 Fixed path to i686-w64-mingw32-gcc.exe

* #92 Try it as it's working locally.

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 Fucking stupid LuaRocks!

* #92 Fucking stupid LuaRocks!

* Update windows-latest-lua-unit-testing.yml

* Make use of MVSC prompt

* Updated path with ${{ github.workspace }}

* Looks like luarocks forgot his own config file

* Use luajit.exe

* Update windows-latest-lua-unit-testing.yml

* Update LPATH and CPATH

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Exit?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Added new LuaCov config file

* Changed luacov-coveralls command

* Changed luacov and luacov-coveralls commands

* Where is the report file?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 I think MSVC logging isn't properly working.

* #92 Fixed wrong path.

* #92 Fixed wrong shell version.

* #92 Fixed paths using GitHubs variable.

* #92 Fixed powershell commands.

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed wrong luarocks path.

* Fixed wrong windows command

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed CodeCov path. Coveralls still didn't work.

* #92 Where is the log going? Uff

* #92 luajit.exe instead of lua.bat?

* #92 Let's try powershell again.

* #92 Path issues again!

* #92 Looks like `shell: cmd` isn't working properly, when using LuaRocks, because after the first `luarocks` command the shell/bash is exited. That's why I am using powershell now.

* #92 Fixed formatting.

* Update windows-latest-lua-unit-testing.yml

* #92 Make sure necessary files are available.

* #92 CMD again.. Trying `call`.

* #92 Added exit code, when necessary files are missing. Using cmd with `call ...` now. Looks promising.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue. Added custom GitHub error messages.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Added LuaRocks path to GitHub path.

* #92 Added LuaRocks path to GitHub path. What's happening?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Write LuaRocks path directly in $GITHUB_PATH

* #92 Does setx work?

* #92 Does setx work?

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Added `LUA_PATH` and `LUA_CPATH` as global environment to be able to set those environment variables.

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Fixed setting GitHub environment variable.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 What's happening with the key?

* #92 What's wrong with json.lua?

* #92 LuaRocks is now working fine! Fixed several unit test and reworked guid.lua using uuid.lua now! Temporary disabled NetworkUtils_test.lua. Extended README.md for LuaRocks setup.

* #92 Don't stop unit test workflow, when coverage isn't working anymore.

* #92 luacov.stats.out exists, but luacov.report.out doesn't?

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* Update windows-latest-lua-unit-testing.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

https://codecov.freshdesk.com/support/solutions/articles/43000593943-files-not-showing-in-codecov-fixing-paths-

* #92 CodeCov fixes for paths doesn't work. Trying to do it myself.

* Update windows-latest-lua-unit-testing.yml

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Does fix luacov-coveralls ?

* #92 Updating README.md for more usability.

* #92 Fixed coveralls `base-path` or `root`-path.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Changed README.md

* #92 Testing failed and errored unit tests.

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Re- and moved all unnecessary files.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* #92 Does this finally fix this bitchy cmd syntax?

* Finally fixed workflow!

* Changed version back to 0.1.1

* 0.1.0

* Update version-and-changelog-update.yml

* #92 Testing Ismoh-Games/find-linked-issues

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4 with PAT.

* #92 Moved and updated actions/checkout

* #92 Why isn't my latest workflow.yml used?

* #92 Updated Ismoh-Games/find-linked-issues to v0.0.5

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.



* Updated version to v3.0.0-alpha+1285 in https://github.com/Ismoh/NoitaMP/pull/100

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/100

* Added NoitaMP contributing flow chart

* Unbenanntes Diagramm.drawio.png eingefügt

* Unbenanntes Diagramm.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md. Fixed version update issues.

* FlowChart-work-around.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md.

* #92 Updating CONTRIBUTING.md.

* Update CONTRIBUTING.md

* #92 Updating CONTRIBUTING.md.

* #48 Updated CONTRIBUTING.md

* Update init_package_loading.lua (#104)

* Update init_package_loading.lua

on game start, there was an error "The current directory is not inside the noita-mp". fixed it, 
io.popen("cd"):read("*a") were return Noita directory, not mod
also don't think we need to check for correct directory, it can't be uncorrect
now it works(how i think) as it supposed to be. 

P.S: there are still error about libs, if i understood correctly, you want to move all libs from \lua_modules to \files\lib\external\ , so i didn't touch it (kinda strange that it's already defined in mod, but still not moved)

* Update init_package_loading.lua

keep directory check

* Rework network and entity caches to use the C API (#105)

* Create cache.c and add CMakeList file

* add lua51 lib file for linking

* add solution file and update gitignore

* move cache file to be in the main folder and push dll

* make cache.c export the required dll functions

* disable precompiled headers as they are not needed

* make linker use an absolute path for lua51.lib

* add setCache function to cache.c

* add cache read functions

* change luaL_checknumber to luaL_checkinteger

* move dll output to be in mods/noita-mp

* implement delete functions

* switch entityutils to use new cache system

* change order of params to cache.set call

* max cache.c check for duplicates before adding data

* update Ui.lua to use new cache system

* change cache build outdir

* fix incorrect types being used for guid

* fix nil check in NoitaComponentUtils.getEntityData

* allow nil nuids

* fix client and server still using old cache funcs

* rename cache to EntityCache

* Fix _crtisvalidheappointer(block) error

* add cacheusage func to get current memory usage

* add checks before entitycache calls to avoid fatal errors

* prefix entity cache functions with entityCache

* Add network cache C implementation

* add remove oldest function to network cache

* Mostly implemented new network caching system

* fix bug in network cache profiling function

* actually remember to compile the dll :skull:

* Fix bug in checksum function and other small bugs

* move cache.c to building folder and update msbuild file

* #89 Fixed package.path|cpath issues. Fixed some small bugs. Changed requirements: Used require instead of dofile_once. Added NetworkUtils_test.lua.

* #89 Removed logging.lua and associated files. Added new Logger class. Changed old logging to new one. Changed unit test initialization and executing.

* #89 Added new restart function, thanks to dextercd. Fixed using old logger.

* #89 Removed old and unused files. Removed unnecessary logging. Fixed and added Logger errors. Extended tests.

* #89 Renamed guid.lua to GuidUtils.lua. Renamed clientCacheID to _Id. Changed getClientCacheID to simply use peers guid, but recalculated to a number based on 16: A = 11, etc. pp. Fixed bugs while adding tests.

* #89 Changed clientCacheId to GuidUtils.toNumber

* #89 Added NetworkCacheUtils to have testable function and all functions regarding NetworkCache in one class. Moved both calculation of 'sum' into one function (DRY). Added NetworkCacheUtils_test. Fixed GuidUtils bug. Fixed some tests.

* #89 Reinstalled lfs and removed lfs_ffi. Fixed test. Fixed unit test workflow.

* #89 Updated zstandard library to version v1.5.2 win32. Hopefully fix GitHub issue, when running tests.

* #89 Rebuild libzstd locally with `call "build.generic.cmd" VS2019 Win32 Release v140`.

* #89 Removed building zstd on GitHub.

* #89 Installed luajit-zstd with luarocks. Replaced libzstd.dll with a fresh build from Visual Studio 2015 Win32. Let's see, if this helps on GitHub.

* #89 Let's see, if this helps on GitHub.

* #89 Added x64 of zstd. Changed zstd.lua with wacky hacky loading. Let's see, if this helps on GitHub. I don't think so.

* #89 Does MSVC help?

* #89 Fixed wrong pcall?

* #89 Is LuaJIT x86/32bit ?

* #89 Added table.contentToString, which simply concat table values with a comma. Moved all md5 and NetworkCache function into NetworkCacheUtils.lua. Added checks to NetworkCacheUtils.lua. Added table.contentToString test. Extended NetworkCacheUtils_test.lua with additional tests.

* #89 Fixed typos.

* #89 Added hint regarding pairs order.

* #89 Fixed several bugs. NeedNuid event still broken.

* #89 Fixed several bugs. Added cache logging.

* #89 Added checks for data consistency. Added sendNewGuid. Added new tests. Added overwritten API functions for being able to use two noita instances, without having guid issues.

* #89 Updated zstandard to 1.5.2 per GitHub release.

* #89 Trying to fix zstd ffi.load

* #89 Simply put zstd version into repo dir for reference, since no library provides versions?

* #89 Removed zstd files and added version command.

* fixed bug where noita_root_directory_path could be nil

* fix zstd paths

* add logic for network event resendIdentifiers

* #89 Added resendIdentifier for checking if network message has to be send again.

* #89 No need to deepcopy the data table.

* #89 Small changes.

* remove resendindentifier declaration from events without any

* #89 Added mocked functions. Fixed path issues on different systems. Renamed function for being more clear. Adjusted test related to path issues. Still trying to get alreadySend working.

* add check for nil resendIdentifiers

* #89 Fixed newNuid alreadySent

* make contentToString clean whitespace

* #89 Trying to fix alreadySent issues.

* #89 Removed logging from table_extensions.lua. Changed whoAmI(). Added ackedAt to acknowledgement event. Fixed caching issue, where some networkMessages aren't cached correctly. Changed reading NoitaMP .version. Do not remove networkMessageId when event is acknowledgement. Acknowledgement networkMessages won't be cached, because those will only be sent in callbacks. Changed tests a bit in general. Finally fixed alreadySent tests and issues.

* #89 Change alreadySent tests for being more reliable. Change some Server send functions to return true or false for a small check if message was sent. Added check if inUsedGuids are valid guids.

* #89 Added some tests for alreadySent!

* fix tests for mod content events

* #89 Added NoitaMpSettings.lua, which will replace ModSettings in the future; ModSettings now read and write from NoitaMpSettings.lua! Added MinaUtils.lua. Added winapi.dll for getting processId. Added and changed tests slightly. Moved *localPlayer* function from EntityUtils into MinaUtils. Clean up!

* rename cache.c to the more generic luaExtensions.c, as we can add non-cache funcs

* rename dll to luaExtensions.dll

* remove old dll

* add tests for entityCache

* #89 Change require order. Removed EntityCache from Lua context. Changed tests a bit.

* #89 Added version update for rockspec. Added building luaExtensions.dll when there are changes in the specific luaExtensions.c. Applying PR suggestions.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #89 Changed EntityCache_test.lua slightly.

* rebuild luaExtensions dll

* #89 Rebuild luaExtensions.dll

* #89 Changed EntityCache_test.lua, because setUp() seemed to be broken? There were plenty of entries in cache, although there should only be 5?

* #89 Formatting only.

* #89 Wrong wording.

---------




* Updated version to v4.0.0-alpha+1302 in https://github.com/Ismoh/NoitaMP/pull/105

---------








* Merge branch 'master' into develop

Clean up!

* develop Updated find-linked-issues

* develop Changed commiting into base_ref. Changed README.md

* Fixed tag creation and updating changelog

* Fixed tag creation and updating changelog

* Merge "113-improve-and-clean-codebase" into develop (#114)

* rename file_util to FileUtils to follow the naming pattern

* rename util.lua to Utils.lua

* refactor the noita component scripts

* cleanup init files

* ensure consistent naming of extension files

* rename test files

* clean Ui file

* fix custom profiler using old fileutils path

* fix failing tests

* #113 Added some logging.

* Updated version to v4.1.0-alpha+1184 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated version to v4.1.0-alpha+1195 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/114

* remove line causing test env to fail

* #113 Fixed os detections.

* #113 Manually fixed version, because of workflow issue some days ago.

* Change way that the test files are run

* Delete init_logger_test.lua

Not needed anymore

* Update unitTestRunner.lua

Slightly reformatting

* remove output.txt

* remove unneeded luaunit call

* remove mocking and require calls from each test file that should be moved to the main file

* #113 Fixed ffiExtensions issue where it was loaded more than once. Added lfs_ffi again, but will be removed soon again, I assume.

* #113 Fixed recursive unitTestRunner execution.

* #113 Removed unnecessary lfs_ffi again. Removed hack, for not loading ffiExtensions more than once, but this hided the initial error.

* #113 Fixed Logger.

---------





* # Conflicts:
#	.github/workflows/version-and-changelog-update.yml

* develop Fixed several issues on dependency-updater.yml

* develop Fixed wildcard in powershell

* develop Changed wildcard..

* develop Fixed path issues. Missed `$`

* develop Fixed `Expand-Archive` and paths.

* develop Fixed path again.

* develop Fixed `Remove-Item`.

* develop Added missing `git add`. Clean up.

* develop Fixed `git add` with force. Needs to double check `Expand-Archive` output.

* develop Fixed missing directory. Fixed `git push`.

* develop Fixed git.

* develop Fixed missing `"`

* develop Fixed git command order.

* develop Fixed git command order and added `origin`.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Trying to fix git commands.

* develop Trying to fix git commands.

* develop Ignore LuaRocks for now!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Fixed `gh pr`

* develop Finalised.

* develop Added version file by tagName. Added check, if PR already exists.

* develop Finalised: Do this only on schedule.

* develop Added `git add` for version files.

* develop Finalised dependency-updater.yml

* develop Finished dependency-updater.yml

* develop Finished dependency-updater.yml

* Update dependencies (#126)

* Updated NoitaPatcher dependencies

* Updated nsew dependencies

---------



* Updated version to v4.1.0-alpha+1257 in https://github.com/Ismoh/NoitaMP/pull/126

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/126

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Updated version to v5.0.0-alpha+1262 in https://github.com/Ismoh/NoitaMP/pull/128

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/128

* Create CNAME

* Delete CNAME

* Create CNAME

* Delete CNAME

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Furrior added a commit to Furrior/NoitaMP that referenced this pull request Nov 21, 2023
* Updating master with develop (#135)

* Updating master with develop (#127) (#128)

* #42 Trying to get the branch name within github action.

* #42 Found the head_ref branch name. Is '$' necessary?

* #42 '$' is necessary!

* #42 Adding commits count to version!

* #42 "[detached HEAD 1345a7c] Updated version of this PR to 2.4.0-alpha. 1 file changed, 1 insertion(+), 1 deletion(-) To https://github.com/Ismoh/NoitaMP ! [rejected] HEAD -> 42-developer-want-to-add-github-workflow-action-to-automatically-increase-the-version-of-noitamp (fetch first) error: failed to push some refs to 'https://github.com/Ismoh/NoitaMP'
     hint: Updates were rejected because the remote contains work that you do
     hint: not have locally. This is usually caused by another repository pushing
     hint: to the same ref. You may want to first integrate the remote changes
     hint: (e.g., 'git pull ...') before pushing again.
     hint: See the 'Note about fast-forwards' in 'git push --help' for details."

* #42 "You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch>"

* #42 "You have divergent branches and need to specify how to reconcile them." Use ref for using the merge and not the initial branch

* #42 Does "actions/checkout@v3" help?

* #42 Error: .github#L1: a step cannot have both the `uses` and `run` keys

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch>

* #42 You are not currently on a branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.
        git pull <remote> <branch> 2

* Updated version of this PR to 2.4.0-alpha

* #42 It's working fine, besides overwriting .version file. Should work now.

* Updated version of this PR to 2.4.0-alpha

* #42 I want githubs icon on the commit

* Updated version of this PR to 2.5.0-alpha

* #42 Fixed version

* #42 Doesnt work when merged

* #42 Use base ref instead.

* #42 Adding comment to the pull request.

* #42 Fixing syntax.

* #42 Fixing syntax 2

* #42 Fixing syntax 3

* #42 Fixing syntax 4

* #42 Fixing syntax 5

* #42 Fixing syntax 6

* #42 Fixing syntax 7

* #42 Fixing syntax 8

* #42 Fixing syntax 9

* #42 Fixing syntax 10

* #42 Fixing syntax 11

* #42 Fixing syntax 12

* #42 Fixing syntax 13

* #42 Escaping everything!

* #42 Escaping everything! doesnt help

* #42 Escaping everything! doesnt help 2

* #42 Escaping everything! doesnt help 3

* #42 Escaping everything! doesnt help 4

* #42 Found the issue.

* #42 Found the issue. 2

* #42 Found the issue. 3

* #42 Found the issue. 4

* #42 Found the issue. 5

* #42 polishing

* #42 polishing 2

* #42 polishing 3

* #42 Colon is fycking up the json body.

* #42 Colon is fycking up the json body. 2

* #42 Colon is fycking up the json body. 3

* #42 Colon is fycking up the json body. 4

* #42 Triple escape characters.

* #42 Head ref doesnt exist, after merge.

* #42 merged flag is false?

* #42 merged flag is false?

* #42 merged flag is false? 2

* #42 merged flag is false? 2

* Updated version of https://github.com/Ismoh/NoitaMP/pull/65 to v2.4.0-alpha+1040

* #42 Polishing!

* #42 Made a mistake. Fixing version manually.

* Updated version to v2.4.0-alpha+1045 in https://github.com/Ismoh/NoitaMP/pull/66

* Bump HardNorth/github-version-generate from 1.1.2 to 1.2.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* #72 Added changelog generator in a separated yaml file and in version.yml.

* #72 Removed changelog generator in version.yml.

* #72 Fixed non-existing tag key in changelog-generator.yml

* #72 Added changelog generator to version.yml

* #72 Fixed not working changelog generator workflow action.

* #72 Trying to get the directories working?!

* #72 Still trying to find out, where CHANGELOG.md is created.

* #72 Typo in yaml.

* #72 Changed branch from github.base_ref to github.head_ref, because CHANGELOG.md has to be changed in the PR-branch itself.

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* #72 Fixed order of workflow steps, to create first a tag, then updating CHANGELOG.md into the merged branch (github.base_ref)

* #72 Changed wording and added version file name.

* #72 Removed CHANGELOG.md, because it was generated not correctly.

* #72 Removed not working changelog-generator.yml. Renamed version.yml to version-and-changelog-update.yml.

* #72 Changed wording and order of steps for a better reading

* Updated version to v2.5.0-alpha+1065 in https://github.com/Ismoh/NoitaMP/pull/73

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/73

* Integrate gource.io because its fun (#75)

* #69 Added gource, because it's fun!

* #69 Fixed 'ERROR: No Git repository found'

* Updated version to v2.6.0-alpha+1070 in https://github.com/Ismoh/NoitaMP/pull/75

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/75

* Version and changelog update on pull requests fails (#80)

* #78 Simply echoing toJSON of github context to find the "development" section info/object on a pull request.

* #78 There is no build-in GitHub API endpoint or a context variable, which contains linked issues. That's why yet another action is added to simply check if an issue is linked to the PR.

* #78 Adding comment when there is no linked issue.

* #78 Fixed workflow: Repo needs to be checked out!

* Update version-and-changelog-update.yml

* #78 Trying to polish stuff, by using gh cli and api endpoints.

* #78 Moved gh cli command to the correct workflow step.

* #78 Changed command and quoting.

* #78 Added GitHub token to be allowed to execute gh cli commands.

* #78 Added gh cli to get all comments regarding versioning and removing them to add a comment with the latest version.

* #78 Fixed wrong jq command.

* #78 Fixed missing quotes on jq command. Changed gource.io only running on develop.

* #78 Fixed broken jq command.

* #78 Fixed broken workflow

* #78 Fixed GitHub API url and changed wording slightly.

* #78 Fixed quoting again.

* #78 Changed escaped body to non-escaped.

* #78 Fixed new line. Added comment for changelog.

* #78 Fixed removing old comments and typos. Added removing changelog comments and adding a new changelog comment.

* #78 Missed GitHub token.

* #78 Eeeh, new line in markdown with gh string: Fun fun fun !

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! [space][space][enter] ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! \ ?

* #78 Eeeh, new line in markdown with gh string: Fun fun fun ! <br /> ?

* #78 Playing around with escaping $CHANGELOG.

* #78 Fixed non-created changelog.

* #78 Fixed wrong output usage.

* #78 Getting rid of 'Unreleased' for this specific pull request. Next version is used instead.

* #78 Fixed typo on env usage. Fixed deletion of previous comments.

* #78 Where is the env gone?

* #78 Adding global environment variable to have access on it between jobs.

* #78 Why is this environment variable not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Why is this environment variable still not set?

* #78 Global environments aren't working. Using GitHubs output now.

* #78 Fixed outputs.

* #78 Fixed naming.

* #78 Added deletion of not linked issue.

* #78 Where is the $ coming from?

* #78 Fixed typo, where unnecessary $ was added.

* #78 Fixed usage of env. Misled by typo.

* #78 Getting headache from syntax differences.

* #78 Does env adds the $?

* #78 Last try to get this annoying $ removed!

* #78 Fixed typo! Finally, found the unnecessary $!

* #78 Clean up!

* #78 Making it pretty!

* #78 Polishing!

* Updated version to v2.6.1-alpha+1073 in https://github.com/Ismoh/NoitaMP/pull/80

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/80

* develop Hotfix for version workflow!

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing.

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. Using PAT instead of GITHUB_TOKEN

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT

* develop Hotfix for version workflow! Permissions were missing. gh login with PAT. Authorised app on GitHub! Hopefully it shouldn't be done each workflow run!

* develop Hotfix for version workflow! Unable to set PAT on gh cli.

* develop Hotfix for version workflow! Trying out authorization header on api requests.

* develop Hotfix for version workflow! Typo!

* develop Hotfix for version workflow! Yet another typo!

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'.

* develop Hotfix for version workflow! Let's try to use 'token' instead of 'Bearer'. Variable isn't resolved correctly.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks!

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Removed Bearer.

* develop Hotfix for version workflow! Switched back to curl, because gh cli sucks! Fixed auth.

* develop Hotfix for version workflow! Still need to use PAT?

* develop Hotfix for version workflow! Still need to use PAT? with Bearer?

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Authentication with username and token(PAT).

* develop Hotfix for version workflow! Extended curl command.

* develop Escaped body of curl.

* Get rid of -i

* develop Add pull_request_target for forked pull requests

* develop Fixed curl data.

* develop Fixed body of curl

* develop Added fromJSON

* Added jq for parsing string

* develop Fixed string parsing with jq

* develop printf?

* develop echo pipe jq into variable

* develop String escaped manually

* develop Fixed escaping string by simply doing it manually

* develop Fixed quote typos

* develop Fixed escaped quote typos

* develop Added pull_request_target. Added nektos/act. Added powershell script for running GitHub actions locally.

* develop Fixed wrong json formatting. Added nektos/act for being able to run actions locally, which isn't working atm.

* develop Fixed wrong json formatting with 'jq -Rsa .'.

* develop Yet another string concatenation try!

* develop Yet another string concatenation try! 2

* develop Yet another string concatenation try! 3

* develop Quoting!

* develop Finally using jq!

* develop Finally using jq! Still didnt work.

* develop Finally using jq! Still didn't work either.

* develop This one looks promising. Tested locally on wsl.

* develop Tidying up!

* develop Tidying up!

* develop Print GitHub context!

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* develop I think, that's it! Final workflow hotfix commit?

* replace wiki links, fandom.com->wiki.gg per official migration (#79)



* Updated version to v2.6.2-alpha+1130 in https://github.com/Ismoh/NoitaMP/pull/79

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/79

* develop Hotfix changelog workflow

* Bump actions/upload-artifact from 2 to 3 (#77)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...







* Updated version to v2.6.3-alpha+1134 in https://github.com/Ismoh/NoitaMP/pull/77

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/77

* develop Hotfix changelog workflow.

* Bump actions/checkout from 2 to 3.1.0 (#82)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...







* Updated version to v2.6.4-alpha+1138 in https://github.com/Ismoh/NoitaMP/pull/82

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/82

* develop Hotfix clean up.

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0 (#83)

* Bump HardNorth/github-version-generate from 1.2.0 to 1.3.0

Bumps [HardNorth/github-version-generate](https://github.com/HardNorth/github-version-generate) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/HardNorth/github-version-generate/releases)
- [Changelog](https://github.com/HardNorth/github-version-generate/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/HardNorth/github-version-generate/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: HardNorth/github-version-generate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...



* Removed trigger

pull_request_target is enough. Removed pull_request trigger.





* Updated version to v2.6.5-alpha+1143 in https://github.com/Ismoh/NoitaMP/pull/83

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/83

* Update README.md

Added additional info about current progress

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* Bump HarshCasper/validate-issues-over-pull-requests from 0.1.1 to 0.1.2 (#86)

Bumps [HarshCasper/validate-issues-over-pull-requests](https://github.com/HarshCasper/validate-issues-over-pull-requests) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/HarshCasper/validate-issues-over-pull-requests/releases)
- [Commits](https://github.com/HarshCasper/validate-issues-over-pull-requests/compare/v0.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: HarshCasper/validate-issues-over-pull-requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...






* Updated version to v2.6.6-alpha+1162 in https://github.com/Ismoh/NoitaMP/pull/86

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/86

* Fixed old label name for "help wanted" to "help_wanted"

* Create snyk-container.yml

* Delete snyk-container.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Updated version string to json format

* Update .version

* Update README.md

* Add renovate.json (#90)



* Merge rework of client and server classes into develop (#110)

* Quick and dirty rework of Client and Server Developer want to rework client and server modules/classes #48

* A lot Client and Server rework. Tried EZGUI. #48

* Dependabot?!

* Renamed username to name. Extended logger with log channel. #48

* Reworked sock.lua and updated EZGUI to 0.1.2

* Trying to add lfs

* Little bit UI. SaveSlot. Logger. #48

* Clean up #48

* world seed does not load #48

* Seed synced

* Reworking client/server. #48

* Reworking client/server. 2 #48

* Updated EZGUI to v0.2.0

* ui changes #48

* new ui class added #48

* ui changes #48

* Fixing unit tests #48

* Fixing and extending unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Fixing unit tests #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* Ui changes #48

* RTT halved and UI update #48

* Commit before updating EZGUI

* Trying to fix Ezgui #48

* ezgui fixed #48

* newNuid #48

* need nuid #48

* need nuid 2 #48

* need nuid 3 #48

* need nuid 4 #48

* need nuid 5 #48

* Adding luacheck

* Fix missing owner

The localOwner is stored in {name=, guid=} format
When server sends local entities, clients recieve the localOwner

* Only consider root entities for syncing

Some entities have multiple sub entities, but come from one file
This fixes the infinite minas bug

* Better velocity handling

Check if component exists to prevent generating empty tables
Rework spawning to prevent false warning

* #48 Small guid changes.

* #48 Let me do my own acknowledgement!

* #48 Let me do my own acknowledgement! 2

* #48 Added a lot of checks.

* #48 Still duplicated entities.

* #48 Guid and entityData

* #48 entityData

* #48 Trying to fix 'alreadySent'

* #48 New teaser gif added.

* #48 Added polymorphism and version.

* #48 Hopefully fixed public ip issue.

* Add silent os.execute and io.popen

Prevents several cmd windows from opening

* Block FFI extension on Linux

* #48 Added profiler.lua for being able to find bottlenecks!

* #48 Added new de-/serializer (MessagePack) and de-/compressor (ZStandard) for network messages. In addition to this polymorphism is now synced.

* #48 Fixed removing AiComponents. Removed some profiler hacks. Added tick rate for better performance. Added debug ui for detecting in-/exclude entities. Changed detections of dead entities/nuid by multiplying entityId with -1 instead of -99. Improved default mod setting values.

* #48 Adding custom testing map.

* #48 Fixed non-working custom map/biome.

* #48 Changed custom map. Reworking GUID, because locally same GUID can be generated. Added range to detect changes. Fixed clients modSettings for insert servers ip.

* #69 Added CustomProfiler.lua to profile NoitaMP scripts only! Changed testing map to add more enemies. Disabled logging at all for testing performance issues.

* #69 Added profiling of Noita API ModSetting* functions. Changed CustomProfiler threshold to 1ms.

* #48 Fixed bug where zstd wasn't able to be loaded.

* #48 Fixed libraries issue. Added ModSetting for dis-/enable logger at all. Started to rework detection of entities by using coroutines. Disabled Client and Server updateVariables. Added EntityUtils cache. Removed Ubuntu lua testing workflow.

* #48 Fixed 'not enough memory'. Refactored profiler and plotly.lua to be able to profile at runtime. Disabled some profiling function, to avoid stack overflow!

* Updated plotly.js version from 2.9.0 to 2.16.0

* Added bar chart settings

* Added bar chart entry text

* #48 Extended profiling to find the FPS drop issue.

* #48 Added garbage collector functions. Added git submodules updater. Fixed math extensions. Added fileUtil function for getting Windows desktop directory path.

* #48 Updated git submodules updater.

* #38 Add synchronisation for client and server mods (#85)

* Added roadmap sketchup with draw.io

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* Updated NoitaMP-Roadmap

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap.svg added

* NoitaMP-Roadmap.drawio.svg updated

* NoitaMP-Roadmap.drawio.svg updated

* Added roadmap to README.md

* NoitaMP-Roadmap finished

* NoitaMP-Roadmap updated

* NoitaMP-Roadmap.drawio.svg finalised

* Delete NoitaMP-Roadmap.svg

* Rename NoitaMP-Roadmap.drawio.svg to NoitaMP-Roadmap.svg

* implement server onNeedModList function and add needModList/Content events

* Finish implementing server side mod sync functions and add onNeedModContent

* make modListCached a prop on Server class

* make onNeedModContent also return workshop id to avoid overwriting workshop mods

* Finish implementing mod synchronisation

* make onNeedModList run on connection to server

* move mod conflict gui into drawModConflictWarning function

* disable auto formatting

* fix Client.lua formatting and add CustomProfiler to onNeedModList/Content



* Updated version to v2.6.6-alpha+1223 in https://github.com/Ismoh/NoitaMP/pull/85

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/85

* Fixed non working version workflow manually

* #48 Changed CustomProfiler.lua settings. Added comments regarding possible memory leak!

* #48 Reworking entity processing for networking. Removed one of x caches. Added a new small cache for transform. Changed small wordings. Changed code formatting.

* #48 Added destroying entities on client. Added workaround to get __len on lua5.1. Added removing dead entities on transformCache. Added check to see if entityId is a remoteMinä. Added check if entity changed (health, rotation, velocity, x, y) depending on threshold set in ModSettings. Added simple and stupid UI text, if transformCache got huge! Fixed broken modSetting for change detection threshold.

* #48 Fixed assigning metatable. Hopefully fixed annoying broken windows lua testing workflow.

* #48 Added table metamethod function to set default metamethods to a table. Added table.metamethods test. Added EntityUtils transform cache. Removed Server and Client cache. Removed EntityUtils entity cache.

* #48 Fixed broken windows lua testing workflow

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows.

* #48 Fixed missing directory on Windows lua testing workflow, because it's Windoof/Winstupid instead Windows. The second :)

* #48 Fixed usage of logger when running on GitHub.

* #48 Fixed order of checks when defining metamethods.

* #48 Fixed table metamethods 'table_extensions.lua:179: stack overflow'.

* #48 Fixed errors after rework.

* #48 Added logging to unit test.

* #48 Added metamethods to cache tables. (Doesn't seem to work!) Added memory usage to CustomProfiler.lua. Fixed Velocity bug when calculating any changes.

* #48 Rework no.3. Server FPS drops are gone. Looks promising! Client still broken, will be fixed soon. Improved CustomProfiler.lua.

* #48 Fixed missing stops of CustomProfiler, which was leading to memory overflow. Got rid of EntityGetRootEntity, which was also leading to problems and not synced entities, like Minäs wands.

* #48 Added possibility to send readable tables via sock.lua. Removed not used files anymore! Reworked cache on Server and Client. Server does have a cache now for each client. Reworked 'alreadySent', but isn't working yet. Small cleaning code. Fixed missing nuid on Servers Minä. Changed version to json format. Fixed needModList- and needModContent schemas. Added function in NuidUtils.lua to clean cache on Server and Client; still not working. Added cache sizes to UI. Changed log level order.

* #48 Added resendIdentifier to NetworkUtils events. Reworked acknowledgment cache for Server and Client. Reworked resend mechanism based on new acknowledgment cache. Reworked displaying cache size. Simplified table.size(). Fixed GlobalsUtils for getting and setting dead nuids. Fixed EntityUtils.destroyByNuid. Need to fix removing entries of acknowledgment cache, when an entity died.

* #48 Tried to add lua unit testing locally. Didn't work!

* #48 Added unit test templates. Fixed several nil bugs.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #48 Improved sock.lua being able to receive non index based tables. Fixed timing issues when sending playerInfo. Removed cache from Server, because Server send by its Client copies. Reordering nuid_debugger. Added functions for detecting if entity is a child. Changed playerInfo schema. Added resendIdentifier (optional - improves performance) for needNuid schema. Removed enabling disabled components and added tags instead.

* rework type annotations for most files and minor bugfixing around type issues

* rollback some changes and ensure critical functions do not silently fail

* #48 Several bug fixes. Additionally, parent and child spawning.

* #48 Moved child adding. Added clearing cache.

* #48 Added luarocks, because I am sick of this dependency problems. In addition, I want to run unit tests easily. Messed around with broken paths in test lua files. Fixed sending acknowledgements. Added removing cache entries when entity died. Removed metamethod.mode! Tried to fix 'alreadySent', still doesn't work. Need unit tests for this!

* #48 Quick fix for unreasonable cache entries for events, which must not be cached and acknowledged.

* Developer want to use luarocks for dependencies (#100)

* #92 Added luarocks installation files.

* #92 Added all-in-one luarocks executable. Added README.md how to use luarocks init in NoitaMP repo. Fixed smaller bugs on existing files.

* #92 Looks like luarocks is working. package.paths aren't fully working yet.

* #92 Updated README.md. Updated rockspec. Removed lfs.lua, which is using FFI.

* #92 Reworking init_package_loading.lua. Need to know how to use LuaJIT in luarocks!

* #92 Set LuaJIT-2.0.4 as lua interpreter for luarocks!

* #92 Trying to add NSEW as a luarocks dependency, but doesn't like it atm.

* #92 It's not possible to install, make or build dependencies on others repositories. Need to fork NSEW and add luarocks there. Damn it!

* #92 Change Noita-Synchronise-Expansive-Worlds dependency name to nsew

* #92 Changed rockspec. Removed NSEW rockspec. Trying to get tests running.

* #92 Moved files regarding luarocks directory structure.

* #92 Fixed broken test files fetching. Still trying to run tests. Changed rockspec as file names changed.

* #92 Fixed broken test files fetching. Changed rockspec as file names changed. Tests are running locally, but some fail! Fixed broken badges and added new ones.

* #92 Fixed execution of unit tests, they are now running as expected.

* #92 Updated LuaRocks README.md

* #92 Fixing GitHub actions. Need to know paths, that's why a dirty commit and push is done.

* #92 Fixed GitHub action for unit testing.

* #92 Fixed GitHub action Installing and initialising LuaRocks and configuring LuaJIT.

* #92 Fixed missing Lua interpreter.

* #92 Fixed typo in path.

* #92 GitHub still doesn't like the path.

* #92 Fixed lua interpreter not found.

* #92 Fixed LuaRocks paths with `luarocks config ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --local ..`

* #92 Fixed LuaRocks paths with `luarocks config --scope="project" ..`

* #92 Fixed LuaRocks paths with `luarocks init noita-mp`

* #92 Make sure luarocks does have any installed lua version.

* #92 Make sure luarocks does have any installed lua version. Removed git submodule updater.

* #92 LuaJIT is already set.

* #92 Fixed wrong path and coveralls.

* #92 Missing luarocks install packages.

* #92 Fixed luacov path issue.

* #92 Removed unnecessary installs.

* #92 Added mingw32-gcc for lfs building.

* #92 Install LuaJIT to fix LuaRocks not finding any Lua installation.

* #92 Moved JIT modules and fixed missing directories on GitHub.

* #92 Fixed paths.

* #92 Moved Noitas lua51.dll into LuaJIT ones, to see if `luajit.exe: error loading module 'enet' from file 'D:\a\NoitaMP\NoitaMP\mods\noita-mp\lua_modules\lib\lua\5.1\enet.dll':%1 is not a valid Win32 application.` is fixed then. Because locally it's working fine!

* #92 Don't use Luas dll, use Noitas dll instead.

* #92 LuaRocks don't like Noitas dll.

* #92 Make sure MSYS2 uses mingw32 with i686 to see if enet is recognised as a 32bit library. In addition, added -m32 flag.

* #92 Remove mingw32 flags.

* #92 Replaced MSYS2 with Visual Studio x86

* #92 Missed `shell: cmd`.

* #92 MSYS2 or better to say MINGW32 is necessary for luarocks dependency installs. Changed LauJIT build and install action.

* #92 Fixed wrong package name for MSYS2/MINGW32 installation.

* #92 Let's see what LuaRocks is using!

* #92 Trying to fix wrong gcc flags by keeping LuaRocks config the same as local.

* #92 Where is mingw32-gcc installed?

* #92 It's all about naming!

* #92 Set a location to install msys2 into workspace directory.

* #92 Fixed path to i686-w64-mingw32-gcc.exe

* #92 Try it as it's working locally.

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 `'D:\a\NoitaMP\NoitaMP\msys64\mingw32\bin\gcc.exe' is not recognized as an internal or external command, operable program or batch file.`

* #92 Fucking stupid LuaRocks!

* #92 Fucking stupid LuaRocks!

* Update windows-latest-lua-unit-testing.yml

* Make use of MVSC prompt

* Updated path with ${{ github.workspace }}

* Looks like luarocks forgot his own config file

* Use luajit.exe

* Update windows-latest-lua-unit-testing.yml

* Update LPATH and CPATH

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Exit?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Added new LuaCov config file

* Changed luacov-coveralls command

* Changed luacov and luacov-coveralls commands

* Where is the report file?

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 Ran luacov and luacov-coveralls installation manually locally and everything is working fine. GitHub what's wrong?

* #92 I think MSVC logging isn't properly working.

* #92 Fixed wrong path.

* #92 Fixed wrong shell version.

* #92 Fixed paths using GitHubs variable.

* #92 Fixed powershell commands.

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed powershell command. Let's keep it complicated!

* #92 Fixed wrong luarocks path.

* Fixed wrong windows command

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed wrong luarocks path.

* #92 Fixed CodeCov path. Coveralls still didn't work.

* #92 Where is the log going? Uff

* #92 luajit.exe instead of lua.bat?

* #92 Let's try powershell again.

* #92 Path issues again!

* #92 Looks like `shell: cmd` isn't working properly, when using LuaRocks, because after the first `luarocks` command the shell/bash is exited. That's why I am using powershell now.

* #92 Fixed formatting.

* Update windows-latest-lua-unit-testing.yml

* #92 Make sure necessary files are available.

* #92 CMD again.. Trying `call`.

* #92 Added exit code, when necessary files are missing. Using cmd with `call ...` now. Looks promising.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue. Added custom GitHub error messages.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* #92 Fixed cmd command issue.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Added LuaRocks path to GitHub path.

* #92 Added LuaRocks path to GitHub path. What's happening?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Does GitHub know LUA_PATHs now? What is inside lua.bat?

* #92 Write LuaRocks path directly in $GITHUB_PATH

* #92 Does setx work?

* #92 Does setx work?

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Use powershell again.

* #92 Added `LUA_PATH` and `LUA_CPATH` as global environment to be able to set those environment variables.

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Powershell is fun!

* #92 Fixed setting GitHub environment variable.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 What's happening with the key?

* #92 What's wrong with json.lua?

* #92 LuaRocks is now working fine! Fixed several unit test and reworked guid.lua using uuid.lua now! Temporary disabled NetworkUtils_test.lua. Extended README.md for LuaRocks setup.

* #92 Don't stop unit test workflow, when coverage isn't working anymore.

* #92 luacov.stats.out exists, but luacov.report.out doesn't?

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Fixing Codecov coverage.

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* #92 Does Codecov path fixes work?

* Update windows-latest-lua-unit-testing.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

* Update codecov.yml

https://codecov.freshdesk.com/support/solutions/articles/43000593943-files-not-showing-in-codecov-fixing-paths-

* #92 CodeCov fixes for paths doesn't work. Trying to do it myself.

* Update windows-latest-lua-unit-testing.yml

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Fixed paths with `sed` instead of using CodeCov `fixes`.

* #92 Does fix luacov-coveralls ?

* #92 Updating README.md for more usability.

* #92 Fixed coveralls `base-path` or `root`-path.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #92 Changed README.md

* #92 Testing failed and errored unit tests.

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Testing failed and errored unit tests. Missed `cmd`!

* #92 Re- and moved all unnecessary files.

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* #92 Does this finally fix this bitchy cmd syntax?

* Finally fixed workflow!

* Changed version back to 0.1.1

* 0.1.0

* Update version-and-changelog-update.yml

* #92 Testing Ismoh-Games/find-linked-issues

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.2-alpha

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4

* #92 Testing Ismoh-Games/find-linked-issues v0.0.4 with PAT.

* #92 Moved and updated actions/checkout

* #92 Why isn't my latest workflow.yml used?

* #92 Updated Ismoh-Games/find-linked-issues to v0.0.5

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.

* #92 Fixed `version-file-extraction-pattern`.



* Updated version to v3.0.0-alpha+1285 in https://github.com/Ismoh/NoitaMP/pull/100

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/100

* Added NoitaMP contributing flow chart

* Unbenanntes Diagramm.drawio.png eingefügt

* Unbenanntes Diagramm.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md. Fixed version update issues.

* FlowChart-work-around.drawio.png eingefügt

* #92 Updating CONTRIBUTING.md.

* #92 Updating CONTRIBUTING.md.

* Update CONTRIBUTING.md

* #92 Updating CONTRIBUTING.md.

* #48 Updated CONTRIBUTING.md

* Update init_package_loading.lua (#104)

* Update init_package_loading.lua

on game start, there was an error "The current directory is not inside the noita-mp". fixed it, 
io.popen("cd"):read("*a") were return Noita directory, not mod
also don't think we need to check for correct directory, it can't be uncorrect
now it works(how i think) as it supposed to be. 

P.S: there are still error about libs, if i understood correctly, you want to move all libs from \lua_modules to \files\lib\external\ , so i didn't touch it (kinda strange that it's already defined in mod, but still not moved)

* Update init_package_loading.lua

keep directory check

* Rework network and entity caches to use the C API (#105)

* Create cache.c and add CMakeList file

* add lua51 lib file for linking

* add solution file and update gitignore

* move cache file to be in the main folder and push dll

* make cache.c export the required dll functions

* disable precompiled headers as they are not needed

* make linker use an absolute path for lua51.lib

* add setCache function to cache.c

* add cache read functions

* change luaL_checknumber to luaL_checkinteger

* move dll output to be in mods/noita-mp

* implement delete functions

* switch entityutils to use new cache system

* change order of params to cache.set call

* max cache.c check for duplicates before adding data

* update Ui.lua to use new cache system

* change cache build outdir

* fix incorrect types being used for guid

* fix nil check in NoitaComponentUtils.getEntityData

* allow nil nuids

* fix client and server still using old cache funcs

* rename cache to EntityCache

* Fix _crtisvalidheappointer(block) error

* add cacheusage func to get current memory usage

* add checks before entitycache calls to avoid fatal errors

* prefix entity cache functions with entityCache

* Add network cache C implementation

* add remove oldest function to network cache

* Mostly implemented new network caching system

* fix bug in network cache profiling function

* actually remember to compile the dll :skull:

* Fix bug in checksum function and other small bugs

* move cache.c to building folder and update msbuild file

* #89 Fixed package.path|cpath issues. Fixed some small bugs. Changed requirements: Used require instead of dofile_once. Added NetworkUtils_test.lua.

* #89 Removed logging.lua and associated files. Added new Logger class. Changed old logging to new one. Changed unit test initialization and executing.

* #89 Added new restart function, thanks to dextercd. Fixed using old logger.

* #89 Removed old and unused files. Removed unnecessary logging. Fixed and added Logger errors. Extended tests.

* #89 Renamed guid.lua to GuidUtils.lua. Renamed clientCacheID to _Id. Changed getClientCacheID to simply use peers guid, but recalculated to a number based on 16: A = 11, etc. pp. Fixed bugs while adding tests.

* #89 Changed clientCacheId to GuidUtils.toNumber

* #89 Added NetworkCacheUtils to have testable function and all functions regarding NetworkCache in one class. Moved both calculation of 'sum' into one function (DRY). Added NetworkCacheUtils_test. Fixed GuidUtils bug. Fixed some tests.

* #89 Reinstalled lfs and removed lfs_ffi. Fixed test. Fixed unit test workflow.

* #89 Updated zstandard library to version v1.5.2 win32. Hopefully fix GitHub issue, when running tests.

* #89 Rebuild libzstd locally with `call "build.generic.cmd" VS2019 Win32 Release v140`.

* #89 Removed building zstd on GitHub.

* #89 Installed luajit-zstd with luarocks. Replaced libzstd.dll with a fresh build from Visual Studio 2015 Win32. Let's see, if this helps on GitHub.

* #89 Let's see, if this helps on GitHub.

* #89 Added x64 of zstd. Changed zstd.lua with wacky hacky loading. Let's see, if this helps on GitHub. I don't think so.

* #89 Does MSVC help?

* #89 Fixed wrong pcall?

* #89 Is LuaJIT x86/32bit ?

* #89 Added table.contentToString, which simply concat table values with a comma. Moved all md5 and NetworkCache function into NetworkCacheUtils.lua. Added checks to NetworkCacheUtils.lua. Added table.contentToString test. Extended NetworkCacheUtils_test.lua with additional tests.

* #89 Fixed typos.

* #89 Added hint regarding pairs order.

* #89 Fixed several bugs. NeedNuid event still broken.

* #89 Fixed several bugs. Added cache logging.

* #89 Added checks for data consistency. Added sendNewGuid. Added new tests. Added overwritten API functions for being able to use two noita instances, without having guid issues.

* #89 Updated zstandard to 1.5.2 per GitHub release.

* #89 Trying to fix zstd ffi.load

* #89 Simply put zstd version into repo dir for reference, since no library provides versions?

* #89 Removed zstd files and added version command.

* fixed bug where noita_root_directory_path could be nil

* fix zstd paths

* add logic for network event resendIdentifiers

* #89 Added resendIdentifier for checking if network message has to be send again.

* #89 No need to deepcopy the data table.

* #89 Small changes.

* remove resendindentifier declaration from events without any

* #89 Added mocked functions. Fixed path issues on different systems. Renamed function for being more clear. Adjusted test related to path issues. Still trying to get alreadySend working.

* add check for nil resendIdentifiers

* #89 Fixed newNuid alreadySent

* make contentToString clean whitespace

* #89 Trying to fix alreadySent issues.

* #89 Removed logging from table_extensions.lua. Changed whoAmI(). Added ackedAt to acknowledgement event. Fixed caching issue, where some networkMessages aren't cached correctly. Changed reading NoitaMP .version. Do not remove networkMessageId when event is acknowledgement. Acknowledgement networkMessages won't be cached, because those will only be sent in callbacks. Changed tests a bit in general. Finally fixed alreadySent tests and issues.

* #89 Change alreadySent tests for being more reliable. Change some Server send functions to return true or false for a small check if message was sent. Added check if inUsedGuids are valid guids.

* #89 Added some tests for alreadySent!

* fix tests for mod content events

* #89 Added NoitaMpSettings.lua, which will replace ModSettings in the future; ModSettings now read and write from NoitaMpSettings.lua! Added MinaUtils.lua. Added winapi.dll for getting processId. Added and changed tests slightly. Moved *localPlayer* function from EntityUtils into MinaUtils. Clean up!

* rename cache.c to the more generic luaExtensions.c, as we can add non-cache funcs

* rename dll to luaExtensions.dll

* remove old dll

* add tests for entityCache

* #89 Change require order. Removed EntityCache from Lua context. Changed tests a bit.

* #89 Added version update for rockspec. Added building luaExtensions.dll when there are changes in the specific luaExtensions.c. Applying PR suggestions.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* #89 Added version update for rockspec.

* Update version-and-changelog-update.yml

* Update version-and-changelog-update.yml

* Update windows-latest-lua-unit-testing.yml

* Update windows-latest-lua-unit-testing.yml

* #89 Changed EntityCache_test.lua slightly.

* rebuild luaExtensions dll

* #89 Rebuild luaExtensions.dll

* #89 Changed EntityCache_test.lua, because setUp() seemed to be broken? There were plenty of entries in cache, although there should only be 5?

* #89 Formatting only.

* #89 Wrong wording.

---------




* Updated version to v4.0.0-alpha+1302 in https://github.com/Ismoh/NoitaMP/pull/105

---------








* Merge branch 'master' into develop

Clean up!

* develop Updated find-linked-issues

* develop Changed commiting into base_ref. Changed README.md

* Fixed tag creation and updating changelog

* Fixed tag creation and updating changelog

* Merge "113-improve-and-clean-codebase" into develop (#114)

* rename file_util to FileUtils to follow the naming pattern

* rename util.lua to Utils.lua

* refactor the noita component scripts

* cleanup init files

* ensure consistent naming of extension files

* rename test files

* clean Ui file

* fix custom profiler using old fileutils path

* fix failing tests

* #113 Added some logging.

* Updated version to v4.1.0-alpha+1184 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated version to v4.1.0-alpha+1195 in https://github.com/Ismoh/NoitaMP/pull/114

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/114

* remove line causing test env to fail

* #113 Fixed os detections.

* #113 Manually fixed version, because of workflow issue some days ago.

* Change way that the test files are run

* Delete init_logger_test.lua

Not needed anymore

* Update unitTestRunner.lua

Slightly reformatting

* remove output.txt

* remove unneeded luaunit call

* remove mocking and require calls from each test file that should be moved to the main file

* #113 Fixed ffiExtensions issue where it was loaded more than once. Added lfs_ffi again, but will be removed soon again, I assume.

* #113 Fixed recursive unitTestRunner execution.

* #113 Removed unnecessary lfs_ffi again. Removed hack, for not loading ffiExtensions more than once, but this hided the initial error.

* #113 Fixed Logger.

---------





* # Conflicts:
#	.github/workflows/version-and-changelog-update.yml

* develop Fixed several issues on dependency-updater.yml

* develop Fixed wildcard in powershell

* develop Changed wildcard..

* develop Fixed path issues. Missed `$`

* develop Fixed `Expand-Archive` and paths.

* develop Fixed path again.

* develop Fixed `Remove-Item`.

* develop Added missing `git add`. Clean up.

* develop Fixed `git add` with force. Needs to double check `Expand-Archive` output.

* develop Fixed missing directory. Fixed `git push`.

* develop Fixed git.

* develop Fixed missing `"`

* develop Fixed git command order.

* develop Fixed git command order and added `origin`.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Stil trying to fix git issues.

* develop Trying to fix git commands.

* develop Trying to fix git commands.

* develop Ignore LuaRocks for now!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Still git!

* develop Fixed `gh pr`

* develop Finalised.

* develop Added version file by tagName. Added check, if PR already exists.

* develop Finalised: Do this only on schedule.

* develop Added `git add` for version files.

* develop Finalised dependency-updater.yml

* develop Finished dependency-updater.yml

* develop Finished dependency-updater.yml

* Update dependencies (#126)

* Updated NoitaPatcher dependencies

* Updated nsew dependencies

---------



* Updated version to v4.1.0-alpha+1257 in https://github.com/Ismoh/NoitaMP/pull/126

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/126

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Updated version to v5.0.0-alpha+1262 in https://github.com/Ismoh/NoitaMP/pull/128

* Updated CHANGELOG.md in https://github.com/Ismoh/NoitaMP/pull/128

* Create CNAME

* Delete CNAME

* Create CNAME

* Delete CNAME

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* imporove current docs

* remove placeholders from funding

* bug report template markdown standard

* mkdocs base

* mkdocs base

* Hyperlinks fix in contributing

* mkdocs somewhy doesnt support crossing text with ~~, lol

* Using actual noitamp logo for logo

* better job name

* del: useless \

* token to gh token

* Trigger actions

* Trigger actions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Torben H <Ismoh@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <action@github.com>
Co-authored-by: github-actions <action@github.comVG>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismoh <12631485+Ismoh@users.noreply.github.com>
Co-authored-by: quiddity-wp <quiddity-wp@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: BlueAmulet <43395286+BlueAmulet@users.noreply.github.com>
Co-authored-by: Scrymmery <49278078+Scrymmery@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. This will increase MINOR version number, when merged into develop. good_first_issue Good for newcomers
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

General improvements and just cleaning up the codebase
3 participants