Crafting compass

Translate

Friday, May 9, 2025

my latest project that's keeping my entertained is:

taking a .net .dll that's wrote for c#

and having the .dll load and use functions from the .dll in python code


when I run my code it returns a memory location


messing with this for a few days

my code doesn't attach to a ffxi instance and I think this is one of the problems


I'm starting out simple and trying to get the current vana time to show


btw this is just getting deeper in the ffxi program building process

my current python can interact with the ffxi window

but I would love to learn how to do more intricate things like read the chatlog or tell the time


right now my code looks something like this


load dll

define function

show result from function


and the result is something like <function vanatime 0x00024b721>

google ai tells me it's telling me the location of where the time is 

but the code is wrote wrong since it isn't telling the time


I believe I need to attach to an instant first

then run my code

but even then I have no idea if it'll work


hard to find good help for something like this

google keeps saying it is possible to write python code that uses a .net dll designed for c#


I've thought about learning c# and done a little tinkering but I still find it very confusing

definitely not as user friendly as python


recently formatted my external ssd and did a factory reset to my laptop

I was having memory issues

just reinstalled ffxi it was going to take 2 hours to update on wifi then it failed and it only took 20 mins to update on ethernet


No comments:

Post a Comment