Jump to content

Bazim-287de2db6951663e

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Bazim-287de2db6951663e

  • Rank
    On the Coast
  1. Bazim-287de2db6951663e

    How to spawn zombies via init.c?

    Ye I know, but how to spawn a working zombies?
  2. Bazim-287de2db6951663e

    How to spawn zombies via init.c?

    How to spawn zombies via init.c?
  3. Bazim-287de2db6951663e

    NULL pointer to instance

    You cannot do it any other way than this according to Expansion documentation so I really do not know how to use the if there.
  4. Bazim-287de2db6951663e

    NULL pointer to instance

    Hello, I have this Expansion code in my init.c file: #ifdef EXPANSIONMODQUESTS override void Expansion_OnQuestStart(ExpansionQuest quest) { switch (quest.GetQuestConfig().GetID()) { case 4: { SpawnQuestHolder_4000(quest); } break; case 5: { if (!ExpansionQuestModule.GetModuleInstance().IsOtherQuestInstanceActive(4)) ExpansionQuestModule.GetModuleInstance().DeleteQuestHolder(4000, ExpansionQuestNPCType.AI); } break; } } override void Expansion_OnQuestCompletion(ExpansionQuest quest) { switch (quest.GetQuestConfig().GetID()) { case 5: { if (!ExpansionQuestModule.GetModuleInstance().IsOtherQuestInstanceActive(4)) ExpansionQuestModule.GetModuleInstance().DeleteQuestHolder(4000, ExpansionQuestNPCType.AI); } break; } } override void Expansion_OnQuestCancel(ExpansionQuest quest) { if (!quest || !ExpansionQuestModule.GetModuleInstance()) return; switch (quest.GetQuestConfig().GetID()) { case 5: { SpawnQuestHolder_4000(quest); } break; } } protected void SpawnQuestHolder_4000(ExpansionQuest quest) { if (!quest || !ExpansionQuestModule || !ExpansionQuestModule.GetModuleInstance()) return; if (ExpansionQuestModule.GetModuleInstance().TempQuestHolderExists(4000)) return; ExpansionTempQuestHolder questHolder = new ExpansionTempQuestHolder(4000, "ExpansionQuestNPCAIFrida", "Marina Sidorova", "There is nothing to do here for you..."); if (!questHolder) return; questHolder.SetNPCEmoteID(EmoteConstants.ID_EMOTE_SITA); questHolder.SetLoadoutName("SurvivorLoadout"); ExpansionTempQuestHolderPosition questHolderPos = new ExpansionTempQuestHolderPosition("8548.216797 301.957672 7561.185547", "153.331528 0 -0"); ExpansionQuestModule.GetModuleInstance().SpawnQuestHolder(questHolder, questHolderPos); } #endif and it throws this error: 0:05:26 SCRIPT (E): NULL pointer to instance Class: 'ExpansionQuestModule' Function: 'TempQuestHolderExists' Stack trace: DayZExpansion/Quests/Scripts/4_World/dayzexpansion_quests\systems\quests\expansionquestmodule.c:5276 $CurrentDir:mpmissions/dayz.enoch/init.c:88 $CurrentDir:mpmissions/dayz.enoch/init.c:42 DayZExpansion/Quests/Scripts/4_World/dayzexpansion_quests\systems\quests\expansionquest.c:372 DayZExpansion/Quests/Scripts/4_World/dayzexpansion_quests\systems\quests\expansionquestmodule.c:1550 DayZExpansion/Quests/Scripts/4_World/dayzexpansion_quests\systems\quests\expansionquestmodule.c:1441 DayZExpansion/Core/Scripts/3_Game/dayzexpansion_core\expansionrpcmanager.c:541 DayZExpansion/Core/Scripts/3_Game/dayzexpansion_core\expansionrpcmanager.c:506 DayZExpansion/Core/Scripts/3_Game/dayzexpansion_core\dayzgame.c:293 can you help me with that? The programmer from Expansion Discord helped me with the lines if (!quest || !ExpansionQuestModule || !ExpansionQuestModule.GetModuleInstance()) return; if (ExpansionQuestModule.GetModuleInstance().TempQuestHolderExists(4000)) return; but it is still not working.
  5. Bazim-287de2db6951663e

    DayZ:Server manager

    Same question
  6. Bazim-287de2db6951663e

    ServerMonitor with updater (including mod updates)

    It does not work anymore I guess? It is not downloading the mods.
  7. Bazim-287de2db6951663e

    Experimental Update 1.08

    Hello, where can I download the server manager . ps1 ?
  8. Bazim-287de2db6951663e

    Restore a character?

    Hello, is somehow possible to restore a character? I died on my own server by a car bug and I want my character back. I found some backup folder in mpmissions\dayzOffline.enoch\storage_1\backup, but when I delete all filed in data folder and copy to it data from backup folder it doesnt restore my character.
×