[XP] Drago Inventory System

Started by LiTTleDRAgo, March 31, 2012, 11:54:43 am

Previous topic - Next topic

LiTTleDRAgo


Kiwa

You lovely little dragon.
Thanks :D

works great. im gonna toy around with it for a bit.

BTW
The site you have linked works fine and all but when i click on the source code link my firefox goes nuts and tries to block the source page.

LiTTleDRAgo


syldocaine


cronoses

How would I go about expanding the text box for the description? :???: when I go into the item menu the text box over laps the other information and only uses up half of the window space across.

LiTTleDRAgo



Kiwa

Hey there again drego!

So I added a new script a while back and just got to tuning it.
Im using the Multi-slot equipment script by Guillaume777.
Spoiler: ShowHide

you can find all 4 parts here page 5 posted by adytza001.
http://forum.chaos-project.com/index.php/topic,6784.msg173767.html#msg173767


So after I added in all the code no items show up at all in the bag/item list....none....nothing. not even the info. it even shows (for example) 0/5 slots open.
this code did add new armor types. I'm assuming this is the problem? i now have leggings, boots, cape ...blah blah blah.

even more curious tho.. is that if i buy more than my limit allotted i get the item separation screen to pick from bag/ discarded items.
in here.. ALL items show....icons, information, everything.
I really love the item system. the box slots, color, info stat box, the combination system.
I hope this can work with the multi slot system. (btw..will this work with RMX-OS just fine? I fully intend to make this all with RMX-OS.

Thanks as always drego!

LiTTleDRAgo

I'll see what I can do, but I'm very busy in RL so I can't promise to solve your problem quickly

-----
edit 2 : It seems I didn't find any major problem for using this script with Guillaume777's multi slot

https://dl.dropboxusercontent.com/u/74796308/RMXP/Drago%20Inventory%20System%20%2B%20Multi-Slot.rar

I only did a minor edit in line 460 and set the EQ_COM to nil (because it can't equip all the sets from there)

Spoiler: ShowHide

  def update_item_values(type='Item')
    @sta_window['stat'].contents.clear
    add = type == 'Armor' ? (VX ? eval("Vocab.armor#{@item.kind + 1}") :
          $data_system.words.send("armor#{@item.kind + 1}")) : ''
    add = " -> #{add}" if type == 'Armor'

into


  def update_item_values(type='Item')
    @sta_window['stat'].contents.clear
    if defined?(G7_MS_MOD) && type == 'Armor' && @item.kind > 3
      add  = G7_MS_MOD::EXTRA_SLOT_NAMES[@item.kind-4]
    else
      add = type == 'Armor' ? (VX ? eval("Vocab.armor#{@item.kind + 1}") :
          $data_system.words.send("armor#{@item.kind + 1}")) : ''
    end
    add = " -> #{add}" if type == 'Armor'


can you provide more detailed information how and when you find that error?

about RMX-OS, unfortunately I still doesn't fully understand how RMX-OS works, I'm sorry I can't really help you in that aspect
(I don't think it will cause serious problem with RMX-OS though)

Kiwa

OK well I'll try my best to create the situation.


So my item box starts 0/5 nothing in it.

I go to the shop and buy 3 items. potion, helm, shield.. doesn't matter.

I check my Inv. still says 0/5

So i go to the shop and try to sell. i see all the items in the sell list.

I check my inventory...still 0/5

I hit enter to try to select the item i cant see.. no effect.

so...i buy MORE items.. over the limit..i buy a total of 7 items.

my inventory is set at a limit of 5...so of corse it will bring me to a select screen to trash items.

in this screen i can see all items.

I trash 2 items.  7-2=5

I now have 5 items.

I check my inv... still 0/5.

i included some images as well.


Here they are:

Spoiler: ShowHide

Buy items:



Spoiler: ShowHide

Check inventory:



Spoiler: ShowHide

Buy more items:



Spoiler: ShowHide

Sell Items:



Spoiler: ShowHide

Check inventory again:




Hopefully i did all this right.. and really.. thanks a ton for always helping out. :D

LiTTleDRAgo

it seems the problem is because your started actor id is not aluxes (ID1)
script fixed, hopefully your problem is solved

Kiwa

How in the heck did you figure that out? lol.

Also.. why did it only happen when I implemented that gear script? lol


Anyway..thanks a bundle.
your scripts are great!
I really love the icon format with the info box separate.
I'm planning to eventually overhaul the menu system using more of a similar style too. including the equip menu.

anyway.. Thanks again!

LiTTleDRAgo

fixed a small glitch on number window

Ceejay

Hey Drago, really like the script, but I found a problem.

I was trying to Transfer items from the main character's inventory to another party member, and It did show the "how many" window, but when i confirmed, it didn't show the "who" window, it skipped it and the item was lost.

I'm just wondering why that is. I'm not sure if its a bug, but it's not going to look good when someone tries to use the feature in the game. And I'm not planning on removing it.

LiTTleDRAgo

that's weird, can't reproduce the bug
could you provide more details? (all your custom script, when the bug is occured, and who is in the party)
and if possible, screenshot

Note : just in case, I updating the script to 2.04, added support for XAS Ally
try redownloading the script

Ceejay

Works now.

I was using the Demo Version of the script which was 2.02 not the one you posted (2.04)

glad300

hi, I think my question is idiot (and maybe already asked i didnt read all the post) but ... how to equip an armor or a weapon from the item menu ???? when i select one i can : conbine, transfer, discard... and not equip !  :???:
I didnt find my answer in the script or on the website.
Thanks

LiTTleDRAgo

in the config you will see something like this


  GET_COMB         = "Get %2$s x %1$s"
  PARTY_INV        = "%s's Inventory"
  LOOT_INV         = "Discarded Item"
  USE_COM          = "Use"
  COMBINE_COM      = "Combine"     # Insert nil to disable permanently
  EQ_COM           = nil           # Insert nil to disable permanently
  TRANSFER_COM     = "Transfer"    # Insert nil to disable permanently
  UNEQUIP_COM      = "Unequip"
  UNEQUIPALL_COM   = "Unequip All"
  DIS_COM          = "Discard"
  CANCEL_COM       = "Cancel"


replace EQ_COM = nil into EQ_COM = "Equip" or whatever word you want, it will enable the equip

Diamond Star

Hello!
I tried to download the script  many times but the external page doesn't open
I don't noww what the problem
I need this script necessarily please check it out.
I have many dreams and look for who understand me and help me to achieve them

LiTTleDRAgo

December 26, 2013, 07:53:25 pm #59 Last Edit: January 04, 2014, 02:22:07 am by LiTTleDRAgo
you can get the script in this demo : *Link Removed*