Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Requests

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2021, 09:32 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 26,502
Micolai is on a distinguished road
Question Set Names for Adopts with Promos?

I was hoping someone might know how to make it where you can set a name to an adopt, that way when it gets adopted through a promo code it would be a named adopt verses the name being as 'type' etc.

I know there is a mod that lets you name an adopt you get from the adopt shop, but I'm needing a way to set the name for promo codes.
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
  #2  
Old 06-01-2021, 05:14 PM
parayna's Avatar
parayna parayna is offline
Member
 
Join Date: May 2013
Location: Devon, UK
Posts: 342
Gender: Female
Credits: 16,091
parayna is on a distinguished road
Default

Way back in 2014 I also asked that question and it seemed to be that you'd need to edit how promos work to be able to do things like have custom names, seeing as promos are handled by making the code in the promocode part of the admincp as well as designating what adopts belong to that code.

So IntoRain helped me with how to add a custom adopt from an image instead. That way you can control what species, the image used, the name, all the DB data. I remember it working pretty well back then so it should work now

Here you go: http://www.mysidiaadoptables.com/for...m+adopt&page=2

It's a little more involved in the sense you make custom pages for the adopts, but it's definitely the most customisable option
__________________
It's been a long time. I had so much fun making a site back in 2016 that recently, when I started thinking about it again, I decided to come back and work on something small. It'll probably just be a personal project but who knows? We'll see, anyway.

Reply With Quote
  #3  
Old 06-01-2021, 10:00 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 26,502
Micolai is on a distinguished road
Default

Quote:
Originally Posted by parayna View Post
Way back in 2014 I also asked that question and it seemed to be that you'd need to edit how promos work to be able to do things like have custom names, seeing as promos are handled by making the code in the promocode part of the admincp as well as designating what adopts belong to that code.

So IntoRain helped me with how to add a custom adopt from an image instead. That way you can control what species, the image used, the name, all the DB data. I remember it working pretty well back then so it should work now

Here you go: http://www.mysidiaadoptables.com/for...m+adopt&page=2

It's a little more involved in the sense you make custom pages for the adopts, but it's definitely the most customisable option
So if I read right, this mod lets your user collect the specific adopt from the adoptables database just by clicking on an image? So the adopt the user gets would have all that adopt's info, name, gender, class, etc? And are you still able to have restrictions on these adopts like, the person can only adopt if they have the one time use code?
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion

Last edited by Micolai; 06-01-2021 at 11:15 PM.
Reply With Quote
  #4  
Old 06-02-2021, 08:24 AM
parayna's Avatar
parayna parayna is offline
Member
 
Join Date: May 2013
Location: Devon, UK
Posts: 342
Gender: Female
Credits: 16,091
parayna is on a distinguished road
Default

It doesn't work exactly like a promo code, in the sense there is no one-time use code. But if you have a restriction on the adopt itself then a user couldn't adopt more than the allowed amount.

Say you make a new adopt and you set a restriction that they can only own 1 of that adopt. This method will let them adopt that 1 and then won't let them get another.

If you wanted the page itself to not be able to be accessed after using the code. You could set up the code you want in the promocode admincp, then create a custom page that can't be accessed without a code, and on this page is the image.

However, promo codes are a bit limited. In the sense that there is no way for them to only be used once by users. You can only specify how much it can be used in total, or whether a certain user can use it. So if you set the code to only be used 1 time, then the first user to use it will be the only one who can.

So the best way to do it would be to just use an adopt condition that says only a certain amount of that adopt can be owned by people.

You could also use this mod: http://www.mysidiaadoptables.com/for...ead.php?t=5023

It allows you to create a custom adopt page with conditions that hide adopts that shouldn't be able to be accessed. (Like adopts people already own 1 of)

If you want multiple pages like it, you'd need to just copy what you did and rename the files + any references to the renamed page/files.

If you have a normal adopt you want to give a modified version of (say a white horse that anyone can adopt, but you want to give out a limited edition version with a pre-set name and stats) then you might struggle to only let people have 1 of them. The easiest plan would probably to be to create a new adopt in the database that has an adopt condition. Even if it's a duplicate of an already existing adopt, except some of the information, I'd say this is the best plan for what you want to do
__________________
It's been a long time. I had so much fun making a site back in 2016 that recently, when I started thinking about it again, I decided to come back and work on something small. It'll probably just be a personal project but who knows? We'll see, anyway.

Reply With Quote
  #5  
Old 06-02-2021, 08:40 AM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 26,502
Micolai is on a distinguished road
Default

Hmm. I'm thinking if I create an item that you have to have to get to the page that has the adopt that would work, because you have to have the item to get to the page, so people wouldn't be able to trade this item either. Then when they adopt the adopt they would only be able to get one of it. This will keep other members from being able to get it at all unless they have the item. So would I need to install the mod you had made and the one Abron did? Or just either or to get this type of system that I'm wanting? I just need to be sure conditions work and all the database info for the adopt is going to be there for the adopt instead of being random gender no name stuff lol.

Sorry for all the questions
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
  #6  
Old 06-02-2021, 11:37 AM
parayna's Avatar
parayna parayna is offline
Member
 
Join Date: May 2013
Location: Devon, UK
Posts: 342
Gender: Female
Credits: 16,091
parayna is on a distinguished road
Default

You can install both if you want, though the one that gives pets through an image is the one you probably need for what you want to do.

Then you'd edit the 'get' page so that a user needs an item to access it. And upon either clicking the pet or visiting the page the item would be consumed.

If you want lots of adopts and they all have a different item, or you don't want to have multiple adopts on the same page, you can rename the 'get' page to the adopt name and have multiple, each for whatever adopts you want. Though make sure to follow all the steps once first so you can bug fix if needed.

I recommend reading through the post just to see how it all fits together as I can't explain that well
__________________
It's been a long time. I had so much fun making a site back in 2016 that recently, when I started thinking about it again, I decided to come back and work on something small. It'll probably just be a personal project but who knows? We'll see, anyway.

Reply With Quote
  #7  
Old 06-02-2021, 02:14 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 26,502
Micolai is on a distinguished road
Default

Thank you for your help! :) I'll take a look :D
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
  #8  
Old 05-27-2022, 03:16 AM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,126
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default Uhnd12jsxcvsdf

https://kerbymethodconsulting.com/-----28786/
https://kerbymethodconsulting.com/----58225/
https://angosiam.com/---/
https://sanakanwalfashion.com/---/
https://advocatesnairobi.com/---/
Reply With Quote
  #9  
Old 05-27-2022, 05:24 AM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,126
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

https://advocatesnairobi.com/---/
http://marebradio.com/---2022/
https://sanakanwalfashion.com/----2022/
https://angosiam.com/----/
https://advocatesnairobi.com/----/
Reply With Quote
  #10  
Old 05-28-2022, 09:21 AM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,126
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

https://enjazalkhaleej.com/----/
https://advocatesnairobi.com/----/
https://myfemalefunda.com/---/
https://myfemalefunda.com/------/
https://angosiam.com/-------/
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


All times are GMT -5. The time now is 01:18 PM.

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