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 01-12-2021, 03:15 PM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 32,631
kristhasirah
Default Last Alt Form Question

I have a question about the last alt form... because for me is not working...
or maybe Im doing something wrong.
all of my adopts have an alt version, and have 7 levels being level 5,6 and 7 hatchling, young and adult. after I updated the site, I started to create the alt form for each adopt, after i finished adding the 3 alt forms for one of them I tested them for the first alt form I set a chance of 30, then for the second and third added the last alt form id and set the chance to 1 because I was thinking/hopping that even if the chance is 1 they would be selected because the adopt was already using the first alt form... but dint, once I level up the test adopt the image that appeared was the default one.
I don't want the alt2 and alt3 to appear after the "normal" level 5 evolves to the level 6 or a "normal" level 6 evolve in a alt adult
but the problem is that after I change the chance to 100 even the normal 5 evolves to an alternate 6 and if I reset the chance to 1 the alternate 5 evolves to a normal 6...

So I want to ask is this normal?? For me it feels like the alternate code don't take in mind the last alt form when choosing... because like I said, the normal level 5 evolved to an alternate level 6 and I had set a last alt form so I had the idea that if a "normal" (0) evolved the alt for the next level wont be chosen because the adopt don't have the last alt form.

For now I had to revert/re-add the codes I edited to create my alternates, and re-add tables that were deleted/edited with the update...

if this is the normal behavior of the code then just ignore me, and I will keep using the one I made, and will use this one only for the adults.
__________________
Reply With Quote
  #2  
Old 01-13-2021, 09:17 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: 482,167
Hall of Famer is on a distinguished road
Default

I think the last alt form also takes the chance into consideration. If you set the chance to be 1, it will only be selected 1 out of 100 times. I dont quite understand the problem you are having though. Does the new alt form get selected even if the last alt form is not the specified ID? If so, its a bug and I need to fix. But if the new alt form isnt selected even if you have set the last alt form, then it is normal assuming you have set chance to be less than 100.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 01-14-2021, 11:23 AM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 32,631
kristhasirah
Default

Sorry English is not my native language so I have some troubles understanding or explaining but i think this will show my problem:
the first alt1 starts at level5 and has a chance of 30(level4 and below are egg and use the same images for both normal and alt). I set alt2 and alt3 a chance of 100% and also set the Last alt form id:
alt2 last form id is 1 and for alt3 last form id is 2
So when the egg "hatches" I was hopping this:
-> ->
default-> default-> default
-> ->
alt1-> alt2-> alt3

but I get this:
-> ->
default-> alt2-> alt3
or this:
-> ->
default-> default-> alt3

For me the code don't check if the adopt has the last alt form id to evolve it to the next alt form. Once the default level5 evolves to level6 it becomes alt2, same as those default that level up to level7, they became alt3

I hope I made sense...
__________________
Reply With Quote
  #4  
Old 01-16-2021, 11:23 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: 482,167
Hall of Famer is on a distinguished road
Default

So you are saying that, the last alt ID field does not even work at all? Even if the chance is 100 from alt2 to alt 3(with alt2 specified as last alt for alt 3)?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 01-16-2021, 04:22 PM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 32,631
kristhasirah
Default

ID: 1 Alt1 appear at level5 chance of 30 no last alt form selected
Id: 2 Alt2 appear at level6 chance of 100 last alt form: ID 1
ID: 3 Alt3 appear at level7 chance of 100 last alt form: ID 2
What i understood was that if You set a last alt form for an alt, that alt Will only be selected if the adopt is using the defined ID that You set in the last alt form.

this is the problem I have, the code does not check if the adoptable level5 is using alt1 or not. it simply changes everyone to alt2 form once they reach level6 and with those who are at level6 the same thing happens, it does not check whether or not they are using alt2, once they reach level7 they all become alt3. At the end there is no adoptable left using the default form. they are all alts
In My case: yes the last alt form field don't work, all the adopt of that breed becomes alts
__________________

Last edited by kristhasirah; 01-16-2021 at 04:25 PM.
Reply With Quote
  #6  
Old 01-19-2021, 10:59 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: 482,167
Hall of Famer is on a distinguished road
Default

I see, I will look into it. On my demo site the adoptables have only 1 adult form(other than the egg form), so it was never a problem. Guess I need to take a look for more complex situations.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
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


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

Currently Active Users: 822 (0 members and 822 guests)
Threads: 4,081, Posts: 32,029, 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