Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Off Topic Discussions > Staff Central

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-23-2015, 12:04 AM
SoubisSacrifice's Avatar
SoubisSacrifice SoubisSacrifice is offline
Member
 
Join Date: Jan 2015
Posts: 14
Gender: Female
Credits: 3,610
SoubisSacrifice is on a distinguished road
Default Seeking Advanced PHP Coder (PAID)

I'm looking for someone who can create me a piece of code that will allow my pets to grow with time, rather than clicks (like chickensmoothie).

I am willing to pay via Paypal for this, so please only respond if you definitely know how to do this. Price for the work will be negotiable.

Afterwards, if you want to stay on the site as a staff member, you'll be more than welcome. Just keep in mind that I will not be able to pay any sort of on-going salary. For now, I am just paying for this particular job.
Reply With Quote
  #2  
Old 01-23-2015, 02:15 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,914
Kyttias is on a distinguished road
Default

I can probably do this! A column can be added to the database to store when the adopt was created, and calculations can be done from there. When would you like age checks to be done? At log in, every time the user goes to visit their adopts, and on the user's profile page? (I'd alternatively suggest using a Cron job, as most sites of the kind you're wanting to make probably do, but I hear that your chosen host, iPage, doesn't allow it.) Even so, it should be possible to do a quick check of 'born' until 'now', to give the best illusion possible of levelling up over time.

This would only be a first step -

database
Open up the owned_adoptables table in your database using phpMyAdmin. Open up the second tab, Structure. Below the existing table structure, there is an option to add a column at the end of the table and a 'go' button. Just hit go! On this new page we're creating a column. Name it born, set the type to varchar and the length to 20. Ignore the rest of the options and go ahead and hit 'save'.
date of birth set at creation
Open up adopt.php, classes/class_promocode.php, and classes/class_stockadopt.php. Search these files for $mysidia->db->insert. Above this line in each file, let's create a variable that holds today's date. It will be in the format: 2015-01-15 17:16:18:
PHP Code:
$today date("Y-m-d H:i:s"); 
Now let's examine the array after $mysidia->db->insert. As you can probably guess, this code in these places adds a fresh adopt to the owned_adoptables table, the same one we just added a 'born' column to. so in all these places, we want to be sure to add in a date of birth. Find "lastbred" => 0 at the end of the array. Add in a comma, and let's add:
PHP Code:
"born" => $today 
Using 'born' may be a bit of a misnomer, especially if you're going the normal egg-first route, but it's really just setting a timestamp of the creation date.

I assume you'll want to completely disable the current system of gaining exp through clicks?

If you can get me some more details (how long between levels, for example, and if it'd be different between different tiers of creatures or something), I can run some tests and develop something. If, in the end, you decide you don't want it, I can always release it to the community. But, as you're interested in paying, the specifics can definitely be kept between us.

I've been tinkering with the Mysidia framework for a year, so I'm familiar with it. I've made a couple mods for the community, and for myself, just for fun. But... I wouldn't call myself advanced yet (php is more daunting than it looks!), but at least mid to high intermediate level. =/ Of the currently active people around, IntoRain and Hall of Famer himself are probably/definitely better than me, but may not have the time. I'd be happy to hear what you PayPal offer is, though.

I'll probably continue work on this out of curiosity alone...
__________________
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; 01-23-2015 at 02:24 AM.
Reply With Quote
  #3  
Old 01-23-2015, 02:48 AM
SoubisSacrifice's Avatar
SoubisSacrifice SoubisSacrifice is offline
Member
 
Join Date: Jan 2015
Posts: 14
Gender: Female
Credits: 3,610
SoubisSacrifice is on a distinguished road
Default

I have pretty much absolutely no experience with php...and I'm still learning how to edit databases. I tried to set up something on another site following this tutorial, but didn't get very far.

I have designed some pets with 4 stages, some with 3, and one with 2. I'd like to be able to choose at how many days old the pet would grow to its next stage, and what outcome it'd grow to. I'm horrible at explaining things, but something like this:



I'm not sure how do-able that is....and I'd love to be able to do alternative outcomes at each stage as well.

As stated in my original post, the pay is definitely negotiable...mostly because I do not know how hard this would be to do. If it's relatively easy, I'd probably pay anywhere from $20-$40....if it's incredibly difficult, anywhere from $50-$100.

Oh, and yes, I'd want the click-to-grow disabled.
Reply With Quote
  #4  
Old 01-24-2015, 04:47 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,914
Kyttias is on a distinguished road
Default

Did you have ideas in mind for alternate outcomes? By gender, completely random, both, and/or did you want a way for users to interact with the adoptables to effect their outcome?

Jot down a few ideas and I'll think on how they could be implemented. ^^

Also, is there an instant messaging program you'd like to use to communicate?
__________________
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
  #5  
Old 01-24-2015, 05:57 PM
SoubisSacrifice's Avatar
SoubisSacrifice SoubisSacrifice is offline
Member
 
Join Date: Jan 2015
Posts: 14
Gender: Female
Credits: 3,610
SoubisSacrifice is on a distinguished road
Default

By alternate outcomes, I meant like a split outcome...where the image of the pet at stage 1 could result in two different outcomes at stage 2. Example: white puppy at stage one could turn into either a white puppy with roses or a black puppy.

I don't have any instant messaging on my computer, unless you'd want to add me on Facebook, and I haven't read the rules regarding identity secrecy on this site yet lol.
Reply With Quote
  #6  
Old 01-24-2015, 09:55 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,914
Kyttias is on a distinguished road
Default

I'm afraid I don't use Facebook because my family is crazy.

I understand the concept of alternate outcomes, I was just wondering if you wanted any contributing factors. If it's just random from a set pool of possibilities (perhaps just those in the same 'class' as them), that's probably not too hard.
__________________
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
  #7  
Old 01-24-2015, 10:16 PM
SoubisSacrifice's Avatar
SoubisSacrifice SoubisSacrifice is offline
Member
 
Join Date: Jan 2015
Posts: 14
Gender: Female
Credits: 3,610
SoubisSacrifice is on a distinguished road
Default

I do not believe we are doing genders or breeding, so just the alternate outcomes are fine.
Reply With Quote
  #8  
Old 01-24-2015, 11:06 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,914
Kyttias is on a distinguished road
Default

If the existing alternate outcome system is acceptable, then that works out well, too. ^^ Just check the box to enable alternate outcomes and put in a chance for the alternate to occur. However, the existing system only allows for two - normal and one alternate. It does not change the species, only the image. If you need something more advanced than this, I'll try to work with you on it a bit later.
__________________
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
  #9  
Old 01-25-2015, 03:48 AM
SoubisSacrifice's Avatar
SoubisSacrifice SoubisSacrifice is offline
Member
 
Join Date: Jan 2015
Posts: 14
Gender: Female
Credits: 3,610
SoubisSacrifice is on a distinguished road
Default

I'd like to be able to do up to three alternates if that is possible....it's not necessarily needed, though. We can always work around it.
Reply With Quote
  #10  
Old 01-25-2015, 03:50 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,914
Kyttias is on a distinguished road
Default

I'll see what I can do later this week!
__________________
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
Seeking basic run down of php and database MikiHeart Questions and Supports 10 01-19-2015 03:16 AM
Seeking a coder + artists~ Pear Staff Central 14 07-06-2014 04:42 PM
More advanced breeding? Silvercivet Questions and Supports 26 02-23-2012 05:52 PM
a more advanced breeding system needed maximillion Questions and Supports 11 06-28-2011 03:37 PM
Seeking Mysidia coder Solistia Staff Central 4 05-03-2011 05:19 AM


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

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