-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-read attributes from the game and auto-send macro into the game #74
Comments
I'm willing to work on this. I'm not too familiar with dalamud though |
I would handle the Dalamud part, it will basically be a web server which you can query for stats in JSON format, something like http://127.0.0.1:37914/CRP for carpenter each time before macro generation is started. Output is something like this:
or empty if not logged in/doesn't have requested class unlocked on this character/doesn't have data for it yet I don't know JS though so that's where I'd need help with frontend. I imagined it somewhat like that: |
I've delved deeper into this code base and it appears that there is already a function that checks for updates made to the stats of the crafter before it generates macros. This makes sense when you think about how the buffs get implemented. If I can pull json data like the one you have above then it should be pretty straight forward to change the stats and output the macro line by line. You are linking to a local host though so I cannot see the desired macro output. Basically, you want a way to accept new stats (including buffs) on crafters to update within the solver. Then output the macros, as plaintext line by line? Again I'm assuming it's plain text because I can't see it. It'd be much easier to use something like selenium to import the relevant data from dalamud into the solver though. Could make a headless selenium script that just outputs the macros as plaintext. I'm just throwing ideas out there |
this could also work probably, I'm going to try that once I finish currently ongoing projects
this is because web server would run inside the game itself |
Check out Dalamud and this repo, https://github.com/WorkingRobot/craftimizer |
Hello.
It would be nice if current stats, food could be read directly from the game.
Additionally, it would be nice if once a macro is generated, it would be automatically sent into game for further processing as user will configure.
Unfortunately I do not know JS so I can not implement these features myself. However, I'm willing to make a backend (Dalamud plugin) that will provide requested data and accept generated macro.
Would you be willing to add these functions to the solver?
The text was updated successfully, but these errors were encountered: