• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

158 Neutral

About -JetSirus-

  • Rank
  1. Just wanted to know if any could recommend a good C# books that has lots of game related example and lessons. Even better if there are any that deal with XNA.
  2. Actually I feel that SWG pre NGE was a near perfect example of what I like in a MMO. The only MMO that currently matches what I feel is near perfect is AC1. I do however realize that what I like does not reflect the majorities tastes. Sadly both of my favs are in a state of stagnation. AC1 has more bots actively playing than people and SWG got hosed (IMHO) with the NGE. Oh well. Fact is I would pay $50.00 per month for the privilege to play an updated, active, and botless version of AC1. $40.00 for old SWG. I'm strange though. But I can't be the only one.
  3. SQL & C# Question...

    Ok this has been driving me crazy. Let me lay out the situation in summary form. I have a login screen. When the player enters his pin number I perform a search of my SQL database to pull all his info. I do this with a query. For example: SELECT * TOP 1 FROM dbo.Player WHERE Pin = @Pin That may not be exact, but essentially I select that entire row. Then I get the PlayerID number in a completely silly manner. I databind a text box to the PlayerID column. Then I can get the ID number from that text box. My problem is that the text box doesn't always update in time and I end up pulling "" from it. My question is, is there some way I can just assign a variable to the row that is returned from the query? Something like: DataSet.PlayerRow currentPlayer = DataBinding.Player.CurrentRow I have been mucking around with this for OVER a week with no solution. I may be able to get the text box idea to work, but it's messy and seems hackish. Is there a better way? Better yet, is there some easy way to programattically search a SQL database without resorting to using queries? For example: DataSet.PlayerRow currentPlayer = DataSet.Player.Pin.Find(1234)
  4. Thanks to the both of you! I will give this a try when I get home from work! Ratings++
  5. Ok, I have a C# program that uses a SQL database to store player information. In that database there is a table called Player. What I want to do is search for a specific value in the password column. Then when I find the row with that password get its ID information and log that player in. I am using C# Express Edition and SQL Server Express. So how can I programatically do the search? I have read around in MSDN for a good while and I can't seem to find anything relevant. Thanks in advance for any help/flames. :) Im hitting the sack so I won't be able to respond for a while. Been programming for 22 hours non-stop.
  6. Can anyone help me clarify these issues?

    Quote:Original post by jyk Just a couple of minor clarifications for the OP:Quote:Original post by -JetSirus- Use a struct as a custom variable type that holds differant things. Use a class when you want to give it additional functionality.As I mentioned earlier this is only a convention; it's not dictated in any way by the language itself.Yes, I kinda sorta maybey touched on that later in the post.
  7. Can anyone help me clarify these issues?

    I will answer what I can. -What does "->" do? When you have a pointer to a class you access it's juicy innerds with a '->' instead of a '.'. - Why do we have to use function prototypes? Can't we just declare them along with their contents? You can, but there are benifits to not doing so. As for the details of said benifits I can't answer that as I an new myself. - Why is there a struct, when there is already a class? Use a struct as a custom variable type that holds differant things. Use a class when you want to give it additional functionality. - What the heck is "#ifdef" ? How do I know when to use it? It's used to make sure that the preprocessor dosn't include a header or other stuff that has already been included. I THINK SO ANWAY. CPP is a really complex and confusing language even for people who have worked with it for YEARS. Part of the complexity steams from its backwards compatability with C. That's why structs and classes can be used interchangably in most cases. It makes things really messy when you see messy C/CPP code mixtures.
  8. Visual Basic or C#

    C# is prefered by most for games when compared to VB. The reason is the XNA Game Framework was designed for C#. And the XNA framework is preaty awesome! Head over to Coding4Fun. It has some nice tuts for both VB and C#. Most seem to favor C# though.
  9. Countdown program in c#

    Ok, firstly search on msdn for timer objects. That will certanly help out. From there it will simply be updating lable.text everytime the timer fires. That should be a decent start. Also check out this artical. About 3/4 of the way down it talks alot about timers and their usage.
  10. C++ game instruction

    MSDN Coding4Fun is a great place for game related tutorials and literature! I highly recommend it.
  11. XNA + C# Learning Curve?

    In my opinion it is very easy to work with. Before XNA I had never messed with C# or a 3d API, and after I am having no major issues.
  12. How best to make this

    I would recommend you get The Torque Game Engine as it will be easy to modify into what you need, and best of all it only cost 100USD.
  13. Oblivion and its problems

    The one bad thing I can say about the graphics in OB is that such a huge render distance made it seem very small. For some reason to me and several of my friends Morrowind seemed MUCH larger, yet it was actualy quite a bit smaller. Of course I don't see how one could fix that problem. Other than gimping the render distance in OB or making the game world much larger that it already was. Either way its a problem for the devs.
  14. Update: The design doc has been moved to my web space and had several changes and additions to it.
  15. whats the diffference between c and c# and c++

    For me, C# is the best choice for what I plan to do with it. And honestly that's what it comes down to. You can find a good argument for almost every language out there, except perhaps Brainf*ck(sp?). I plan to go indie and stay that way. The business model is better for me. Also, alot of the games I intend to make don't need to be cutting edge graphics wise.. A bit of wisdom: There is no perfect language for every situation. However, for every situation there is a perfect language.
  • Advertisement