Problem with Routines (Lares bug all over again) 4415 9

O temacie

Autor Vic7im

Zaczęty 9.04.2015 roku

Wyświetleń 4415

Odpowiedzi 9

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
Hello again people!

I don't really know what happened, but NPC's won't start/exchange routines, I've tried with Cavalorn (when you go killing bandits with him), Mika (when he comes to Akil's farm) and Lares (Ornament quest bug). They simply stand there, doing nothing! The rest of the AI is fine because they react to damage and attack hostiles, they won't change routines though.

Also, the game is suddenly in german, even though the dialogue choices are in english (and the speech too)

I recall something must be done with the .vdf (putting the .disabled extension) but then the game gives me an access violation error or tells me that I don't have enough memory for the textures ( ??? )

What can I do?
 

Nefario

Nefario

Użytkownicy
Bractwo Gothic'a
posty410
Propsy437
ProfesjaSkrypter
  • Użytkownicy
  • Bractwo Gothic'a
If you installed G2MDK, it would add the .disabled extension to some of the .vdf files in the Data folder.
What exact .vdf file did you add the .disabled extension to?
 

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
If you installed G2MDK, it would add the .disabled extension to some of the .vdf files in the Data folder.
What exact .vdf file did you add the .disabled extension to?

Nvm that, the problem is that, for example, Cavalorn doesn't change his routine after I talk to him, but Xardas does!! I have NO clue how can it be possible, here are the scripts:

Cavalorn
func void DIA_Addon_Cavalorn_LETSKILLBANDITS_Info()
{
AI_Output(other,self,"DIA_Addon_Cavalorn_LETSKILLBANDITS_15_00"); //Let's mix it up with those guys.
AI_Output(self,other,"DIA_Addon_Cavalorn_LETSKILLBANDITS_08_01"); //Sure thing. Just keep my back clear, ok?
AI_Output(self,other,"DIA_Addon_Cavalorn_LETSKILLBANDITS_08_02"); //Now they're in for a nasty surprise.
AI_StopProcessInfos(self);
Npc_ExchangeRoutine(self,"KillBandits");

Xardas
AI_Output(self,other,"DIA_Xardas_FirstEXIT_14_02"); //Since I have gone into exile, the Circle of Fire has taken me for dead - and that's a good thing, too.
AI_StopProcessInfos(self);
B_Kapitelwechsel(1,NEWWORLD_ZEN);
Npc_ExchangeRoutine(self,"START");


And here are their routines:

Cavalorn
func void Rtn_KillBandits_4300()
{
TA_RunToWP(5,0,20,0,"NW_XARDAS_BANDITS_LEFT");
TA_RunToWP(20,0,5,0,"NW_XARDAS_BANDITS_LEFT");
};


Xardas
func void Rtn_Start_100()
{
TA_Read_Bookstand(8,0,10,0,"NW_XARDAS_TOWER_IN1_28");
TA_Circle(10,0,12,0,"XARDAS");
TA_Sit_Throne(12,0,14,0,"NW_XARDAS_TOWER_IN1_32");
TA_Potion_Alchemy(14,0,16,0,"NW_XARDAS_TOWER_IN1_29");
TA_Read_Bookstand(16,0,19,0,"NW_XARDAS_TOWER_IN1_28");
TA_Circle(19,0,22,0,"XARDAS");
TA_Potion_Alchemy(22,0,1,0,"NW_XARDAS_TOWER_IN1_29");
TA_Sit_Throne(1,0,8,0,"NW_XARDAS_TOWER_XTHRONE");
};


Could it be that Xardas' routine is written LIKE THIS? Or is it because it's a prestart to start routine instead of a start to another routine?
 

chicken

chicken

RaveN Studio
posty1230
Propsy559
ProfesjaNierób
  • RaveN Studio

chicken
RaveN Studio

Problem with Routines (Lares bug all over again)
#3 2015-04-17, 10:28(Ostatnia zmiana: 2015-04-17, 13:13)
Npc_ExchangeRoutine(BAU_4300_Addon_Cavalorn,"KillBandits");Look at the first argument of this function, it refers to NPC's instance directly instead, by of a global variable SELF.
Alternatively, try to declare new C_NPC variable then assign to it this NPC by Hlp_GetNpc function.

Also:
Cytuj
Could it be that Xardas' routine is written LIKE THIS? Or is it because it's a prestart to start routine instead of a start to another routine?
it doesn't matter.

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
Cytuj
Npc_ExchangeRoutine(BAU_4300_Addon_Cavalorn,"KillBandits");
Look at the first argument of this function, it refers to NPC's instance directly instead, by of a global variable SELF.
Alternatively, try to declare new C_NPC variable then assign to it this NPC by Hlp_GetNpc function.

No that was a wrong edit I did with the script, it was self before, but it still didn't work. I'll modify the post now.
I'll try to declare the variable and tell you.
 

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
Ain't working, chicken.

Does anybody know a workaround with this? It seems that all scripts involving routine exchanges are not working, somehow. I have no clue what to do :_;
 

Nefario

Nefario

Użytkownicy
Bractwo Gothic'a
posty410
Propsy437
ProfesjaSkrypter
  • Użytkownicy
  • Bractwo Gothic'a
Does your B_StartOtherRoutine.d file look like this?
func void B_StartOtherRoutine(var C_Npc slf,var string newRoutine)
{
   AI_Standup(slf);
   if(Hlp_GetInstanceID(self) != Hlp_GetInstanceID(slf))
   {
      if(Hlp_IsValidNpc(slf) && !Npc_IsDead(slf))
      {
         Npc_ExchangeRoutine(slf,newRoutine);
         AI_ContinueRoutine(slf);
      };
   }
   else
   {
      Npc_ExchangeRoutine(slf,newRoutine);
   };
};

I'm running out of ideas :(
 

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
Does your B_StartOtherRoutine.d file look like this?
func void B_StartOtherRoutine(var C_Npc slf,var string newRoutine)
{
   AI_Standup(slf);
   if(Hlp_GetInstanceID(self) != Hlp_GetInstanceID(slf))
   {
      if(Hlp_IsValidNpc(slf) && !Npc_IsDead(slf))
      {
         Npc_ExchangeRoutine(slf,newRoutine);
         AI_ContinueRoutine(slf);
      };
   }
   else
   {
      Npc_ExchangeRoutine(slf,newRoutine);
   };
};

I'm running out of ideas :(

Yes, exactly like that :(

Could it be Ikarus doing shit that messes this up?
 

chicken

chicken

RaveN Studio
posty1230
Propsy559
ProfesjaNierób
  • RaveN Studio
Does your B_StartOtherRoutine.d file look like this?
func void B_StartOtherRoutine(var C_Npc slf,var string newRoutine)
{
   AI_Standup(slf);
   if(Hlp_GetInstanceID(self) != Hlp_GetInstanceID(slf))
   {
      if(Hlp_IsValidNpc(slf) && !Npc_IsDead(slf))
      {
         Npc_ExchangeRoutine(slf,newRoutine);
         AI_ContinueRoutine(slf);
      };
   }
   else
   {
      Npc_ExchangeRoutine(slf,newRoutine);
   };
};

I'm running out of ideas :(

Yes, exactly like that :(

Could it be Ikarus doing shit that messes this up?
I don't think so.

How about reinstall the game? :D

Nefario

Nefario

Użytkownicy
Bractwo Gothic'a
posty410
Propsy437
ProfesjaSkrypter
  • Użytkownicy
  • Bractwo Gothic'a
It's more of a problem with the mod than the actual game, but he could always try.
 


0 użytkowników i 1 Gość przegląda ten wątek.
0 użytkowników
Do góry