Jump to content

douglasg14b

Members
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by douglasg14b

  1. Error while adding file "mods/oosp/scripts/player/oosproduction.lua": mods/oosp/scripts/player/oosproduction.lua:15: bad argument #1 to 'max' (number expected, got nil) With the new version (0.99_5)
  2. I've added the ability to search for turrets by damage, and to search for max-damage turrets. The later will only check the next 20,000 seeds (The game will hang for a few seconds while doing this). turretfactory.zip
  3. Thanks! I migrated the fixes over without upgrading to the beta branch, works like a charm.
  4. Just made some factories, logged off, then came back to an AI cargo ship stuck beside every one of my factories/mines. Some several Km away, some within their tractor-beam range. While these traders are here, no others come to trade with the factories. I've tried bumping them, and removing and replacing all docks on the factories. On only a single factory, the "stuck" ship vanished after replacing all docks and a while later a new trader came, and continued the normal cycle. All other factories still have stuck traders. Some other reports: https://steamcommunity.com/app/445220/discussions/0/2906376154325005405 https://steamcommunity.com/app/445220/discussions/1/1618346571421896528 https://steamcommunity.com/app/445220/discussions/1/1489992713692832149 https://www.avorion.net/forum/index.php?topic=2587.0 Reproduction Steps: This can be reproduced by unloading a sector while an AI trader is approaching a factory. They can be in the approaching stage, or in the tractor-beaming stage. When you load the sector again, the ships will be stuck, and no other trades will occur. Relevant Log Entry: I received this error once, and only once. I am not sure what triggered it, but I have been unable to get this error to show back up in the logs since it's first occurrence. 2018-01-28 03-24-11| could not execute function 'updateServer' in '"data/scripts/entity/merchants/tradeship.lua"': 2018-01-28 03-24-11| vector::_M_range_check: __n (which is 1) >= this->size() (which is 1) 2018-01-28 03-24-11| [C]:-1: in function isDockFree 2018-01-28 03-24-11| data/scripts/entity/ai/dock.lua:31: in function flyToDock 2018-01-28 03-24-11| data/scripts/entity/ai/trade.lua:75: in function updateServerAI 2018-01-28 03-24-11| data/scripts/entity/merchants/tradeship.lua:62: in function ? 2018-01-28 03-24-11| Setting state to invalid.
  5. I made a few changes to this mod if you want to integrate any. Instead of modifying the types of fields directly, I added a few variables to control the size of asteroids, as well as the resource probability. I feel like this makes for a cleaner asteroid field, and makes it somewhat configurable by the player. You can now set resource asteroids to be a certain multiplier bigger, and non-resource ones to be a different multiplier. SectorGenerator.zip
  6. Followed the advice in another thread to find where the beacons where: /run package.path = package.path .. ";data/scripts/lib/?.lua"; local OperationExodus = require("story/operationexodus"); local a, b, c, d = unpack(OperationExodus.getCornerPoints()); print (a.x, a.y); print (b.x, b.y); print (c.x, c.y); print (d.x, d.y); Finally jumped to the sector, and the sector would not load, and was just hung, I disconnected. When I try and reconnect it just says the server is unavailable after a minute or "connecting".... Others can still connect and play normally on the server. Logs say the following right when I went to jump: The above problem was corrected after a server restart.
  7. Same problem here :/ Empty final location, all that was there where some pirates... any known way to prevent this?
  8. Typically if I was to think of a mod loader, it would be able to: -- Load files into their appropriate directories -- Manage file merges (mod inserts code into an existing file) -- Handles and warns of conflicts during merges -- Handles mod dependencies (Mod B requires Mod A...etc) [i would optional this until we have an official mod repository] -- Can be used without installing 3rd party libraries/SDKs/frameworks [This may be unrealistic given cross-platform compatibility. I would personally use .NET Core with all necessary dependencies packed with the executable with separate builds per supported OS]
  9. You have no idea how exciting it is to hear that it is in use and modified to work for you! Especially the event scheduler integration, which really lets you customize how hard your pirate events can be. I should probably remove some of the debug messages though, goodness knows how many of those are kicking around. If you have any requests or ideas, please let me know! Aliens are next :D
  10. Update to v1.3 Link v1.3 Changes how parameters work and are parsed. You will now need to enter the actual parameter names you wish to use, such as --player or --count. The reason for this change it to allow for more optional parameters, and the entry of out of order parameters. /spawnpirates douglasg14b 5 10 5 Changes to: /spawnpirates --player douglasg14b --diff 5 --scale 10 --count 5 Please let me know what you think, and provide good or bad feedback here so I can make improvements.
  11. If you spawn AI on AI to attack each other, there seems to be performance issues, which is unrelated to this mod. You can often see this with faction battles. I've been able to test this with up to 25 pirates with only marginal performance impact, maybe your hardware is not up to snuff?
  12. The higher the difficulty the higher the material and tech level of the ships and their weapons. Though if you ever want to use it, but not provide you or others with advanced modules, you can leave the difficulty at 0 and it will chose the default difficulty for your sector.
  13. douglasg14b

    List of mods

    Hey, Suggestion from a web-dev here on your mod-list site, it's trying to be way too "glamorous" at a significant UX cost. The animated background is slow to load and distracting from the content The animated background covers up content with similar colors periodically It plays sound, I thought we where over this 1/2 a decade ago It's like a hidden advertisement you can't mute The full-width navbar is unwieldy, as you need to scan all the way to the edge of the page to find content, this actively makes it harder for readers to quickly digest what is infront of them. Especially combined with the animation and navbar obstruction via background colors. The full-width navbar does not fit without horizontal scrolling even on 1920*1080 screens Nothing against you, I just wanted to highlight some issues with the site as far as usability goes so it can hopefully be taken into account
  14. Test it and find out! (It says "Pirates are attacking this sector!" like normal)
  15. I was initially trying to add a command to the defaultAuthorizationGroup so anyone could use it, but the admin.xml file is being overwritten every time the server restarts, so I have no idea how to do this. The alternative, since this is just a test server, was to give admin to the users I need to test this with. I've been trying the /admin command with no success, I just get back: [pre]<Server> 0 [] added to administrator list[/pre] I'm trying: /admin -a playerName /admin -add playerName /admin -add --name playerName /admin -add [playerName] /admin -add [ --name playerName] How do I add an admin to the server and how do I set up new commands in the admin.xml file without it being overwrittne on server start?
  16. I am not sure about drop rates, but harder spawns are definitely possible. You could replace the default pirate spawns in eventscheduler.lua (scripts/player) with my script and a few parameters. This line: {schedule = random():getInt(60, 80) * 60, script = "piratehunter", to = 560}, Could be replaced with: {schedule = random():getInt(60, 80) * 60, script = "cmd/spawnpirates", arguments = {0, 5, 5}, to = 560}, This would spawn a wave of 5 pirates, with a volume scale multiplier of 5 over the default. The volume scale multiplayer will also increase their DPS. or even {schedule = random():getInt(60, 80) * 60, script = "cmd/spawnpirates", arguments = {0, random():getInt(3, 10), random():getInt(3, 7)}, to = 560}, This would spawn 3 to 7 pirates with a volume scale multiplier between 3 and 10.
  17. There are concerns that need to be addressed regarding voting on mods. Where do you do hold vote? How do you reduce exposure bias (Mere-exposure effect)? Some mods are great for servers, and not so much individual players, there is a much smaller "voter base" for these, even if more people actually use it on a daily basis. As a developer, part of the joy of writing a mod is getting people to use and enjoy your code while bringing in thoughts, suggestions, and ideas of how it can be improved and added to. That is reward enough for me. The code becoming a permanent part of the game if you win the vote eliminates that "reward", since I can no longer make changes, implement suggestions, and take user feedback to improve my "product". Obviously I don't speak for all devs, and that is only my opinion.
  18. douglasg14b

    List of mods

    Hey Tarantel, I've updated the name and description of my pirate attack wave spawner if you don't mind updating that here! A suggestion for this list. Can we start categorizing mods to make discovery a bit easier?
  19. Large update! Changed the command and parameter structure. Did away with hard coded difficulties and created a more dynamic and configurable spawning system Added ability to spawn pirates on another player! An alternative use for this could be to provide more aggressive random events. Instead of using the built-in pirate script you could use this one for the pirate events instead to provide more configurable attacks on your server, or even novel triggers for custom battles! Please let me know what you think of the balancing, and if you recommend any changes or tweaks. As usual, if you notice any issues or concerns, let me know here. Planned Better parameters. Ability to use --player or --difficulty and other parameters out of order or not at all Ability to spawn aliens Note: This mod does not need to be installed on clients, it is a server only mod for you server managers out there.
  20. That's a lot of rep loss. I've missed and shot an allied ship before (I do ~150,000 alpha with my railguns) and lost at least 100k rep. You must have slammed into that station with a sizeable ship.,
  21. Looks like a Tengu from eve (one of the configurations that is):
  22. All good, looks like it was just a misunderstanding. I come from a pretty professional environment, so I'm often taken aback by abrasiveness if I'm not expecting it. I see. For clarity the Params in C# just lets you pass a variable number of parameters or arguments into a function, I think it's similar to luas ... in a function call. In my area of familiarity you would never be able to do return 1,2,3,4 unless the language would automatically create an array or some sort of object like [1,2,3,4] in which case you would get an array back and would index it or loop through it for your value. The behavior you just illustrated is novel for me. I'll let you know the results when I'm back home.
  23. It's based off the same pirate sector attack mechanics as the random event. It uses the pirate faction in the area of space you are in. It would technically be possible to get a random pirate faction, but I wouldn't want it to do that by default. There could be another argument for the random factions. That would probably be a different kind of mod, that just changes the regular events.
  24. Why are you being so abrasive/condescending? That does not seem warranted at all, especially coming from a moderator. You said that it is a --table of players, so I interpreted that as it being a table in your context. I mentioned that I am not familiar with Lua to set a precident so you could hopefully forgive some ignorance of code structure, syntax, and common language structures/definitions. I was not aware that the squiggly brackets surrounding the functioncall would change what it returns, I come from a C# and JavaScript environment and that is not a behavior I am familiar with. That being said, I will try this again when I am home, thank you.
×
×
  • Create New...