Jump to content
MakeWebGames

KyleMassacre

Members
  • Posts

    2,921
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by KyleMassacre

  1. you cant have session_start() after any browser output
  2. Ahh go figure figure. I forgot you had items all sorted out like that
  3. Try moving your session_start () to line 2 right under your php open tag
  4. Maybe you can make a nice template and sell it to go towards a legit copy
  5. I dont see why it wouldnt. You just set the variable like the above sample is $v=rand (2000, 5000); So in this case it would be something like: $item=rand(1, 10); $result=$db->LoadData("select itemname from items where itemid = ?", $item); /*here is where you would put your success code*/ ResultMessage(Translate("You stole %s.",$result['itemname']),false);   Couple discalimers: 1. Now im still learning nwe and dont really know table and column names yet so be sure they are right. 2. Im not great at sprintf or printf or whatever you may call but I think the %s is the right one to use. 3. Also last I heard you can call out your queries by column name now but if not I believe $result->fields[0] will work if $result['itemname'] fails. 4. This isnt tested but you should get the gist of it cause in theory it should work but im sure somone may chime in and show a better, faster, more elaborate way to do so
  6. Yeah its not very cheap, I have come across cheaper places but you get what you pay for. The place I did was about $1 per action on average. You may as well stick to your own thing and market it the best you can yourself its much cheaper. But on that note and I know this isnt the place but pretty relevant, in about a weeks time my topsite will/should be up so you can try that type of thing too.
  7. I dont really like ad campaigns, I ran an ad campaign a while back and it burned through my credits real quick with no real results.
  8. You know I cant argue with thats as a player of a game, i have never done it nor will i. But for the hardcore gamers out there it is a nice luxury to have if they are willing to foot the bill every now and then. Either way you look at it, it has its ups and downs
  9. Thats what this forum is for, good luck with your ventures
  10. not the best idea for the player but great for the game owner ;) It's kind of like that magazine subscription you got duped into signing up for but keep forgetting to cancel it haha
  11. Just find where it says if ($ir['jail']) { echo " <li><a href=somelink.php> Link </a></li> //now add your inventory link here like so <li><a href=inventory.php> Inventory </a> </li> } So just find where is has the if statement for the jail and add in the inventory link
  12. How does curl not work because of cpanel upgrades? Their change log from what I can see does not mention the fact curl is gone or going to be gone. What it boils down to is the hist allowing the use of curl in which x10 does but unless you pay you can only run x amount of jobs every 5 minutes or a day if I remember correctly
  13. Look at the url of the "CITY" chances are its explore.php
  14. curl http://www.testgame1.x10.mx/config.php?code=8f9f1b371ecc440d06826bec20993daa Try that but change your config.php to the cron filename you are trying to run like cron_day.php or something like that
  15. Labor would be more like work experiance. I wouldnt remove any of them from the game because some things you have or may get for your game can/does rely on them
  16. Replace domain.tld with your actual domain Replace cron_file.php with the actual path to the cron your trying to run example: thisisyourdomain.tld/this/is/the/path/toyourcron.php Everything before the "/" is the folder its located in And replace <lookinconfig.php> with the code that is in there at the bottom of the array "code" => "rightherewouldbeabunchofnumbersandletters"
  17. I have the free version already but i dont have access to the module market to get some modules I may require so its all good Alain ill pick it up in a few minutes just going to run to get some coffee.
  18. Did you take a look at what Someone said? There should be some sort of array that only allows certain files to be uploaded. Since im on my phone im not much help for pin pointing to the file or line. With that being said try uploading a file that is not supposed to b listed as a safe file like a html file or something or check the .ext of the file you are trying to upload and make sure its a .jpg and not a .jpeg
  19. Actually tomorrow morning I was planning on starting to see if I can contribute to the engine by trying to make most of those you mentioned because all of those are available with mc code so I was going to try to recreate them for nwe and upload them after dish out the $20 for dev version with market access. The referral system should be quite easy a long with achievements. And travel times should be fairly simple so let me see what I can do
  20. Cant you add jpeg as a safe file? Ive never bothered to look up the difference between jpg and jpeg, is one more secure than the other or a difference in file size?
  21. Well labor is sorta work experience for the jobs. When you create a job you list the stats the player must have before being "hired" for the job, so if im reading your question right dont remove labor cause it pretty much does what you are looking for
  22. Maybe if I have time tomorrow morning ill take a look. @scorpio, is that script working with no errors besides what you pointed out?
  23. It looks good on my galaxy s3 the content area fits pretty nicely and I like the fact if you move your phone from landscape to portrait the menu closes out and turns to a drop down. All in all very nice
  24. Well here is my thought: Yeah, you probably wan users the stay logged in for as long as possible just incase they want to grub real quick or whatever so 1800 is I think sufficient for that but take into affect some game rules you have or may have for example which is a major pain in the a** for most game staff is the whiney babies about online attacks. Some games either dont allow online attacks, maybe add an attack limit for online hits per hour or whatever, or its fair game. So take into consideration that or your mailbox may be flooded with complaints. But there are some ways to offset that. For no online attacks or a limiter: For starting out with low player base maybe set the limit to 900 secs and increment it up as you gain more players. I hope that shows some insight on it because trust me if you havent already staffed/owned a game this is the biggest complaint ever and you will never make every happy with whatever decision you make on that topic. So what all this boils down to is maybe make a key in the xml and kill the session so it can easily be changed unless you leave it fair game for all then who cares right?
  25. I too wanted to venture into IT but I got quite board of it mostly maybe because it was networking blah. I dont know how It is where you are but here in the states we have wayyyy too many IT people and the requirements for a decent paying job is outrageous. What you can possibly do is because a lot of places require X amount of related work experiance in which right now you have none (I assume) is go to school and try starting out as a consultant. Here in the states the consultants charge soo much money and they dont do a thing they just tell us what we need and we got to hire the person to do what the consultant says to do. This doesnt make sense to me but people still hire consultants
×
×
  • Create New...