IPB

Welcome Guest ( Log In | Register )

4 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> ShadowNet: Real-time SR4 gaming online
Dashifen
post Oct 30 2007, 05:52 PM
Post #1


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



ShadowNet
Current Version: 0.33 (alpha, i.e. not working)

So, this came up in a thread in the SR4 forum. I had tooled around with making some real-time chatting software that would eventually include online tools for SR4 gaming like an integrated die roller and character record system or, if I get really ambitious, an online character generator (thus, cross platform, too).

I see this as being both a handy tool for people who want to a real-time chat based game or for those, like myself, who use skype or other voice chatting system for the majority of the gaming experience but might also like the ability to send private and/or public messages to people as necessary.

Like other community projects here at the DSF, this thread can be used to post questions, comments, bug reports, etc. I'll be using this first post to enumerate plans, open tickets, etc. so that people can get a sense of where I'm at with the system.

Thus, here's the road map towards a beta (i.e. working) release. Struck through items are complete.
  1. Working game creation and joining system with password protection.
  2. Public chat between game masters and players.
  3. Private chat either from GM to player (and vice versa) or between two players.
  4. The exiting and saving of games in the archive and subsequent access to the archives by appropriate parties.
  5. The automatic closing of a game after an appropriate quanta of inactive time.
  6. The automatic removal of game archives after an appropraite quanta of time probably not less than 14 days.
My goal is to have a beta by Saturday (November 3rd).

Extended plans for a 1.0 release include primarily the integration of an online die roller to the public and private chats to facilitate online play as well as an account system for GMs and players to manage a game over multiple sessions as well as maintain archives and other information over a longer term. Looking even further forward, a 2.0 release will include the character record system so that players and GMs can store information about characters within the ShadowNet system for reference during a game.

Other ideas can be incorporated as time goes on. Like I said, I don't at this time intend on producing an online PHP/MySQL/JavaScript character generator as a part of ShadowNet, but if after all the other work is done and stable it's something the community would want, I might be persuaded to give it a shot. Especially since so many of the other generators are focused on Windows, the benefit of an online generator would be it's accessibility to a variety of platforms and systems. But, for now, such a project is outside the scope of what ShadowNet is intended to be.

I will update this post as I work. Feel free to visit the ShadowNet site. There's not much there as of this posting other than the basic information and the game creation/joining code, but I expect I'll get maybe #2 and #3 done tonight or tomorrow and 3-6 aren't going to take too much time at all.
Go to the top of the page
 
+Quote Post
DireRadiant
post Oct 30 2007, 07:11 PM
Post #2


The Dragon Never Sleeps
*********

Group: Admin
Posts: 6,924
Joined: 1-September 05
Member No.: 7,667



Re Character Generators. If you start with the ability to upload and display a standard output format, then any character generator that supports that output format can be used to create a character, and that output uploaded and displayed during that game session. All you need to track then are the associations between (versions) of character files, players and game session.
Go to the top of the page
 
+Quote Post
Dashifen
post Oct 30 2007, 08:12 PM
Post #3


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



I agree, though I'm not sure such a consistent format for an SR4 character has been developed. In SR3, the defacto format was McMackie's, but if I were to do something, the output would probably be either well-formated XML or a serialized WDDX object. Regardless, that's for the future.

If nothing else, I wouldn't really want to start work on a generator until after Arsenal and Unwired so that the majority of the rules would be in print and, hopefully, nothing too shocking would come down from on high that would force major re-writing to be necessary. I was building a generator based on SR4 and Street Magic, but I didn't know of or foresee the different nanoware and genetech in Aug which slowed me down. Now I think it's better just to wait on all the other books and get this project out the door. It's far less ambitious, too, which is nice because actually reaching goals makes me feel all warm and fuzzy.
Go to the top of the page
 
+Quote Post
Smilin_Jack
post Oct 30 2007, 08:29 PM
Post #4


Moving Target
**

Group: Members
Posts: 208
Joined: 3-May 06
From: On the Run
Member No.: 8,521



Ohh... shiny.

With that I could run a game anywhere and post links to maps and images instead fumbling around with either IRC or Fantasy Grounds.

I like this idea.

Edit:

I like it even more now that I've read you're enabling password protection on game logs if the GM creates the session with a PW, not out of the concern that someone may steal my material - but from the fact that our games sometimes deal with mature material that may be inappropriate for youngsters.



Go to the top of the page
 
+Quote Post
DireRadiant
post Oct 30 2007, 08:30 PM
Post #5


The Dragon Never Sleeps
*********

Group: Admin
Posts: 6,924
Joined: 1-September 05
Member No.: 7,667



