#11
|
||||
|
||||
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. |
#12
|
||||
|
||||
^Ah! I'll look into this! :D
|
#13
|
||||
|
||||
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. |
#14
|
||||
|
||||
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. |
#15
|
||||
|
||||
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. |
#16
|
||||
|
||||
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. |
#17
|
||||
|
||||
^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?
|
#18
|
||||
|
||||
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"); 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. |
#19
|
||||
|
||||
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?
|
#20
|
||||
|
||||
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. |
|
|
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 |
What's New? |
What's Hot? |
What's Popular? |