i need help compiling a sorcery system for pol 094 to 095
i need help compiling a sorcery system for pol 094 to 095
sorry removed
Last edited by Elwen on Tue Jul 31, 2007 1:21 pm, edited 2 times in total.
I can tell this is REALLY OLD. First of all, you have to go through your scripts searching for variables that are declared as "local". Things like this...
have to be changed to
that should fix the current problem in inscription.
in poisoncloud, you see the line
follow exactly what the compiler suggested.. It should be == not =
in sorcerybook, theres a comma after the last item in the array. Remove it.
should be
same thing for
and
sorceryscroll is the same problem is inscription. Change all "local" to "var"
Code: Select all
local the_book := target(who, "");
Code: Select all
var the_book := target(who, "");
in poisoncloud, you see the line
Code: Select all
if (parms[1] = "#MOB")
in sorcerybook, theres a comma after the last item in the array. Remove it.
Code: Select all
"button 220 210 2104 2103 1 0 116",
Code: Select all
"button 220 210 2104 2103 1 0 116"
Code: Select all
"text 80 205 0 ",
Code: Select all
"Drain",
sorceryscroll is the same problem is inscription. Change all "local" to "var"
Is that the line:
if (FlagCheck(Con1Flag, i)=1)
Then you would make it say
if (FlagCheck(Con1Flag, i)==1 )
Remember, = by itself can't be used any more. The error message tells you it will be either a := or ==. Since it's a comparison and not an assignment, use the ==
CWO covered that one in his reply.
if (FlagCheck(Con1Flag, i)=1)
Then you would make it say
if (FlagCheck(Con1Flag, i)==1 )
Remember, = by itself can't be used any more. The error message tells you it will be either a := or ==. Since it's a comparison and not an assignment, use the ==
CWO covered that one in his reply.
Err, Elwen,
CWO and Oldngrey showed you exactly what to do. It appears the source code you are using is quite old.
This means that you need to search through ALL of your source files for old and unused command syntax. Your last clip fro Ecompile is showing you yet again that it has encountered a single equals sign ( = ) where it should actually be changed to a double equals sign ( == ). Ignore my parenthesis.
In other words, don't just edit the one source file, you need to do this to all of your source code. Exactly like CWO said, it's not just the "=" which is affected, it's a bunch of other commands as well.
Deprecated means old, no longer in use.
Regards
Justae
CWO and Oldngrey showed you exactly what to do. It appears the source code you are using is quite old.
This means that you need to search through ALL of your source files for old and unused command syntax. Your last clip fro Ecompile is showing you yet again that it has encountered a single equals sign ( = ) where it should actually be changed to a double equals sign ( == ). Ignore my parenthesis.
In other words, don't just edit the one source file, you need to do this to all of your source code. Exactly like CWO said, it's not just the "=" which is affected, it's a bunch of other commands as well.
Deprecated means old, no longer in use.
Regards
Justae