Web-Based Game Skill System

Hello everyone,
I am currently developing a web-based game website using
Coldfusion 8 and MS SQL.
Until recentely, things have been going well. But I am now
stuck on a small issue of using an in-game skill system.
The way it works (or will work) is that your in-game
character will have a large library of skills to choose from, all
of which are accessible throughout the entire game. By choosing a
skill, your character will begin learning it over a set amount of
time (the time required for that specific skill). Your character
will, over time, generate it's own library of learnt skills - each
benefiting him or her within the game.
I hope this is all clear so far :)
So my small (but actually quite large) issue is that I'm not
sure how to go about storing this list of learnt skills.
My first instinct was to create a column within the
"characters" table in which the learnt skills would be stored as a
list, and then drawn out when actually listed on a page. But I have
heard that using lists within database tables isn't such a good
idea, and I would generally prefer another way around the issue.
My next idea was to create a table listing all of the
available skills as columns (a kind of library of every in-game
skill), then the characters would have a single row in that table
in which they have a "yes" or "no" under each skill column. These
yes or no answers would then be used to generate the library of
skills that character has. But this idea is very messy and I don't
even know how I could use this table in an SQL query...
I'd really like a simple and powerful solution for this
issue/problem, and I would be highly appreciative of anyone that
could help me!
Thanks in advance,
Aiden

"Thanks a lot for your reply anyway :) and I'm sorry it
wasn't of use
to me."
Actually Dan was guiding you down the correct database
normalization
path. What you have is a classic many-to-many join. You have
many
character records and many skill records and you want to join
them such
that a character can have 0-N skills (zero to infinity) and a
skill can
be used by 0-N players.
This is done with three tables. A character table with the
basic
details of a character and a skills table with the details of
the skills
and a joining table that connects the two. At a minimum the
join tables
simple consists of two fields, a foreign key field to the
characters
table and a foreign key field to the skills table. Thus for
each skill
a character has there will be one record connecting the two
id's
together. This joining table can easily be expanded to have
other data
about the character-skill join such as when it started, what
level the
character has reached in the skill, whatever else your system
needs.
An simple Example:
Character Table
ID Name
1 Joe
2 Sam
3 George
Skill Table
ID Name
1 Hunting
2 Cooking
3 Archery
Character_Skill Join Table
CharID SkillID
1 1
1 3
2 2
3 1
3 2
3 3
Thus with basic SQL join syntax we can synthesize the data
that Joe can
hunt and shoot arrows, Sam can cook and George can do it all.
HTH
Ian

