Author Topic: Web based MUD/RPG  (Read 5060 times)

0 Members and 1 Guest are viewing this topic.

Offline zorm

  • Hero Member
  • *****
  • Posts: 591
    • View Profile
    • Zorm's Page
Web based MUD/RPG
« on: December 22, 2005, 05:22:25 pm »
I've decided I want to make a web based MUD/RPG. I already have a story line(borrowed from a D&D world, but the creator will let me use it). Having this the next step becomes actual design of the game and world. Since this will be made in PHP and a lot of the information will be somewhat dynamic it appears the best method would be to use a MySQL database to store information about possible monsters/items that can appear in the world. The world itself will likely be hardcoded as it will be static.

Perhaps another method would be better than a MySQL database? Does anyone have suggestions and is anyone out there capable of making lots of decent 'pixelish' artwork?
"Frustra fit per plura quod potest fieri per pauciora"
- William of Ockham

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Web based MUD/RPG
« Reply #1 on: December 22, 2005, 07:50:16 pm »
If you are gonna make a MUD/RPG type thing, base it off of D&D!

I can hook you up with some eBooks of D&D rulebooks. They're $100 RL alltogether but since I love you I can hook that up for free. ;)
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Mythix

  • The Dude
  • x86
  • Hero Member
  • *****
  • Posts: 1569
  • Victory
    • View Profile
    • Dark-Wire
Re: Web based MUD/RPG
« Reply #2 on: December 22, 2005, 09:04:22 pm »
Pixelart?

maybe. IM me fag.
Philosophy, n. A route of many roads leading from nowhere to nothing.

- Ambrose Bierce


Offline zorm

  • Hero Member
  • *****
  • Posts: 591
    • View Profile
    • Zorm's Page
Re: Web based MUD/RPG
« Reply #3 on: December 24, 2005, 10:24:49 pm »
I've started work on the basic systems for it. You can see my progress so far at http://www.advancedcontent.net/zorm/RPG/.

I'm working on authentication things now. I intend to use SHA-1 and a salt to hash the passwords for storage in the database. Should I try and use javascript to hash the passwords before the client sends them to the server? Does anyone have a secure method of generating a salt?

Thinking through this project I also realized I'll need protection against bots and such at various stages in the game. One obvious place this is needed is at account registration. It will require an email and a link will be sent to that email in order to activate the account. Is there anything that can be done about those 'one' time use email accounts? My general feeling is there isn't a whole lot that can be done. The other thing that will be needed is some sort of CAPTCHA to prevent automated registrations and playing of the game. I'll make some simple checks that will try and detect 'bot' like activity, if its triggered a CAPTCHA will be shown and no other actions allowed until it has been passed.

This brings me to my next point on the CAPTCHA. The simple text ones have been broken and are often insanely hard to read even by humans, clearly this won't work. My idea was to show a simple picture and give 4 options for what the picture is(the options and picture will all be a single image). Then the user enters the letter of the correct option to pass the test. The problem with this is that the picture can't be truely random because I don't know of a way to reliably generate pictures of objects. So I'll likely end up with 5-10 pictures, would performing simple transformations on them be enough to stop something from recognizing them? My other thought is that perhaps I'm overthinking this and such measures won't be needed as its unlikely someone smart enough to solve the problem will play my game anyhow.
"Frustra fit per plura quod potest fieri per pauciora"
- William of Ockham

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Web based MUD/RPG
« Reply #4 on: December 25, 2005, 01:05:43 am »
The problem with your image scheme is that, unless you have an arsenal of images to pick from, a bot creator could easily tell the bot to find the name of the image (IE: image1.png) and submit a specific answer for each picture. This would be effective unless you had 50+ images.

Talk to iago about the text ones, he wrote a bot to find it out (I believe? Or was this someone else?) and he would know something about this (or someone who I am mistaking with iago). That's pretty vague, but I'm pretty sure that it's iago who knows about this, which should be what you need to prevent automated signups. Also, block dodgeit emails and prevent bugmenot registered emails. This is assuming you get popular enough to even have to worry about this stuff.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny