Skip to main content

Questions tagged [sql]

Structured Query Language. A programming language designed for managing databases.

Filter by
Sorted by
Tagged with
0 votes
2 answers
906 views

I have a project that will have a significant amount of item/entity data. Imagine something like a survival game that will have items being dropped that can be used in recipes and building. There will ...
fjsv's user avatar
  • 101
1 vote
0 answers
47 views

Generally for an RPG, would you say a DB like SQL server and MYSQL is over kill? RDB seems really convenient to pull and call from an inventory item for example, yet I see arguments that it is too ...
Brown Orion's user avatar
0 votes
2 answers
425 views

Apologies for the length, I'm currently struggling to model a recursive loot table system in a PostgreSQL database for my game. Meaning, I want to have a main loot table, and then add sub-loot tables ...
Tdude179's user avatar
1 vote
1 answer
275 views

I'm really struggling with a 'resonable' technical implementation of the map system used by the popular MMO World of Warcraft. Not really sure on a data structure format and how to save/store it in a ...
Subressor's user avatar
0 votes
1 answer
970 views

I'm working on a game using MySQL as the db. I'm struggling a bit on the database design, this is the part I'm struggling with: So basically exp_ups, mystery_boxes and weapons are entities in the ...
sharpness's user avatar
  • 101
0 votes
1 answer
617 views

when you develop a simple local game, with 4 slots for history mode, wich option is better to persist the savegame of the history slot openned by the user? The game has 4 entities with some simple ...
NullPointerException's user avatar
0 votes
0 answers
166 views

I am building some online multi-player web-based games. Naturally, we are using WebSockets to connect to the game server. I need to store "real-time" data for these games, things like which ...
Ryan's user avatar
  • 887
1 vote
0 answers
2k views

I'm trying to set up my Unity game for WebGL, but I quickly found out that you can't access your streaming assets as you would in a standalone build. For example, I have a code snippet below of how I ...
super potato's user avatar
0 votes
1 answer
295 views

I'm working on a little MMO game as a learning experience, the server coded in Python. When a player logs in it pulls their character data from a SQL db and into server memory. It then uses memory ...
user1022585's user avatar
0 votes
1 answer
126 views

I have two types of items in my game, consumables, and equipment. For my database, should I store them in two different tables, or all in one big items table?
super potato's user avatar
31 votes
5 answers
21k views

I want to use sql database in my server.exe. lets say 1000 users online. And players will change their data when they play. And server need to save these updates. But how ? i think there two way: ...
Emre Kaya's user avatar
  • 555
0 votes
0 answers
61 views

I have a virtual world game that I developed with jQuery, AJAX and PHP. Virutal World like club penguin. Now, I want to add a game into the virtual world - like bubbles or whatever. The main problem ...
Ben's user avatar
  • 1
0 votes
2 answers
1k views

I'm making simple HTML socket game that I want to record over time. It's a "risk" type game where individual tiles can be conquered, and the team with the most tiles is winning. As of right now, I'...
Kevin Hu's user avatar
1 vote
1 answer
874 views

I am building a simple turn-based game in node.js using sockets.io. My web experience with node.js has typically involved saving everything to a relational database. I set this up for my game. I am ...
user5505266's user avatar
0 votes
1 answer
142 views

Sorry about the question heading I am creating an online tower defense game with SQL Server 2008 as my database. SQL user used to send data to server is restricted to only execute existing ...
Developer Nation's user avatar
2 votes
1 answer
288 views

I am developing an Android native game, but I have problems with Data Storage. For a better comprehension think it like as i am developing Clash of Clans, but with Native Andorid. Now imagine I have ...
Pier Giorgio Misley's user avatar
1 vote
1 answer
4k views

Diablo 2 has a very sophisticated item system and I want to create something similar. But I am having a hard time getting the architecture right. In Diablo 2 most different kind of gear has different ...
Madmenyo's user avatar
  • 1,969
0 votes
1 answer
345 views

I'm working on a database to back up my online TCG. It's currently SQLite, but I'm going to transition it to a MySQL database later. Currently, I have three distinct types of cards with their own ...
Terrey West's user avatar
0 votes
1 answer
377 views

I am developing a simple browser game, using ASP.NET, C# and SQL Server 2012. I need to implement build time of some unit or building. One way would be storing finish date to database and just fetch ...
Meyhem's user avatar
  • 3
2 votes
0 answers
558 views

I am starting to code a browser game, I have a rudimentary chat set up, and would like to start creating the battle engine, I have a general idea of how I want it to play out, but I don't know where I ...
Malachi's user avatar
  • 125
2 votes
2 answers
1k views

A friend of mine and I are always talking about our current progress in learning game development. Recently, saving the game (data persistence) came up, and when I summarized how I tackled that for my ...
Mike DePeel's user avatar
3 votes
1 answer
298 views

I have been having issues with managing a conversation tree. I am using PAWN as a scripting language (I have no other options, unfortunately) and I use MySQL databases to store user and game data. My ...
user49277's user avatar
0 votes
1 answer
2k views

I made a game in XNA 4.0 and now I need to save the points in a database or in a file (or in something else). My goal is to store and retrieve the highest score if I choose that option in the main ...
MARiVS's user avatar
  • 113
1 vote
4 answers
408 views

For a strategy game, the area "already explored" has to be saved to a DB, so that the player can (upon resuming his game) see where he has already been. The game will be a mmo-game, so i have to ...
A. K-R's user avatar
  • 113
