Regarding my Alchemy macro

For general discussion concerning Pangaea

Moderator: Game Masters

Cyrus Tegyr
Posts: 2216
Joined: Sat Sep 10, 2011 4:12 am
Location: 625-658-845 Nujel'm
Contact:

Re: Regarding my Alchemy macro

Post by Cyrus Tegyr »

Should you click the Reset button in the settings, you'll notice that the sound path options get set to -1 just close and reopen the settings and it will show their defaults it's really strange that it does that but at this point I can't be bothered to worry about a minor inconvenience especially since most people with either change it to their sound path or not worry about it at all.
The black market was a way of getting around government controls. It was a way of enabling the free market to work. It was a way of opening up, enabling people. - Milton Friedman
Cyrus Tegyr
Posts: 2216
Joined: Sat Sep 10, 2011 4:12 am
Location: 625-658-845 Nujel'm
Contact:

Re: Regarding my Alchemy macro

Post by Cyrus Tegyr »

It's that time again.

I have had a report of an issue with my alchemy macro. I am curious if anyone else experienced this.

When making special potions, this person says he selects all the regs he wants to use for the potion and when he clicks start it gives him a server message of "I can't think of a way to use that." when it should be trying to use bottles from an open container. Anyone else seen this happen or having it happen currently? I have scoured over my macro and just do not see why someone would be getting this message from the server, there are only two possibilities as to why this is happening and one is an impossible scenario unless there is a bug server side where you can lock things down as decoration in a container. The other scenario is if there was a gm made item that uses an empty bottle graphic and it is colored 0 which I find highly improbable. If anyone has this issue or has in the past, please let me know as I want to get that fixed if possible on my end.

If it has happened to you or is, please post exactly what you are trying to do including what you select in for reagents.
The black market was a way of getting around government controls. It was a way of enabling the free market to work. It was a way of opening up, enabling people. - Milton Friedman
Cyrus Tegyr
Posts: 2216
Joined: Sat Sep 10, 2011 4:12 am
Location: 625-658-845 Nujel'm
Contact:

Re: Regarding my Alchemy macro

Post by Cyrus Tegyr »

Due to my incompetence, I have fixed a bug with this macro.

Before the change if you set the HealTo variable in the settings tab to anything above 100 or anything below 1, it was suppose to change it to either 100 or 1 respectively, however due to my incompetence it was not doing this as I was trying to change a system variable (#menuRes) to the respective numbers, however being that #menuRes is a read only variable, trying to write to it does literally nothing.

If you have experienced issues where the macro has hung up after making one potion and it just freezes or in the normal potion making portion of the macro it only makes 1 loop of potions and doesn't continue, don't fret any longer, it was my error not yours, however, this being said, it took me a few days to hunt it down, if you come to me with issues with any of my macros, there is somethings you can do to help me, these include:

If the macro hangs up but is still running, simply hit the Pause button and tell me what line it pauses on as this will tell me what portion of the macro I need to look at.

If there are settings involved in my macro such as this one, please tell me what each setting is set to.

And finally for the love of god, don't tell me "it doesn't work." As that tells me nothing.

Feel free to grab the update for from the same link and any further issues please let me know, idiotic mistakes such as this one I made are pretty common place for me especially when you consider the length of the macro and how many things you have to try to work out in your head when trying to get everything to work harmoniously with each other.

Edit: I should point out, I "fixed" it in as much as I fixed it to the best I can while at work, it should resolve the issue I mentioned above with it not looping potions but you never know if I flummoxed something it up or not :D.
The black market was a way of getting around government controls. It was a way of enabling the free market to work. It was a way of opening up, enabling people. - Milton Friedman
Ares

Re: Regarding my Alchemy macro

Post by Ares »

Dude, just start a git repo for it already. That way everyone can always have the latest version and see your commit messages.
Cyrus Tegyr
Posts: 2216
Joined: Sat Sep 10, 2011 4:12 am
Location: 625-658-845 Nujel'm
Contact:

Re: Regarding my Alchemy macro

Post by Cyrus Tegyr »

Kidding me, I'd rather bog down the forums with everything!

I'll take it under consideration :D
The black market was a way of getting around government controls. It was a way of enabling the free market to work. It was a way of opening up, enabling people. - Milton Friedman
Ares

Re: Regarding my Alchemy macro

Post by Ares »

You won't regret it. Git it awesome. I use it for all my projects. Github let's you have unlimited public repos, with a wiki and website if you want it.

Pangaea uses git as well, just a private repo obviously.
Post Reply