Jump to content
MakeWebGames

KyleMassacre

Members
  • Posts

    2,921
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by KyleMassacre

  1. PHP doesn't really like when arrays are used without checking if it exists or is set. For example your $r['itmid'], it is actually set through your database but PHP is too dumb to realize that. There are ways to fix it for example, the easy not recommended way is to turn of your error reporting or just have it print to a file. Another is to explicitly assign/set it: //assign or set it to itself or you can assign it to a local variable $r['itmid'] = isset($r['itmid']) ? $r['itmid'] : null; //or you can check to see if it exists if(array_key_exists(['itmid','someThingElse'],$r)) { //continue on }
  2. How much text are you looking to translate exactly? If it's just a word or two here and there I believe google has an API with so many translations a month for free. You can create a function to search a translation table in your DB to see if there is a match and if not, hit the Google API and add it in.
  3. Yeah but you have to convert it over. Like all the mysql_query's to $db->query() and mysql_fetch_array's to $db->fetch_row()
  4. Good looking out. Also, I believe they are in violation of their own license the game was released under
  5. Well I remember either late 2014 or early 2015 on IRC you were asking for people to help you make a Pokemon game because you couldn't do it. Now all of a sudden you have one that you made?
  6. $55/mo seems a little steep. Someone can get a dedicated server for that amount. Can you talk about why someone would want to host with you and/or pay that amount?
  7. Do you have the rights to sell the script and the game? The reason I ask is because I know you did not make this and am just curious where the source came from
  8. Hello everyone, Just today I launched my Kickstarter for a mobile game that is in the works and would really appreciate you at least taking a look at the campaign. I won't ask you to help fund it since that is entirely up to you but it would be nice :p Here is the Link to the Kickstarter Thanks a lot also, you can help get it around that would be great and one way of supporting the project. This is the cheapest and easiest way for you guys to help support it.
      • 1
      • Like
  9. KyleMassacre

    Ullrge v1.0

    Yes please do. This way since it's open source you can get community help with it as well
  10. Apparently the SQL bbcode still doesn't work so what you can do to get the correct SQLs is click the quote button of the initial post and it will show up: CREATE TABLE IF NOT EXISTS `referrals` ( `refID` int(11) NOT NULL AUTO_INCREMENT, `refREFER` int(11) NOT NULL DEFAULT '0', `refREFED` int(11) NOT NULL DEFAULT '0', `refTIME` int(11) NOT NULL DEFAULT '0', `refREFERIP` varchar(15) NOT NULL DEFAULT '127.0.0.1', `refREFEDIP` varchar(15) NOT NULL DEFAULT '127.0.0.1', `refBONUS` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`refID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `referrals_reward` ( `refBONUS` int(11) NOT NULL AUTO_INCREMENT, `refLEVEL` int(11) NOT NULL DEFAULT '0', `refCOINS` int(11) NOT NULL, `refMONEY` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`refBONUS`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
  11. How the hell is that only 4 stars???
  12. I recently upgrading my internet a while ago:
  13. This is basically what I did. I was just curious if there was an easier way: ^([-+\d]?([.\d]+)?([,* ]))([-+\d]+([.\d]+)?([,* ]))([-+\d]+([.\d]+)){1}?
  14. Ahh, i thought it looked funny
  15. Close but it must fail if number of sets !=3
  16. I am aweful at using RegEx and I just wanted to know if there was an easy way to check for a group of floats separated by a comma. Here are some things that I want to check for (basically looking for Vector3 positioning): 0.10, .10, -2.4 return true 0.10, +.10,-2.4 return true 1.0,-2.1 1.900 return false, no comma Basically a set of (3) floats with no preceding comma or trailing comma and no definite length of the fraction values and the whole number can be either 0, blank, negative, or whole and it can accept positive or negative signs.
  17. There has to be. error_reporting(E_ALL);
  18. You have some sort of error. Try turning on error reporting
  19. No, in your function: function lotto() { global $lottoconfig; //... } function buy() { global $lottoconfig; //... }
  20. Don't forget to add $lottoconfig to your functions as a global
  21. If it's not a valid function then that is most likely where your error is coming from.
  22. Is money_formatter() a valid function? Also, you need to add the global variables in your functions that you are using like the lottoconfig variable.
  23. [uSER=67703]adamhull[/uSER] is on to something here. You need to remove the global variables that you are using in your functions since RC (from what I remember) doesn't use the $db, $ir, $set variables so most likely you are getting undefined variable errors
  24. Thanks for reminding me lol. I believe I have who/what I need for this to happen besides all the money I need to release a top notch looking game. But to answer your curiosity (which killed the cat), I am talking about real world physics like gravity and force since this is 3 dimensional.
  25. Does your post value return Strength or strength? $statnames['Strength']; // would return strength $statnames['strength']; // would return E_NOTICE for undefined index strength
×
×
  • Create New...