Version 7.4.0.2897 progress
Re: Version 7.4.0.2897 progress
i notice the function with ids not work when you compile .xml...for example in eoj dailies if you write:
player:target_NPC(123561) -- Jenn Shadoli
macro not works ,you need to change in :
player:target_NPC("Jenn Shadoli")
player:target_NPC(123561) -- Jenn Shadoli
macro not works ,you need to change in :
player:target_NPC("Jenn Shadoli")
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Version 7.4.0.2897 progress
I just pushed up a change that should start to get skills usable again. It's still got some work to go and I fully expect a ton of issues especially with AoE skills, but at least my rogue is running around and Shadowstabbing Funguses so there's that.
Re: Version 7.4.0.2897 progress
ok i try it ...i suggest you some problems if i find it:).can you check function.lua too?a few bot not wotk cause it.I posted the errors a few posts ago
Re: Version 7.4.0.2897 progress
wonderful
good: the bot uses Skills (just a short try, look at the pic, there are 2 Messages between every skill usage) not so good: everytime when i change the char and load the WP-File the bot stops working and i got this Message:
this is the part of the WP-File, when i change my char:
good: the bot uses Skills (just a short try, look at the pic, there are 2 Messages between every skill usage) not so good: everytime when i change the char and load the WP-File the bot stops working and i got this Message:
this is the part of the WP-File, when i change my char:
Code: Select all
waitForLoadingScreen(30)
loadProfile()
player:update();
loadPaths("TQ");
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Version 7.4.0.2897 progress
As a temporary fix, can you try adding this:Andre235 wrote: ↑Tue Jan 14, 2020 6:45 am wonderful
good: the bot uses Skills (just a short try, look at the pic, there are 2 Messages between every skill usage)
bota.png
not so good: everytime when i change the char and load the WP-File the bot stops working and i got this Message:
botb.png
this is the part of the WP-File, when i change my char:Code: Select all
waitForLoadingScreen(30) loadProfile() player:update(); loadPaths("TQ");
Code: Select all
MemDatabase:flush();
Re: Version 7.4.0.2897 progress
How does your bot use skills? For me skills are still broken...Andre235 wrote: ↑Tue Jan 14, 2020 6:45 am wonderful
good: the bot uses Skills (just a short try, look at the pic, there are 2 Messages between every skill usage)
bota.png
not so good: everytime when i change the char and load the WP-File the bot stops working and i got this Message:
botb.png
this is the part of the WP-File, when i change my char:Code: Select all
waitForLoadingScreen(30) loadProfile() player:update(); loadPaths("TQ");
At least...it casts skill with some error messages in the micromacro window and crashes after 3-5 seconds.
Code: Select all
Drücke MACRO: KNIGHT_CHARGE => * Cast gescheitert *
Must specify message string when calling 'getLastWarning()'.
Must specify message string when calling 'getLastWarning()'.
Drücke MACRO: KNIGHT_WAR_PRAYER => * Cast gescheitert *
Must specify message string when calling 'getLastWarning()'.
Must specify message string when calling 'getLastWarning()'.
The game client did not crash.
Character: xxx
2020-01-14 16:51:00 - ...5.207/scripts/rom-bot-version7.4.0.2897/classes/pawn.lua:806: attempt to compare number with nil
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Version 7.4.0.2897 progress
Even though it crashes and throws warnings, does it at least actually use the skill in-game?
Re: Version 7.4.0.2897 progress
Yep, at least the two skills above. Then it crashes.Administrator wrote: ↑Tue Jan 14, 2020 11:04 amEven though it crashes and throws warnings, does it at least actually use the skill in-game?
Re: Version 7.4.0.2897 progress
ok ladys,
good news!
the scripts are working with the code-line from Administrator
but the sequence is important (The error i got is caused by "waitForLoadingScreen(30)")
@Ego95: did you tried other classes (i tried a Mage/Priest and a Scout/Rogue)? maybe you have changed the "profile".xml... try using a Profile with default settings
good news!
the scripts are working with the code-line from Administrator
Code: Select all
MemDatabase:flush();
waitForLoadingScreen(30)
@Ego95: did you tried other classes (i tried a Mage/Priest and a Scout/Rogue)? maybe you have changed the "profile".xml... try using a Profile with default settings
Re: Version 7.4.0.2897 progress
Nice!
But small problems:
- too long starting time /EDIT:(OK, second start in normal time)
- bot don't looting many times /EDIT:(OK, modify in profile LOOT_DISTANCE parameter 100 to 300) EDIT2: does not provide a complete solution
and a new message in bot window: "Must specify message string when calling 'getLastWarning<>' /EDIT:(identified: "There is an obstacle between you and your target" in game)
tested MM 1.0.3.
mage
But small problems:
- too long starting time /EDIT:(OK, second start in normal time)
- bot don't looting many times /EDIT:(OK, modify in profile LOOT_DISTANCE parameter 100 to 300) EDIT2: does not provide a complete solution
and a new message in bot window: "Must specify message string when calling 'getLastWarning<>' /EDIT:(identified: "There is an obstacle between you and your target" in game)
tested MM 1.0.3.
mage
Last edited by morc on Tue Jan 14, 2020 3:23 pm, edited 2 times in total.
Re: Version 7.4.0.2897 progress
Just tested as knight because I need the monsters exp/tp just there. Copied the default profile and changed it's name to userdefault, but still with no changes made in the profile it will crash after 2-5 seconds.Andre235 wrote: ↑Tue Jan 14, 2020 2:05 pm ok ladys,
good news!
the scripts are working with the code-line from Administratorbut the sequence is important (The error i got is caused by "waitForLoadingScreen(30)")Code: Select all
MemDatabase:flush(); waitForLoadingScreen(30)
@Ego95: did you tried other classes (i tried a Mage/Priest and a Scout/Rogue)? maybe you have changed the "profile".xml... try using a Profile with default settings
- ThulsaDoom
- Posts: 128
- Joined: Mon Oct 19, 2015 2:46 pm
Re: Version 7.4.0.2897 progress
Thanks for the job done! impressive!
After testing last version:
Bot is not using secondary class skills.
Example: in Warden/Rogue combination, instead of cast Shadowstab, remains doing white hits.
After testing last version:
Bot is not using secondary class skills.
Example: in Warden/Rogue combination, instead of cast Shadowstab, remains doing white hits.
Re: Version 7.4.0.2897 progress
where do we add that ?Andre235 wrote: ↑Tue Jan 14, 2020 2:05 pm ok ladys,
good news!
the scripts are working with the code-line from Administratorbut the sequence is important (The error i got is caused by "waitForLoadingScreen(30)")Code: Select all
MemDatabase:flush(); waitForLoadingScreen(30)
@Ego95: did you tried other classes (i tried a Mage/Priest and a Scout/Rogue)? maybe you have changed the "profile".xml... try using a Profile with default settings
Re: Version 7.4.0.2897 progress
You have to add this to the waypoint file. when you want to change your char, in the latest version the bot will crash, if you use for example loginnextchar. To prevent this error, you must add the command
Code: Select all
MemDatabase:flush();
Code: Select all
waitForLoadingScreen(30)
Re: Version 7.4.0.2897 progress
Try to add the skill you want to use from the section of your sec class to the section of your primary class in the profile.xml Maybe the skills have a wrong priority value (if the bot uses these values). You can try...ThulsaDoom wrote: ↑Tue Jan 14, 2020 4:01 pm Thanks for the job done! impressive!
After testing last version:
Bot is not using secondary class skills.
Example: in Warden/Rogue combination, instead of cast Shadowstab, remains doing white hits.
Re: Version 7.4.0.2897 progress
my bot did use skills byt thers a always a delay before using them and also sometimes the char just wander around going back and fourth and the bot doesnt use herbs or potions, but 'THX FOR GREAT work' so far i'm feeling the bot soon to be perfect.
fyi i didnt need to add MemDatabase:flush();
waitForLoadingScreen(30) for the bot to use skills.
fyi i didnt need to add MemDatabase:flush();
waitForLoadingScreen(30) for the bot to use skills.
Re: Version 7.4.0.2897 progress
you only need this command, when you changed the character. if you are using only one character, MemDatabase:flush() is not important for you.
is something displayed on Micromacro, when your bot is delayed before using skills? maybe he want to attack other mobs out of range or he is trying to loot or he is too close to use the skill or something... he also could be unable to move, in case of an attack from the last mob...
in my tests, the bot is using only one Attack:
scout: Wind Arrows
rogue: Shadow Stab
But the mage uses more than one skill:
Fireball
Energy Well
Energy Influx
Lightning
maybe not all skills are fixed or not all profile options were loaded?
is something displayed on Micromacro, when your bot is delayed before using skills? maybe he want to attack other mobs out of range or he is trying to loot or he is too close to use the skill or something... he also could be unable to move, in case of an attack from the last mob...
in my tests, the bot is using only one Attack:
scout: Wind Arrows
rogue: Shadow Stab
But the mage uses more than one skill:
Fireball
Energy Well
Energy Influx
Lightning
maybe not all skills are fixed or not all profile options were loaded?
-
- Posts: 4
- Joined: Sat Dec 14, 2019 5:26 pm
Re: Version 7.4.0.2897 progress
Hello, thanks for u awesome job! . I usually uses the rock5 function of ChangeCharRestart(1,1), but when the login screen tries to select with the pointer of mouse an account, the micromacro crashes. Same with the micromacro command "rom/login char:1 acc:1", it crashes too.
The error message is:
micromacro/scripts/rom/userfunction_login.lua:133: bad argument #2 to 'memoryReadUInt' <number expected, got nil>
The error message is:
micromacro/scripts/rom/userfunction_login.lua:133: bad argument #2 to 'memoryReadUInt' <number expected, got nil>
Re: Version 7.4.0.2897 progress
with new game start windows "login next char" not work.maybe we work on it after resolve others problems:)
-
- Posts: 4
- Joined: Sat Dec 14, 2019 5:26 pm
Re: Version 7.4.0.2897 progress
independent of the new login window, this user function does work, as long as you do not link your rom account to your gameforge account, this was spoiled when when the chazis update happened... seems to me, and it spoiled everything :c (sorry me english)
Who is online
Users browsing this forum: No registered users and 5 guests