PSOBB Addon Plugin (Lua UI addons)

Discussion in 'Tools' started by Eidolon, Dec 11, 2016.

  1. Spuz

    Spuz Without rain, nothing grows.

    Location:
    England
    Guildcard:
    42002473
    Guildcard 2:
    42002669
    Does this include F9 team log? Or just general chat. Nice to see new addons already!
     
  2. Esc

    Esc Ephinean

    Currently no team chat, but I could probably add it. Do you think it's fine to put team chat in the same window with maybe a different color text? or should team chat be in a separate window?
     
    Echelon and Spuz like this.
  3. Archivebit

    Archivebit fourwordsalluppercase

    Guildcard:
    42007460
    dif color would be good :D
     
    Echelon and Spuz like this.
  4. Spuz

    Spuz Without rain, nothing grows.

    Location:
    England
    Guildcard:
    42002473
    Guildcard 2:
    42002669
    That would be ace if you did the F9, the small box is a pain sometimes. I think it's fine in the same as long as it's not mixed up. Needs to be distinguishable and not confusing. Though a separate chat addon might be good also so people can choose if they want or not. Unless it's toggleable within the same. Idk. Do what you think is best :3
     
    Last edited: Dec 19, 2016
  5. Soly

    Soly Member

    Location:
    CR
    Better in another window
    You could probably have them side by side at the bottom
     
    Spuz likes this.
  6. Eidolon

    Eidolon Member

    How is it crashing? Does the game just close or do you get a debugger dialog?
     
  7. Archivebit

    Archivebit fourwordsalluppercase

    Guildcard:
    42007460
    Windows says there is a problem with PSO and it does the "try to fix it" nonsense, which freezes -> crashes the whole game.
     
  8. Eidolon

    Eidolon Member

    That is helpful, it means the game is actually just crashing and not that the anti-cheat is killing it. I have some ideas as to why it might be doing that.
     
    Archivebit likes this.
  9. MagicLuthee

    MagicLuthee Member

    I played with the lua thing and latest dropchecker as of when I'm posting this. It seems sometimes the GUI stops responding (but dropchecker-only GUI still updates when I pick something up), my cursor starts spinning and doesn't stop, PSOBB stops responding after a while / when I try closing it and crashes.
     
  10. Archivebit

    Archivebit fourwordsalluppercase

    Guildcard:
    42007460
    One thing to note that it never happens when in pioneer or in the lobby.
     
  11. Cyb3r_ZER0

    Cyb3r_ZER0 Member

    Guildcard:
    42002111
    For me, the game just crashes and freezes. On average, I crash about once every two weeks or so but I crashed 3 times in the matter of 1.5-2 hours with the addon. As Archive says, I never crash either if I lobby for hours or afk in Pioneer 2. I can complete 1P quests for ages but it only starts crashing frequently when I play with others.
     
    NGEFreek and Spuz like this.
  12. Soly

    Soly Member

    Location:
    CR
    Well... I guess it doesn't hurt to jump in the plugin train.
    [​IMG]

    Hopefully I'll have something decent by tomorrow... and in the next few days the plugin should not require text files with item names.
     
    Wilhuf, Archivebit and Echelon like this.
  13. Spuz

    Spuz Without rain, nothing grows.

    Location:
    England
    Guildcard:
    42002473
    Guildcard 2:
    42002669
    Brilliant, everyone's on the job! So this would update as your inventory changes?
     
  14. Soly

    Soly Member

    Location:
    CR
    Only when you go to the lobby or reload blocks, the data you see after loading a block is what the server has for you.

    I could probably make a different one that updates in real time (while playing) but I'd need an address containing "your" index in the lobby list.
    However this one would only show the inventory and not the bank...
    I guess I could make the inventory dynamic and the bank using what I just did since you have to go and load the bank first.

    Also, if I make this "new" one I just described, I can add timers to the mags.
     
  15. Spuz

    Spuz Without rain, nothing grows.

    Location:
    England
    Guildcard:
    42002473
    Guildcard 2:
    42002669
    Sounds legit OP. B> ''new'' real-time. Not sure what ''your'' index lobby means but hey whatever it takes! ( I'll be in the corner cheering you on, go Soly! )
     
  16. Soly

    Soly Member

    Location:
    CR
    Character reader
    Read info about your items, items on the bank or items on the floor.

    For other plugin developers, feel free to use itemReader.lua to retrieve item names without having to include a text file (neither having to update it whenever the unitxt file changes, thus making it good to use the plugin in different servers)

    The main script's function takes a byte array (3 or more bytes) this will retrieve the item name.
    There is a secondary function that takes an array of at least 16 bytes and an item name as input, it will format the data into the common information of weapon attributes, armor dfp/evp, etc...

    An usage example would be as follows
    Code:
    local itemReader = require("Character Reader/ItemReader")
    itemName = itemReader.getItemName({0, 1, 2})
    formatedItemName = itemReader.formatItemName({0, 1, 2...}, itemName)
    
     
    Last edited: Dec 25, 2016
    Mad, ★AGGREBEE★, Kyu and 4 others like this.
  17. Soly

    Soly Member

    Location:
    CR
    Added information to inventory and floor items.
    You can see most of it (haven't added kills), also mags have a "[Feed in: Xs]", telling you in how many seconds the mag feed process resets.

    [​IMG]

    Download in the link on the previous post.
     
    Jyuki, Esc and Spuz like this.
  18. Spuz

    Spuz Without rain, nothing grows.

    Location:
    England
    Guildcard:
    42002473
    Guildcard 2:
    42002669
    Your such a boss!

    So when your inventory changes, it updates real-time? Say I was to drop something, it would disappear from list etc?
     
  19. Soly

    Soly Member

    Location:
    CR
    Try it, its already pretty much functional... Eidolon told me that I can use tooltips so I might try and move non relevant info to be displayed in them (I don't know how yet tho)...
     
  20. Cyb3r_ZER0

    Cyb3r_ZER0 Member

    Guildcard:
    42002111
    @Soly I gave this a try and I am pretty impressed that you were able to add so many functions to that addon. One thing I'd like to suggest is to scroll the floor reader down whenever it gets updated.
     

Share This Page