PSOBB Addon Plugin (Lua UI addons)

@hiyall You should probably post a screnshot of the Log addon (you can open it by clicking on the log button in the menu)
To see if there is any issue with the loading of the addons
 
@Ender That's nice... at least for people to use JP in the meantime.
I believe something @Eidolon wanted to do was to get a monospace JP font... but I suppose is not that big of a deal.
 
@hiyall You should probably post a screnshot of the Log addon (you can open it by clicking on the log button in the menu)
To see if there is any issue with the loading of the addons
i got it. i extracted to the main folder instead of the addons folder. thanks
 
@Ender That's nice... at least for people to use JP in the meantime.
I believe something @Eidolon wanted to do was to get a monospace JP font... but I suppose is not that big of a deal.
The second font in that screenshot should be a monospace font with CJK support. Although the characters aren't very wide, so it doesn't look like a monospace font at first glance. I'll try some of the other M+ fonts later.
 
Awesome!

Added hotkeys to my timer addon

For anyone wanting to use hotkeys, you can see how I did it with solylib.keys
I will eventually (try to) add callbacks to the keys library so you don't have to implement any (although the library would definitely need to be passed the key_pressed, which you have to register in your addon's init)
 
Hi, just downloaded the addons again after wiping my computer and noticed that the individual "Target HP" window now shows the monster name on it. The version I used to have didn't.

Is there a way I can change this to not display the name of my target and just have the HP bar?

EDIT: Also anyway to get AIO looking like it used to? Was much more aesthetically pleasing.
aio.PNG
 
Last edited:
Is there a way I can change this to not display the name of my target and just have the HP bar?
I'll look into that.

Also anyway to get AIO looking like it used to? Was much more aesthetically pleasing.
I stopped doing themes in my addons, instead made it so the theme is applied globally but this requires a new DLL that Eidolon has not made a release for.
You can use this fork for that to work in the meantime
https://github.com/Solybum/psobbaddonplugin/releases/download/v0.3.4.1/bbmod.zip
 
@Ender btw, how are you gonna handle the options?
Is it gonna be an ini file (saw you closed the PR to work on it).

If you make a helper function that reads settings from ini files, then I could probably use that as well to read the options.
As you can see here I am using the GetPrivateProfile* functions.
Even thought they are meant for 16-bit compat... they still work fine
 
@Ender thank you for working on this - that looks really great!

i added options to my add-on to hide windows when a specific menu is open, or when you're not in the field, but i can't figure out how to detect the word select and quick symbol windows. i'm using cheat engine, and i've spent several hours following pointers trying to find a static memory address for my code to start from, with no luck. it doesn't help that i don't actually know what i'm doing. does anyone know how to detect when word select or the quick symbol window are open?
 
@Ender thank you for working on this - that looks really great!

i added options to my add-on to hide windows when a specific menu is open, or when you're not in the field, but i can't figure out how to detect the word select and quick symbol windows. i'm using cheat engine, and i've spent several hours following pointers trying to find a static memory address for my code to start from, with no luck. it doesn't help that i don't actually know what i'm doing. does anyone know how to detect when word select or the quick symbol window are open?

I have a few values (which I use in my item maker) to detect if the menu is open (which would negate modifying the text buffer).
I might be able to check this when I get a chance.

I'll probably look into adding something similar
 
Last edited:
so, it turns out i don't need to detect most menus individually. the whole point was to keep my add-on's windows from obscuring important PSO windows, and i think i have enough to manage that. i found a static address for a value to tell me when the main menu is open, one for the shops, tekker, bank, quest counter, and clinic all together, and one that changes when any menu is open.

Code:
        if pso.read_u32(0x009FF3D4) ~= 1 then -- any menu open
            GameData['any menu open'] = true
            GameData['lower screen menu open'] = true -- pretty much every menu uses the lower part of the screen
            if pso.read_u32(0x00A97F44) == 1 then
                GameData['main menu open'] = true
           elseif (pso.read_u32(0x00A48A9C) == 1) or ((psodata.currentLocation() == 'lobby') and (pso.read_u32(0x00AAB218) ~= 0))then -- shops and stuff, also lobby counter
                GameData['full screen menu open'] = true
            end
        elseif pso.read_u32(0x00A97F44) == 2 then -- team chat
            GameData['lower screen menu open'] = true
        end
   
        -- 0x00A97F44 main menu (== 1) and team chat (== 2)
        -- 0x00A48A9C bank, quest counter, shops, tekker, clinic (== 1)
        -- 0x009FF3D4 almost any menu (~= 1)
 
Last edited:
@NeonLuna
This sounds nice, so what is your exact implementation? To temporarily hide any interfering add-on?

If so I'm interested in this, could you link your files?
 
the implementation is pretty simple: each window has options corresponding to those values in my code above (like 'lower screen menu open'). if the option is checked, and the corresponding value is true, then the window isn't displayed. it's up to the user to decide if a particular window is interfering with a game menu.

it doesn't affect other add-ons, just the windows in my add-on.

i suppose i don't mind letting people try out what i've made, but i'm using a lot of code from other peoples' add-ons to read and parse data from the game, and i want to ok it with them before i put out an 'official' release.

edit: here it is: https://github.com/izumidaye/psobb-custom-HUD
please don't add it to the first post yet, it's not ready. it's a bit of a mess, and there's a lot i have yet to add.

@Soly this is pretty heavily dependent on code from your add-ons, and @tornupgaming and @staphen, i used some of your code too. it's all in psodata.lua - let me know if you want me to change the attribution section, or if there are any other problems.
 
Last edited:
I made an addon that reads some of the character global flags (by default, Lucky Coins and MA4 Tickets only). A few other flags are provided but not enabled by default for the display (MA4 Kill Counters), and the configuration menu allows you to add more flags if you care to parse through quests for some. The addon will shift the value it reads provided the flag number and bitmask. I believe this covers a large majority of global flags--I haven't checked every quest file that I have.

The values are displayed as soon as they are loaded into the character data, which happens when you first burst into lobby. This means you can check your Lucky Coins or MA4 Tickets simply by logging in--no need to start the quest and run up to the consoles.

https://github.com/Elixir70/psobbglobalflagsreaderaddon

It's still in beta with some stuff I want to cleanup and improve, but if you have suggestions for UI improvements (not suggestions for global flags to add) or you run into bugs, feel free to PM me.

Also praise to Sodaboy for providing the address and offset for reading the global flags.
 
Last edited:
I updated my addons recently and I noticed the following:
  • Monster Reader's target reader used to have a timer for Jellen/Zalure.
  • When targeting Duuvik, it would show an HP value for target reader.
Could these be added back?

Yeh, these were great additions which were really helpful in challenge. For people who may not want a timer of J/Z could always have a toggle tick box in the config to go from the timer to just display like now.

Another thing I would love to see is a config option for the slider bars in the player reader. Enders new global flag reader has one where you can set the bar position, but the player reader I have to do manually every time I log. Also with the monster reader when you toggle to add effects in you cannot change the position of the bars here at all.

Loving the option to close the player reader when any menu/symbol chat is open, would love to see that on more/all add-ons.
 
Last edited:
  • Like
Reactions: NDW
Back
Top