![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
Went ahead and deleted and re-installed it-- working now, thank you!
|
#2
|
||||
|
||||
![]()
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. |
#3
|
|||
|
|||
![]()
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? |
#4
|
||||
|
||||
![]()
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. |
#5
|
|||
|
|||
![]()
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. |
#6
|
|||
|
|||
![]()
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. |
#7
|
||||
|
||||
![]()
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. |
#8
|
|||
|
|||
![]()
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
|
#9
|
||||
|
||||
![]()
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) |
#10
|
||||
|
||||
![]()
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.
__________________
https://www.viagrasansordonnancefr.c...-en-pharmacie/ |
![]() |
Tags |
ajax, game, higher or lower, javascript |
Thread Tools | |
Display Modes | |
|
|
What's New? |
What's Hot? |
What's Popular? |