Version 7.4.0.2897 progress

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#821 Post by ThulsaDoom » Fri Oct 30, 2020 3:56 am

Administrator wrote: Thu Oct 29, 2020 4:38 pm
ThulsaDoom wrote: Wed Oct 28, 2020 8:29 am Since last adresses update, my Scout/Warden is facing difficulties to cast skills:
I noticed that on scouts, skill detection was a bit finicky. It seemed like the way the bot forces the game to load the skill info wasn't working great. Adding a slight delay after force-loading skills seems to improve things quite a bit and all skills are now being detected appropriately for me. Can you update and see if that has helped?
Also, my Knight/Warrior is not targeting and attacking the enemies, only attack them when is detected by aggro.
Could be a million things. Try adding this to your profile to turn up some ideas:

Code: Select all

<option name="DEBUG_TARGET" value="true" />
Thanks, DEBUG_TARGET gives some clues, this is the history:

Code: Select all

Loaded waypoint path XX.xml
No return path with default namingXX_return.xml found.
We use the normal waypoint path XX.xml now.
We changed the option 'MAX_TARGET_DIST' from '150' to '100'.
We changed the option 'ANTI_KS' from 'true' to 'true'.
Moving to waypoint #1, (7580, 2782)  
Moving to waypoint #2, (7583, 2730)  
Moving to waypoint #3, (7589, 2652)
Moving to waypoint #4, (7595, 2561)
Moving to waypoint #5, (7600, 2490)
Stopping waypoint: Target acquired before moving.
Use MACRO: Executing RoMScript "CancelPlayerBuff(2);".
Engaging enemy [Inferno Butterfly] in combat.
Moving in | Suggested range: 50 | Distance: 54
[DEBUG] 1484036864 target lvl above/below profile settings without battling
Target lost.
Clearing target.
Current fight aborted.
Moving to waypoint #5, (7600, 2490)
Moving to waypoint #6, (7606, 2420)
Moving to waypoint #7, (7613, 2350)
[DEBUG] 1453512448 target lvl above/below profile settings without battling
Moving to waypoint #8, (7622, 2283)
Stopping waypoint: Target acquired before moving.
Engaging enemy [Inferno Butterfly] in combat.
Moving in | Suggested range: 50 | Distance: 85
[DEBUG] 1453512448 target lvl above/below profile settings without battling
Target lost.
Clearing target.
Current fight aborted.
Moving to waypoint #8, (7622, 2283)
[DEBUG] 1453503488 target is a friend
[DEBUG] 1453503488 target lvl above/below profile settings without battling
We have aggro. Stop moving to waypoint and wait for target.
Got aggro. Attacking aggressive enemies.
Engaging enemy [Inferno Butterfly] in combat.
Use MACRO: KNIGHT_HOLY_STRIKE                      =>Inferno Butterfly 100%
Use MACRO: KNIGHT_HOLY_SEAL                        =>Inferno Butterfly 72%
Use MACRO: KNIGHT_PUNISHMENT                       =>Inferno Butterfly 0%
Fight finished. Killed 1 Inferno Butterfly. (fight #1 / runtime 1 minutes)
Clearing target.
Loot skipped because of aggro.
[DEBUG] 1453503488 target lvl above/below profile settings without battling
Got aggro. Attacking aggressive enemies.
Engaging enemy [Copper Gardener] in combat.
Use MACRO: KNIGHT_HOLY_STRIKE                      => Copper Gardener 87%
Use MACRO: WARRIOR_SLASH                           => Copper Gardener 76%
Use MACRO: KNIGHT_HOLY_STRIKE                      => Copper Gardener 65%
Use MACRO: WARRIOR_SLASH                           => Copper Gardener 50%
Use MACRO: KNIGHT_HOLY_STRIKE                      => Copper Gardener 39%
Use MACRO: KNIGHT_HOLY_STRIKE                      => Copper Gardener 26%
Use MACRO: KNIGHT_PUNISHMENT                       => Copper Gardener 0%
[DEBUG] 1453515008 target is not Alive
Fight finished. Killed 1 Copper Gardener. (fight #2 / runtime 1 minutes)
Clearing target.
Loot skipped because of aggro.
[DEBUG] 1453503488 target lvl above/below profile settings without battling
Got aggro. Attacking aggressive enemies.
Engaging enemy [Inferno Butterfly] in combat.
Use MACRO: WARRIOR_SLASH                           =>Inferno Butterfly 100%
Use MACRO: KNIGHT_HOLY_STRIKE                      =>   * aborted *
[DEBUG] 1484036864 target is not Alive
Fight finished. Killed 2 Inferno Butterfly. (fight #3 / runtime 1 minutes)
[DEBUG] 1453512448 target is lootable therefore dead
Add prediction for block 520000, branch 0x258
Clearing target.
Moving to waypoint #8, (7622, 2283)
[DEBUG] 1453503488 target is a friend
Moving to waypoint #9, (7629, 2217)
Moving to waypoint #10, (7635, 2166)
Moving to waypoint #11, (7644, 2096)  tag: 8a10
Stopping waypoint: Target acquired.
Engaging enemy [Inferno Butterfly] in combat.
Moving in | Suggested range: 50 | Distance: 91
[DEBUG] 926811392 target lvl above/below profile settings without battling
Target lost.
Clearing target.
Current fight aborted.
We overrun waypoint #11, skip it and move on to #12
Got aggro. Attacking aggressive enemies.
Engaging enemy [Inferno Butterfly] in combat.
Use MACRO: KNIGHT_HOLY_STRIKE                      =>Inferno Butterfly 87%
Use MACRO: KNIGHT_HOLY_SEAL                        =>Inferno Butterfly 60%
Use MACRO: KNIGHT_PUNISHMENT                       =>Inferno Butterfly 0%
Fight finished. Killed 3 Inferno Butterfly. (fight #4 / runtime 1 minutes)
Clearing target.
Moving to waypoint #12, (7658, 2051)
Moving to waypoint #13, (7686, 1962)
Moving to waypoint #14, (7711, 1891)
Moving to waypoint #15, (7741, 1810)
[DEBUG] 1257494272 target is a friend
Moving to waypoint #16, (7771, 1729)
Stopping waypoint: Target acquired.
Engaging enemy [Inferno Butterfly] in combat.
Moving in | Suggested range: 50 | Distance: 88
[DEBUG] 1484025344 target lvl above/below profile settings without battling
Target lost.
Clearing target.
Current fight aborted.
Moving to waypoint #16, (7771, 1729)
Moving to waypoint #17, (7797, 1656)
We have aggro. Stop moving to waypoint and wait for target.
Got aggro. Attacking aggressive enemies.
Engaging enemy [Inferno Butterfly] in combat.
Use MACRO: WARRIOR_SLASH                           =>Inferno Butterfly 72%
Use MACRO: KNIGHT_HOLY_STRIKE                      =>Inferno Butterfly 38%
Use MACRO: KNIGHT_HOLY_SEAL                        =>Inferno Butterfly 20%
Too close. Backing up.
Use MACRO: KNIGHT_HOLY_STRIKE                      =>Inferno Butterfly 0%
Fight finished. Killed 4 Inferno Butterfly. (fight #5 / runtime 1 minutes)
Clearing target.
Moving to waypoint #17, (7797, 1656)
Moving to waypoint #18, (7819, 1603)
We changed the option 'MAX_TARGET_DIST' from '100' to '150'.
Moving to waypoint #19, (7835, 1550)
Stopping waypoint: Target acquired before moving.
Engaging enemy [Inferno Butterfly] in combat.
Moving in | Suggested range: 50 | Distance: 123
[DEBUG] 1484021504 target lvl above/below profile settings without battling
Target lost.
Clearing target.
Current fight aborted.
Moving to waypoint #19, (7835, 1550)
Moving to waypoint #20, (7835, 1505)
Stopping waypoint: Target acquired.
Engaging enemy [Inferno Butterfly] in combat.
Moving in | Suggested range: 50 | Distance: 139
[DEBUG] 1249235456 target lvl above/below profile settings without battling
Target lost.
Clearing target.
Current fight aborted.
Estem al area (8a10).
We overrun waypoint #20, skip it and move on to #21
We changed the option 'MAX_TARGET_DIST' from '150' to '100'.
This is a tour of "Inferno Gardens", killing butterflies. I
Can see that the times it doesn't attack the target is because it detects "target lvl above / below profile settings". It is not always like that, since sometimes it behaves as it should, attacking the target.

Knight/Warrior lvl is 53. Inferno butterfly lvl is 51

The information in profile is:

Code: Select all

<option name="TARGET_LEVELDIF_ABOVE" 	value="5" />
<option name="TARGET_LEVELDIF_BELOW" 	value="95" />
And

Code: Select all

<friends>
		<friend name="Spirit Core" />
		<friend name="Dark Rite Warlock" />
		<friend name="Dark Rite Acolyte" />
		<friend name="Dark Rite Mage" />
		<friend name="Dark Rite Instructor" />
		<friend name="Copper Gardener" />
		<friend name="Ogest" />
		<friend name="Fierce Gale" />
</friends>
Hope this helps

Onche
Posts: 64
Joined: Thu Jun 11, 2015 6:10 pm

Re: Version 7.4.0.2897 progress

#822 Post by Onche » Fri Oct 30, 2020 4:13 am

Administrator wrote: Thu Oct 29, 2020 11:24 am
Onche wrote: Thu Oct 29, 2020 6:55 am - spikes : a square dealing damages if you walk over - My guess is that line 250 tells the char to just fly a little bit higher so it doesn't receive any damage, before digging somewhere else. But because I don't want my char to fly and get banned, this part is not really necessary, better just tell my char to go to the next tile.
I think you should be able to just remove the code on line 250 (the moveto call) entirely and it should (hopefully) just work.
Ok well I tried this and nothing changed, it basically breaks when the char finishes digging one tile, so I would just restart the script, the char digs a new one and breaks again, and even by removing the line 250, it still breaks with the same error "attempt to index local 'waypoint'" when finding spikes (and breaks also for the other rewards).

For now I feel like it is a bit waste of time to try to fix that script as it is a minigame from an event, better just focus on important stuff, but i'll try to play around with it. In your last rom/bot, there is a script in waypoint folder called "survivalR5.xml" + "survivalR5_onload.lua", It is basically the same minigame but the halloween one has extra stuff. Howerver, the code looks similar (except it is also teleporting), so maybe I can find something helpful inside.

Thank you so much for your help

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#823 Post by Sasuke » Sat Oct 31, 2020 9:25 am

bot not target mobs , i try to add in profile:

<!-- if no names defined we will attack all mobs -->
<mob name="Mutated Temple Demon Weed" />
<mob name="Sun Temple Cmobat Mage" />
<mob name="Mutated Angren Priest" />
<mob name="Sun Temple Guardian" />
<mob name="Mutated Temple Puakari" />

i set level:
<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="99" />
<option name="TARGET_LEVELDIF_BELOW" value="99" />
not work...suggest?

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Version 7.4.0.2897 progress

#824 Post by Administrator » Sat Oct 31, 2020 10:35 am

I'm having a bit of difficulty finding an explanation for the leveldiff stuff. It looks like the addresses check out. I think that maybe for some reason or other, reading the level may fail. Could you two open up player.lua and add a print statement around line 2428? It should look like this after modification:

Code: Select all

	-- check level of target against our leveldif settings
	target:updateLevel()
	printf("Target level: %d, player level: %d, above: %d, below: %d\n", target.Level, player.Level, tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE), tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW));
Do you have trouble with only certain enemies, or every enemy?

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#825 Post by Sasuke » Sat Oct 31, 2020 1:55 pm

in xaviera for example i can target enemies but in st not, also i notice if i change pet's help number in profile macro not works too,anyway i have :
-- check level of target against our leveldif settings
target:updateLevel()
if( ( target.Level - player.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE) or
( player.Level - target.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW) ) then
debug_target("target lvl above/below profile settings without battling")
return false; -- he is not a valid target

where do i need to add your strings?

User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#826 Post by ThulsaDoom » Sat Oct 31, 2020 2:34 pm

Administrator wrote: Sat Oct 31, 2020 10:35 am I'm having a bit of difficulty finding an explanation for the leveldiff stuff. It looks like the addresses check out. I think that maybe for some reason or other, reading the level may fail. Could you two open up player.lua and add a print statement around line 2428? It should look like this after modification:

Code: Select all

	-- check level of target against our leveldif settings
	target:updateLevel()
	printf("Target level: %d, player level: %d, above: %d, below: %d\n", target.Level, player.Level, tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE), tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW));
Do you have trouble with only certain enemies, or every enemy?
Did it;
Here the result:

Code: Select all

Target level: 50, player level: 539247755, above: 6, below: 94
Target level: 50, player level: 539247755, above: 6, below: 94
Target level: 50, player level: 539247755, above: 6, below: 94
Target level: 50, player level: 539247755, above: 6, below: 94
Engaging enemy [Bonechomp Bloom] in combat.
Moving in | Suggested range: 50 | Distance: 58
Use MACRO: KNIGHT_HOLY_STRIKE                      => Bonechomp Bloom 100%
Use MACRO: KNIGHT_HOLY_STRIKE                      => Bonechomp Bloom 18%
Use MACRO: WARRIOR_PROBING_ATTACK                  => Bonechomp Bloom 0%
Fight finished. Killed 1 Bonechomp Bloom. (fight #1 / runtime 0 minutes)
Clearing target.
Target level: 50, player level: -859633468, above: 6, below: 94
Engaging enemy [Wandering Skeleton] in combat.
Fight finished. Killed 1 Wandering Skeleton. (fight #2 / runtime 0 minutes)
Clearing target.
Target level: 50, player level: 1210358923, above: 6, below: 94
Target level: 50, player level: 1210358923, above: 6, below: 94
Target level: 50, player level: 1210358923, above: 6, below: 94
When starts the bot, with Rbassist waypoint, you get:

Code: Select all

Target level: 50, player level: 54, above: 6, below: 94
Which is correct and the bot attacks as it should.
Then suddenly changes to (occurs when you finish kill enemies):

Code: Select all

Target level: 50, player level: 539247755, above: 6, below: 94
Which is correct and the bot attacks as it should.

Then changes to:

Code: Select all

Target level: 50, player level: -859633468, above: 6, below: 94
Now bot doesn't attack

Player lvl value changes, it seems after killing an enemy; if it's value is below 0, doesn't attack.

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Version 7.4.0.2897 progress

#827 Post by Administrator » Sat Oct 31, 2020 4:31 pm

Can you open up your addresses.lua file and verify these:

Code: Select all

	class_info = {
		base = 0x60cc48, --[[{class_info_base}]]
		offset = 0x438,
		size = 0x430,
		level = 0x28,
		tp = 0x10
	},
Does it only happen when using RBassist, or does it happen with any waypoints?

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#828 Post by Sasuke » Sat Oct 31, 2020 6:25 pm

Administrator wrote: Sat Oct 31, 2020 4:31 pm Can you open up your addresses.lua file and verify these:

Code: Select all

	class_info = {
		base = 0x60cc48, --[[{class_info_base}]]
		offset = 0x438,
		size = 0x430,
		level = 0x28,
		tp = 0x10
	},
Does it only happen when using RBassist, or does it happen with any waypoints?
these are the same string that have in my addresses.lua.....but i can't print like post before cause i don'0t understand where do i need to copy your code
target:updateLevel()
if( ( target.Level - player.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE) or
( player.Level - target.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW) ) then
debug_target("target lvl above/below profile settings without battling")
return false; -- he is not a valid target

User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#829 Post by ThulsaDoom » Sun Nov 01, 2020 1:48 am

Administrator wrote: Sat Oct 31, 2020 4:31 pm Can you open up your addresses.lua file and verify these:

Code: Select all

	class_info = {
		base = 0x60cc48, --[[{class_info_base}]]
		offset = 0x438,
		size = 0x430,
		level = 0x28,
		tp = 0x10
	},
Does it only happen when using RBassist, or does it happen with any waypoints?
This is exactly what I have in addresses.lua, verified.
It happens in any waypoint.

User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#830 Post by ThulsaDoom » Sun Nov 01, 2020 5:17 am

Meanwhile, I have modified the player.lua

Code: Select all

-- check level of target against our leveldif settings
	target:updateLevel()
	--printf("Target level: %d, player level: %d, above: %d, below: %d\n", target.Level, player.Level, tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE), tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW));
	if( ( target.Level - player.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE)  or
	( player.Level - target.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW)  ) then
		debug_target("target lvl above/below profile settings without battling")
		return true;			-- he is not a valid target
	end;
By changing the last return to true in this way the level difference is always validated.
The problem is solved (temporally), now the bot always attacks properly.

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#831 Post by Sasuke » Sun Nov 01, 2020 6:10 am

ThulsaDoom wrote: Sun Nov 01, 2020 5:17 am Meanwhile, I have modified the player.lua

Code: Select all

-- check level of target against our leveldif settings
	target:updateLevel()
	--printf("Target level: %d, player level: %d, above: %d, below: %d\n", target.Level, player.Level, tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE), tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW));
	if( ( target.Level - player.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE)  or
	( player.Level - target.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW)  ) then
		debug_target("target lvl above/below profile settings without battling")
		return true;			-- he is not a valid target
	end;
