Avorion

Avorion

AzimuthLib - Library for modders
51 Comments
Marnok 23 Feb @ 3:53pm 
@Lleu Thanks this worked Perfectly
RogueRaiden 15 Nov, 2022 @ 12:25pm 
@Lleu
I gave a quick test trying to load the mod with your changes. seems the other mods still have loading issues. would there also need to be changes in AvorionAnnouncer and GalaxyMapQoL?
Lleu 8 Oct, 2022 @ 1:24am 
Linux server: ... filename is not secure... FIX
information about error: https://avorion.fandom.com/wiki/Modding_Pitfalls

file :1722652757/data/scripts/lib/azimuthlib-basic.lua

diff azimuthlib-basic.lua azimuthlib-basic.lua.orig
379c379
< local filename = "./moddata/"..modName..(isSeedDependant and "_"..GameSettings().seed or "")..".lua"
---
> local filename = dir.."/"..modName..(isSeedDependant and "_"..GameSettings().seed or "")..".lua"
479c479
< local filename = "./moddata/"..modName..(isSeedDependant and "_"..GameSettings().seed or "")..".lua"
---
> local filename = dir.."/"..modName..(isSeedDependant and "_"..GameSettings().seed or "")..".lua"

and create dir ~/.avorion/moddata
RogueRaiden 17 Jul, 2022 @ 9:29am 
hello,
trying to get this and Avorion Announcer loaded on my server.
With AzimuthLib installed alone, no errors. Adding Avorion Announcer gives me these errors:
https://pastebin.com/6TMAp3Hk
it looks like this is an old vanilla bug that some people get and some dont? server is installed on a box with the linux Pterodactyl server management panel
Grimbach 4 Feb, 2022 @ 8:40am 
RIP Rinart. You will be missed.
Rinart73  [author] 3 Feb, 2022 @ 1:33pm 
I'm sorry but I stopped developing mods for an unknown amount of time because of real life stuff. You're free to fork my mods as long as you provide link to original and mention me in the authors.
✪SoulBazilio [31RUS] 26 Jan, 2022 @ 6:37am 
Не работает
Rinart73  [author] 18 Sep, 2021 @ 3:26am 
Он и так обновлен
Квазар 18 Sep, 2021 @ 3:09am 
Обнови мод, пожалуйста.
Rinart73  [author] 22 Aug, 2021 @ 4:20am 
Taehl, hi. Sure, just PM me and we can discuss that
Taehl 21 Aug, 2021 @ 8:19pm 
I'd be happy to share my function for HSLA->RGBA color conversion with you if you want to add support for HSL. I find it handier than HSV in some cases. :)
Rinart73  [author] 4 Jan, 2021 @ 8:16pm 
In your browser address bar - 1722652757
KillYaCee 4 Jan, 2021 @ 10:51am 
Where i can get the ID of this mod for a server ?
Rinart73  [author] 7 Sep, 2020 @ 3:02am 
Phezzan, welcome to a VERY old vanilla bug x_x. My mod was updated to this patch a long time ago. Please contact the devs and talk with them about this bug - some people have it, some don't.
Phezzan 6 Sep, 2020 @ 5:16pm 
https://forum.avorion.net/index.php?/topic/5567-security-patch-relevant-for-modders/

local file, err = io.open(filename, "wb")

[ERROR][AutoResearch]: Failed to load config file 'galaxies/bure/moddata/AutoResearch.lua': filename is not secure
PhearFactor 11 Jul, 2020 @ 6:16pm 
thanks!
Rinart73  [author] 11 Jul, 2020 @ 9:03am 
Updated to 0.31 - 1.1.2
Rinart73  [author] 27 Jun, 2020 @ 4:55pm 
I will update the mod when I will have more time. Due to the Covid and some other reallife stuff I have less time and energy/desire right now. I will return to modding a bit later
PhearFactor 24 Jun, 2020 @ 1:53pm 
version update please :)
Rinart73  [author] 4 May, 2020 @ 9:55pm 
Coyote Peterson, Can you show me command that you use to launch your server?
Keith DeJager 29 Apr, 2020 @ 3:39pm 
Avorion server 1.0 r22861 a0e067673693 - Ubuntu 20.04

Hi, I'm getting the following identical server-side errors across a few of your mods which leads me to believe this library might be the source:

[ERROR][GalaxyMapQoL]: Failed to load config file
[ERROR][GalaxyMapQoL]: Failed to save config file
[ERROR][GateFounder]: Failed to load config file
[ERROR][GateFounder]: Failed to save config file
[ERROR][CrewboardTweaks]: Failed to load config file
[ERROR][CrewboardTweaks]: Failed to save config file

I traced the issue to '/data/scripts/lib/azimuthlib-basic.lua', specifically the loadConfig (line 388) and saveConfig (line 490) functions. I should also mention that my moddata directory is empty and the AvorionServer service has permission to read/write there. Hope this helps. Let me know I can provide any more pertinent info.

