Search found 6 matches

by amir
Thu Apr 05, 2012 2:59 pm
Forum: Beginner Help and Support
Topic: Help Me With My Online Game [SOLVED]
Replies: -1
Views: 1080

Re: Help Me With My Online Game

<?php $stats_get = mysql_query("SELECT * FROM `xyz` WHERE `id`='".$_SESSION['uid']."'") or die(mysql_error()); $stats = mysql_fetch_assoc($stats_get); $zeit = time(); if (isset($_POST['drive']))     {         $zeit=time() + 1200;         mysql_query("UPDATE xyz SET car_time...
by amir
Tue Apr 03, 2012 3:31 pm
Forum: Beginner Help and Support
Topic: Help Me With My Online Game [SOLVED]
Replies: -1
Views: 1080

Re: Help Me With My Online Game

Foofighter wrote:Hi,
there are 2 simple ways , with Javascript or without.

without Javascript you can basically save (timestamp + drivetimecar) in your DB when the car starts, then check the following timestamp - time() == 0 .

br
Foo
hi
Thanks For Replying but can you give me more details please
by amir
Tue Apr 03, 2012 9:24 am
Forum: Beginner Help and Support
Topic: Help Me With My Online Game [SOLVED]
Replies: -1
Views: 1080

Help Me With My Online Game [SOLVED]

Hi, I'm Making a online game i'm Done With Everything Except Times. What I mean is (Example): Like Player Send a Car to deliver something And When Car Is back player Get Money And experience . i want to Make A time for car so when Player Send a Car, 20 minutes After, player get money and experience ...
by amir
Wed Mar 21, 2012 2:45 pm
Forum: Older Browser MMO Videos
Topic: Help Me With My Problem [Solved]
Replies: -1
Views: 846

Re: Help Me With My Problem

Does player1 exist? After line 9: $playerinfo3=mysql_fetch_array($playerinfo2);  place this (line 10) echo "player1 exists: " . mysql_num_rows($playerinfo3);  if it says "player1 exists: 0", that's your problem. solved .Thank you so much When You said That Does player1 exist , i...
by amir
Wed Mar 21, 2012 2:43 pm
Forum: Older Browser MMO Videos
Topic: Help Me With My Problem [Solved]
Replies: -1
Views: 846

Re: Help Me With My Problem

solved .Thank you so much :)
When You said That Does player1 exist , i checked again and i had spelling mistake (palyer1) then i change it to player1
Thanks
by amir
Wed Mar 21, 2012 9:58 am
Forum: Older Browser MMO Videos
Topic: Help Me With My Problem [Solved]
Replies: -1
Views: 846

Help Me With My Problem [Solved]

Hello , I'm New On Forum I have Problem With Battle.php: When I test it i see this page ( I don't see player info ) http://indie-resource.com/forums/download/file.php?id=388 This is My battle.php Code <?php include 'connect.php'; $playerinfo="SELECT * from players where name='player1'"; $p...

Go to advanced search