3 votes
2 answers
2k views

I've been trying to build my entity system based on pure SQL data storage as explained in this post series. The idea is that every entity or component is stored in an SQL table. I created my framework ...
nialna2's user avatar
  • 930
2 votes
2 answers
757 views

I am working on a small game, I need to add an unlimited inventory to the game but I am not sure how to do it. I have an inventory system with a specific amount of slots, here it is: ...
Melon's user avatar
  • 31
6 votes
3 answers
858 views

There is a theoretical mismatch of the entity system and the savegame system, which is think is common, but I haven't found resources about that. Therefore I will explain both systems first, as short ...
danijar's user avatar
  • 5,751
0 votes
2 answers
224 views

I have an idea for a game which I am in the process of designing, but I am struggling to establish if the way I plan to implement it is possible. The game is a text based sports management ...
Rooq's user avatar
  • 1
4 votes
3 answers
291 views

I've been wondering how you would go about labeling an area on a 2D tile map. What I'd like to do is associate tiles with an area i.e Forest Area, Desert Area, etc. Keep in mind this is an idea, so ...
Norm's user avatar
  • 141
7 votes
3 answers
4k views

Recently I was researching several entity systems and obviously I came across T=Machine's fantastic articles on the subject. In Part 5 of the series the author uses a relational schema to explain how ...
Marc Müller's user avatar
  • 1,007
0 votes
2 answers
2k views

I have downloaded SQLite C/C++ interface to work with Cocos2d-x. Created a database by Firefox SQLite plugin. Then tried the following code ...
Md Mahbubur Rahman's user avatar
2 votes
2 answers
381 views

Currently I use XML to store specific information to correctly load a few things such as a list of specfied characters, scenes and music, Once more I use JAXB in combination with standard compression/...
kdgwill's user avatar
  • 133
1 vote
1 answer
722 views

I'm am looking to add multiplayer into my game (2D Platformer in XNA C#) My worlds are quite large (Up to 30 Million tiles max, Average 20 million maybe. 2000x10000). You could say the game is quite ...
Cyral's user avatar
  • 1,039
-3 votes
1 answer
115 views

I have a databse that contains: id , playlistname , playlistnum and I want to get alll the rows where ...
user1494675's user avatar
2 votes
2 answers
4k views

I'm looking at creating a game for Android and while I have most of the ins and outs worked out, the one thing I'm struggling with is how to store data for the game. Ultimately, the game will be ...
LiamGu's user avatar
  • 123
0 votes
1 answer
105 views

I'm working on a browser based strategy game. For the moment I'm working on the build/destroy functions and I have a couple of questions about this. The main question is do you have advice on how I ...
Bogdan's user avatar
  • 155
-1 votes
1 answer
196 views

I have the following arrays: ...
Bogdan's user avatar
  • 155
0 votes
2 answers
501 views

I'm working on a browser-based RTS, and we are targeting 10k+ users with multiple towns per user. I have the following table townresources in which I store every ...
Lixandru Iulian Adrian's user avatar
1 vote
1 answer
831 views

How do you create an SQL database (I believe it's tinySQL/SQLite) using Adobe Air? I have searched around, and all sites give code, and then explains to wrap it within an xml document, for example ...
Nicholas's user avatar
  • 431
-1 votes
2 answers
1k views

How to construct my multilayer mode for my Delphi game? For LAN I use UDP server/client. But for internet I think UDP is useless. I have in mind something like: The host create SQL database and store ...
TreantBG's user avatar
  • 147
5 votes
1 answer
1k views

I actually have multiple questions into one. Hopefully someone can hit all of them. I wanted to give a try at a massively multiplayer web based game. Basically, the game would have similarities to ...
saccharine's user avatar
1 vote
1 answer
350 views

My team is planning to create a simulation game using Javascript, CodeIgniter and MySQL for the backend. It will be mostly click based, ie: There will be buttons for activities like Eat, Play, Study, ...
Henson's user avatar
  • 113
-2 votes
1 answer
3k views

users id username password email userlevel characters id userid level strength exp max_exp map id x y This is what I have so far. I want to be able to implement ...
John Svensson's user avatar
1 vote
3 answers
2k views

I'm trying to figure out how to do what I can only call a recursive query (my knowledge of MySQL is extremely limited). The game I'm designing has a tech tree with items to research that will grant ...
Dan Champagne's user avatar
0 votes
1 answer
1k views

I've had the idea of creating a webgame for a while now, and as it becomes more and more accurate i started playing around with Symfony 2.0. First question : it seems that it is recommanded to use ...
teh internets is mad of catz's user avatar
-1 votes
1 answer
1k views

I am planning a simple MMORPG, but even though it's a small, open source project, I'd like to have the best quality database. Which would be the best database software to use? Examples: SQL - MySQL, ...
Bruno Alano's user avatar
4 votes
3 answers
8k views

The game I'm working on currently has a Client in Flash AS3, and a Server in C# (multithreaded). Currently I use mySQL to handle logins (Raw access: no middleman for accessing the database) which ...
Adrian Seeley's user avatar
7 votes
1 answer
5k views

What is the best way of storing the character's inventory (consisting of each item having a value for type and quantity). The only methods I can think of is to use the "text" type of field then parse ...
jSherz's user avatar
  • 235