By changing the last return to true in this way the level difference is always validated.
The problem is solved (temporally), now the bot always attacks properly.
do i need to copy this strings in player-lua?after all works?

User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#832 Post by ThulsaDoom » Sun Nov 01, 2020 9:40 am

Sasuke wrote: Sun Nov 01, 2020 6:10 am
ThulsaDoom wrote: Sun Nov 01, 2020 5:17 am Meanwhile, I have modified the player.lua

Code: Select all

-- check level of target against our leveldif settings
	target:updateLevel()
	--printf("Target level: %d, player level: %d, above: %d, below: %d\n", target.Level, player.Level, tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE), tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW));
	if( ( target.Level - player.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE)  or
	( player.Level - target.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW)  ) then
		debug_target("target lvl above/below profile settings without battling")
		return true;			-- he is not a valid target
	end;
By changing the last return to true in this way the level difference is always validated.
The problem is solved (temporally), now the bot always attacks properly.
do i need to copy this strings in player-lua?after all works?
Yes, is in player.lua file.
This works for me, but I don't know for your stuff.

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Version 7.4.0.2897 progress

#833 Post by Administrator » Sun Nov 01, 2020 10:11 am

Thulsa, I pushed up a change to the git repo yesterday which *might* resolve the underlying issue. Could you try reverting your player.lua change, update from git, and see if that resolves it?

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#834 Post by Sasuke » Sun Nov 01, 2020 1:22 pm