The only requirement you need to start with for the format is that it display in a browser. In the end regardless fo the character generator used, for the ShadowNet it is only required that it be able to be displayed to the GM and other players as appropriate.

Even when I use one of the spread sheet character generators for SR4 I ultimately export/Copy it to *.txt and use that for my actual in game reference.
Go to the top of the page
 
+Quote Post
Dashifen
post Oct 30 2007, 09:02 PM
Post #6


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



QUOTE (Smilin_Jack)
Ohh... shiny.

With that I could run a game anywhere and post links to maps and images instead fumbling around with either IRC or Fantasy Grounds.

I like this idea.

Edit:

I like it even more now that I've read you're enabling password protection on game logs if the GM creates the session with a PW, not out of the concern that someone may steal my material - but from the fact that our games sometimes deal with mature material that may be inappropriate for youngsters.

Your idea of links gives me another idea: a basic, wiki-like mark up to style the information on screen. I might even be able to use BBCode (what you use to style posts here on the forum) to do so which would give the basic ability to bold, italicize, underline, and link text.

Also, that was my thinking for the password, too. If your a GM that doesn't expect to have any mature themes, etc. I don't think the general internet public is going to get bent out of shape by curse words, etc., but some of the more .... interesting .... themes of SR could be a bit much for some folk. Throwing a password on a game and/or session would also make sure that any old schmuck who happens to come visit the site can't log into a game and start spamming.

@DireRadiant:
More than likely, display in a browser would be end result of something I'd do. Most easy would be an (X)HTML page and accompanying CSS to effectively display the information. Most portable would be XML or even ASCII text as you indicate above.
Go to the top of the page
 
+Quote Post
Smilin_Jack
post Nov 3 2007, 07:15 AM
Post #7


Moving Target
**

Group: Members
Posts: 208
Joined: 3-May 06
From: On the Run
Member No.: 8,521



Hey Dashifen...

I know your chat software isn't ready yet - but when I went to go look at the site again, I noticed that your name (ie. Dashifen) is auto populating in the 'Your Name' field in the 'Start a New Session' section.

Go to the top of the page
 
+Quote Post
Method
post Nov 5 2007, 01:02 AM
Post #8


Street Doc
*******

Group: Admin
Posts: 3,508
Joined: 2-March 04
From: Neverwhere
Member No.: 6,114



Dashifen,

As I mentioned in the other thread, this would be tremendously useful to my group (and many others I'm sure). I have absolutely nothing to offer toward the effort, because I know nothing about programing software, but if there is anything else I could help with I'd be happy to.

Some thoughts (please note I have no idea how difficult/easy these would be to integrate into your tool):

1.) as far as archiving games: could you set it up such that the logs are emailed in text format to the GM after the end of each session? That would allow the GM to distribute the logs to players or save them indeffinately, plus you wouldn't have to store them.

2.) could it be set up to PM images? that would be very handy as well.

Anyway, thanks for your efforts. I'm looking forward to seeing how it all turns out.

Method

Go to the top of the page
 
+Quote Post
Dashifen
post Nov 5 2007, 02:16 PM
Post #9


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



@Smiling_Jack: Thanks. And, it is ready. I just haven't uploaded it yet because I've been away from home for most of the weekend.

@Method:

1. Sounds like a good preference for a GM to choose: archives online or archives sent in an email.

2. I'll have to think about that. Right now the PM windows are small compared to the larger chat interface and they're not set up to do anything other than text. You could send a link to someone else and they could click it to see an image, but that's the best I got right now. I'll think about actually sending images and/or files to people and it might show up eventually.

----------------

Archives aren't done, but I could use a few people to try out the chat. Especially in Safari 2.x. I can't get it working in Safari 3 yet and I don't know why, but I don't have access to any earlier versions of Safari.

Feel free to either start or join existing games. Do what ever you want to try and see what you can do. If you run into problems, I need three pieces of information from you:

1. Your Browser (with version)
2. Your Platform (Mac, Windows, Linux)
3. Describe the problem!

Error messages should appear on-screen whenever possible, so if there's an error message, post that here, too.
Go to the top of the page
 
+Quote Post
Method
post Nov 5 2007, 10:18 PM
Post #10


Street Doc
*******

Group: Admin
Posts: 3,508
Joined: 2-March 04
From: Neverwhere
Member No.: 6,114



I'm running safari 2.0.4 on OS X 10.4.10.

All the web interface stuff works great.

I am able to start a session and log on, but when I try to post text it does not appear in the chat window. The text appears as I type in the entry feild, but when I hit send or enter it looks like the page refreshes and the text is gone. Same deal with the PM (although that might be because there is noone else to PM).

I get no error message.
Go to the top of the page
 
+Quote Post
Dashifen
post Nov 5 2007, 10:40 PM
Post #11


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



