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 03-17-2011, 06:14 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,918
RoconzaArt is an unknown quantity at this point
Default Major cash glitch

I found this while setting up my site. If you freeze a pokemon and click on you get money but that's not glitch. If you keep refreshing you keep getting money. All have to do to earn major cash is to camp on the page and keep refresh/pressing F5 to keep earning cash.

I'd really like to see fix for this and will not open until there is some way to resolve this.
__________________
Reply With Quote
  #2  
Old 03-17-2011, 06: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,819
Hall of Famer is on a distinguished road
Default

Well you found this eventually...

Yes, this was a glitch from the old Rusnak Adoptables script(my members on pokemansion complained before,sigh), it is also present on MA. I am thinking that the best way to fix this is to remove the freeze option, but maybe not all of you agree with me.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 03-17-2011, 06:42 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,918
RoconzaArt is an unknown quantity at this point
Default

Quote:
Well you found this eventually...
Not sure what you mean by that.

I've seen other site build on mys who don't suffer from this problem, Gigi for example after I did some testing. Why not ask her to find out what she knows?
__________________

Last edited by RoconzaArt; 03-17-2011 at 08:20 PM.
Reply With Quote
  #4  
Old 03-18-2011, 12:55 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,819
Hall of Famer is on a distinguished road
Default

umm I remember gigi said she got help from professional coders on how to stop people from refreshing or go backward from the current page. This is a nice way of solving problems of cheating, but may not be good as a solution for public script since it may make installation/upgrade process a real pain. A similar problem is with cronjobs. If we code something that requires users to set up cronjobs on their sites, we will lose at least half of customers since they have to manually do this from cpanel(some hosts may not even have cpanel) and it is a pain even for some PHP coders.

An alternative way to solve this problem is to cut out frozen adoptables from displaying on profile.php. Also we can find a way to stop users from clicking on their own frozen adoptables too. Its definitely doable, I will see what can be done. ^^
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 03-18-2011, 01:51 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,862
fadillzzz is an unknown quantity at this point
Default

Why not just prevent the script from giving any cash if the adoptable is frozen?
Reply With Quote
  #6  
Old 03-18-2011, 02:07 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,819
Hall of Famer is on a distinguished road
Default

Good point Fadillzzz. For now I guess the issue is that in future we will have more than just money reward for clicking on adoptables, so it will be hard to generalize. But yeah, it sounds like a fine solution at this moment.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 03-19-2011, 08:20 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,819
Hall of Famer is on a distinguished road
Default

The easy fix for this glitch is:

Find the changecash function:
PHP Code:
    changecash(grabanysetting('rewardmoney'), $GLOBALS['username'], $GLOBALS['money']);
    
$article_content $article_content "<div align='center'><br />You have earned "grabanysetting('rewardmoney') ." "grabanysetting('cost') ." for leveling up this adoptable. <br />You now have {$GLOBALS['money']} ".grabanysetting('cost')."</div>"
Replace with:

PHP Code:
    if($isfrozen == "no"){   
    
changecash(grabanysetting('rewardmoney'), $GLOBALS['username'], $GLOBALS['money']);
    
$article_content $article_content "<div align='center'><br />You have earned "grabanysetting('rewardmoney') ." "grabanysetting('cost') ." for leveling up this adoptable. <br />You now have {$GLOBALS['money']} ".grabanysetting('cost')."</div>";
    } 
This should solve your problem, as it does on my demo site. The glitch will be officially fixed on Mys v1.2.1, sorry about that.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #8  
Old 03-19-2011, 08:29 AM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,918
RoconzaArt is an unknown quantity at this point
Default

Thank you so very much Hall of Famer your awesome.
__________________
Reply With Quote
  #9  
Old 03-19-2011, 02:39 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,819
Hall of Famer is on a distinguished road
Default

You are very welcome, Roconza. Glad this problem is resolved, should have done it a long time ago.
__________________


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Major bug in 1.3.3 don't know if it carries over Infernette Questions and Supports 3 09-06-2014 01:09 PM
Major ACP problems Empress_Swanbottom Questions and Supports 23 03-09-2013 09:09 AM
Major Issue..... SilverDragonTears Questions and Supports 0 08-18-2011 08:22 PM
Major Problem RoconzaArt Suggestions and Feature Requests 15 01-22-2011 11:29 AM
Buying 'cash' with cash? Quillink Questions and Supports 4 07-20-2009 03:21 AM


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

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