Gothic SPELLS_PROCES_MANA_RELEASED 2686 6

O temacie

Autor SabeMiczu

Zaczęty 4.07.2014 roku

Wyświetleń 2686

Odpowiedzi 6

SabeMiczu

SabeMiczu

Użytkownicy
posty52
Profesjabrak
  • Użytkownicy
Siemka, otóż chciałem zaczerpnąć jeden czar z mt, zrobiłem co myślałem że należy. Dałem dokument tekstowy do MAGIC I w items/Artifacts skopiowałem skrypt czaru. Ale wyskoczył błąd U:PAR: File\_Work\DATA\SCRIPTS\CONTENT\MAGIC\SPELLS_PROCESS_MANA_RELEASED.D not found. (line 61)
Spoiler
// wird pro investiertem Mana aufgerufen // wieviele Mana bisher investiert wurden kann über Parameter manaInvested abgefragt werden
// diese Methode wird immer vom Caster aufgerufen
// SELF    = Der Caster
// OTHER    = Das Opfer // kann auch leer sein
func INT Spell_ProcessMana(VAR INT manaInvested)
{
   PrintDebugNpc(PD_MAGIC,"Spell_ProcessMana called");

   PrintDebugInt(PD_MAGIC, "### MAGIC ###-> invested Mana: ",    manaInvested);
   PrintDebugInt(PD_MAGIC, "### MAGIC ###-> Spell-Level: ",    Npc_GetActiveSpellLevel(self));

   if (Npc_GetActiveSpell(self) == SPL_LIGHT         )   {   return  Spell_Logic_Light         (manaInvested); };
   if (Npc_GetActiveSpell(self) == SPL_FIREBOLT      )   {   return   Spell_Logic_Firebolt      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_FIREBALL      )   {   return   Spell_Logic_Fireball      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_FIRESTORM      )   {   return   Spell_Logic_FireStorm      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_FIRERAIN      )   {   return   Spell_Logic_FireRain      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_Teleport1      )   {   return   Spell_Logic_Teleport1      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_Teleport2      )   {   return   Spell_Logic_Teleport2      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_Teleport3      )   {   return   Spell_Logic_Teleport3      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_Teleport4      )   {   return   Spell_Logic_Teleport4      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_Teleport5      )   {   return   Spell_Logic_Teleport5      (manaInvested);   };

   if (Npc_GetActiveSpell(self) == SPL_HEAL         )   {   return   Spell_Logic_Heal         (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_BLOODFLY   )    {   return   Spell_Logic_Trf_Bloodfly   (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_CRAWLER       )    {   return   Spell_Logic_Trf_Crawler      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_LURKER       )    {   return   Spell_Logic_Trf_Lurker      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_MEATBUG       )    {   return   Spell_Logic_Trf_Meatbug      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_MOLERAT       )    {   return   Spell_Logic_Trf_Molerat      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_ORCDOG       )    {   return   Spell_Logic_Trf_Orcdog      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_SCAVENGER   )    {   return   Spell_Logic_Trf_Scavenger   (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_SHADOWBEAST )   {   return   Spell_Logic_Trf_Shadowbeast   (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_SNAPPER       )    {   return   Spell_Logic_Trf_Snapper      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_WARAN       )    {   return   Spell_Logic_Trf_Waran      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TRF_WOLF        )    {   return   Spell_Logic_Trf_Wolf      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_CHAINLIGHTNING   )   {   return   Spell_Logic_ChainLightning   (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_THUNDERBOLT      )   {   return   Spell_Logic_Thunderbolt      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_THUNDERBALL      )   {   return   Spell_Logic_Thunderball      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_ICECUBE         )   {   return   Spell_Logic_IceCube         (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_ICEWAVE         )   {   return   Spell_Logic_IceWave         (manaInvested);   };

   if (Npc_GetActiveSpell(self) == SPL_SUMMONDEMON      )   {   return   Spell_Logic_SummonDemon      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_SUMMONSKELETON   )   {   return   Spell_Logic_SummonSkeleton   (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_SUMMONGOLEM       )   {   return   Spell_Logic_SummonGolem    (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_ARMYOFDARKNESS   )   {   return   Spell_Logic_ArmyOfDarkness    (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_MASSDEATH      )   {   return   Spell_Logic_Massdeath      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_DESTROYUNDEAD   )   {   return   Spell_Logic_DestroyUndead   (manaInvested);   };

   if (Npc_GetActiveSpell(self) == SPL_WINDFIST      )   {   return   Spell_Logic_Windfist      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_STORMFIST      )   {   return   Spell_Logic_Stormfist      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_TELEKINESIS      )   {   return   Spell_Logic_Telekinesis      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_CHARM         )   {   return   Spell_Logic_Charm         (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_SLEEP         )   {   return   Spell_Logic_Sleep         (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_PYROKINESIS      )   {   return   Spell_Logic_Pyrokinesis      (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_CONTROL         )   {   return   Spell_Logic_Control         (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_FEAR         )   {   return   Spell_Logic_Fear         (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_BERZERK         )   {   return   Spell_Logic_Berzerk         (manaInvested);   };

   if (Npc_GetActiveSpell(self) == SPL_BREATHOFDEATH   )   {   return   Spell_Logic_BreathOfDeath   (manaInvested);   };
   if (Npc_GetActiveSpell(self) == SPL_NEW1         )   {   return   Spell_Logic_New1         (manaInvested);   };   // Spell SPL_NEW1 (URIZIEL-Rune mit speziellen Spieler-BreathOfDeath)
   if (Npc_GetActiveSpell(self) == SPL_SHRINK         )   {   return   Spell_Logic_Shrink         (manaInvested);   };
};
Nie wiem co robić bo tam nic nie grzebałem, liczę na pomoc. :)
 

gothic1210
  • Gość
Not found? Może w Gothic.src się nie parsuje? To jest nowy plik? 
 

SabeMiczu

SabeMiczu

Użytkownicy
posty52
Profesjabrak
  • Użytkownicy
Nie to nie jest nowy plik w Magic jest taki pliczek, jak ktoś może niech podeśle ten skrypt bez żadnych zmian. A przez Gothic Startermod też mi się to pojawia, inne pomysły mile widziane. :)
 

Splash

Splash

Moderator
posty4209
Propsy3412
ProfesjaNierób
  • Moderator
Jedna z zasad skryptowania : nie kopiuj wszystkiego na pałę.
 
Nie zajmuję się multiplayerami do Gothica. Przestańcie zawracać mi tym głowę...
Ps. Siemekk ma downa i śpi w pufie

SabeMiczu

SabeMiczu

Użytkownicy
posty52
Profesjabrak
  • Użytkownicy
Dzięki za radę, jestem początkujący więc się przyda, a masz jakiś pomysł dlaczego się tak staneło?
 

Splash

Splash

Moderator
posty4209
Propsy3412
ProfesjaNierób
  • Moderator
Z treści błędu wynika, że nie odnaleziono pliku SPELLS_PROCESS_MANA_RELEASED.D w ścieżce _Work\DATA\SCRIPTS\CONTENT\MAGIC.
Sprawdź czy w Gothic.src pod linijką
MAGIC\SPELLS_PROCESS_MANA.D
masz
MAGIC\SPELLS_PROCESS_MANA_RELEASED.D
lub czy w ogóle ten plik tam się znajduje.
 
Nie zajmuję się multiplayerami do Gothica. Przestańcie zawracać mi tym głowę...
Ps. Siemekk ma downa i śpi w pufie

SabeMiczu

SabeMiczu

Użytkownicy
posty52
Profesjabrak
  • Użytkownicy
Jest :
Spoiler
MAGIC\SPELL_*.D
MAGIC\SPELLS_PARAMS.D
MAGIC\SPELLS_PROCESS_MANA.D
MAGIC\SPELLS_PROCESS_MANA_RELEASED.D
MAGIC\B_ASSESSMAGIC.D
MAGIC\ZS\*.D

Post połączony: 2014-07-05, 12:03
Miałem to:
MAGIC\SPELL_*.D
MAGIC\SPELLS_PARAMS.D
MAGIC\SPELLS_PROCESS_MANA.D
MAGIC\SPELLS_PROCESS_MANA_RELEASED.D
MAGIC\B_ASSESSMAGIC.D
MAGIC\ZS\*.D
Zmieniłem na
MAGIC\SPELL_*.D
MAGIC\SPELLS_PARAMS.D
MAGIC\SPELLS_PROCESS_MANA.D
MAGIC\B_ASSESSMAGIC.D
MAGIC\ZS\*.D
I działa. THX za chęci pomocy, temat myślę do zamknięcia. :)
 


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