MMOWBG Servers

They have: 45 posts

Joined: Feb 2002

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?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Do you have an example of one?

They have: 45 posts

Joined: Feb 2002

Like:
archspace.com
tdzk.net
games.swirve.com/earth
games.swirve.com/utopia
And the such.

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

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.

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.

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.

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.