Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2013, 05:07 AM
EzzyAlpha's Avatar
EzzyAlpha EzzyAlpha is offline
Member
 
Join Date: Nov 2013
Location: Lisbon, Portugal
Posts: 14
Gender: Female
Credits: 2,524
EzzyAlpha is on a distinguished road
Default This is sort of an hypothetical: Collecting things besides adopts and items

I'll admit that this feature was inspired by GPX+s Trinkets thing, which I'm rather fond of as I'm a bit of a hoard-AHEM, collector, but also by an old game/site I was going to make but ended up giving up on.

Would it be possible to have a separate system, similar to the one used for items, except instead of appearing on your inventory/my items page, it would appear in another one.

These items would have no effect and would be for collection purposes only, although there would be achievements for collecting many of them.

I was thinking it would be possible by copying the items coding and changing things so it would be a separate...thing, but, uh.

Not a programmer, remember.
Reply With Quote
  #2  
Old 11-10-2013, 11:03 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,239
IntoRain is on a distinguished road
Default

I believe Infernette has a system like that on her website (two separate inventories). It's doable.

The inventory is just a group of tables in phpMyAdmin (the one with all the items and the one that associates an item and its owner). So, if you create a table for collectables (instead of a table with all the items and their functions) plus another table to associate an item, a quantity and an owner, it should work. You could copy the code from the inventory (and I guess some from the item class) and try to repeat what's done there and instead of getting the items from that table, you could go get them from the new table (the one that associates collectables and people). But it depends also on how you would obtain them, since that's important to fill the tables.

And I'm also thinking about this without actually looking at the code, but it's something along those lines, I will have to make one for a feature I'm implementing on my test site so I don't mind sharing the code when it's done
__________________


asp.net stole my soul.

Last edited by IntoRain; 11-10-2013 at 11:08 AM.
Reply With Quote
  #3  
Old 11-10-2013, 12:00 PM
EzzyAlpha's Avatar
EzzyAlpha EzzyAlpha is offline
Member
 
Join Date: Nov 2013
Location: Lisbon, Portugal
Posts: 14
Gender: Female
Credits: 2,524
EzzyAlpha is on a distinguished road
Default

Ooh, goodie. I was pretty sure it would be possible but I wanted to check with people that knew more than me. Thank you.
Reply With Quote
  #4  
Old 11-10-2013, 08:45 PM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 20,291
MikiHeart
Default

I think it should be linked to the main inventory.
For example, you could have a coin collection.

Coins could be found in the stores, or dropped by pets. Or even both.

You have a new inventory, the collection inventory like intorain said, but you also have a new 'use' function. So that they can put it in the new inventory. But if the item is already in there, it doesn't place it in the collection inventory. Then, when they have each item in the collection, you could make it that they have to 'claim' the prize. Which checks that they have all the items needed in the collection, which then gives them a prize if they do. It could also lock the collection, so that it's finished, or even reset it.

Because you don't want users to be able to finish the collection, claim the prize, and then sell the collection. Or even claim the prize multiple times without collecting the collection again.

Hope I make sense @.@
Reply With Quote
  #5  
Old 11-11-2013, 08:29 AM
EzzyAlpha's Avatar
EzzyAlpha EzzyAlpha is offline
Member
 
Join Date: Nov 2013
Location: Lisbon, Portugal
Posts: 14
Gender: Female
Credits: 2,524
EzzyAlpha is on a distinguished road
Default

That makes sense but it's way too advanced for me to even think of how it could be done hehe
Reply With Quote
  #6  
Old 11-11-2013, 08:43 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,239
IntoRain is on a distinguished road
Default

Quote:
Originally Posted by MikiHeart View Post
I think it should be linked to the main inventory.
For example, you could have a coin collection.

Coins could be found in the stores, or dropped by pets. Or even both.

You have a new inventory, the collection inventory like intorain said, but you also have a new 'use' function. So that they can put it in the new inventory. But if the item is already in there, it doesn't place it in the collection inventory. Then, when they have each item in the collection, you could make it that they have to 'claim' the prize. Which checks that they have all the items needed in the collection, which then gives them a prize if they do. It could also lock the collection, so that it's finished, or even reset it.

Because you don't want users to be able to finish the collection, claim the prize, and then sell the collection. Or even claim the prize multiple times without collecting the collection again.

Hope I make sense @.@
Good ideas. Having a "claim" button would make it easier to check if the collection is completed and also easier. Maybe have a table "Collections" and for each user it would say if each collection was completed. This would make sure the user wouldn't complete again. Or if you want them to complete more than once, maybe have a max number of completions and the table would keep how many times each user completed each collection.
__________________


asp.net stole my soul.
Reply With Quote
  #7  
Old 11-11-2013, 10:31 PM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 20,291
MikiHeart
Default

EzzyAlpha: I plan to code this sort of thing for a different project. It has nothing to do with this script, but once I do, I wouldn't mind sharing it so you had an idea of what I was talking about more. It's easier when you see an example of the code.

IntoRain: Yes. You would have a "collections_completed" table, and under it, you have the username, the amount of times they completed it, the amount of times they're allowed to complete it. Even the date they completed it. You could make it that they could redo it once a year. Just use a cron to check and delete entries that are a year old. You could even make a premium item, that people can donate and then buy which 'rests' their progress and allows them to do the collection again.

I don't really want to start coding addons for the script just yet. I kind of want to wait until the next release since so much will be changing.
Reply With Quote
  #8  
Old 11-12-2013, 03:24 AM
EzzyAlpha's Avatar
EzzyAlpha EzzyAlpha is offline
Member
 
Join Date: Nov 2013
Location: Lisbon, Portugal
Posts: 14
Gender: Female
Credits: 2,524
EzzyAlpha is on a distinguished road
Default

Ahhh, you have such great ideas. If you would so kindly share your codes, I wouldn't mind accepting.
Reply With Quote
  #9  
Old 11-12-2013, 06:23 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 20,291
MikiHeart
Default

lol Ideas are fine. I'm good with theory, it's just putting it all into practice that's hard XD
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mys v1.3.1 Group sort StarGirl Mys v1.3.x Mods 60 09-17-2018 04:46 AM
Female Adopts can breed; male adopts only have 1. Phoeniix Questions and Supports 2 11-09-2013 01:56 AM
Some sort of variable? The Codfin Keeper Questions and Supports 9 02-20-2011 11:17 AM
sort adoptables Blackmagic Questions and Supports 3 12-01-2009 03:05 PM


All times are GMT -5. The time now is 02:18 AM.

Currently Active Users: 276 (0 members and 276 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636