Similar Messages

  • Web based Game

    Hi Friends.
    I want to design a web based game. There is a server and two clients. Each client is a player and the server will handle the collaboration between them. I am using Netbeans and jsp.
    First client one will type the url of server and gets connected. Then it has to wait until second client connects. When second client also connects, then I should update the browser window contents of client one. How can I do this?
    If you did not get the quesiton, please e-mail me at [email protected] I shall explain you more clearly. Please help me at your best.
    Thanks.

    A server cannot push to the client, but you can use AJAX to poll to the server.
    Mailing is meaningless. If you feel you have more to explain, just post it here at the dicsussion forum. It's not a contact advertising forum.

  • Unable to load many web based games after installing lion

    After installing Lion, I am unable to launch several online games (Pogo e.g.). What compatibility issues are being addressed?

    I didn't think reinstalling was gonna do me any good except for getting rid of every single thing I have ever installed since getting this MBP.  I'm thinking it has to be something that is on my computer causing this, especially since it only affects my ability to get to this one site and I only started seeing this problem yesterday.
    So, I went ahead and disabled all my Chrome extensions and I don't have any Safari extensions at all.  That didn't fix my issue.
    I've been trying to run Sophos on here, thinking that maybe I've got a Trojan or some kind of malware, but it never seems to finish a full scan of my hard drive.  That "Plugin" that I mentioned above has me very suspicious, except that whatever that is, it's been on my computer since basically when I first got it.  Maybe it's malicious, or maybe it's just a poorly named piece of software.  In any case, it got updated last night around 11pm, about the same time I noticed my problem.  After trying everything I have, it's hard for me to overlook that as coincidence.
    But, where do I go to gain more information about what that could be?  I should mention that this MBP is basically my first Apple computer.  I've been a PC guy (still am mostly) forever, but I finally dove in and got a Mac to start iOS development.  So I'm sure there are ways to get more information than I am currently aware of.
    Also, apologies if I posted this in the wrong forum.

  • Kids and iMac - OK to load web-based games?  This wreaked havoc on our PC's

    greetings:
    What, if any, are the risks in allowing my sons - when they visit Nick.com or Cartoonnetwork.com, etc.. - to download and play their games?? Many of their games launch without any plug-ins, but others require that they first download and install some little plug-in needed to play the game. ..Will my iMac then go the way of every PC I've ever owned and start becoming unstable?? What if what they load isn't intended for Mac? Again, will this screw things up and render what has been flawlessly reliable a bit less so??
    Thanks in advance for you replies.

    I'm a school teacher and the kids are always playing online games on my Macs. Nothing to worry about. You are talking about spyware that will not effect the Mac. Wreaks havok on Windows, as you say, but the Mac will be fine.

  • How to administer an Access database via web-based interface?

    There are times when I need to edit a database record to do something my CMS wasn't designed to do, so I have to manually edit it. Normally I just ftp the Access mdb file to my pc, make edits, and reupload the mdb file and hope nobody updated the database in the meantime.  Does anyone know of a web-based database admin system that will allow me to edit Access data?  Sure would be nice if I could install something on the server that would allow me to edit any datasource there and not have to have a separate, customized interface for each datasource.
    Thanks for looking, Bill

    I would recommend naming that page with an extension that the web server will not serve.  Rename it to use it and then rename it back when done.
    Or just put access restrictions on it via the web server, so one needs to authenticate to the system before using it.
    Or stop using Access and use a decent DB: Access is not appropriate to be used as a DB for a web application.  But that might not be an option.
    Adam

  • Web Based approval and download

    Hello
    I recently went to one of Apples final cut studio tours, i was pretty impressed with final cut server but have a couple of questions to anybody who uses the web based approval service, i believe its called ruby!
    1. is it possible to post entire catalogues of still images/movies for approval and download?
    2. Are all major filetypes supported by the web app, including, PDF, EPS and PSD?
    the reason for this question is that we are also a photo studio thinking of investing in a good web based asset management system.
    thanks
    Mark

    Mark,
    Just curious if you were ever able to use EPS files in Final Cut Server?
    We would love to have that capability, but it doesn't seem to be there yet....at least the last time I checked a few months ago. Another cool thing would be auto-launching of Microsoft Word for word documents. We have a "Scripts" server which stores copy and we're indexing the directory that holds those files. It'd be awesome for users to type in a job number, see the document, double click it and open in word. You can just drag the doc over on top of the word logo in the dock and that'll open it, but looking to get a little more streamlined.
    Thanks,
    Ryan

  • Web Based User Management

    Hey guys,
    Any suggestions on how to have a web based user management system? I am looking for users to be able to change their user passwords from the web.
    Either to the local NetInfo or the Open Directory.
    Most of my users just use mail / webmail services and I want them to be able to change their passwords easily.
    I have looked into Usermin (usermin.com), but wonder if there is a better solutions.
    Appreciate the help,
    Tommy.
    G5 PowerMac   Mac OS X (10.4.7)  

    Does this application do what you want?
    (14223)

  • I use a web based PO system for work. It should let me see an image of scanned Invoice attached, but I can't seem to be able to from my home PC (e-Finance).

    HI,
    I use E-Finance as a web based application for managing company purchase orders.
    It allows to drill into our Finance system and view Invoice documents that have been previously scanned.
    I can do this using Internet explorer, but I don't seem to be able to in Firefox. I believe it to be linked to the Internet Security settings on the PC, but I cannot find in FIrefox similar options to those in the Advanced tab in Internet explorer.

    It seems no one here is familiar with this application.
    Which IE settings need to be changed? While Firefox doesn't have the same approach to security (e.g., by "zone") there may be some parallels.
    In case the problem is the built-in PDF viewer introduced in Firefox 19, try the steps in this article: [[How to disable the built-in PDF viewer and use another viewer]].
    Does that make any difference?

  • 2 player web-based Flash game problem

    I have a two player web-based Flash game. The Flash calls a
    JavaScript function on the webpage to get and store the user's IP.
    Then an XML file with user's game data is loaded and parsed. The IP
    address is used to identify which player is player 1 and which is
    player 2 according to the XML file. There is a Java applet to send
    and receive messages between the players.
    The first player loads everything just fine. All the first
    player's messages regarding the progress in loading different parts
    of the code sent by the game for debugging are displayed in the
    Java applet's text box, but none of the second player's messages
    sent by the game for debugging are displayed.
    The problem is that the second player's ActionScript code
    appears not to be executing except that I do get a message in the
    game that the XML file attempted to load but was not successful.
    The IP address call is not made and no messages can be sent to the
    other player. The second player's Java applet displays only the
    messages for debugging that came from the first player's game and
    any chat messages sent by the first player.
    This problem always happens to the second player, never to
    the first player. Both player's are always using IE6 or IE7.
    Does anyone have some idea(s) what could cause only the
    second player's ActionScript code not to execute and/or not to load
    an XML file correctly?
    This is just a general question, so any general answers would
    be appreciated. Code specific answers are hopefully not required.
    Thank You in advance.

    Hi,
    I am not very familiar with the multiplayer Game development. For multiplayer games, you'll need to set up a matchmaking server and have the clients connect to it. It can then pair them off and facilitate communications. If the clients have publicly available
    network addresses then it can introduce them and they can talk directly to each other.There isn't anything built in for this so you'll need to either build your own or find a third party implementation. If you are using Unity3d then check out
    http://docs.unity3d.com/Documentation/Components/net-MasterServer.html
    Also, you can use Xbox services, and I find an article below:
    https://msdn.microsoft.com/en-us/library/bb975801.aspx
    For windows Azure problem, you should go to windows Azure forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Problem when integrating Web based system

    I want to integrate a web based system.I tried to use appintegrater, but my web system only has one page that accept URL parameters to let you login.
    So, I need to try Http system and URL iView. There is an "Authentication URL" property in http system, does that mean  I can fill in the page which accepts URL parameters, and fill the "URL Parameter for Password" and "URL Parameter for User Name". Then ,when I want to access any page through this http system, will the system login to the web system use the properties defined first?
    I've tried this method, but failed. I don't know if the method will work? If not, anybody can give some suggestion?

    Hi,
    there is no out of the box solution for a xml export. So you got 2 options.
    First :
    Use the SDK and create your own export solution, which will executed whiled printing / inserting a order.
    Second :
    Use a third party addon like coresuite, which allows you to create a batch including VB scripts. So if you press print, the batch job creates the printout and a xml file for your export to the web services.
    Perhaps your issue could also solved by using the XL-reporter, but i do not know exactly which functions the XL-reporter has.
    Regards Steffen

  • JavaHelp for web based systems

    Hi,
    Can I use JavaHelp in web based system to provide web based help using JSPs or Servlets.
    Best Regards,
    Chamal.

    Yes, as long as you conform to what the HelpSet specifies you can use Servlets / JSPs.

  • Best Advice for a working web-based email, calendar and contacts sync system

    I am setting up an office with people that use Blackberry curves. They all have Gmail but that is not important at this point - what I am hoping to achieve is a working (note the operative word: working) solution for keeping a calendar, contacts, and email all in sync on the Blackberry devices. Google promises much but fails to deliver a working solution, their system is frought with problems form errors to duplicated events and contacts to slowing down the phone. Does anyone have an alternative scenario using some other free web-based solution that actually works well? Feel free to post your working solution!
    Thanks!

    check out funambol or scheduleworld
    or stick with the gmailsync... it will eventually work... it just got released not to long ago... they will work out the bugs... once they do, it will be the next best thing to a BES
    Message Edited by drizzt09 on 05-08-2009 11:39 PM

  • Having issues viewing PDF on web based acct system.

    Hello-
    I have Adobe Acrobat Professional on my computer and everytime I try to view a PDF on our web based accounting system, it pops open in a separate window.  Can you please help?

    Hi Mike
    First thing you want to do is uninstall CRVS SP 9 and install CRVS SP 10. SP 10 is the first SP to support VS 2013.
    Once that is done, let us know if that helped any.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Connecting Web based system

    Hi All
    I am sending a message from the web based system using HTTP. i have to  give the URL and port of the XI  in that web based system what is url we should give  to connect the XI
    Thanks
    Jayaraman

    Hi,
    URL is - /sap/xi/adapter_plain
    Also check SAP note- 839803
    this SAP document will help u-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    this doc has html client code-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    Regards,
    Moorthy

  • Web-based mail system - logged me out - can I get my text back?

    A web-based email system logged me out while I was trying to send someone an email.
    I have now lost the carefully written text.
    Is there a way in Safari to recover this screen? Are there any folders that I can look into? How about under history (within Safari)?
    I am in a predicament and would most certainly appreciate any help on this subject!
    Thanks in advance, and votes for all,
    David
    p.s.: Apple's 'Mail' from now on...FROM NOW ON!

    If you're lucky, your webmail service might have saved a copy in its 'Drafts' section. Have you looked? It happened to me two weeks ago with Yahoo! Mail, but thank goodness it was smarter than I gave it credit for.
    Yang

Maybe you are looking for