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
  #11  
Old 06-29-2014, 03:24 AM
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,957
Hall of Famer is on a distinguished road
Default

Interesting, looks like you two are already trying to get it to work. ^^ Like I said, it shouldnt be hard, just need some creativity and efforts. If you want random personality but with different chance/probability to occur, you may try the class Probability. It is very simple to use, and will generate the appropriate personality for you based on the chance/probability you assign. A chance of 20 is higher than 10, so more likely to occur. Hope this helps.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #12  
Old 06-29-2014, 09:36 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,781
Hwona is on a distinguished road
Default

^Ah! I'll look into this! :D
__________________
Reply With Quote
  #13  
Old 07-02-2014, 01:12 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,409
Kyttias is on a distinguished road
Default

Wallie, you finished this, right? You can go ahead and share it? (And just making sure, this and your stats mod work on new adopts that come from promocodes, too, right?) What did you want in return? 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
  #14  
Old 07-02-2014, 02:07 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,781
Hwona is on a distinguished road
Default

Gah! Promocodes... got it...
Thanks for reminding me! Should I share this as a mod? As of now, I haven't gotten to the part where you can alter the likelyhood of an adoptable getting a certain stat, but I'll add that later on. Also, I'm working with v.1.3.3 and I found out that the levelup.php file is quite different in the newset version, so I may need to do a bit of tweaking. I'm pretty certain that personalities will be assigned with just some slight repositioning but I can't figure out how to display it on the levelup page... :3
One more thing... what did you mean by what I want in return?
__________________

Last edited by Hwona; 07-02-2014 at 03:03 PM.
Reply With Quote
  #15  
Old 07-02-2014, 03:48 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,957
Hall of Famer is on a distinguished road
Default

Why not? You can always release a Mod if you believe it's ready. ^^
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #16  
Old 07-02-2014, 04:16 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,409
Kyttias is on a distinguished road
Default

Eh, I'd make you something if you like. I'm thankful for your efforts! ^^ Maybe some delicious flowers for your catepillars?

I'm not so concerned about the positioning, so long as I can get it down to a {$variable} form, I'll be able to place it in wherever I like.

But yeah, promo code babies are super important. ^^; Next I want to know how to give a creature directly to a person without having to use the promo code as a go between (with a 'will you accept this creature? y/n?' dialog).

As for sharing it, I suppose it's up to you? If you have PayPal, I can always donate a little bit of money, too.
__________________
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.

Last edited by Kyttias; 07-02-2014 at 04:24 PM.
Reply With Quote
  #17  
Old 07-02-2014, 04:24 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,781
Hwona is on a distinguished road
Default

^Aww, thanks! I really don't need anything, but flowers sound really nice! :D Are you good with just personalities having an equal chance of being picked? If so, I'm going to go ahead and make the thread. Getting it into a variable is not a problem. The issue we had with converting the stat system to v.1.3.4 was that I couldn't find a way to add an extra message to put the variable in. Do you know how to do that?
__________________
Reply With Quote
  #18  
Old 07-02-2014, 04:46 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,409
Kyttias is on a distinguished road
Default

Equally random, yup.

As for an 'extra message'? Uhmm... well... there's this, for example:

Code:
$online = $mysidia->db->select("online", array(), "username != 'Visitor'")->rowCount();
$offline = $mysidia->db->select("online", array(), "username = 'Visitor'")->rowCount();
$this->assign("population","{$online} Users Online + {$offline} Guests");
If you call just {$online} or {$offline}, you receive just a number. But if you call {$population} it'll render something like "12 Users Online + 17 Guests" wherever you choose to place it.

I'm super not sure if that's helpful. =/ I hope so.
__________________
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
  #19  
Old 07-02-2014, 04:55 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,781
Hwona is on a distinguished road
Default

I'm not sure if that'll work with the levelup page. Do you know if the comment function works with v.1.3.4? How about addLangVar?
__________________
Reply With Quote
  #20  
Old 07-02-2014, 05:23 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,409
Kyttias is on a distinguished road
Default

I don't know how the comment function works, no. ><; I just know how to make variables that can be used in pages.
__________________
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 10:46 AM.

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