That's the same thing that's happening in Safari 3. Damnit. Okay. At least I know it's happening in both places which leads me to hope that if I can get it to work in v3 tonight when I get home, it has a high probability of working in 2. Unfortunately, there's not much in the way of debugging information provided by Safari and it appears to me as if the JavaScript isn't working at all in either version. Stupid Internet.
Go to the top of the page
 
+Quote Post
Dashifen
post Nov 6 2007, 06:51 PM
Post #12


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



@Method: Can you check again? It's working in Safari 3.x now as far as I can tell. Let me know what it's like in 2.x. It'll work the best if you open two different browsers (like Safari and Firefox) and then you should be able to chat between both browsers.
Go to the top of the page
 
+Quote Post
Method
post Nov 6 2007, 10:37 PM
Post #13


Street Doc
*******

Group: Admin
Posts: 3,508
Joined: 2-March 04
From: Neverwhere
Member No.: 6,114



@ Dashifen:

Safari 2.0: Tried it again. Seems to be the same- i.e. no messages appear after I hit the post button. Also, messages I attempt to post with Safari do not appear on Firefox.

Firefox 1.5.0.9: Seems to work. I was able to post messages to the main chat and send PMs to a second "player". I noticed that I needed to refresh each time I posted a message though. Is that due to some setting on my computer?

Also, is there a way to "log off" a player?
Go to the top of the page
 
+Quote Post
Dashifen
post Nov 7 2007, 02:43 PM
Post #14


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



Hrm .... I wonder if it is your computer. There should be no refreshing necessary at this point. 'Course, I'm working in Firefox 2.0.0.9 (current version) and you're way down there at 1.5.0.9 at the moment. I'll try to snag that version and see what happens.

As for logging off, no there's not at this time. Eventually, I'll be replacing the menu with some game specific and useful things (like log off and, for the GM, end game) and I'll also be setting it up so that if you're kicked off (i.e., your connection fails) logging back in is as simply as entering the same name as you used to have when you get back online.
Go to the top of the page
 
+Quote Post
DireRadiant
post Nov 7 2007, 02:54 PM
Post #15


The Dragon Never Sleeps
*********

Group: Admin
Posts: 6,924
Joined: 1-September 05
Member No.: 7,667



Looks nice Dash.

Some quick comments

- Looks like a lot of repeats of game names in the select game ddl, not sure if this is because it's ok to have non unique names, or it's an actual bug.
- Do you need to refresh to see received messages?
- Name of the game needs to appear somewhere otherwise I don't know what game I'm in.
- Screen real estate, when in a chat game with lots of windows, probably want the header and border sections minimal.
Go to the top of the page
 
+Quote Post
Method
post Nov 7 2007, 05:11 PM
Post #16


Street Doc
*******

Group: Admin
Posts: 3,508
Joined: 2-March 04
From: Neverwhere
Member No.: 6,114



Back again...

