Avorion

Avorion

AzimuthLib - Library for modders
51 Comments
Marnok Feb 23 @ 3:53pm 
@Lleu Thanks this worked Perfectly
RogueRaiden Nov 15, 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 Oct 8, 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 Jul 17, 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 Feb 4, 2022 @ 8:40am 
RIP Rinart. You will be missed.
Rinart73  [author] Feb 3, 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] Jan 26, 2022 @ 6:37am 
Не работает
Rinart73  [author] Sep 18, 2021 @ 3:26am 
Он и так обновлен
Quasar Sep 18, 2021 @ 3:09am 
Обнови мод, пожалуйста.
Rinart73  [author] Aug 22, 2021 @ 4:20am 
Taehl, hi. Sure, just PM me and we can discuss that
Taehl Aug 21, 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] Jan 4, 2021 @ 8:16pm 
In your browser address bar - 1722652757
KillYaCee Jan 4, 2021 @ 10:51am 
Where i can get the ID of this mod for a server ?
Rinart73  [author] Sep 7, 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 Sep 6, 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 Jul 11, 2020 @ 6:16pm 
thanks!
Rinart73  [author] Jul 11, 2020 @ 9:03am 
Updated to 0.31 - 1.1.2
Rinart73  [author] Jun 27, 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 Jun 24, 2020 @ 1:53pm 
version update please :)
Rinart73  [author] May 4, 2020 @ 9:55pm 
Coyote Peterson, Can you show me command that you use to launch your server?
Keith DeJager Apr 29, 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] Mar 10, 2020 @ 1:19pm 
Hi [DO] DURR. Yes, I should get some free time in the next days so I will start updating mods.
DURR Mar 10, 2020 @ 12:33pm 
update soon??
Rinart73  [author] Feb 27, 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 Feb 27, 2020 @ 9:32am 
yeah new version is already Stable! :steamhappy:
Please update and Thank you very much! :selike:
RonronLeNounours Nov 10, 2019 @ 4:30pm 
Can you make it compatible with new version ?
Gorodoff-BE Oct 31, 2019 @ 2:59pm 
says not compatible with 0.27 :(
Rinart73  [author] Aug 30, 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) Aug 30, 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] Aug 28, 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) Aug 28, 2019 @ 7:14pm 
I am the server owner xD what am I updating? the mod or the server?
Rinart73  [author] Aug 27, 2019 @ 8:17pm 
Moshine(No Mouse), Ask server owner to perform an update then :/
Moshine(No Mouse) Aug 27, 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) Aug 27, 2019 @ 7:59pm 
Yea sorry man, it's a dedicated MP server
Rinart73  [author] Aug 27, 2019 @ 5:11pm 
Moshine(No Mouse), I need more info. Is this singleplayer or multiplayer?
Moshine(No Mouse) Aug 27, 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 Aug 10, 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 Aug 7, 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] Aug 6, 2019 @ 7:02am 
Will update when I'll have more time.
Serv Aug 6, 2019 @ 5:25am 
Needs updating for 0.25.2
Rinart73  [author] Jul 26, 2019 @ 1:54pm 
Travis, will update when I'll have time
Travis Jul 26, 2019 @ 9:01am 
lol, update needed again 😅
Thanks for all these great mods, Rinart!
Rinart73  [author] Jul 16, 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 Jul 15, 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] Jul 14, 2019 @ 4:49pm 
I'll update when I'll have time. Currently I have too much work.
Travis Jul 14, 2019 @ 1:04pm 
Update for 0.24?
Rinart73  [author] Jun 16, 2019 @ 6:26am 
Guys, seriously, ask devs about that. I suffer from fps issues too
1RGhost Jun 16, 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 Jun 16, 2019 @ 1:56am 
@ R1, reduce youre shadows to minimum, and some fps will come back
Rinart73  [author] May 22, 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.