Looking for help on building basic program
I'm new to Programming, and I honestly have no idea how I am to go about coding my program, so I'm looking for some help; someone who can help me with code and explain exactly what is going on.
Here's the run down of my program, it helps if you view the screenshot too:
http://img24.imageshack.us/i/tfcalc.jpg/
Basically, the user selects a name from the dropdown menu, then in the first input box, "Last Killed", they place a date and time, in the format displayed in the text box.
When the Generate button is clicked, a beginning time and ending time are displayed in their appropriate boxes.
For example:
I select "Visual Basic Nub" from the dropdown (we'll pretend it's on the list) and input 01-20-2010 10:30 AM.
When I click Generate, the program knows that because "Visual Basic Nub" has been selected, it at firsts adds 1 day--then for the "Begin" time, it subtracts 6 hours from 1 day, or 24 hours, and the "End" time, it adds 6 hours to the 1 day, or 24 hours. So, my time frame would be:
01-21-2010 04:30 AM -- 01-21-2010 04:30 PM
Hopefully this makes sense and is easy to do.
Any feedback is appreciated!!
Thanks very much! :)
Re: Looking for help on building basic program
This is for OutCraft.com or the other identical game, right?
I made a full mIRC script that done all the above for OutCraft.com. As soon as you entered your "Crews" channel the display would tell you next god, what god to camp. Were able to list all gods spawn time with !Gods.
There was alot of other features, but not used it for some time.
Let me know if you use mIRC & what game its for.
Cheers
Guy M
p.s - as for the project I can't help you, sorry!
Re: Looking for help on building basic program
I dont understand.. Why insert a day and time, after you selected.
Where did you get the begin and end time..
Re: Looking for help on building basic program
Quote:
Originally Posted by
snortop
I dont understand.. Why insert a day and time, after you selected.
Where did you get the begin and end time..
Its for a game. When a god spawns & is killed, you enter the date & time it is killed - then it will display when it will next spawn.
Re: Looking for help on building basic program
Where as in your example; you're using 6hours to subtract etc.
Does this change depending on the god which has been selected?
Re: Looking for help on building basic program
Yes, each has it's own day/hour difference...
All gods can be categorized into A, B, C, D, or E.
For example:
A has a respawn frame of 1 Day ± 6 Hours.
B has a respawn frame of 2 Days ± 12 Hours.
C has a respawn frame of 3 Days ± 18 Hours.
D has a respawn frame of 4 Days ± 24 Hours.
E has a respawn frame of 5 Days ± 30 Hours.
If any more information is needed, I'll gladly explain.
Thanks for the help :)
Re: Looking for help on building basic program
So lets take God Judus, who is in catagory D as an example.
D has a respawn frame of 4 Days ± 24 Hours.
If you killed him at;
01-21-2010 05:00am
He would respawn at
01-24-2010 05:00am - 01-26-2010 05:00am
Is this correct?
I'm just finding how you explained it in your orignal post a little hard to understand.