IPB

Welcome Guest ( Log In | Register )

> waypoints database
Subach
post Nov 4 2004, 12:17 PM
Post #1


Member
**

Group: Members
Posts: 13
Joined: 1-November 04
Member No.: 435



someone knows a site that is a database waypoints for all ns maps released (and custom of course)i have googled it but i cant find anyone good thanks

ah someone mentioned that marines in combat dont buy things they have bought shotgun ha jp one have bought gl!!! thats very cool biggrin.gif i use whichbot for aliens
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Cheeseh
post Nov 6 2004, 10:06 AM
Post #2


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



QUOTE (LordSkitch @ Nov 5 2004, 09:25 PM)
Even good camel coders can take like 3 times as long to create the stuff relatively new people can make in CF, so long as they know HTML..

CODE
$dbuser="username";
$dbpass="password";
$dbname="mydata";  //the name of the database
$chandle = mysql_connect("localhost", $dbuser, $dbpass)
   or die("Connection Failure to Database");
mysql_select_db($dbname, $chandle) or die ($dbname . " Database not found. " . $dbuser);

$mainsection="sections"; //The name of the table
$query1="select * from " . $mainsection . " as t1 where t1.idname = " .  "\"Home\"";  //select the home section
$result = mysql_db_query($dbname, $query1) or die("Failed Query of " . $query1);  //do the query
$thisrow=mysql_fetch_row($result);
if ($thisrow)  //if the results of the query are not null
{
 echo "The Home section was found.<br>";
}
else
{
 echo "The Home section was not found.<br>";
}

I'd still choose php, with a little bit of tinkering you can decrease the amount of coding by using php classes, i.e.

CODE

$db->executeQuery("select * from sections as t1 where t1.idname =  'Home'");

if ( $db->numRows() )
 echo "The Home section was found.<br>";
else
 echo "The Home section was not found.<br>";



which you can then turn into:


CODE


if ( $homeSection->find() )
 echo "The Home section was found.<br>";
else
 echo "The Home section was not found.<br>";


huh? huh? tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
Subach   waypoints database   Nov 4 2004, 12:17 PM
Cheeseh   I'm working on a waypoint site for every bot/...   Nov 4 2004, 12:58 PM
Subach   thanks :)   Nov 4 2004, 03:02 PM
Gruuunt   http://jasminewpt.webhop.net/ is one place you cou...   Nov 4 2004, 05:40 PM
LordSkitch   I'd set up a bigassed one on my server, I mean...   Nov 4 2004, 08:19 PM
Sandman[SA]   I could setup a waypoint database on my site for r...   Nov 4 2004, 11:07 PM
LordSkitch   Install cold fusion on your webserver, and let me ...   Nov 4 2004, 11:14 PM
Sandman[SA]   What is "cold fusion" and yes, my connec...   Nov 5 2004, 03:49 AM
LordSkitch   Cold Fusions like an enterprise server side enviro...   Nov 5 2004, 04:12 AM
Gruuunt   Thank Gawd for Bots, thats what I say. I Only hav...   Nov 5 2004, 07:34 AM
LordSkitch   Just recently I had a 16 RCBot 4 human game, 16 RC...   Nov 5 2004, 08:20 AM
Subach   i tried to connect to that site but it says conec...   Nov 5 2004, 01:34 PM
JASMINE   hi sand do you mean all foxbot waypoint ? it wil...   Nov 5 2004, 03:06 PM
Cheeseh   PHP rox you ! :D   Nov 5 2004, 03:57 PM
LordSkitch   Even good camel coders can take like 3 times as lo...   Nov 5 2004, 09:25 PM
Sandman[SA]   This is how: sv_maxrate 4608 sv_minrate 0 sv_ma...   Nov 6 2004, 01:38 AM
LordSkitch   If you take a class in it, and buy a $5 bulk ...   Nov 6 2004, 08:19 AM
Cheeseh   I'd still choose php, with a little bit of ti...   Nov 6 2004, 10:06 AM
LordSkitch   Cold fusion's still better. Sounds cooler too....   Nov 6 2004, 11:59 AM
Sandman[SA]   I know it's been a while since I have posted h...   Jun 24 2012, 12:43 AM
madmax2   Hi Sandman, Glad to see you are still around :) ...   Jun 24 2012, 07:50 PM
Sandman[SA]   My database will only accept .zip & .rcw files...   Jun 26 2012, 01:19 AM
madmax2   Sandman, I'm moving this discussion here, ple...   Jun 26 2012, 10:30 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th June 2025 - 08:37 AM