Jump to content

Patch - Help


Recommended Posts

Posted

Index: include/sc_creature.cpp <-- this is the file to patch
===================================================================
--- include/sc_creature.cpp    (revision 1800)
+++ include/sc_creature.cpp    (working copy)
@@ -194,7 +194,7 @@ <-- these are lines to patch, look around here or use search

    //Using the extended script system we first create a list of viable spells
    SpellEntry const* apSpell[4];
-    memset(apSpell, 0, sizeof(SpellEntry)*4);  <--  [-] at the start means remove this line
+    memset(apSpell, 0, sizeof(SpellEntry*)*4); <--  [+] at the start means add this line

    uint32 uiSpellCount = 0;

That's about it.

Posted

Yeah, patman didn't tell him how to MAKE a patch, but how to READ a patch to be able to change the lines manually in the file. :P

(Btw, offtopic, what is your status actually? Your nick color is...unique)

Posted

I'm the forums' official 1970's pornstar lookalike. It's all in the privet hedge moustache :P

Je suis le sosie officiel d'étoile de porno de 1970 des forums. C'est tout dans la moustache de haie de troène. That's about as good as I can translate. :D

Posted
Index: include/sc_creature.cpp [b][u]<-- this is the file to patch[/u][/b]
===================================================================
--- include/sc_creature.cpp    (revision 1800)
+++ include/sc_creature.cpp    (working copy)
@@ -194,7 +194,7 @@ [b][u]<-- these are lines to patch, look around here or use search[/u][/b]

    //Using the extended script system we first create a list of viable spells
    SpellEntry const* apSpell[4];
-    memset(apSpell, 0, sizeof(SpellEntry)*4); [b][u] <--  [-] at the start means remove this line[/u][/b]
+    memset(apSpell, 0, sizeof(SpellEntry*)*4); [b][u]<--  [+] at the start means add this line[/u][/b]
    uint32 uiSpellCount = 0;

That's about it.

just to make it more clear

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use