Author Topic: Hallo!  (Read 2406 times)

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Hallo!
« on: November 25, 2006, 05:50:48 PM »
Hey everyone, I'm Brandon.  I'm new!  Got referred from the admistrater of Cypher, the ultimate online hacking game!

I'm interested in game programming with C++ as well as web programming using php and mysql databases.  I currently run a website that I use for my eve-online corporation (still under development) http://www.eve-odysy.com

I want to add some more indepth php scripts to it for user logins, when they enter they can do more rather then just view certain pages.

I also would like to create my own web based game much like cypher, but not hacking based... I have other ideas heh.

I attend the University of Miami and am majoring in Software Engineering (IT) and double majoring in Computer Science (Game Design Track)  I'm a sophmore so I really can only give a small amount of knowledge to this forum.  Soon I will be able to answer questions for those that need help with C++ etc.  Right now I'm just trying to develope my Php knowledge as a hobby :)

Any questions feel free to ask :)

talk to you all in the forums soon :) bye

Brandon -aka- shmear

Offline Pug307

  • Level 21
  • *
  • Posts: 244
  • Reputation: +6/-1
    • View Profile
Re: Hallo!
« Reply #1 on: November 25, 2006, 06:04:20 PM »
Hello and Welcome to BB-GameZone. Enjoy your stay  :ah:



Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: Hallo!
« Reply #2 on: November 26, 2006, 06:28:19 AM »
Welcome brandon :)
If you need any help with PHP and mysql, you can always ask here :)

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #3 on: November 26, 2006, 09:50:06 PM »
As a matter of fact I do need help.  I need help getting things straitened out.  I saw your post for a login/registration thing but I didn't understand it.  You need adodb?  or something like that.  I'm just so lost in the whole php stuff!

Basically I want to get started in php but I just dont know where to start!

Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: Hallo!
« Reply #4 on: November 27, 2006, 06:44:53 AM »
Well, adodb is just to help making sql queries easier.
You don't need to worry about adodb when you are just starting out :)
http://www.w3schools.com is a good place to start learning PHP.

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #5 on: November 27, 2006, 08:18:39 AM »
Oh, most definetly that is one of the better sites i've found.  I mean I use php a whole lot, I just don't know how to go further, I'm really just trying to figure out how to expand my knowledge to do something like cypher, that hacking game!.  I want to make a game that has those great qualities.  i want to just MAKE A GAME! haha.

I figure, start easy with php, text based games, then work my way to 2d games, then 3d games when i graduate college!

Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: Hallo!
« Reply #6 on: November 27, 2006, 01:26:09 PM »
Hehe, are you talking about web-based 3d games?
Or just normal 3d games? :D

A web-based 3d game would be nice to see.

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #7 on: November 27, 2006, 02:25:15 PM »
for starters i want to do text based (WEB BROWSER) games, but after that I want to do c++ game programming for a living, 2d and 3d etc. 


argh

Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: Hallo!
« Reply #8 on: November 27, 2006, 02:32:27 PM »
Nice, I wanna program 3d games for a job too :D
You are already familiar with some PHP right?
The first thing with a php game is to study some simple game codes and figure out how games work.
I've written an article that might help on this, it's in on the article sections.
A script I'd recommend looking at is called KillMonster. The url is here: http://www.chipmunk-scripts.com/page.php?ID=16
That site also has another simple game script called pwngame. Both of these also have use registratiopn/login systems which you might also like to look at :)

If you don't understand a section or how the pages work together, you can ask in the PHP board here :)

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #9 on: November 27, 2006, 07:29:57 PM »
Wow, that seems interesting, I bet I can learn a lot from just this, thanks!   I'm sure you'll hear back from me with questions though!  :)

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #10 on: November 27, 2006, 10:08:03 PM »
nice, ok, here's a question for you, I am attempting to do that thing (to get started), i like the idea, i'm going to mod it to take a nice dive into it!  but I need help with the ticks.

