Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

How should we make a DF multiplayer game?

In the form of a MU* (as has already been tried)
- 4 (4.3%)
Empire building browser-based game, using the Frost and Flame engine or making it from scratch
- 10 (10.9%)
Adventure RPG browser-based game, using the Dragon Knights engine or making it from scratch
- 4 (4.3%)
A dungone crawler or maybe cooperative fortress builder client-based game using the Eclipse engine (would be real time, and have better graphics than browser-based games)
- 25 (27.2%)
Cooperative fortress building browser-based game, with traditional DF top-view 2D tiles
- 45 (48.9%)
a deviant of the cooperative fortress building browser-based game, were the tiles are grouped into bigger "sections"
- 3 (3.3%)
Other (propose it in the thread please)
- 1 (1.1%)

Total Members Voted: 92


Pages: 1 ... 13 14 [15] 16 17

Author Topic: Creation of a DF Browser Based game?  (Read 24648 times)

webadict

  • Bay Watcher
  • Former King of the Mafia
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #210 on: November 24, 2008, 10:56:11 am »

I like the layout! What did you do for the tables?
Logged

Poltifar

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #211 on: November 24, 2008, 11:07:40 am »

Like I said, the movement table doesn't actually work, what it displays now isn't an actual playable dwarf, just a preview of what it *should* look like ounce we get the game working. I used bold Arial, it turned out great ounce used with the table, although it's not exactly like the original DF's tiles.
Logged
Quote
<@Poltifar> yeah i've played life for almost 23 years
<@Poltifar> i specced myself into a corner, i should just reroll
<@Akroma> eh
<@Akroma> just play the minigames until your subscription runs out

webadict

  • Bay Watcher
  • Former King of the Mafia
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #212 on: November 24, 2008, 11:44:30 am »

It doesn't need to be like the DF tiles. They look pretty good.
Logged

Poltifar

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #213 on: November 24, 2008, 11:51:21 am »

Ok, then I'll stick with that. But I'm going to try to rewrite the pages before starting on the game, because I want to make my own log-in system instead of using some premade one that is impossible to work with. So the pages might look a bit different later on.
Logged
Quote
<@Poltifar> yeah i've played life for almost 23 years
<@Poltifar> i specced myself into a corner, i should just reroll
<@Akroma> eh
<@Akroma> just play the minigames until your subscription runs out

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Creation of a DF Browser Based game?
« Reply #214 on: November 24, 2008, 08:22:13 pm »

Well, since I am working through PHP, it can display any web page VERY easily.

So, if anyone gives me a HTML copy, I can get it straight into the game.

My dwarves list is actually(or will be) a 255 char string where each 5 chars is parsed into a dwarf ID(corresponds to the dwarf table)
I will have to add an admin rights option to the table now.
Then bannage, and deletion.
I REALLY need someone to make a good index page though.

Since I will be busy with the back end and database.


Oh, and heres the codes:
Spoiler (click to show/hide)
Logged
Eh?
Eh!

Poltifar

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #215 on: November 25, 2008, 08:58:22 am »

Well I'd give you the HTML, but its very disordered and has alot of random stuff strewn about. Also, since I used a premade login system, it put alot of ASP-related classes and stuff into it. I'll have to rewrite it anyways. But like I said, I'm going to continue working with ASP, cause that's what I want to have experience in.
Logged
Quote
<@Poltifar> yeah i've played life for almost 23 years
<@Poltifar> i specced myself into a corner, i should just reroll
<@Akroma> eh
<@Akroma> just play the minigames until your subscription runs out

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Creation of a DF Browser Based game?
« Reply #216 on: November 25, 2008, 05:56:45 pm »

Administration.
It's sloppy, but it generally works.

Note that the ban timer(set on a diffrent age) does not tick down yet.
Spoiler (click to show/hide)
Logged
Eh?
Eh!

MagicJuggler

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #217 on: November 26, 2008, 06:40:46 pm »

I have Eclipse and have been working on programming stuff for the IRC Dwarf Fortress RPG I'm running (the stickied thread). Am capable of contributing if any openings are available?
Logged

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Creation of a DF Browser Based game?
« Reply #218 on: November 26, 2008, 07:07:08 pm »

I would appreciate ANY assistance.

HTML or game design especially.

Oh, and the dwarf save format is also important.
Logged
Eh?
Eh!

MagicJuggler

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #219 on: November 26, 2008, 07:37:22 pm »

I could build a save converter to write everything in hexform. Do you have a code repository set up that I can connect to? I can do design or programming.
Logged

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Creation of a DF Browser Based game?
« Reply #220 on: November 26, 2008, 08:03:05 pm »

Well, what I basically need is:
A way to convert a series of 5 bytes into a large int of some sort

then the deatils for each dwarf, mostly, since I am saving to a table, so I need to figure out that a first...
Logged
Eh?
Eh!

MagicJuggler

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #221 on: November 26, 2008, 08:26:29 pm »

Well, what I basically need is:
A way to convert a series of 5 bytes into a large int of some sort

then the deatils for each dwarf, mostly, since I am saving to a table, so I need to figure out that a first...

5 bytes you say? Hmm...can't you convert that into 5 separate ints? To convert a byte to an int, you'd do the following:

import java.lang.Math;
public int byteToInt(int byteInt)
{
String byteString=Integer.toString(byteInt);
int bite;
For (n=0; n<8; n++)
bite+=Math.pow(byteString.charAt(i), (8-i));
return bite;
}
Logged

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Creation of a DF Browser Based game?
« Reply #222 on: November 26, 2008, 09:02:25 pm »

Technically, I am using PHP, and plan to string together 51 5-byte values into a 255 char string(mysql has no array storage...) that would be used to refrence dwarves.
Logged
Eh?
Eh!

Poltifar

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #223 on: November 27, 2008, 08:37:54 am »

This is getting too hard for me, and I'm not finding time to program anything useful, so I think I'll withdraw from the main group making the game (I didn't contribute anything in code anyways), and I'll focus on making simple stuff with ASP first to get a hang of coding.

EDIT: Qwerty, wouldn't it be better to make a seperate table for the dwarves? It would make stuff much easier and faster since there would be less converting from int to bytes to get each of there stats

EDIT2: Hmm... I might have been lying when I said I don't have much time, since I found enough time to start making another improved layout. Here's what it currently looks like (needs MUCH work):

Spoiler (click to show/hide)

Here is the code: WARNING! THERE ARE SOME STUFF THAT HAVE TO BE REMOVED, SINCE I AM USING ASP. SOME OF THESE MIGHT INCLUDE THE 'runat server' tags. Also, change the urls. I'll try remove them later if no one manages to.

Spoiler (click to show/hide)
« Last Edit: November 27, 2008, 01:06:22 pm by Poltifar »
Logged
Quote
<@Poltifar> yeah i've played life for almost 23 years
<@Poltifar> i specced myself into a corner, i should just reroll
<@Akroma> eh
<@Akroma> just play the minigames until your subscription runs out

winner

  • Bay Watcher
    • View Profile
Re: Creation of a DF Browser Based game?
« Reply #224 on: December 13, 2008, 11:45:55 am »

that looks pretty nice, Is there a webspace yet?
Logged
The great game of Warlocks!
Pages: 1 ... 13 14 [15] 16 17