Jump to content

reportingsjr

Members
  • Posts

    1,183
  • Joined

  • Last visited

Posts posted by reportingsjr

  1. So, too, would be ____________________________________@a.a.
    No, the "atom dot" or whatever it is called has to be followed by a letter or whatever Steve said.Offtopic: Pulpfiction, I have been wondering if you based your name off of the movie by Quentin Tarintino? Good movie :)
  2. Doh! I messed up :). So thats why it was moving. I forgot to remove the {}else from all of them. Checking it now!EDIT: No :), it still doesnt work! What do you think is going wrong here? I would love for this to work!!FULL CURRENT CODE:

    if($_POST['way'] =="up"){	//GO UP	if(!($position->y <= 0 || ($position->x >= 48 && $position->x <= 168 && $position->y >= 502))){		$database->query("UPDATE `map` SET y = y-2 WHERE name = '{$_POST['username']}'");	}}elseif($_POST['way'] =="down"){	//GO DOWN	if(!($position->y >= 594 || ($position->x >= 48 && $position->x <= 168 && $position->y <= 320))){		$database->query("UPDATE `map` SET y = y+2 WHERE name = '{$_POST['username']}'");	}}elseif($_POST['way'] =="left"){	//GO LEFT	if(!($position->x <= 0 || ($position->x <= 168 && $position->y >= 502 && $position->y <= 320))){		$database->query("UPDATE `map` SET x = x-2 WHERE name = '{$_POST['username']}'");	}}else{	//GO RIGHT		if(!($position->x >= 594 || ($position->x >= 48 && $position->y >= 502 && $position->y <= 320))){			$database->query("UPDATE `map` SET x = x+2 WHERE name = '{$_POST['username']}'");		}}

  3. I see someone got on it! Well, it works. Sort of :), I have this: but I tried to move down and it wouldnt move down! Here is my whole code so far:

    if($_POST['way'] =="up"){	//GO UP	if(!($position->y <= 0 || ($position->x >= 48 && $position->x <= 168 && $position->y >= 502))){}else{		$database->query("UPDATE `map` SET y = y-2 WHERE name = '{$_POST['username']}'");	}}elseif($_POST['way'] =="down"){	//GO DOWN	if(!($position->y >= 594 || ($position->x >= 48 && $position->x <= 168 && $position->y <= 320))){}else{		$database->query("UPDATE `map` SET y = y+2 WHERE name = '{$_POST['username']}'");	}}elseif($_POST['way'] =="left"){	//GO LEFT	if(!($position->x <= 0 || ($position->x <= 168 && $position->y >= 502 && $position->y <= 320))){}else{		$database->query("UPDATE `map` SET x = x-2 WHERE name = '{$_POST['username']}'");	}}else{	//GO RIGHT		if(!($position->x >= 594 || ($position->x >= 48 && $position->y >= 502 && $position->y <= 320))){			$database->query("UPDATE `map` SET x = x+2 WHERE name = '{$_POST['username']}'");		}}

  4. I hope that works! Well, I do have a test account that you can see it in. go to http://excibius.com and login as "blehe" with a password of "blehe". Then on the right menu when you log in click the big red link that says "NEW 2D MAP". The on the right there are arrows you can use to move around. It supposed to make it so you cant move around the lake, or off the right edge of the page. Thanks! I will test when I get home!

  5. Haha! But what about monsoons? You get oodles of rain then! (can I just cal you steve? I dont feel like typing in justsomeguy!) Warn level, I dont like that thing.. Im at 20% =\ 10% for being mean and another 10% for having "want to be a mod behavior". Which I dont remember getting contacted about or anything, I just saw it :).

  6. Ok, so right now im making a game. So im turning it into a 2d game. I have moving around set. But there are areas I dont want people to go to. I tried to figure it out but it wouldnt work! Here is my code:

    	//GO RIGHT	if($position->x >= 594 && ($position->x >= 48 && $position->x <= 168 && $position->y >= 502)){}else{		$database->query("UPDATE `map` SET x = x+2 WHERE name = '{$_POST['username']}'");	}

    you wont be able to see it because you need to be logged in and I dont think anyone here wants to register etc.. So $position->x is the left right distance and $position->y is the up down value. What do I have to put so it wont allow you to move into a square of any size?

  7. I have a question regarding .htaccess, I tried to edit mine so php could be parsed through .html. But instead it just forced a download. What did I do wrong! I had it like you posted Jonas but with more such as .php and .htm. It would be nice to figure it out.

  8. Umm, you will need a form. Have it have a dollar amount, then a <select> with things like USD to UK Pounds and UK Pounds to USD. Google currency converter and check their code, just borrow snippets!

  9. Well of course there wont be 99 mods! But there is a need for a few more. I mean, 3 or 4 more mods would be nice for the forum. It would put a lot less work on the current mods (how many are there? 3, or 4?). So no one is saying get 10 or 15 mods right now, just double the amount right now.

  10. Yeah, there HAS to be something else. The big bang is still going on, so it means space is rapidly growing. But why universes? Why define them? Why not just space? Told you I could start it back up :).

×
×
  • Create New...