[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1091: Undefined array key 0
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1091: Trying to access array offset on value of type null
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1098: Undefined array key 0
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1098: Trying to access array offset on value of type null
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1098: Undefined array key 0
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1098: Trying to access array offset on value of type null
Indie-Resource.com • dont want to be rude since its the first post.[i need help]
Page 1 of 1

dont want to be rude since its the first post.[i need help]

Posted: Sun Oct 31, 2010 8:30 pm
by zvi5
and im not sure if this is the right place,please move if needed...
(my english isent to great either)

skip to the red writing if you dont want the intro...
http://www.2shared.com/file/wgYc9Na_/for_web.html----> the game idea its word...


ok,hay
im new here and around about 3 months ago i was in hospitel for like 2 weeks becouse of http://en.wikipedia.org/wiki/Sinusitis
{refer to ---->http://en.wikipedia.org/wiki/Sinusitis}

anyways,i started writing this online browser turn based game,similer to trivalwar,mafiawars... ect' ect'
i hope you know what they are since i could explain if you dont :O

my point bein i started to do some resurche and came up with the result:
"or spend 20k$'s on a compnay that that is there job and have a profesonal team do it for me"

or spend around about 6 months learning http,css,javascript,java,php,sql,mysql and literrly teaching my self how to do it...

since i am 17 and sadly dont have 20 thousend dollers, guess what ii chose!? :P
yeah, so i started with http,got the idea eperemnted a bit did some css,abit of javascript and then found out about dreamweaver and got it :P
(by the way all learent through w3school's and i do recomand them if you like they way they teach...)
any ways after that php never seemed to work and i somehow arrived here and got wamp and it started working =) (tysm for that for one thing...)

ok after all of that i did the free source with the 20 videos tutrials -- amazing btw made me understand php (or atleast the idea of server side oppose to on a domain)

after all of that i was very proud of my self and rewent to my word doc that has my plans on it....

and i got stuck :O

<!-- here is where the help comes in-->

i need help please!

i will list them i know this is seriosly rude but i meen if you agree and have the free time it might help someone else out there in the end?
(my ego is at a low there lol)
  • what i need:
    1how do i make a turn based system?---> succsesfull :P
    in my game i have 4 units un attacker,adefender,aworker,and Territory pole holder,now a quote from my "to-be-manuel"
    Territory pole holder:These units are the core of your territory, they are literally like their name says"your boarders" you need at least 3 to have a territory ,if the 3rd one dies, you will be en-slaved, thus recommending to have more than 3 and I even suggest more than 100 =]
    The TPH, work by right clicking them and moving them around, the more squares you walk the more land you will have = the more gain from workers and slaves, and more success-rate
    how do i make the date base grow when they "conqour" more land?and make the player get more resurces next update?(again related to the turn based problame)
    (if you dont get what inslaved meens here the file of my idea's)

    2how would i make it be text based and with grhapics or just text based since its what i am actully aiming at.

well, thats the bottem of my problame if it sovlebale i will add more,thank-you so much...

Re: dont want to be rude since its the first post.[i need help]

Posted: Sun Oct 31, 2010 10:01 pm
by Callan S.
Hi,

Have you programmed anything before, in any language? Even if it was just a simple shoot 'em up in game maker? Just asking because some people want to make a game, but have zero interest in experimenting with code to see what results they can get (also along with that, not surprisingly, they have zero interest in reading manuals for six months). For someone who has zero interest in experimenting with code, someone asking how to do this is asking one of us to code it for them.

Have you made a game or simple program in any language before? Anyway, with turns one method is to store the current time (gained through the time() function, which returns a value in seconds) into the database. Then when someone logs in, check if a day has passed (or whatever time it takes for a new turn to come) and if so, set a value in all player DB entries that they can take a turn.

Try echoing time() and you'll see a big number that's the time in seconds since some time back in the 70's. You should be able to see some possibilities with it - if not, your better off directly asking someone to code the whole thing for you.

Re: dont want to be rude since its the first post.[i need help]

Posted: Sun Oct 31, 2010 11:16 pm
by zvi5
i have made a rock,scissors,paper game if it counts :P

besides that i am experamenting atm >.<,and i'll try echo() time,thanx =]
my big problame was actully crating a "map" thats not visual and you can still determan how much "space" each armie has...

thanx for the support ^.^ going to try some stuff out...

Re: dont want to be rude since its the first post.[i need help]

Posted: Sun Oct 31, 2010 11:50 pm
by Jackolantern
You can completely remove "Browser games are nice but don't go anywhere" from the list above. Browser games are quite popular right now, and some of them have even made their owners quite wealthy (Torn City was made by a 17-year old and makes $50,000 a month, Mafia Wars was created by one person and earns around $10mil a year, and countless other games make enough to let their developer focus on the game full-time). They are also the only kind of MMO you can make on your own!

Re: dont want to be rude since its the first post.[i need help]

Posted: Mon Nov 01, 2010 3:06 pm
by hallsofvallhalla
browser games dont go anywhere!!!

haha browser games make more revenue than any other genre out there!!!

Re: dont want to be rude since its the first post.[i need help]

Posted: Mon Nov 01, 2010 11:21 pm
by zvi5
okay,i am actully moving forwerd with my project still i need some guidence with the TPH idea,and the turn base thing tried some time and date stuff but it dosent seem to work right...


BTW thanx for the support guys and halls amazing tut' ;) s!

Re: dont want to be rude since its the first post.[i need help]

Posted: Mon Nov 01, 2010 11:48 pm
by Jackolantern
As far as the questions go:

1. We can't really offer many ready-to-use tips on this since it is basically straight-forward logic. However, I think if you have gone through the mail tutorial video series here, I think you will have the tools to create it since it doesn't sound too incredibly complex. If you have some non-functioning code, we can try to help you with it though. If that is the case, post the script that isn't working. We really can't diagnose code problems without seeing the code.

2. Either add images or don't :) However, if you mean, "how do you make it with text and animated graphics", that is a whole different ballpark, since you need to know Javascript for any kind of animation. Halls has some JS in some of his later tutorial series (the videos named after specific games).

Re: dont want to be rude since its the first post.[i need help]

Posted: Mon Nov 01, 2010 11:55 pm
by hallsofvallhalla
yes give us more detail on what you are wanting.

Re: dont want to be rude since its the first post.[i need help]

Posted: Wed Nov 03, 2010 11:22 pm
by zvi5

Code: Select all

<?php
include "../connect.php";
$getturns="Update slave_players set numturns=numturns+3";
$getturns2=mysql_query($getturns) or die("Could not get turns");
?>
what do you guys think?

it works =)

Re: dont want to be rude since its the first post.[i need help]

Posted: Wed Nov 03, 2010 11:38 pm
by Jackolantern
We can't really tell much since we are only looking at one MySQL query out-of-context of the rest of the program, but the most important thing is that it works :)