Jump to content

Bix

Members
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Bix's Achievements

0

Reputation

  1. Wonderful ! You're still supporting AND improving your mod :D
  2. Unfortunately no, I was launching the server manually, which I wasn't doing everyday since my computer basically run 24/7. I think it's fracked up :/
  3. Where does the server backups are located ? If there's any automatic backup
  4. Hello there, I mad a mistake on my SSD where my server was running. The SSD went full for a night and this morning the server was closed. Each time I open it I get a ton of errors and after some time the console shut down. Is there anything I can do to get the server back online? serverlog_2018-07-31_10-46-58.txt
  5. I've uploaded the file above your post, just erase the original one with mine (remove the .xml at the end, couldn't upload a .lua file) But keep in mind I didn't changed the colors the way I wanted, I just don't know how to do so :/ I'm still investifating
  6. It's not something about number of players, 99.9% sure. The graphics of the UI don't freeze when moved, but the numbers do so yes it may be an overload of refreshes, but it shouldn't as we really don't have a lot of stations, and "only" on or two squads of cargo per station.
  7. Yes I did, but I'd really prefer to get the same color pattern as the vanilla. Red, orange, yellow, purple, blue, green. I know it's not the best for readability but that's faster to spot the different factions. edit : Since the most of color gradiants are between -10 000 and 10 000, I think it's not possible to do so as the code is setting colors by steps of 10 000, if I understand ^^' function GetRelationColor(relation) for _, RC in pairs(RelationColors) do local result = RC.Relation - relation --print(RC.Relation,relation,math.abs(result)) if math.abs(result) < 10000 then return RC.R, RC.G, RC.B end end end ShipNotifier.lua.xml
  8. Niiiiiice ! It seems to work almost perfectly, almost because in one sector the trading post isn't showing up in the list. I will investigate on this. Besides this one, it's fine and the list is updated as soon as the alliance craft is left/boarded ! Now I just need to modify colors a bit, I don't like the current behaviour. I'll try to mimic default target's frames colors.
  9. As I said I have zero knowledge, what I did is to put your code just before the first local with "faction()" in it ^^: local faction = player or player.allianceIndex local playerFaction = Faction() function ShipNotifier.detect() if onClient() then invokeServerFunction('detect') return end local ships = {Sector():getEntitiesByType(EntityType.Ship)} local stations = {Sector():getEntitiesByType(EntityType.Station)} local faction = player or player.allianceIndex local playerFaction = Faction() ShipData = {} ShipData.Ships = {} for _, ship in pairs(ships) do local index = ship.index local name = ship.name local title = ship.translatedTitle local factionIndex = ship.factionIndex local civilship = ship:hasScript("civilship.lua") local relation = playerFaction:getRelations(factionIndex) local bulletin = ship:getValue("hasBulletin") if bulletin == 1 then bulletin = "[!] " else bulletin = "" end --print (tostring(name) .. " | " .. tostring(title) .. " | " .. tostring(factionIndex) .. " | " .. tostring(civilship) .. " | " .. tostring(relation)) local shipData = {index = index, name = name, title = title, factionIndex = factionIndex, civilship = civilship, relation = relation, bulletin = bulletin} table.insert(ShipData.Ships, shipData) end for _, station in pairs(stations) do local index = station.index local name = station.name local title = station.translatedTitle local factionIndex = station.factionIndex local civilship = station:hasScript("civilship.lua") local relation = playerFaction:getRelations(factionIndex) local bulletin = station:getValue("hasBulletin") if bulletin == 1 then bulletin = "[!]" else bulletin = "" end --print (tostring(name) .. " | " .. tostring(title) .. " | " .. tostring(factionIndex) .. " | " .. tostring(civilship) .. " | " .. tostring(relation)) local shipData = {index = index, name = name, title = title, factionIndex = factionIndex, civilship = civilship, relation = relation, bulletin = bulletin} table.insert(ShipData.Ships, shipData) end ShipNotifier.sync() end
  10. Ok Now I follow you. Lag is now completely unacceptable, despite our efforts to recycle turrets and systems. It's now, since we've crossed the great Barrier (maybe not related) (near) impossible to scroll or even give/take any item from the stash. We don't have a lot of ships nor a lot of stations. The fremerate is under 10fps (60 without menu) "Fun" fact : the lag disappears when the window is beeing moved.
  11. Is there a way to show Alliance relations instead of player relations ? local relation = playerFaction:getRelations(factionIndex) Something to change here I think ?
  12. Hey, I've tried your mod few days ago but uninstalled it right after. I made the mistake to contact the station and start researching items without beeing docked but the script gone crazy and I had to restart client and server, I can't keep this installed if it can hang everything like this, that's too bad because the auto research is a really nice feature ! Also, as this overwrite the original script file, do players can run into bugs if having the script installed on server BUT not on their client ?
  13. Ah, yes, watch your topic Draco, something to say about it ^^
  14. I think it's within the same script, but is it possible to show the level of crew inside boxes, the same way you did for cargo ? like this :
  15. Niiiiice thanks a lot that's what I was complaining 30 seconds ago ingame (not kidding ^^) !!
×
×
  • Create New...