PSOBB Addon Plugin (Lua UI addons)

I do get slowdown from loading the monster reader, though mostly if I have it try and show me the monsters stats and not just hp and status. I haven't really tried it when not running item reader though.

I'll give what you suggested a try tomorrow when I dive back into things and report back.

Did the Tyrell's thing. With target enabled I started getting noticeable slowdown within the first room. I turned it off. With just the general HP window I started to get slowdown once there were 2 or 3 rooms worth of enemies. The only thing that would make it go away was clearing it down to a list of only 2 or 3 enemies after it started to get bad. Checking and unchecking current room only made no difference.

I didn't end up having any trouble with mag only item reader in this run either. I'm not sure what the problem I was having with the mag reader was. I'll keep checking that and try the thing suggested above to help narrow it down.
 
Last edited:
I've added a throttle setting to the item reader
https://github.com/Solybum/PSOBBMod-Addons

This requires you to use this version of the DLL tho (unless you are already using it)
https://github.com/Solybum/psobbaddonplugin/releases/tag/v0.3.4.1

If you open the item reader you can find a setting in General called Update time (milliseconds)... then set it to 1000 or well... anything that is not 0 and see if it improves performance.

If you are curious about the DLL, it just has an extra function to get the time in milliseconds
 
can I just unzip and overwrite files in the same directory, or will I need to redo the whole addon folder, or am I only replacing the dinput8.dll file?
 
You can just replace the dll file (and pdb if you have it and is also in the zip)...

You can leave the addon folder alone for this one, I think
 
Okay feedback time.

The good:
-The lag issue seems totally gone

The weird:
-The lag is gone no matter what settings I enable or disable.
-Changing the throttle time doesn't seem to affect anything. Items still appear and disappear from the floor list instantly.
-Time until mags can be fed doesn't seem to update unless I click reload, and then it just sets to whatever the current time left is.
-can't find any way to dismiss the timer countdown and stopwatch windows and disabling them in the main timer window causes the whole add-on to crash until I click reload.

So, progress at least.
 
I guess the first good and weird are the same..

- The throttle not affecting anything: even if you set something like 10000 they change instantly? (that'd be 10 seconds)
- Disabling timer crashes the addon: can you show me the log after it crashes?

If you feel like it, before checking for the crash, make a backup of the addon folder and then:
- Overwrite it with the DLL's addon folder
- Update all all the addons (at least mine)

Feel free to DM me on discord so we don't spam the thread and I can reply instantly
Soly#0637

For me the mag timers update properly and the timer doesn't crash so I'd assume you are missing something for that to break
 
@CageyRabbit ended up finding some more bugs... but we did figure out the memory reading was the culprit.

We also tested your idea of accessing memory from the process itself (memcpy_s specifically) and he reported that even without delaying the update the addons run fine and the game didn't lag.
Makes sense. I've always thought calling ReadProcessMemory() that many times each frame should be much more of a performance impact but Windows probably optimizes it for the current process, and wine probably does the full ptrace() route.
 
EDIT:Using the files from Soly's post one post before mine fixed it.

I made a fresh PSO install and using the latest files linked in the OP:
The item reader and timer add-ons appear as options in the add-on menu in-game, but clicking them doesn't do anything.
The monster reader and character reader do work.
addon_error.png
 
Last edited:
Could I please get a hand with this.. im not a computer person and this is really frustrating me.
I agree this thread should be locked or the OP edited so that the steps and links are relevant.

1. Download this for the base plugin: https://github.com/Solybum/psobbaddonplugin/releases/download/v0.3.5/bbmod.zip
2. Open the bbmod folder inside that zip. You should see addons folder, dinput8.dll, dinput8.pdb.
3. Extract that addons folder, dinput8.dll, dinput8.pdb to your EphineaPSO folder. This EphineaPSO folder is where your online.exe and psobb.exe reside.
4. Download this for Soly's addons: https://github.com/Solybum/PSOBBMod-Addons/archive/master.zip
5. Open the PSOBBMod-Addons-master folder inside that zip. You should see Item Reader, Monster Reader, Player Reader, solylib, Timer, .gitignore, LICENSE, README.md.
6. Extract those folders/files I just mentioned to your EphineaPSO/addons folder.

If you did everything correctly, you should have these files and folders:
EphineaPSO/dinput8.dll
EphineaPSO/dinput8.pdb
EphineaPSO/addons/
EphineaPSO/addons/Item Reader
EphineaPSO/addons/Monster Reader
EphineaPSO/addons/Player Reader
... and some others
 
Well thats two hours ill never get back. Thanks anyway i'll just keep picking everything up. Not worth the headache.
 
New guy question for ya. How do you move the windows around? I got it running, but all the windows are piled on top of my hp and stuff '=D
Also is there any way to get this running on Linux? I believe it has something to do with the C++ Studio.

New discovery. Apparently the mouse is there, the cursor just isn't visible for some reason.
Final update for my first question. Upon rebooting I realized the mouse is there and visible before you login to the game.
 
Last edited:
for me, it's always been visible even during gameplay.

i always use window mode or the new fullscreen mode. if you're using classic fullscreen, then maybe that's why the cursor disappears after you log in?
 
for me, it's always been visible even during gameplay.

i always use window mode or the new fullscreen mode. if you're using classic fullscreen, then maybe that's why the cursor disappears after you log in?

After searching for why Alt+Tab would cause me to crash while waiting for a reply, I found out that classic fullscreen was my problem and switched to HD HD Hud. That was the magic fix I was wondering about. I never would've thought that to be the issue. Now to conquer Linux!
 
Dude, you're a legend. That is probably the one and only post about it on the internet. It fixed my problem immediately. Thank you so much!
 
Back
Top