Laserzwei
-
Posts
399 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by Laserzwei
-
-
would it be possible to let factory without ingredients produced at a reduced rate, say, 1/10th? to simulate traders replenishing them as they do when you are in sector.
In theory absolutely.
But why not give it the resources and simulate the production the way it would be in sector? That way it might still produce when players come around.
This however are features for the timeframe of versions 1.0-1.1.
-
Am a moron or not seeing it
I am used to forum that have download link showing but can't find your mod download link
at the bottom of the very first post, before the second
-
Is there a plan to update good consumers along with factories. Ex. Military Outposts, Habitats, Casinos? I love the production so far but without a way to consume the goods I feel there will be a lot of unsalable final products.
Yes it is planned. It belongs to update 1.1 (see the roadmap)
-
I am not maintaining this anymore. Salminar was so nice to migrate my code into his.
For any requests go right here:
-
I am not maintaining this mod anymore.
For questions and a fresh UI go right here:
http://www.avorion.net/forum/index.php/topic,1895.0.html
This mod was based on HellkerN's coding snippets:
http://www.avorion.net/forum/index.php/topic,1846.0.html
But it goes further, as it modifies the UI to just feel right:
Cargo:
Crew:
-
add the raw oil factory as well ;)
-
what do you mean by not backward compatible? does it need a galaxy reset?
once you installed 0.9_6b you should avoid going back to 0.9_5.
upgrading is fine
Edit: Also clarified it on the front page.
also, does this fix the sector load time issue with the colliders?yes
-
0.9_6b Only for beta 0.10.3.7509 released
-
Thank you for fixing this bug!
-
I will have a look at it. Tbh atm. I haven't even installed the new patch yet.
More compatibility sounds awesome :D
-
I have not looked into it but the Out of sector production might save data. At least I hope it does.
It does save in a File the same way as JayNic suggested. With more error handling though.
However here is how it should be done in Avorion. It's bugged atm you can read it here
-
line 34 in gamblingmanager.lua seems to be missing brackets:
function initialize()
print("I am initialized.")
if (onServer) then
gambleCost = 75000
maxGamble = 6
gambleCooldown = 10 * 60 --10 minutes cooldown
gambleAmount = maxGamble
end
if (onClient()) then
--requestData()
end
-
linux. just saw the patch now :)
You are not the first one to ask :D
anyway, since I got the mod enabled sector generation is way way slower if I jump in a new sector that turns out to have asteroidswould you be able to time initialization times? looks like jumping in a sector afterward is fine.
That is because I accidentally call a function that resolves Collision issiues on every sectorchange. It should only be called in some rare situations. I have a fix for it but it's not a [critcal] problem. If you want it pm me. or wait for 0.9_6 ;)
-
what about this one tho?
[OOSP] This is not critical on first start:
Loading galaxyticks failed: data/scripts/server/tickhandler.lua:34: cannot open file 'galaxyticks.txt' (No such file or directory)
keeps happening even after many serer restarts
windows or linux?
look in the version history spoiler.
[bugfixes]
-
[bug] if for some reason (server crashing etc.) no full server save was executed, it is likely that the galaxytick.txt file was never created and therefore the calculation couldn't be done properly which might feel like the mod is not working.
if you see the following on every serverstart in your serverlog:
Wed Feb 08 00:40:38 2017| [OOSP] This is not critical on first start: Wed Feb 08 00:40:38 2017| Loading galaxyticks failed: data/scripts/server/tickhandler.lua:34: cannot open file 'galaxyticks.txt' (No such file or directory)
-
Chances are very high you suffer from this problem.
Only if you show these symptoms place this in data/scripts/server:
please report if it worked!
-
-
Those aren't warnings.
It's totally healthy output.
It is not very informative of what exactly is going on to outsiders.
But i break it down for you:
Thu Feb 9 07:33:47 2017| [OOSP] can't do single process: Oil
Manufacturer "Eaci'qig" is missing Oil (and maybe other ressources) to start production.
Thu Feb 9 07:33:47 2017| [OOSP] Metal Plate: 7331 | required: 2 Thu Feb 9 07:33:47 2017| [OOSP] can't do single process: Coolant
Factory "Neaau" has enough Metal Plates, but lacks Coolant.
Thu Feb 9 07:33:47 2017| [OOSP] can't do single process: Wire
Factory "Moiqoi" is missing Wires
and so on.
Here is what a full working production might look like:
I made it a little more readable. the changes are marked green
Wed Feb 08 09:24:19 2017| [OOSP] timestamp aquired: 269035
Wed Feb 08 09:24:19 2017| [OOSP] ${Water} Collector ${L} Vizu
Wed Feb 08 09:24:19 2017| [OOSP] Status: 0
Wed Feb 08 09:24:19 2017| [OOSP] timeDelta: 511454
Wed Feb 08 09:24:19 2017| [OOSP] Starting with: 6819.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 7.1306254863739
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 3.0698933601379
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 10.139480113983
Wed Feb 08 09:24:19 2017| [OOSP] Current production reduces to: 6816.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Ressources reduce to: 6816.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Garbage Storage Space reduces to: 6816.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Free space for Water: 7532 minus: 3 | required: 4
Wed Feb 08 09:24:19 2017| [OOSP] The Factory is 6816 processes behind.
6816 * 4 = 27264
Wed Feb 08 09:24:19 2017| [OOSP] add 27264 of Water
Wed Feb 08 09:24:19 2017| [OOSP] ${Crystal} Farm ${XL} Emtia
Wed Feb 08 09:24:19 2017| [OOSP] Status: 0
Wed Feb 08 09:24:19 2017| [OOSP] timeDelta: 511454
Wed Feb 08 09:24:19 2017| [OOSP] Starting with: 6819.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 12.143175125122
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 10.139480113983
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 9.1375484466553
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 0
Wed Feb 08 09:24:19 2017| [OOSP] Current production reduces to: 6815.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Ressources reduce to: 6815.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Garbage Storage Space reduces to: 6815.3866666667
Wed Feb 08 09:24:19 2017| [OOSP] Free space for Crystal: 22915 minus: 4 | required: 1
Wed Feb 08 09:24:19 2017| [OOSP] The Factory is 6815 processes behind.
Wed Feb 08 09:24:19 2017| [OOSP] add 6815 of Crystal
Wed Feb 08 09:24:19 2017| [OOSP] Solar Power Plant ${L} Eiey
Wed Feb 08 09:24:19 2017| [OOSP] Status: 0
Wed Feb 08 09:24:19 2017| [OOSP] timeDelta: 511454
Wed Feb 08 09:24:19 2017| [OOSP] Starting with: 3409.6933333333
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 7.1306254863739
Wed Feb 08 09:24:19 2017| [OOSP] Current Process at: 13.243344306946
Wed Feb 08 09:24:19 2017| [OOSP] Current production reduces to: 3407.6933333333
Wed Feb 08 09:24:19 2017| [OOSP] Ressources reduce to: 3407.6933333333
Wed Feb 08 09:24:19 2017| [OOSP] Garbage Storage Space reduces to: 3407.6933333333
Wed Feb 08 09:24:19 2017| [OOSP] Free space for Energy Cell: 16812 minus: 2 | required: 4
Wed Feb 08 09:24:19 2017| [OOSP] The Factory is 3407 processes behind.
Wed Feb 08 09:24:19 2017| [OOSP] add 13628 of Energy Cell
As this mod is still in its testingphase I need to log the details, to find patterns that might lead to problems that still can occur.
-
One more Question:
Was the Server():setValue() designed to keep the data after a serverrestart (like it is done with the /save command) or was is it designed to be erased on Serverrestarts?
-
/ home / avorion / .avorion / galaxies / GalaxyName / there should be server logs. Everything starting with [OOSP] is related to factories. [mOS] is related to Asteroid moving
-
Has anyone been able to get this to run on a Linux server, if so can you PM me how you did it? Thanks!
Did you try it and got an error?
-->pls send me an private message with a link to the logfile.
If not: everyone who has tried (and succeded or failed -yes either) pls send me such a logfile.
I still didn't get any logfile from any linux users. And I don't want to declare my mod stable before i had a glance at such a log. Just to make sure it works as intended.
I didn't try to install as the directory structure doesn't match up.
My directory structure is / home / avorion / .avorion / galaxies / GalaxyName / with factions, players, sectors as directories under GalaxyName.
There should still be a "data" folder. But thanks for the notice. I don't have Linux set up. Could you give me the exact Path to "data"?
no changed the range check to return false always
This solution will only work for you. Every other client still can call the server functions and they won't even notice because the rangecheck is done clientsided.(not my decision. It is copied from claim.lua). Go with my solution. In 0.9_6 it wille be in a single variable at the top of the file.
-
IMOH This is an inconsistant behavior that should addressed very soon.
-
I axed the asteroid jumping anyway :P
I hope you didn't delete any files, did you?
This can lead to inconsistency and crashes on both client and server side.
If you need to make it inaccessible i recommend going into moveAsteroid.lua in lines 63, 398 and 401 change 500000 to something like 1000000000 (=1.000.000.000). Don't use dots though.
-
yep the multi registering in server.lua is a pain int the a$$.
Thank you in advance.
Well 0.9_2 could suffer from a servercrash when jumping with more than 3 Asteroids. so I took down and some other problems showed up a little later (see the version history for more).
-
Has anyone been able to get this to run on a Linux server, if so can you PM me how you did it? Thanks!
Did you try it and got an error?
-->pls send me an private message with a link to the logfile.
If not: everyone who has tried (and succeded or failed -yes either) pls send me such a logfile.
I still didn't get any logfile from any linux users. And I don't want to declare my mod stable before i had a glance at such a log. Just to make sure it works as intended.
-
If you really want to maintain a station youreself: get a nobel metal mine. As they don't need any prerequirements for production.
With this mod you can also choose the sector you want to place it in :P
But in genereal traderoutes are more prosperous, because factories now use up the ingredients and produce products, "while" you aren't in the sector. This makes them last longer aswell :)
-
Make sure the Artifact with 1 Scratch is equipped in the ship close to Station/Asteroid I, the one with two scratches next to Station/Asteroid II and so on...
[MOD] [OOSP]out of sector Production
in Mods
Posted
I wouldn't want to search for that many sectors aswell :P
I'm generally against spawning resources out of thin air, but mines do exactly that. This mitigates the argument. But still doesn't feel right.
I have something in the pipeline that might bring a handy solution for this. It is however far too early to give any specific information. Especially since I just don't have much spare time for the next week.