clean new installation of zip inside my micromacro and bot just with one my waypoint for dailies said:
2020-11-01 19:21:29 - C:/Program Files/micromacro/scripts/rom/classes/player.lua:219: attempt to index global 'player' (a nil value)

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Version 7.4.0.2897 progress

#835 Post by Administrator » Sun Nov 01, 2020 2:45 pm

Sorry about that; I was supposed to remove that line before pushing it. Please update and try again.

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#836 Post by Sasuke » Sun Nov 01, 2020 3:47 pm

Administrator wrote: Sun Nov 01, 2020 2:45 pm Sorry about that; I was supposed to remove that line before pushing it. Please update and try again.
...rogram Files/micromacro/scripts/rom/classes/bankitem.lua:26: in function 'update'
...rogram Files/micromacro/scripts/rom/classes/bankitem.lua:11: in function 'constructor'
C:/Program Files/micromacro/lib/mods/classes.lua:54: in function 'CBankItem'
C:/Program Files/micromacro/scripts/rom/classes/bank.lua:16: in function 'constructor'
C:/Program Files/micromacro/lib/mods/classes.lua:56: in function 'CBank'
scripts\rom/bot.lua:330: in function 'foo'
C:\Program Files\micromacro\lib\lib.lua:570: in function <C:\Program Files\micromacro\lib\lib.lua:568>
Wrong value returned in update of CItem id: 204910
stack traceback:
C:/Program Files/micromacro/scripts/rom/classes/item.lua:86: in function 'update'
...rogram Files/micromacro/scripts/rom/classes/bankitem.lua:26: in function 'update'
...rogram Files/micromacro/scripts/rom/classes/bankitem.lua:11: in function 'constructor'
C:/Program Files/micromacro/lib/mods/classes.lua:54: in function 'CBankItem'
C:/Program Files/micromacro/scripts/rom/classes/bank.lua:16: in function 'constructor'
C:/Program Files/micromacro/lib/mods/classes.lua:56: in function 'CBank'
scripts\rom/bot.lua:330: in function 'foo'
C:\Program Files\micromacro\lib\lib.lua:570: in function <C:\Program Files\micromacro\lib\lib.lua:568>
Wrong value returned in update of CItem id: 243219
stack traceback:
C:/Program Files/micromacro/scripts/rom/classes/item.lua:86: in function 'update'
...rogram Files/micromacro/scripts/rom/classes/bankitem.lua:26: in function 'update'
...rogram Files/micromacro/scripts/rom/classes/bankitem.lua:11: in function 'constructor'
C:/Program Files/micromacro/lib/mods/classes.lua:54: in function 'CBankItem'
C:/Program Files/micromacro/scripts/rom/classes/bank.lua:16: in function 'constructor'
C:/Program Files/micromacro/lib/mods/classes.lua:56: in function 'CBank'
scripts\rom/bot.lua:330: in function 'foo'