I have my browser ticking away but I want to have it do it automatically, and not have to keep the browser open.  Can someone helpm eout with this.

my script reads::

<?php
include ("connect.php");
$password = "password";

if(!isset($_GET['time']) || !is_numeric($_GET['time'])) {
die("Syntax; count.php?password=*****&time=[900]");
}
if((!isset($_GET['password'])) || ($_GET['password'] != $password)) {
die("Syntax; count.php?password=*****&time=[900]");
}

mysql_query("UPDATE km_users SET numturns=numturns+10");

echo "<html>\n<head>\n<meta http-equiv=\"Refresh\" content=\"".$_GET['time']."\">\n</head>\n<body>\n";
echo mysql_error()."<br>\n(Ticked)";
echo "</body>\n</html>\n";

//This is what you type in to start the tick (will repeat if you leave browser open
//http://www.eve-odysy.com/km2/admin/count.php?password=password&time=900
//time = 900 means 15 minutes (1minute = 60 seconds)
?>

How can I get it to keep ticking for every 15minutes without having the browser open?

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #11 on: November 27, 2006, 10:40:21 PM »
oh btw, I have myPHPadmin and mysql, and i have my server through geocities. (if i didnt mention it) 

I have NO IDEA how to set crons! or w/e so please help :) thanks (and i read about 80 forum posts on this so blah) dont say i didnt look it up!

Offline compuken

  • Level 10
  • *
  • Posts: 63
  • Reputation: +2/-5
    • View Profile
Re: Hallo!
« Reply #12 on: November 28, 2006, 09:57:04 AM »
For those 2d/3d games, you might want to check out www.garagegames.com they have a demo of torque game builder (2d game engine) where you put in your art and sounds and then do some scripting and you got yourself a 2d game. The Torque Game Engine is the 3d game engine and has a much steeper learning curve that a lot of people give up learning. The Torque Game Engine is written in C++ and you get the full source for only $100.

Just a thought if you are only learning php to take the next step up, since you know C++ why not start working on a 2d game now?

Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: Hallo!
« Reply #13 on: November 28, 2006, 10:21:38 AM »
npshmear, I'm not sure if it would be possible on geocities. Normally, I would go to cron in my cpanel and enter the commands there, but I'm not sure if the geocities admin panel has cron support...

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #14 on: November 28, 2006, 10:23:02 AM »
hehe, thanks, I'm saving that learning curve for my college classes until i reach "Intro to Game Design 108"  heh.

Right now I figured out just everythign about cron jobs, i need to switch webhosts, the best one i found is the www.hostmonster.com  very nice, except you buy a 2 year plan 120$ haha, 4.95/month.  I'll have to scrap up some money heh.

As for everythign else... hmm...I think I will review this code for that killmonster game and see what i can pick up from it!  if i have any questions i'll ask the boards (in teh coding help section of course!)

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #15 on: November 28, 2006, 10:23:51 AM »
npshmear, I'm not sure if it would be possible on geocities. Normally, I would go to cron in my cpanel and enter the commands there, but I'm not sure if the geocities admin panel has cron support...

yeah they dont!  i'm going to switch over at the end of december, but as for now, I'm just goign to edit it as if the cron was already working since that is the only problem!

but thanks

and btw, which webhost do you use?

Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: Hallo!
« Reply #16 on: November 28, 2006, 02:36:06 PM »
I use www.bluedotted.com, but it wasn't my choice... Over the lifetime of my website, my hosting account has been sold and re-sold a few times to different hosts :(
The service hasn't been as great s my first host, but all my previous hosts aren't hosts anymore.
I don't really have a suggestion to make about hosts :P Maybe HostGator.com. They seem to have a good reputation.

Offline npshmear

  • Level 6
  • *
  • Posts: 26
  • Reputation: +0/-0
    • View Profile
Re: Hallo!
« Reply #17 on: November 28, 2006, 03:49:16 PM »
i'm going to use hostmonster.com  just as soon as i can get 120$ together!

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal