wiking-at / Zeus-Addon-A3Wasteland

0 stars 1 forks source link

Ref to nonnetwork object <No group>:0 (Logic) #1

Open ViRoooz opened 9 years ago

ViRoooz commented 9 years ago

Hello stroker here, i have issue with addon, i post it on A3Wasteland forums but this is better place IMO.

After add a zeus module, when first connectin a non-zeus player server spamming to logs:

2014/11/02, 14:12:35 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:35 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:35 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:37 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:39 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:39 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:39 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:39 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:40 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:42 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:44 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:46 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:46 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:46 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:46 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:47 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:49 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:49 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:49 Ref to nonnetwork object :0 (Logic) 2014/11/02, 14:12:49 Ref to nonnetwork object :0 (Logic)

ViRoooz commented 9 years ago

Trying to disable Zeus1, Zeus2, Zeus3 slots in mission.sqm and testing now.

In our mission this is not working because LOGIC slot is not showing in player select after connect... idk why

wiking-at commented 9 years ago

if the logic isn't showing in the mission selection there is your problem. are the zeus gamelogic slots defined in mission.sqm and set as "playable"?

ViRoooz commented 9 years ago
    class Item18
    {
        side="LOGIC";
        class Vehicles
        {
            items=1;
            class Item0
            {
                position[]={14821.765,17.864708,16583.473};
                class args
                {
                    items=4;
                    class Item0
                    {
                        value="76561197970090565";
                        parentCls="ModuleCurator_F";
                        typeName="Owner";
                    };
                    class Item1
                    {
                        value="";
                        parentCls="ModuleCurator_F";
                        typeName="Name";
                    };
                    class Item2
                    {
                        value="3";
                        parentCls="ModuleCurator_F";
                        typeName="Addons";
                    };
                    class Item3
                    {
                        value="0";
                        parentCls="ModuleCurator_F";
                        typeName="Forced";
                    };
                };
                id=159;
                side="LOGIC";
                vehicle="ModuleCurator_F";
                leader=1;
                lock="UNLOCKED";
                skill=0.60000002;
            };
        };
    };
    class Item19
    {
        side="LOGIC";
        class Vehicles
        {
            items=2;
            class Item0
            {
                position[]={14540.619,2.5212257,5781.7573};
                class args
                {
                    items=4;
                    class Item0
                    {
                        value="Zeus1";
                        parentCls="ModuleCurator_F";
                        typeName="Owner";
                    };
                    class Item1
                    {
                        value="";
                        parentCls="ModuleCurator_F";
                        typeName="Name";
                    };
                    class Item2
                    {
                        value="3";
                        parentCls="ModuleCurator_F";
                        typeName="Addons";
                    };
                    class Item3
                    {
                        value="1";
                        parentCls="ModuleCurator_F";
                        typeName="Forced";
                    };
                };
                id=160;
                side="LOGIC";
                vehicle="ModuleCurator_F";
                leader=1;
                lock="UNLOCKED";
                skill=0.60000002;
                text="Module_Zeus1";
            };
            class Item1
            {
                position[]={14538.413,2.9336157,5781.7832};
                id=161;
                side="LOGIC";
                vehicle="VirtualCurator_F";
                skill=0.60000002;
                text="Zeus1";
                description="Zeus1";
            };
        };
    };
    class Item20
    {
        side="LOGIC";
        class Vehicles
        {
            items=2;
            class Item0
            {
                position[]={14540.58,2.4968238,5780.5728};
                class args
                {
                    items=4;
                    class Item0
                    {
                        value="Zeus2";
                        parentCls="ModuleCurator_F";
                        typeName="Owner";
                    };
                    class Item1
                    {
                        value="";
                        parentCls="ModuleCurator_F";
                        typeName="Name";
                    };
                    class Item2
                    {
                        value="3";
                        parentCls="ModuleCurator_F";
                        typeName="Addons";
                    };
                    class Item3
                    {
                        value="1";
                        parentCls="ModuleCurator_F";
                        typeName="Forced";
                    };
                };
                id=162;
                side="LOGIC";
                vehicle="ModuleCurator_F";
                leader=1;
                lock="UNLOCKED";
                skill=0.60000002;
                text="Module_Zeus2";
            };
            class Item1
            {
                position[]={14538.468,2.8877783,5780.4487};
                id=163;
                side="LOGIC";
                vehicle="VirtualCurator_F";
                skill=0.60000002;
                text="Zeus2";
                description="Zeus2";
            };
        };
    };
    class Item21
    {
        side="LOGIC";
        class Vehicles
        {
            items=2;
            class Item0
            {
                position[]={14540.658,2.4488258,5779.3179};
                class args
                {
                    items=4;
                    class Item0
                    {
                        value="Zeus3";
                        parentCls="ModuleCurator_F";
                        typeName="Owner";
                    };
                    class Item1
                    {
                        value="";
                        parentCls="ModuleCurator_F";
                        typeName="Name";
                    };
                    class Item2
                    {
                        value="3";
                        parentCls="ModuleCurator_F";
                        typeName="Addons";
                    };
                    class Item3
                    {
                        value="1";
                        parentCls="ModuleCurator_F";
                        typeName="Forced";
                    };
                };
                id=164;
                side="LOGIC";
                vehicle="ModuleCurator_F";
                leader=1;
                lock="UNLOCKED";
                skill=0.60000002;
                text="Module_Zeus3";
            };
            class Item1
            {
                position[]={14538.447,2.8579566,5779.1831};
                id=165;
                side="LOGIC";
                vehicle="VirtualCurator_F";
                skill=0.60000002;
                text="Zeus3";
                description="Zeus3";
            };
        };
    };

