Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #31  
Old 02-16-2016, 12:19 PM
gunpowdercat gunpowdercat is offline
Member
 
Join Date: Feb 2016
Posts: 29
Gender: Female
Credits: 1,802
gunpowdercat is on a distinguished road
Default

Went ahead and deleted and re-installed it-- working now, thank you!
Reply With Quote
  #32  
Old 02-16-2016, 12:22 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,968
Kyttias is on a distinguished road
Default

I'm a bit concerned I uploaded a bugged version of the non-obfuscated javascript (meaning the default install will work but the file I welcomed you to edit that's human-readable is somehow flawed). I'll try to look into it soon.

I plan on buying an open source game from Code Canyon to integrate soon, so this definitely needs fixed for that to work.
__________________
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
  #33  
Old 02-16-2016, 07:49 PM
Kasandra Kasandra is offline
Member
 
Join Date: Feb 2016
Posts: 11
Gender: Female
Credits: 926
Kasandra is on a distinguished road
Default

If it awards 25 credits for correct guesses, could you make it remove credits for incorrect guesses?

Since it updates the persons credits automagically, if they then keep losing and have no credits, will the game stop/not allow them to play again?
Reply With Quote
  #34  
Old 02-16-2016, 08:08 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,968
Kyttias is on a distinguished road
Default

Seems kind of cruel. And I won't be making modifications of the base game, sorry. Is it possible? Definitely.

But I'd have to create a new variable to be sent from Javascript to PHP to inform the other language it's dealing with a negative number and then write a whole new function in PHP, or heavily modify the existing one, to deal with subtracting rather than adding. And then I'd have to write a check to make sure the user isn't below on cash and then send an error message if they are. And then I'd have go back through and make sure it's cheatproof.

This wasn't a feature I had planned on, and it would add a half times more to the amount of code the game is already using. I hope you understand... I just don't have time to fulfill requests like that.
__________________
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
  #35  
Old 02-17-2016, 11:28 AM
gunpowdercat gunpowdercat is offline
Member
 
Join Date: Feb 2016
Posts: 29
Gender: Female
Credits: 1,802
gunpowdercat is on a distinguished road
Default

It began glitching again. Uploaded it. Made no changes to any code WHATSOEVER. it is still glitching. after about 2 plays, the cards disappear. It doesn't register correct guesses, either. It stays at "0".

Last edited by gunpowdercat; 02-17-2016 at 11:33 AM.
Reply With Quote
  #36  
Old 01-29-2017, 05:33 PM
Chaos77777 Chaos77777 is offline
Member
 
Join Date: Jan 2017
Posts: 43
Gender: Male
Credits: 3,692
Chaos77777 is on a distinguished road
Default

It glitches for me too, lol I also found out that if you get a number you don't like, such as 10, you can keep refreshing til you get 1 or 16

-Edit-
Needed jQuery in my template. It works just fine now :D
People can still refresh for a more optimal number lol, but I'm not worried about that

Last edited by Chaos77777; 01-29-2017 at 08:13 PM.
Reply With Quote
  #37  
Old 01-30-2017, 04:44 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,968
Kyttias is on a distinguished road
Default

I'm glad you figured out what was wrong on your end.

It's too difficult, at this point, to assist anyone with modifying this code. It remains here for intermediate to advanced coders to ponder over and observe the connection points needed to send a game score in exchange for currency -- but it's also up to them to make a far more functional game.

I hope to eventually improve upon all of this, but I'm still getting way more hours than I asked for at my job and I'll be moving cross country early this summer.
__________________
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
  #38  
Old 01-30-2017, 05:33 PM
Chaos77777 Chaos77777 is offline
Member
 
Join Date: Jan 2017
Posts: 43
Gender: Male
Credits: 3,692
Chaos77777 is on a distinguished road
Default

I'm going to try to set it up to where the player gets money based on points earned, rather than correct guesses. I've noticed that if I do refresh, the points restart back at 0. It would be incentive to keep going for more points, rather than simply correct answers. I'll post what I come up with if I can figure it out. I'm not all that great at coding, so me "coding" is a couple hours of trial and error lol
Reply With Quote
  #39  
Old 01-30-2017, 08:13 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 111,683
Abronsyth is on a distinguished road
Default

I plan on taking a look more deeply into this and seeing if I can get some other javascript games to work, such as tic-tac-toe, etc.

I hope all goes well for you with the job and move, Kyttias!
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
  #40  
Old 07-19-2017, 09:55 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,127
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

It actually works as i wanted!
It has just 1 problem...after some rounds both numbers dissapear. But okay, i just refresh the page.

I also did this for my site, it's a small arcade machine with a mini pixel of this game haha

Edit: i think i'll make these as f2u for any project.
Reply With Quote
Reply

Tags
ajax, game, higher or lower, javascript

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:22 PM.

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