Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2014, 05:13 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,307
Kyttias is on a distinguished road
Default Pets with Personality?

I was stumbling through random generators earlier and one I found had a distinct pattern:

"This {adjective}{age}{species} is {size} and {intelligence}. {Gender} likes {likes} and hates {hates}."

I think this is cool from the sense someone could integrate random generation for their creatures, from a purely flavor text standpoint.

"This affectionate young {species} is smaller than average and unusually intelligent. {Gender} likes making noise and hates strangers."

You could even include one to three likes and hates, also randomized. Each creature will feel unique as they pull from a random array that sticks with them their entire life, except for age, which should change based on their level.

I think this might be a fun feature to implement. Enough so that if anyone had interest in making it, I'd be willing to pay a bit for it just so the entire community could have it if they wanted it. ovo
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #2  
Old 06-26-2014, 06:31 PM
squiggler's Avatar
squiggler squiggler is offline
Squiggling since 1995
 
Join Date: Jul 2013
Posts: 185
Gender: Unknown/Other
Credits: 8,194
squiggler is on a distinguished road
Default

This might be fun to have. It's definitely not on my priority list, but I would enjoy this feature.
__________________
Avatar courtesy of Doll Divine.
Reply With Quote
  #3  
Old 06-27-2014, 10:53 AM
tahbikat's Avatar
tahbikat tahbikat is offline
Member
 
Join Date: Feb 2014
Location: Louisiana
Posts: 408
Gender: Female
Credits: 49,627
tahbikat is on a distinguished road
Default

Support! I really want personalities. :P
Reply With Quote
  #4  
Old 06-27-2014, 12:22 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,756
Hwona is on a distinguished road
Default

I tried doing something similar, but I don't think I know the best way to do this. XP You could try to add an extra column in the owned_adoptables database. Then, on each page where an adoptable is created, you could select a random word from an array and then put that into one of the columns. I'm using v.1.3.3, but I can try and play around with some things. :3
__________________
Reply With Quote
  #5  
Old 06-27-2014, 10:37 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,311
Hall of Famer is on a distinguished road
Default

It actually isnt difficult, unless its time-based and require cron jobs/scheduled tasks. The real question is, what do you want the pets personality to do? Is it just for display on pets profile to make it look more interesting? Or do you have other plans for pets personality like it may affect how it battles/interacts with owners in future versions?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #6  
Old 06-28-2014, 12:45 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,307
Kyttias is on a distinguished road
Default

Nah, nothing fancy, just flavor text, for now.

But I'm sure some would be curious about things sort of more in the direction of Pokemon, as well. For example, 'likes sweet things' and from a list of sweet, sour, bitter, spicy and bland foods to choose from. (Click bonus/level up would not occur upon visit, but upon food selection, with a bonus given to choosing the proper food.) I've seen other sites already implement similar things, it's quite entertaining.

Just having a static variable attached to an adoptable that never changes is a big step forward for those who want to code past that. Unfortunately, I'm pretty bad about database entry. For now, I'm eagerly watching what Wallie's doing, because it sounds super close to what I want to do.

I'm glad that Mysidia's intention is to be here for beginners who don't need complex websites. Some of us are big dreamers, though, so we can't wait for some actual documentation and tutorials. Now that I've finally settled into my new home, I've had a lot more time to appreciate the inner workings of the script. ^^
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #7  
Old 06-28-2014, 12:59 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,756
Hwona is on a distinguished road
Default

^ Edit: Everything works! Should I share this as a modification? I can't figure out how to give each existing adoptable their own random personality, but you can change them to something unique maybe? :3
There's probably an easy way to make all of this editable through the ACP, but I have no idea how to work with addons.
__________________

Last edited by Hwona; 06-28-2014 at 01:35 PM.
Reply With Quote
  #8  
Old 06-28-2014, 01:46 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,307
Kyttias is on a distinguished road
Default

Ah, so their personalities are being set to something when they're created, though? (So they all have the same personality for now?) Have you tried grabbing from array? In PHP there's an array_rand function (php.net / w3schools).

If you hand it over I'll attempt to take a look at it, but I'll be spending the next week someplace without convenient internet. ><
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #9  
Old 06-28-2014, 01:49 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,756
Hwona is on a distinguished road
Default

^ New adoptables will have different personalities.(I used that function) :3 However, on my site, there are existing adopts and I can't give them different personalities, so I'm just going to go ahead and give them a "special" personality.
Edit: What are your thoughts? It would be great if you could fix that tiny thing, but I've got everything else. :3
__________________

Last edited by Hwona; 06-28-2014 at 01:52 PM.
Reply With Quote
  #10  
Old 06-28-2014, 02:47 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,307
Kyttias is on a distinguished road
Default

Ah, some supplement script would have to be made to insert (or very literally install?) data for older adoptables. Once it's run once then the file could be tossed out.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
Reply


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.3 Personality System Hwona Mys v1.3.x Mods 15 12-18-2016 09:13 PM
pets dradar Questions and Supports 5 08-06-2010 05:48 PM
I don't see my pets...help sdsmith64 Questions and Supports 8 07-27-2009 06:03 PM


All times are GMT -5. The time now is 05:08 AM.

Currently Active Users: 9714 (0 members and 9714 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