Page 49 of 53

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 6:43 am
by Administrator
I have already put up an update and there is an announcement on that.

Just update your scripts and everything should work again. If not, please explain exactly what isn't working.

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 7:08 am
by Sasuke
ok i will do .ii will update for gitup

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 8:43 am
by Sasuke
Administrator wrote: Sat Jun 26, 2021 10:03 am Just pushed up a fix. Things seem to be working again now. The major change that I could see is that it they added an extra 4 bytes to the item struct; this was throwing off accessing any lists of items (inventory, equipment, bank, etc..). Not sure what the extra 4 bytes is for yet.

Update your scripts off of github and you should be good to go.
i have this problem when start partyhealler .xml
2021-07-16 15:42:34 - ...ogram Files/micromacro/micromacro/scripts/rom/macros.lua:156: bad argument #1 to 'char' (number expected, got nil)

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 9:48 am
by Administrator
Oof. Those extended ASCII characters do not display right for you, I see. Anyone else have that, or does it look like the screenshot posted here?

Anyways, thanks for the report. I'll take a look into that after work today. Still have a few hours left on the clock.

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 3:21 pm
by Administrator
@Sasuke could you open up your addresses.lua and verify your macro settings? You should see:

Code: Select all

	macro = {
		base = 0x676d54, --[[{macro_base}]]
		size = 0x508, --[[{macro_size}]]
		id = 0x10,
		icon = 0x14,
		name = 0x18,
		content = 0x118
	},

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 6:21 pm
by Sasuke
i changed your section but i have this prob now :
2021-07-17 01:17:45 - ...ogram Files/micromacro/micromacro/scripts/rom/macros.lua:305: attempt to perform arithmetic on local 'hotkeysTableAddress' (a nil value)

i don't understand why in your reviews in git site it's different macro section too like this :
macro = {
base = 0x66e3ec, --[[{macro_base}]]
size = 0x508, --[[{macro_size}]]
id = 0x10,
icon = 0x14,
name = 0x18,
content = 0x118
},

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 6:22 pm
by Sasuke
i use rom/gitupdate too and windows say this :
Backing up current code to gitupdate-backup
error: Your local changes to the following files would be overwritten by merge:
addresses.lua
addrtest.lua
addrupdate.lua
bot.lua
classes/bankitem.lua
classes/eggpet.lua
classes/equipmentitem.lua
classes/inventoryitem.lua
functions.lua
Please commit your changes or stash them before you merge.
error: The following untracked working tree files would be overwritten by merge:
userfunctions/userfunction_objectdump.lua
waypoints/objdump.xml
Please move or remove them before you merge.
Aborting
Updating ba25706a..ceb154dd




Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 16, 2021 7:53 pm
by Administrator
I think you downloaded a previous release instead of the latest master files. I did not create a release yet for this game version, so if you downloaded from the releases section, you've got a previous version.

What you want is the master files, which you can download with this link:
https://github.com/SolarStrike-Software ... master.zip

Re: Version 7.4.0.2897 progress

Posted: Wed Jul 28, 2021 4:21 pm
by Duke90
Hi, everyone

Does someone have the problem that the micro macro no longer sends items?
No matter what I try, the bot always says there is nothing to send.
I would be very happy to receive help.

Thank you :D :D

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 7:05 am
by Sasuke
Administrator wrote: Fri Jul 16, 2021 7:53 pm I think you downloaded a previous release instead of the latest master files. I did not create a release yet for this game version, so if you downloaded from the releases section, you've got a previous version.

What you want is the master files, which you can download with this link:
https://github.com/SolarStrike-Software ... master.zip
ok now works....i'd like to create new .xml (like dod follower xml) where my main invite alt in party and where my alt enter in ini after my main and follow him for farm items, go out and remake all....i know which commands are for invite but i don't rememebr how to say to alt " enter in party ini after accept party and after him check main inside when spown" .any suggestion?
i found only one command to add in profile :
<option name="PARTYLEADER_WAIT" value="false" /> <!-- to make a normal bot wait for party members -->
but i don't know if it works......

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 8:57 am
by xrozhija
Administrator wrote: Fri Jul 16, 2021 9:48 am Oof. Those extended ASCII characters do not display right for you, I see. Anyone else have that, or does it look like the screenshot posted here?