Firefox 1.5.0.9 (yes its old... I don't use it much): seems to be fixed. No refreshing needed. Messages appear as soon as posted.

Safari 2.0: new error message

QUOTE (Error Message)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY timestamp' at line 1

Query: SELECT member_from, name, chatline, chatline_id FROM sessions_chat INNER JOIN sessions_members ON member_id = member_from WHERE sessions_chat.session_id = ORDER BY timestamp


To clarify: this appears when I try to join a previously opened game or when I try to open a new game. The previously opened game can be joined in Firefox.

Any ideas?
Go to the top of the page
 
+Quote Post
DireRadiant
post Nov 7 2007, 05:29 PM
Post #17


The Dragon Never Sleeps
*********

Group: Admin
Posts: 6,924
Joined: 1-September 05
Member No.: 7,667



Got an error whan attempting a refresh , probably after browser session timed out,

Same here.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY timestamp' at line 1 Query: SELECT member_from, name, chatline, chatline_id FROM sessions_chat INNER JOIN sessions_members ON member_id = member_from WHERE sessions_chat.session_id = ORDER BY timestamp

SQL is bad, looks a Null parameter passed into the sessions_chat.session_id variable.

most likely refreshing after a session timeout and therefore no session_id
Go to the top of the page
 
+Quote Post
Method
post Nov 7 2007, 05:34 PM
Post #18


Street Doc
*******

Group: Admin
Posts: 3,508
Joined: 2-March 04
From: Neverwhere
Member No.: 6,114



@DireRadiant:

Does that mean the game session timedout or the player? I can join the same session in Firefox so I'm not sure.

What browser are you using?
Go to the top of the page
 
+Quote Post
DireRadiant
post Nov 7 2007, 05:41 PM
Post #19


The Dragon Never Sleeps
*********

Group: Admin
Posts: 6,924
Joined: 1-September 05
Member No.: 7,667



Firefox 2.0.0.9 or IE 6 or IE 7 depending on where I'm browsing from. I'm pretty sure I got the error in Firefox.
Go to the top of the page
 
+Quote Post
DireRadiant
post Nov 7 2007, 05:42 PM
Post #20


The Dragon Never Sleeps
*********

Group: Admin
Posts: 6,924
Joined: 1-September 05
Member No.: 7,667



Join the "Debug" session, and we can all chat with each other and really break the app.

Talking to myself is just craaaazy.
Go to the top of the page
 
+Quote Post
Dashifen
post Nov 7 2007, 05:45 PM
Post #21


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



QUOTE (DireRadiant)
- Looks like a lot of repeats of game names in the select game ddl, not sure if this is because it's ok to have non unique names, or it's an actual bug.
- Do you need to refresh to see received messages?
- Name of the game needs to appear somewhere otherwise I don't know what game I'm in.
- Screen real estate, when in a chat game with lots of windows, probably want the header and border sections minimal.

1. That's because they're non-unique at this point. Eventually, when a game is closed, it'll drop off the list. I'd prefer to avoid forcing unique game names just in case two people randomly actually choose the same name. Hopefully it won't be at the same time. Eventually, I'll have a cron job on my server cleaning up old games that haven't been updated in X minutes which will auto-close games that are open, but that's down the line. I'm worried more about the chat features now since they're the bread and butter.

2. You shouldn't no. I don't in IE6, IE7, Firefox 2.0.0.9, Opera 9.24, and Safari 3.0.3. Frankly, I probably can't go too far back in versions if only because eventually the JavaScript engine for each browser will lose the ability to be performing the necessary work.

3. Good call. I can do that.

4. Yup. Eventually, the screen will be different while in a game. It'll have the name (like you suggested) a tiny header and the footer might just go away with the exception of the necessary legal stuff.

------------

The SQL errors do look like a time out of the game session. I'll extend the PHP session timeout limit to be an obscene amount of time (like four hours) for game sessions. That way you shouldn't get timed out unless you're inactive for four hours.

However, it's concerning that Firefox was able to open an old game and was fine and Safari wasn't. I wonder if your Safari session timed out while you were messing with Firefox. That's the best I got.

Regardless, it's an important thing to fix. I'll find the SQL that's showing the error message and catch the problem before it craps all over the screen. Then, at least, I can take people to a page that explains the problem and let's the reconnect to their game if I can't mess with the PHP session timing (stupid shared hosting).
Go to the top of the page
 
+Quote Post
Dashifen
post Nov 7 2007, 06:11 PM
Post #22


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



BUG NOTE:

When adding PM windows as players log in, each new PM window is not hooked into the javascript code. That's what you ran into, Simon, when trying to send me a message when I logged in and what happened to me when RedJack showed up.
Go to the top of the page
 
+Quote Post
Simon May
post Nov 7 2007, 06:15 PM
Post #23


Moving Target
**

Group: Members
Posts: 232
Joined: 7-October 07
Member No.: 13,604



Aha! The plot thickens.
Go to the top of the page
 
+Quote Post
eidolon
post Nov 7 2007, 08:49 PM
Post #24


ghostrider
********

Group: Retired Admins
Posts: 4,196
Joined: 16-May 04
Member No.: 6,333



Suggestion for layout:

Make the individual player-GM chats horizontal and stacked, rather than little square boxes. Also, might consider losing some of the wasted space at the sides, and maybe shrinking logo and fluff/disclaimer areas down to make more room for the functional stuff.

Looks pretty sweet though.
Go to the top of the page
 
+Quote Post
Dashifen
post Nov 7 2007, 09:31 PM
Post #25


Technomancer
********

Group: Retired Admins
Posts: 4,638
Joined: 2-October 02
From: Champaign, IL
Member No.: 3,374



That's all in the works. The plan is to investigate the possibilty of a tabbed interface for the right hand side of the chatroom. Then, on the right hand side, private chats, images, and character info could all be shown depending on the tab chosen.

I will be exapanding the chatroom interface, now that I know chatting works pretty well, to probably 99% of the screen so there's a small border for aesthetics. It's currently at 80%, if I remember correctly, so that'll add on not a small amount of space. The menu will disappear but I'll probably leave the site name and the logo at the top for consistency.

The footer will shrink probably to the disclaimer but in really tiny font.
Go to the top of the page
 
+Quote Post

4 Pages V   1 2 3 > » 
Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 29th March 2024 - 05:31 AM

Topps, Inc has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. Topps, Inc has granted permission to the Dumpshock Forums to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with the Dumpshock Forums in any official capacity whatsoever.