Page 8 of 21
Re: Malatina's survival
Posted: Fri Jan 27, 2012 6:10 am
by kiff
Yes, I haven't had any problem with anyway point. Only this one doesn't attack at all.
Re: Malatina's survival
Posted: Fri Jan 27, 2012 6:49 am
by rock5
Are you playing on a non English client?
Re: Malatina's survival
Posted: Fri Jan 27, 2012 2:09 pm
by kiff
No, I the use English client.
Don't know if its relevant but, in the waypoint that runs the dailies in xaviera, it perfectlly attacks all mobs on sight except for butterflies that it only attack if they attack my char. I also tryed placing the name of the mob in the Attack list but it didn't fix the problem.
Thanks.
Re: Malatina's survival
Posted: Fri Jan 27, 2012 7:51 pm
by Xmen
try the following is not the best way but better as nothing
open survivalR5onload.xml
find on line 214
Code: Select all
if player.Class1 == CLASS_WARRIOR then Attack() end
and replace with
Code: Select all
if player.Class1 == CLASS_WARRIOR or CLASS_ROGUE then Attack() end
I can not promise that it works
Re: Malatina's survival
Posted: Fri Jan 27, 2012 8:50 pm
by kiff
Doesn't sound like it would fix cause you also have knight as a melee class and there seems to be no prob reported with them.
But i'll try it tomorrow (as malatina resets) and give you some feedback.
Thanks
Re: Malatina's survival
Posted: Sat Jan 28, 2012 4:31 am
by Xmen
It is normal that the knights are no problems he has indeed an AOE skill "KNIGHT_WHIRLWIND_SHIELD"
you find this in file "survivalR.xml" line 24 to 32
Code: Select all
aoeskills = {
"MAGE_PURGATORY_FIRE",
"MAGE_DISCHARGE",
"WARRIOR_BLASTING_CYCLONE",
"WARRIOR_MOON_CLEAVE",
"WARRIOR_WHIRLWIND",
"KNIGHT_WHIRLWIND_SHIELD",
"WARDEN_FRANTIC_BRIAR",
}
Re: Malatina's survival
Posted: Sat Jan 28, 2012 5:41 am
by rock5
Try Lisas instructions
Can't get bot to work? follow these instructions before posting, thank you.
1. SVN update micromacro/scripts/rom folder
2. SVN revert micromacro/scripts/rom folder
3. delete Runes of Magic/Interface/Addons/ingamefunctions folder
4. copy micromacro/scripts/rom/devtools/ingamefunctions folder to Runes of Magic/Interface/Addons folder
5. restart game
Re: Malatina's survival
Posted: Sat Jan 28, 2012 7:47 am
by kiff
Code: Select all
if player.Class1 == CLASS_WARRIOR or CLASS_ROGUE then Attack() end
Code: Select all
if player.Class1 == CLASS_WARRIOR or CLASS_ROGUE then -- because warriors move closer.
attackdistance = 20
Awesome mate based on what you said I changed that other line too, the changing of both fixes the problem.
Thanks All.
Re: Malatina's survival
Posted: Sat Jan 28, 2012 7:56 am
by rock5
Code: Select all
player.Class1 == CLASS_WARRIOR or CLASS_ROGUE
That's not the right way to write it. Should be.
Code: Select all
player.Class1 == CLASS_WARRIOR or player.Class1 == CLASS_ROGUE
Re: Malatina's survival
Posted: Sat Jan 28, 2012 8:03 am
by lisa
I am pretty sure this code
Code: Select all
player.Class1 == CLASS_WARRIOR or CLASS_ROGUE
is saying that if player.Class1 isnt CLASS_WARRIOR then you state that it does = CLASS_ROGUE.
So if you were a rogue then it would kind of work because you are actually a rogue, if any other class then you will have issues.
greenapples == bucket or 24
if greenapples = bucket then all is good,
if greenapples ~= bucket then greenapples = 24
Hope I explained it properly.
--=== edit ===--
LOL actually I am thinking if just 1 =
greenapples = bucket or 24
if bucket is nil then greenapples = 24
So disregard the above bit =)
Re: Malatina's survival
Posted: Sat Jan 28, 2012 8:07 am
by kiff
Yup. I understood it. Just saying that it works perfect now for me and I'm guessing for rogues.
Tomorrow I'll try the way you wrote it Rock5 and I'll give feed back.
Thanks,
Kiff
Re: Malatina's survival
Posted: Sat Jan 28, 2012 8:09 am
by rock5
Actually that just sounded like you described
Code: Select all
player.Class1 = CLASS_WARRIOR or CLASS_ROGUE
which is another kettle of fish.
I think what this actuallt says
Code: Select all
player.Class1 == CLASS_WARRIOR or CLASS_ROGUE
is "If (player.Class1 == CLASS_WARRIOR ) or CLASS_ROGUE then". Seeing as CLASS_ROGUE always has a value then the total will always return true.
Re: Malatina's survival
Posted: Sat Jan 28, 2012 8:15 am
by lisa
lol tested it like this
Code: Select all
Command> see = yes if seem == ye or false then print("works") end
works
Command> see = yes if seem == ye or fal then print("works") end
works
so no value for fal or false or seem or ye and yet it still regarded the if statement to be true.
if you do the if ** == * or *** then
it will always do the code after then regardless of what you are checking.
Re: Malatina's survival
Posted: Sat Jan 28, 2012 8:26 am
by rock5
That's not a good example because "seem" equals "ye" because they are both nil. It never gets to the "or" statement. Maybe you meant something like this.
Code: Select all
Command> seem = "yes" if seem == "ye" or false then print("works") end
Command> seem = "yes" if seem == "ye" or fal then print("works") end
Re: Malatina's survival
Posted: Sat Jan 28, 2012 8:29 am
by lisa
lol it wasn't the only way I tested of course.
I only posted those 2.
Code: Select all
Command> sex = true if sex == yes or true then print("works") end
works
Command> sex = yes if sex == yes or true then print("works") end
works
Command> sex = yes if sex == yes or false then print("works") end
works
Command> sex = yes if sex == ye or false then print("works") end
works
Command> see = yes if see == ye or false then print("works") end
works
Command> see = yes if see == ye or false then print("works") end
works
Command> see = yes if seem == ye or false then print("works") end
works
Command> see = yes if seem == ye or fal then print("works") end
works
Command> q
Re: Malatina's survival
Posted: Sat Jan 28, 2012 8:32 am
by lisa
lol you got me there, I had them all as variables and not values.
Re: Malatina's survival
Posted: Sat Jan 28, 2012 4:04 pm
by Administrator
I'm pretty sure you're likely to run into problems like that. An 'or' expects two statements to evaluate, not a single statement with two possible values that could return true.
So, this:
Is actually:
Which means you can just leave off the 'or false' part because that will always be false. You would need to do this:
Re: Malatina's survival
Posted: Sat Jan 28, 2012 6:32 pm
by Xmen
rock5 wrote:Code: Select all
player.Class1 == CLASS_WARRIOR or CLASS_ROGUE
That's not the right way to write it. Should be.
Code: Select all
player.Class1 == CLASS_WARRIOR or player.Class1 == CLASS_ROGUE
It right i have tried to find a quick solution to. Has apparently functioned
Re: Malatina's survival
Posted: Sun Jan 29, 2012 10:29 pm
by kiff
It does work very well although it doesn't use my rogue skills anyway, it auto-attacks which is a great improvement for me since i had to do it all manually.
Thanks all for the help
Re: Malatina's survival
Posted: Fri Feb 03, 2012 6:03 am
by Germangold
svn 495 issue:
Code: Select all
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
Duplicate address found. #tiles = 37. Redoing table.
happens in the survival game