Anyways, thanks for the report. I'll take a look into that after work today. Still have a few hours left on the clock.
The extended ASCII logo looks the same as Sasuke for me.

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 9:13 am
by Administrator
xrozhija wrote: Thu Jul 29, 2021 8:57 am
Administrator wrote: Fri Jul 16, 2021 9:48 am Oof. Those extended ASCII characters do not display right for you, I see. Anyone else have that, or does it look like the screenshot posted here?

Anyways, thanks for the report. I'll take a look into that after work today. Still have a few hours left on the clock.
The extended ASCII logo looks the same as Sasuke for me.
Which operating system are you using?

Could you open up a command prompt* and run this command?

Code: Select all

chcp
That should output something like:

Code: Select all

C:\WINDOWS\system32>chcp
Active code page: 65001
What is your active code page?



* To open a command prompt, you can do one of the following:
  • Windows key + R. Enter "cmd" into the prompt and press enter.
  • (Windows > 7) Click the Windows button. When the Windows menu pops up, just start typing "cmd" and it should find "Command Prompt". Press enter or click on that.
  • (Windows > 10) Right-click the Windows button, select Command Prompt from the list
  • (Powertools installed) Press Ctrl+Space to open a run dialog, then type "cmd" and press enter

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 9:54 am
by xrozhija
Running windows 10,
Active code page: 850

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 10:37 am
by xrozhija
Another bigger issue, is alot of older waypoints on the site gives this error now when trying to use.

[string "..."]:22: bad argument #2 to 'memoryReadIntPtr' (number expected, got nil)

aparently this has something to do with the speedhack option in waypoints, as removing that part from waypoints makes it run.

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 11:06 am
by Administrator
Can you either provide a copy of those, or point me to exactly where you got them?

A lot of those old scripts contain hard-coded values for their addresses within themselves, and therefore do not get updated address information as the rest of the bot has been updated. The only way to correct that is to actually update those scripts themselves.

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 11:46 am
by xrozhija
Administrator wrote: Thu Jul 29, 2021 11:06 am Can you either provide a copy of those, or point me to exactly where you got them?

A lot of those old scripts contain hard-coded values for their addresses within themselves, and therefore do not get updated address information as the rest of the bot has been updated. The only way to correct that is to actually update those scripts themselves.
this waypoint for instance.

viewtopic.php?p=53230#p53230

If I remove the part with speedhack, it starts to run, until it finishes with waypoint 6, then it prints
[string "..."]:16: bad argument #2 to 'memoryReadBytePtr' (number expected, got nil)

Code: Select all

repeat
		--if( not windowValid(getAttachedHwnd()) ) then error("Ending script",2) end
		player:updateXYZ()
		if 10 > distance(player.X, player.Z, 5121, 2515) then
			break
		end
		FindSigils()
		yrest(200)
	until memoryReadBytePtr(getProc(),addresses.loadingScreenPtr, addresses.loadingScreen_offset) ~= 0

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 3:08 pm
by Administrator
As I suspected, that script uses the old addresses structure. I just pushed up a commit on Github to add a compatibility layer for the loading byte; go ahead and update (Download zip from here, use the RoM bot updater tool, or run rom-bot/gitupdate) and it should work again (assuming that there's no other issues).

I also made a change to the logo; the script will try to upgrade you to code page 65001 (UTF-8) if it can so you may be able to see the new logo text. If not, there's still a fallback mode that isn't as pretty, but it sure beats the alphabet-puke from before.

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 4:44 pm
by Sasuke
same code



C:\Windows\System32>chcp
Tabella codici attiva: 850

Re: Version 7.4.0.2897 progress

Posted: Thu Jul 29, 2021 10:40 pm
by xrozhija
With that update, the ROM logo shows properly.

However the speedhack part of waypoints are still not working, but deleting that part, then the waypoint runs fine.

Re: Version 7.4.0.2897 progress

Posted: Fri Jul 30, 2021 1:41 am
by ThulsaDoom
xrozhija wrote: Thu Jul 29, 2021 10:40 pm With that update, the ROM logo shows properly.

However the speedhack part of waypoints are still not working, but deleting that part, then the waypoint runs fine.
Speedhack works fine for me.
Are you using the last version of userfunction?