Jump to content

Andy-Blackknight

Members
  • Posts

    89
  • Joined

  • Last visited

Posts posted by Andy-Blackknight

  1. denke mal ist Avorion ServerManager

     

    Server.lua

     

     

    --asm_editedNotice_start

    --This File was modified by the Avorion Server Manager

    --Please do not delete or add Lines beetween the comments: asm_modification_start and asm_modification_end

    --asm_editedNotice_end

    package.path = package.path .. ";data/scripts/lib/?.lua"

    package.path = package.path .. ";data/scripts/server/?.lua"

     

    require ("factions")

    require ("stringutility")

    require ("tickhandler")

     

    --asm_modification_start

    --asm_checkCommandsFunction

    function checkForCommands()

    print("asm_commandrequest")

    local command = io.read()

    if command == "1" then

    Server():save()

    elseif command == "2" then

    Server():stop()

    elseif command == "3" then

    local Sender=io.read()

    local MessageType=io.read()

    local Message=io.read()

    Server():broadcastChatMessage(Sender,MessageType,Message)

    end

     

    end

    --asm_modification_end

    function onStartUp()

    --asm_modification_start

    --asm_checkDelay

    Server():setValue("commandCheckDelay", 0.5)

    --asm_modification_end

        Server():registerCallback("onPlayerLogIn", "onPlayerLogIn")

        Server():registerCallback("onPlayerLogOff", "onPlayerLogOff")

        Galaxy():registerCallback("onPlayerCreated", "onPlayerCreated")

        Galaxy():registerCallback("onFactionCreated", "onFactionCreated")

    startTickHandler()

    end

     

    function onShutDown()

        stopTickHandler()   

     

    end

     

    function update(timeStep)

        increaseTick()

    --asm_modification_start

    --asm_updateLogic

    print("asm_UpdateTick")

    commandCheckDelay= Server():getValue("commandCheckDelay")

    commandCheckDelay = commandCheckDelay - timeStep

    Server():setValue("commandCheckDelay", commandCheckDelay)

    if commandCheckDelay < 0 then

    Server():setValue("commandCheckDelay", 0.5)

    checkForCommands()

    end

    --asm_modification_end

        local guardianRespawnTime = Server():getValue("guardian_respawn_time")

        if guardianRespawnTime then

     

            guardianRespawnTime = guardianRespawnTime - timeStep;

            if guardianRespawnTime < 0 then

                guardianRespawnTime = nil

            end

     

            Server():setValue("guardian_respawn_time", guardianRespawnTime)

        end

     

    end

     

    function onPlayerCreated(index)

        local player = Player(index)

        Server():broadcastChatMessage("Gaming-Network", 0, "Neuer Spieler %s wurde erstellt!"%_t, player.name)

        -- welcome mail

        local mail = Mail()

        mail.money = 50000

        mail.sender = "Gaming-Network Lost-Survivors"

        mail.header = "Willkommen!"

        mail:setResources(2000, 1000, 1000, 1000, 0, 0, 0)

        mail.text = "Willkommen auf unserem Server, bitte bei uns Teamspeak erreichbar sein dort bekommt ihr Suppport oder bekommt bescheid, wenn update oder manuelle Restarts sind (IP: gaming-network.ddnss.de) und im Forum: http://Lost-Survivors.com! Hier hast du ein Paar Ressis für den Start. SEHR WICHTIG: Geht bitte in unser Forum http://lost-survivors.com/index.php?board/51-client-mods/ und ladet euch unsere Mods runter und kopiert sie nach Anleitung (sind nur Nützliche Mods)"

        player:addMail(mail)

    end

     

    function onFactionCreated(index)

     

    end

     

    function onPlayerLogIn(playerIndex)

        local player = Player(playerIndex)

        Server():broadcastChatMessage("Gaming-Network", 0, "Player %s hat die Galaxy betreten"%_t, player.name)

        Server():broadcastChatMessage("Gaming-Network", 0, "Bitte bei uns Teamspeak erreichbar sein dort bekommt ihr Suppport oder bekommt bescheid, wenn update oder manuelle Restarts sind (IP: gaming-network.ddnss.de) oder in unserem Forum: http://Lost-Survivors.com! ***In der Serverbeschreibung seht ihr Version vom Modpack***. Link: http://lost-survivors.com/index.php?board/51-client-mods/")

    player:addScriptOnce("headhunter.lua")

        player:addScriptOnce("eventscheduler.lua")

        player:addScriptOnce("story/spawnswoks.lua")

        player:addScriptOnce("story/spawnai.lua")

        player:addScriptOnce("story/spawnguardian.lua")

        player:addScriptOnce("story/spawnadventurer.lua")

    player:addScriptOnce("player/oosproduction.lua")

    matchResources(player)

     

    -- ModLoader edit start

    printlog("<ModLoader> Adding main ModLoader script to Player: %s", player.name)

    player:addScriptOnce("modloader/modloader.lua")

    -- ModLoader edit end

     

    end

     

    function onPlayerLogOff(playerIndex)

        local player = Player(playerIndex)

        Server():broadcastChatMessage("Gaming-Network", 0, "Player %s hat die Galaxy verlassen, schade."%_t, player.name)

    end

     

     

  2.  

    2017-05-09 22-02-05| <Gaming-Network> Player Crodak hat die Galaxy verlassen, schade.

    2017-05-09 22-02-05| [OOSP][0.9_7c] Wrong Player Logoff

    2017-05-09 22-02-05| [OOSP][0.9_7c] Wrong Player Logoff

    2017-05-09 22-02-05| [OOSP][0.9_7c] Wrong Player Logoff

    2017-05-09 22-02-05| [OOSP][0.9_7c] Wrong Player Logoff

    2017-05-09 22-02-05| couldn't cast 12ServerPlayer to callback sender

    2017-05-09 22-02-05| couldn't cast 12ServerPlayer to callback sender

    2017-05-09 22-02-05| [OOSP][0.9_7c] Event unregisteration: 1 | 1 | 0

    2017-05-09 22-02-05| [OOSP][0.9_7c] ======oos unloading Player Crodak======

    2017-05-09 22-02-05| [OOSP][0.9_7c] Crodak -86:21

    2017-05-09 22-02-05| [OOSP][0.9_7c] timestamp: 51058942 for Sector -86:21 updated

    2017-05-09 22-02-05| Player logged off: Crodak, index: 233:

    2017-05-09 22-02-05| <> You're now the leader of the group. Type /invite [player] to invite other players, or type /leave to leave the group.

    2017-05-09 22-02-07| scheduled save for sector (-88:23), 0xdf7811b0, entities: 1158

    2017-05-09 22-02-07| saving sector (-88:23)

    2017-05-09 22-02-07| asm_UpdateTick

    2017-05-09 22-02-07| asm_commandrequest

    2017-05-09 22-02-07| <> Jump route calculated.

    2017-05-09 22-02-07| sector (-88:23) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-88_23"

    2017-05-09 22-02-07| scheduled save for sector (-86:21), 0x1f031060, entities: 1176

    2017-05-09 22-02-07| saving sector (-86:21)

    2017-05-09 22-02-08| asm_UpdateTick

    2017-05-09 22-02-08| asm_commandrequest

    2017-05-09 22-02-08| sector (-86:21) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-86_21"

    2017-05-09 22-02-08| scheduled save for sector (-84:23), 0x47e3a010, entities: 681

    2017-05-09 22-02-08| saving sector (-84:23)

    2017-05-09 22-02-08| asm_UpdateTick

    2017-05-09 22-02-08| asm_commandrequest

    2017-05-09 22-02-09| sector (-84:23) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-84_23"

    2017-05-09 22-02-09| scheduled save for sector (-83:17), 0x11f2e7a40, entities: 2104

    2017-05-09 22-02-09| saving sector (-83:17)

    2017-05-09 22-02-09| scheduled save for sector (48:-5), 0x11f2e3f30, entities: 149

    2017-05-09 22-02-09| asm_UpdateTick

    2017-05-09 22-02-09| asm_commandrequest

    2017-05-09 22-02-10| scheduled save for sector (1:-22), 0xb5bb96a0, entities: 456

    2017-05-09 22-02-10| sector (-83:17) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-83_17"

    2017-05-09 22-02-10| saving sector (48:-5)

    2017-05-09 22-02-10| scheduled save for sector (-81:26), 0xb5bbb0e0, entities: 629

    2017-05-09 22-02-10| sector (48:-5) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\48_-5"

    2017-05-09 22-02-10| saving sector (1:-22)

    2017-05-09 22-02-10| sector (1:-22) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\1_-22"

    2017-05-09 22-02-10| saving sector (-81:26)

    2017-05-09 22-02-10| scheduled save for sector (2:-24), 0xb5bbd840, entities: 324

    2017-05-09 22-02-11| asm_UpdateTick

    2017-05-09 22-02-11| asm_commandrequest

    2017-05-09 22-02-11| Authentication failed for user 76561198076221479. Reason: Authentication ticket was canceled.

    2017-05-09 22-02-11| Steam authentication denied for 76561198076221479

    2017-05-09 22-02-11| Authentication error for 76561198076221479: Authentication ticket was canceled.

    2017-05-09 22-02-11| sector (-81:26) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-81_26"

    2017-05-09 22-02-11| saving sector (2:-24)

    2017-05-09 22-02-11| sector (2:-24) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\2_-24"

    2017-05-09 22-02-11| scheduled save for sector (-27:-15), 0x11f2df070, entities: 2588

    2017-05-09 22-02-11| saving sector (-27:-15)

    2017-05-09 22-02-11| scheduled save for sector (-86:21), 0x1f031060, entities: 1176

    2017-05-09 22-02-12| sector (-27:-15) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-27_-15"

    2017-05-09 22-02-12| saving sector (-86:21)

    2017-05-09 22-02-12| scheduled save for sector (-84:23), 0x47e3a010, entities: 681

    2017-05-09 22-02-13| scheduled save for sector (-88:23), 0xdf7811b0, entities: 1158

    2017-05-09 22-02-13| sector (-86:21) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-86_21"

    2017-05-09 22-02-13| saving sector (-84:23)

    2017-05-09 22-02-13| sector (-84:23) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-84_23"

    2017-05-09 22-02-13| saving sector (-88:23)

    2017-05-09 22-02-13| scheduled save for sector (97:-58), 0xfc39cf30, entities: 0

    2017-05-09 22-02-13| scheduled save for sector (-83:17), 0x11f2e7a40, entities: 2104

    2017-05-09 22-02-13| sector (-88:23) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-88_23"

    2017-05-09 22-02-13| saving sector (97:-58)

    2017-05-09 22-02-13| sector (97:-58) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\97_-58"

    2017-05-09 22-02-13| saving sector (-83:17)

    2017-05-09 22-02-14| sector (-83:17) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-83_17"

    2017-05-09 22-02-14| [OOSP][0.9_7c] Tickhandler stops at: 51058947

    2017-05-09 22-02-14| Server is shutting down.

    2017-05-09 22-02-14| Saving settings...

    2017-05-09 22-02-14| Saving script values...

    2017-05-09 22-02-14| Saving factions...

    2017-05-09 22-02-27| Saving sectors...

    2017-05-09 22-02-27| Saving jumping ships...

    2017-05-09 22-02-27| scheduled save for sector (0:0), 0xe5e3b0, entities: 600

    2017-05-09 22-02-27| saving sector (0:0)

    2017-05-09 22-02-27| sector (0:0) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\jumps.dat"

    2017-05-09 22-02-28| Saving groups...

    2017-05-09 22-02-28| Saving settings...

    2017-05-09 22-02-28| waiting for unfinished sector generation jobs...

    2017-05-09 22-02-28| waiting for unfinished sector save jobs...

    2017-05-09 22-02-28| scheduled save for sector (-4:-2), 0x3ae988b0, entities: 36

    2017-05-09 22-02-28| saving sector (-4:-2)

    2017-05-09 22-02-28| sector (-4:-2) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-4_-2"

    2017-05-09 22-02-28| scheduled save for sector (-3:-13), 0xfc399420, entities: 16

    2017-05-09 22-02-28| saving sector (-3:-13)

    2017-05-09 22-02-28| sector (-3:-13) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-3_-13"

    2017-05-09 22-02-28| scheduled save for sector (44:-6), 0xfc398d90, entities: 1854

    2017-05-09 22-02-28| saving sector (44:-6)

    2017-05-09 22-02-29| sector (44:-6) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\44_-6"

    2017-05-09 22-02-29| scheduled save for sector (104:-63), 0xb5bbffa0, entities: 2159

    2017-05-09 22-02-29| saving sector (104:-63)

    2017-05-09 22-02-29| sector (104:-63) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\104_-63"

    2017-05-09 22-02-29| scheduled save for sector (104:-63), 0xb5bbffa0, entities: 2159

    2017-05-09 22-02-29| saving sector (104:-63)

    2017-05-09 22-02-30| sector (104:-63) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\104_-63"

    2017-05-09 22-02-30| scheduled save for sector (104:-63), 0xb5bbffa0, entities: 2159

    2017-05-09 22-02-30| saving sector (104:-63)

    2017-05-09 22-02-31| sector (104:-63) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\104_-63"

    2017-05-09 22-02-31| scheduled save for sector (104:-63), 0xb5bbffa0, entities: 2159

    2017-05-09 22-02-31| saving sector (104:-63)

    2017-05-09 22-02-31| sector (104:-63) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\104_-63"

    2017-05-09 22-02-31| scheduled save for sector (-27:-15), 0x11f2df070, entities: 2588

    2017-05-09 22-02-31| saving sector (-27:-15)

    2017-05-09 22-02-32| sector (-27:-15) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\-27_-15"

    2017-05-09 22-02-32| scheduled save for sector (0:0), 0x11f2e4c50, entities: 1175

    2017-05-09 22-02-32| saving sector (0:0)

    2017-05-09 22-02-33| sector (0:0) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\0_0"

    2017-05-09 22-02-33| scheduled save for sector (99:-64), 0xfc39b4f0, entities: 2448

    2017-05-09 22-02-33| saving sector (99:-64)

    2017-05-09 22-02-34| sector (99:-64) saved to "D:\Savegames\Avorion\galaxies\avorion_galaxy2\sectors\99_-64"

    2017-05-09 22-02-34| shutting down networking...

    2017-05-09 22-02-34| Ending authentication session of 76561198076221479

    2017-05-09 22-02-34| UDP closed

    2017-05-09 22-02-34| Server UDP: Connection closed

    2017-05-09 22-02-34| cleaning up communicators...

    2017-05-09 22-02-35| <> You're now the leader of the group. Type /invite [player] to invite other players, or type /leave to leave the group.

    2017-05-09 22-02-35| <> You're now the leader of the group. Type /invite [player] to invite other players, or type /leave to leave the group.

    2017-05-09 22-02-35| <> You're now the leader of the group. Type /invite [player] to invite other players, or type /leave to leave the group.

    2017-05-09 22-02-35| <> You're now the leader of the group. Type /invite [player] to invite other players, or type /leave to leave the group.

    2017-05-09 22-02-36| Error: EXCEPTION_ACCESS_VIOLATION

    2017-05-09 22-02-36| [1] ?? 4872416

    2017-05-09 22-02-36| [2] ?? 4859345

    2017-05-09 22-02-36| [3] ?? 4775333

    2017-05-09 22-02-36| [4] ?? 4841003

    2017-05-09 22-02-36| [5] ?? 4228432

    2017-05-09 22-02-36| [6] ?? 4229837

    2017-05-09 22-02-36| [7] ?? 4209072

    2017-05-09 22-02-36| [8] ?? 11199359

    2017-05-09 22-02-36| [9] ?? 4199416

    2017-05-09 22-02-36| [10] ?? 4199707

    2017-05-09 22-02-36| [11] BaseThreadInitThunk 140735715378020

    2017-05-09 22-02-36|

     

     

    ist das von Complex? weil dann der server abgeschmiert ist

  3. ich habe ein problem, habe spielstände auf d:spielstände, aber findstation sucht die sectoren auf c://benutzer appdata/administrator........

     

    SCRIPT findstation [v0.6a] p#229 => START SEARCH -> searchterm: modulator | framesectorloads: 10 | maxresults: 30 | searchmode: player | galaxypath: C:\Users\Administrator\AppData\Roaming/Avorion/galaxies/avorion_galaxy2/

    2017-05-07 13-14-18| SCRIPT findstation [v0.6a] => ERROR on parsing player known locations -> C:\Users\Administrator\AppData\Roaming/Avorion/galaxies/avorion_galaxy2/players/player_229.dat: No such file or directory

     

    Spielstand:

    2017-05-07 13-14-27| sector (33:-110) saved to "D:\Spielstände\Avorion\galaxies\avorion_galaxy2\sectors\33_-110"

  4. 03:34:55:760 [OOSP][0.9_7c] no timestamp - no production!

    03:34:55:761 [OOSP][0.9_7c] Sector: -437:127 needed 0ms for Production catch-up

    03:37:12:526 [OOSP][0.9_7c] Sector get first timestamp: 44185676 | -437:127

    03:37:12:537 [OOSP][0.9_7c] Player: Natsu Dragneel entered sector with: 0 more player(s)

    03:37:12:538 [OOSP][0.9_7c] timestamp aquired: 43864117

    03:37:12:538 [OOSP][0.9_7c] 0/1 Factories/Stations

    03:37:12:539 [OOSP][0.9_7c] Sector: -438:126 needed 0ms for Production catch-up

    03:39:09:022 could not execute function 'onDestroyed' in '"data/scripts/sector/relationchanges.lua"':

    03:39:09:023 data/scripts/sector/relationchanges.lua:50: attempt to index local 'faction' (a nil value)

    03:39:09:023 stack traceback:

    03:39:09:024 data/scripts/sector/relationchanges.lua:50: in function <data/scripts/sector/relationchanges.lua:13>

    03:39:09:024

    03:39:09:025 Setting script "data/scripts/sector/relationchanges.lua" to invalid.

     

  5. danke hab die original, weil ich einen gemoddeten habe und einen als vanilla der noch nicht an war, aber bei der datei ist alles gleich. 267 zeilen lang

  6. weiss jemand zufällig in welcher datei das ist, wenn ich zu einem schmuggler fliege und geklaute ware reinwaschen will, das man wenn man soviel hat man durch seine geklaute ware scrollen kann? hab wohl irgendwo was geändert das es nicht mehr geht und der schmuggler sich wieder zu einer handelsstation ändert. wie vor dem letzen avorion update

  7. ja, aber kein mod wo in die sector.lua geschrieben wird

     

     

    -- [PermissionsExtender]

    package.path = package.path .. ";data/scripts/mods/PermissionsExtender/?.lua"

    package.path = package.path .. ";data/scripts/entity/?.lua"

     

    local PermissionsExtender = require("PermissionsExtender")

     

    -- [end PermissionsExtender]

    if onServer() then

     

    function initialize()

        local dockables = {Sector():getEntitiesByComponent(ComponentType.DockingPositions)}

     

        for _, entity in pairs(dockables) do

            entity:addScriptOnce("entity/regrowdocks.lua")

        end

     

        Sector():addScriptOnce("sector/relationchanges.lua")

        -- [PermissionsExtender]

     

        for _, entity in pairs({Sector():getEntitiesByType(EntityType.Ship)}) do

            local faction = Faction(entity.factionIndex)

            if faction.isPlayer then

                if PermissionsExtender.debug then

                    printlog("[PermissionsExt]", "Sector initialize()", faction.name, "ship", entity.name, entity:hasScript("permissionsExt.lua") and "hasScript" or "noScript")

                end

               

                entity:addScriptOnce("permissionsExt.lua")

            end

        end

        for _, entity in pairs({Sector():getEntitiesByType(EntityType.Station)}) do

            local faction = Faction(entity.factionIndex)

            if faction.isPlayer then

                if PermissionsExtender.debug then

                    printlog("[PermissionsExt]", "Sector initialize()", faction.name, "station", entity.name, entity:hasScript("permissionsExt.lua") and "hasScript" or "noScript")

                end

               

                entity:addScriptOnce("permissionsExt.lua")

            end

        end

        -- [end PermissionsExtender]

    end

     

    end

     

    -- [PermissionsExtender]

    if onClient() then

     

    function initialize()

        for _, entity in pairs({Sector():getEntitiesByType(EntityType.Ship)}) do

            local faction = Faction(entity.factionIndex)

            if faction.isPlayer then

                if PermissionsExtender.debug then

                    printlog("[PermissionsExt]", "Sector initialize()", faction.name, "ship", entity.name, entity:hasScript("permissionsExt.lua") and "hasScript" or "noScript")

                end

               

                entity:addScriptOnce("permissionsExt.lua")

            end

        end

        for _, entity in pairs({Sector():getEntitiesByType(EntityType.Station)}) do

            local faction = Faction(entity.factionIndex)

            if faction.isPlayer then

                if PermissionsExtender.debug then

                    printlog("[PermissionsExt]", "Sector initialize()", faction.name, "station", entity.name, entity:hasScript("permissionsExt.lua") and "hasScript" or "noScript")

                end

               

                entity:addScriptOnce("permissionsExt.lua")

            end

        end

    end

     

    end

    -- [end PermissionsExtender]

     

  8. Just installed the mod, when I tested it on singleplayer it seemed to work fine but on the server I get the following error:

    could not execute function 'initialize' in '"data/scripts/sector/sector.lua"':
    data/scripts/sector/sector.lua:32: attempt to index local 'faction' (a nil value)
    stack traceback:
            data/scripts/sector/sector.lua:32: in function <data/scripts/sector/sector.lua:10>
    
    Setting script "data/scripts/sector/sector.lua" to invalid.
    

     

    Have self Problem:

     

     

    12:11:42:429 could not execute function 'initialize' in '"data/scripts/sector/sector.lua"':

    12:11:42:432 data/scripts/sector/sector.lua:32: attempt to index local 'faction' (a nil value)

    12:11:42:434 stack traceback:

    12:11:42:436    data/scripts/sector/sector.lua:32: in function <data/scripts/sector/sector.lua:10>

     

  9. 01:29:12:944 could not execute function 'generate' in '"data/scripts/server/generatesector.lua"':

    01:29:12:946 modfiles/scripts/hooks.lua:34: attempt to index global 'config' (a boolean value)

    01:29:12:947 stack traceback:

    01:29:12:948 modfiles/scripts/hooks.lua:34: in function 'onGenerateAsteroidFieldHook'

    01:29:12:949 data/scripts/lib/SectorGenerator.lua:284: in function <data/scripts/lib/SectorGenerator.lua:272>

    01:29:12:950 (...tail calls...)

    01:29:12:952 data/scripts/sectors/loneshipyard.lua:58: in function 'generate'

    01:29:12:953 data/scripts/server/generatesector.lua:37: in function <data/scripts/server/generatesector.lua:18>

    01:29:12:954

    01:29:12:955 Setting script "data/scripts/server/generatesector.lua" to invalid.

    01

×
×
  • Create New...