MMOWBG Servers
Massivly Multiplayer Online Web Based Game Server, you know the things that give you turns every hour or whatever...
I was wondering if anyone knew how they works, are the an actual script, like PHP or something, or is it an executable?
I'm looking at making my own online game, but I have no way to issue turns, except manualy, and maybe a script that ignores when the user stops browsing that just loops, but that seems very unstable.
Any help?
[ FinalCreations ]
Mark Hensler posted this at 01:46 — 5th March 2003.
He has: 4,048 posts
Joined: Aug 2000
Do you have an example of one?
FinalMjolnir666 posted this at 01:59 — 5th March 2003.
They have: 45 posts
Joined: Feb 2002
Like:
archspace.com
tdzk.net
games.swirve.com/earth
games.swirve.com/utopia
And the such.
kb posted this at 02:48 — 5th March 2003.
He has: 1,380 posts
Joined: Feb 2002
but you do realize that to host a massively multiplayer game you would require a huge pipe and lots of processing power? as long as you see that, go for it...
and on the subject of "turns", i think most gamers would agree that the best way would be to let only a certain number of people in for however long they want, and then the next person in line can come in...getting booted after an hour of fun is not cool at all
FinalMjolnir666 posted this at 04:11 — 5th March 2003.
They have: 45 posts
Joined: Feb 2002
Turns, as in the turns build up hour after an hour and you use turns to do things, such as move or attack or build or whatever the game you're playing permits.
It would basically be a really simple script that just adds one to each entry in a 'turns' column (Users table) in the mySQL database.
[ FinalCreations ]
ROB posted this at 00:53 — 6th March 2003.
They have: 447 posts
Joined: Oct 1999
the ticker would be an hourly cron job, perl would probably work best but command line php would work.
there's alot of logic and balancing to figure out though, as far as statistics and battles.
FinalMjolnir666 posted this at 20:23 — 6th March 2003.
They have: 45 posts
Joined: Feb 2002
I managed to get through to the people at TDZK and the way theirs is, is they just have it so the script checks when the last time the user was there (I assume it checks on every page load) and sees if it's been an hour or more and then gives them the appropriate amount of turns.
And yeah, I think my main problem will be figuring out the more detailed things like units and stuff rather than the regular coding.
[ FinalCreations ]
kb posted this at 02:50 — 7th March 2003.
He has: 1,380 posts
Joined: Feb 2002
i see...my apologies
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.