All the site has is a layout, I'll make one now for "Nets City".

All the site has is a layout, I'll make one now for "Nets City".
kinda quit.
...
kinda quit.
lmao, CAN I BE MOD PLSOriginally Posted by Nets
...
lmao ya make meh laugh :p cud i be a mod i have exoerienceOriginally Posted by Luckyrare
lmao, CAN I BE MOD PLS![]()
You pasted that from Flash, you had to go into Flash to get something as basic as that.Originally Posted by ozzie-ing
on (press) {
nextFrame();
}
''/
kinda quit.
If you had enough coding knowledge to make an online game you wouldn't need to go into flash to get a basic piece of code. I could write you part of a basic online game here without going into flash:Originally Posted by ozzie-ing
your right i did so your point being
Code on each square (action script):
Connect to the database with PHP and update:Code:on(press){ grid_select = "1"; loadvariablesnum("placeupdate.php, 0, "post"); play; }
(Scuse the errors, I haven't checked it etc).PHP Code:mysql_connect("localhost", "", "") or die ('Error');
mysql_select_db(""); //Connects to your database
$place = mysql_real_escape_string($grid_select); //Gets grid from flash and uses mysql real escape
$sql = "/*Update grid SQL*/" //Update where character is
mysql_query($sql);
mysql_close();
That's a basic start, you would use the action script on the grid placement and you would need to have a cookie with a user ID so you can tell who moved there. Also you would need scripts to make sure that no one was on that space etc. But that's a basic way you could do it, using PHP.
kinda quit.
or i could use my point and click code so movings more like runescape thn habbo but im not showing u tht it took mew ages 2 work outOriginally Posted by Nets
If you had enough coding knowledge to make an online game you wouldn't need to go into flash to get a basic piece of code. I could write you part of a basic online game here without going into flash:
Code:on(press){ grid_select = "1"; loadvariablesnum("placeupdate.php, 0, "post"); play; }(Scuse the errors, I haven't checked it etc).PHP Code:mysql_connect("localhost", "", "") or die ('Error');
mysql_select_db(""); //Connects to your database
$place = mysql_real_escape_string($grid_select); //Gets grid from flash and uses mysql real escape
$sql = "/*Update grid SQL*/" //Update where character is
mysql_query($sql);
mysql_close();
Thats a basic start, you would use the action script on the grid placement and you would need to have a cookie with a user ID so you can tell who moved there. Also you would need scripts to make sure that no one was on that space etc. But thats a basic way you could do it, using PHP.
Yeah but you haven't got one, thats the only problem.Originally Posted by ozzie-ing
or i could use my point and click code so movings more like runescape thn habbo but im not showing u tht it took mew ages 2 work out
kinda quit.
Want to hide these adverts? Register an account for free!