This is my section of Zeus in mission.sqm

I merged your mission.sqm with my mission.sqm with ArmA3 editor, and some changes from your instruction. Zeus is working, but Logic slot no.

Can You help me?

wiking-at commented 9 years ago

set zeus1, zeus2, zeus3 as "playable" in editor. on editor merges this isn't merged i suppose.

ViRoooz commented 9 years ago

Yeah! This is it :)

Now i have a zeus 3 slots, i have whitelisted my UID but when loaded in zeus mode, game stop on black screen with Welcome to A3Wasteland, please wait for your client to initialize or smth like that...

In 1.0 probably need changes...

I must commented some lines in zeus-init because having error "sciprt xxx.sqf not found"

This is my zeus-init.sqf for this moment (but still not working, loading and stop in black screen):

//Add Additonal Wasteland Features zu Zeus Players

//Custom Function Compile for Zeus: call compile preprocessFileLineNumbers "client\functions\clientCompile.sqf"; onKeyPress = "client\clientEvents\onKeyPress.sqf" call mf_compile; findHackedVehicles = "client\systems\adminPanel\findHackedVehicles.sqf" call mf_compile; isAdmin = "client\systems\adminPanel\isAdmin.sqf" call mf_compile; updateTerritoryMarkers = "territory\client\updateTerritoryMarkers.sqf" call mf_compile; //fn_resupplytruck = "client\functions\fn_resupplytruck.sqf" call mf_compile; updateMissionsMarkers = "client\functions\updatePlayerMissionMarkers.sqf" call mf_compile; //updateRadarMarkers = "client\functions\updatePlayerRadarMarkers.sqf" call mf_compile; updateTeamKiller = "client\functions\updateTeamKiller.sqf" call mf_compile; applyVehicleTexture = "client\systems\vehicleStore\applyVehicleTexture.sqf" call mf_compile; loadPlayerMenu = "client\systems\playerMenu\init.sqf" call mf_compile; if (isNil "TPG_fnc_MP") then { TPG_fnc_MP = "\A3\functions_f\MP\fn_MP.sqf" call mf_compile }; if (isNil "TPG_fnc_MPexec") then { TPG_fnc_MPexec = "\A3\functions_f\MP\fn_MPexec.sqf" call mf_compile };

waitUntil {!isNull findDisplay 46}; (findDisplay 46) displayAddEventHandler ["KeyDown", onKeyPress];

[] spawn { //call compile preprocessFileLineNumbers "client\functions\createTownMarkers.sqf"; // wait until town markers are placed before adding others [] execVM "client\functions\createGunStoreMarkers.sqf"; [] execVM "client\functions\createGeneralStoreMarkers.sqf"; [] execVM "client\functions\createVehicleStoreMarkers.sqf"; //AJ Basemarkers [] execVM "client\functions\createBaseMarkers.sqf"; };

//[] execVM "addons\fpsFix\vehicleManager.sqf";

wiking-at commented 9 years ago

i would suggest you remove the init part which includes wasteland stuff. this things are changing in a very fast pace at the moment and as i'm not using zeus currently myself i will not keep up with this mission changes at the moment.

I would removed that part: https://github.com/wiking-at/Zeus-Addon-A3Wasteland/commit/55b0bdfdb2960d0a69ebcdca2437ec788e2a6cef

You only loose some wasteland specific stuff but zeus should still be working.

If you get it running feel free to push to this repo though.

ViRoooz commented 9 years ago

Still have blackscreen with Wait for you client to initialize... :(

wiking-at commented 9 years ago

the playerinit shouldn't load at all: https://github.com/wiking-at/Zeus-Addon-A3Wasteland/blob/master/init.sqf#L44

are you sure you merged the init file correctly?

ViRoooz commented 9 years ago

Yeah! In this fragment i've got a mistake. Many Thanks for help, now working fine!