i tryed and i have crash with this error,but bot seems works:
020-11-01 21:48:54 - C:/Program Files/micromacro/scripts/rom/macros.lua:151: attempt to perform arithmetic on local 'macro_address' (a nil value)

User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#837 Post by ThulsaDoom » Mon Nov 02, 2020 4:14 am

Administrator wrote: Sun Nov 01, 2020 10:11 am Thulsa, I pushed up a change to the git repo yesterday which *might* resolve the underlying issue. Could you try reverting your player.lua change, update from git, and see if that resolves it?
Yes, the problem has been solved.
What was the problem? Memory address issue?

Thanks for your support.

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#838 Post by Sasuke » Mon Nov 02, 2020 5:40 am

ThulsaDoom wrote: Mon Nov 02, 2020 4:14 am
Administrator wrote: Sun Nov 01, 2020 10:11 am Thulsa, I pushed up a change to the git repo yesterday which *might* resolve the underlying issue. Could you try reverting your player.lua change, update from git, and see if that resolves it?
Yes, the problem has been solved.
What was the problem? Memory address issue?

Thanks for your support.
you resolve only with rom/gitupdate?....show me your changes

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Version 7.4.0.2897 progress

#839 Post by Administrator » Mon Nov 02, 2020 9:30 am

Sasuke wrote: Sun Nov 01, 2020 3:47 pm i tryed and i have crash with this error,but bot seems works:
020-11-01 21:48:54 - C:/Program Files/micromacro/scripts/rom/macros.lua:151: attempt to perform arithmetic on local 'macro_address' (a nil value)
Hmm, strangely enough, I'm getting the same thing this morning. I don't think there was any update for the game, and it was working fine for me yesterday. I'll take a look after work.
Yes, the problem has been solved.
What was the problem? Memory address issue?
I'm not entirely sure why you sometimes are getting those strange values read from that memory address to be honest. I'm not able to reproduce it at all over here. I did do some basic bounds checking on the read value, though, and am able to trap when it reads something that is obviously wrong. When it reads the wrong value, it will correct based on last-known good information.

Thanks for testing that for me!

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#840 Post by Sasuke » Mon Nov 02, 2020 11:23 am

i try to use a simple waypoint where we can fly anywhere....but this is crash inside the new labirinth event......someone can help for able inside too?
outside fly works but not there .this is the waypoint
i don't have any errors about why player die continuosly...
Attachments
hack.xml
(1.05 KiB) Downloaded 138 times

Locked

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 26 guests