https://pastebin.com/yRfhEQBq
Rinart73  [author] 10 Mar, 2020 @ 1:19pm 
Hi [DO] DURR. Yes, I should get some free time in the next days so I will start updating mods.
DURR 10 Mar, 2020 @ 12:33pm 
update soon??
Rinart73  [author] 27 Feb, 2020 @ 9:48am 
Hi. I will when I'll have the time. Currently I'm trying to hunt more bugs for the devs to fix before the game release.
Sanki 27 Feb, 2020 @ 9:32am 
yeah new version is already Stable! :steamhappy:
Please update and Thank you very much! :selike:
RonronLeNounours 10 Nov, 2019 @ 4:30pm 
Can you make it compatible with new version ?
Gorodoff-BE 31 Oct, 2019 @ 2:59pm 
says not compatible with 0.27 :(
Rinart73  [author] 30 Aug, 2019 @ 4:19pm 
Moshine(No Mouse), You could try to paste contents of your folder:
C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1722652757
Into your galaxy folder. There should be a "workshop" folder with installed mods in it.

If everything fails, contact the devs or post on the official Discord server.
Moshine(No Mouse) 30 Aug, 2019 @ 9:00am 
Through the modconfig.lua with a workshop link, the mod did update but the server is telling me it "requires 1.3.4" an older version
Rinart73  [author] 28 Aug, 2019 @ 9:50pm 
Moshine(No Mouse), How did you install the mod in the first place? Try to reinstall it. Ideally it should be updated automatically on server restart. If it doesn't happen then it's probably a game bug.
Moshine(No Mouse) 28 Aug, 2019 @ 7:14pm 
I am the server owner xD what am I updating? the mod or the server?
Rinart73  [author] 27 Aug, 2019 @ 8:17pm 
Moshine(No Mouse), Ask server owner to perform an update then :/
Moshine(No Mouse) 27 Aug, 2019 @ 8:00pm 
I'll reiterate my game won't connect to the server, it still launches but getting a rejected connection to the server
Moshine(No Mouse) 27 Aug, 2019 @ 7:59pm 
Yea sorry man, it's a dedicated MP server
Rinart73  [author] 27 Aug, 2019 @ 5:11pm 
Moshine(No Mouse), I need more info. Is this singleplayer or multiplayer?
Moshine(No Mouse) 27 Aug, 2019 @ 4:28pm 
After this update, my game won't launch. the game says "wrong version, required 1.3.4 installed 1.3.5
SkinFlap 10 Aug, 2019 @ 3:13pm 
In response to what CrossWaveTheProtogen said, I have done the same with two of the mods made by the same owner as this one and they work fine so far after a few hours of play. Simply open the mod settings in game, find the ID on the furthest right hand column, visit the directory for it by changing the path, and update the version number.

I used Notepad++ to do this which also is free and works fine.
Navi the Raptor 7 Aug, 2019 @ 9:55pm 
Sorry for spamming you mod creators, but im just trying to help so people can do simple updates like this, hope you dont mind.

Alright guys i was able to update mine to the newest version of avorion and it seems to work fine
the directory path is

" C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1722652757 "

, you're gonna need an app called Serris Code Editor, it was super easy. once you have the serris code editor, go to the exact directory path i copy & pasted and click the one that says ModInfo click on it, open with serris code editor, and scroll down untill you see Min: 23.3 and Max: 24. and set "Max:24." to "Max: 26(or higher)"and hit the small save icon in the top right, click it twice if youre paranoid, and close out of everything, open up avorion, check the mods section and it should be available, You're Welcome.
Rinart73  [author] 6 Aug, 2019 @ 7:02am 
Will update when I'll have more time.
Serv 6 Aug, 2019 @ 5:25am 
Needs updating for 0.25.2
Rinart73  [author] 26 Jul, 2019 @ 1:54pm 
Travis, will update when I'll have time
Travis 26 Jul, 2019 @ 9:01am 
lol, update needed again 😅
Thanks for all these great mods, Rinart!
Rinart73  [author] 16 Jul, 2019 @ 9:02am 
chabero, And if something will be changed in a minor upgrade, people will get their games broken and they will blame me.
chabero 15 Jul, 2019 @ 5:46am 
Laserzwei have this in his mods: min = "0.23.*", max = "0.24.*"
I think he must with this only update after a bigger Change
Rinart73  [author] 14 Jul, 2019 @ 4:49pm 
I'll update when I'll have time. Currently I have too much work.
Travis 14 Jul, 2019 @ 1:04pm 
Update for 0.24?
Rinart73  [author] 16 Jun, 2019 @ 6:26am 
Guys, seriously, ask devs about that. I suffer from fps issues too
1RGhost 16 Jun, 2019 @ 2:22am 
@chabero
Without mods everything on high: 140 fps
With mods everything on high: 16 fps
With mods everything on low: 18 fps
chabero 16 Jun, 2019 @ 1:56am 
@ R1, reduce youre shadows to minimum, and some fps will come back
Rinart73  [author] 22 May, 2019 @ 1:44pm 
1RGhost, Hi. It's not my mod. Current 0.23 open beta has some clientside performance issues. I have them too. Please report them to the devs. You can use official discord ( https://discord.gg/cdPC5R ), forum or ingame "Report bug" button.