Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Help!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Cablink" data-source="post: 76725" data-attributes="member: 2330"><p>Hey there.. well yeah I lost my table, and I really suck at making database tables, but I have something that can give a hint of how the table will look. This is the source:</p><p>[CODE]int roomid;</p><p> int x;</p><p> int y;</p><p> using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())</p><p> {</p><p> arrested = dbClient.getString("SELECT arrested FROM users WHERE name = '" + _Username + "'");</p><p> x = dbClient.getInt("SELECT x FROM action_points WHERE roomid = '" + _roomID + "' && action = 'jb'");</p><p> y = dbClient.getInt("SELECT y FROM action_points WHERE roomid = '" + _roomID + "'&& action = 'jb'");</p><p> roomid = dbClient.getInt("SELECT roomid FROM action_points WHERE roomid = '" + _roomID + "'&& action = 'jb'");[/CODE]</p><p>If anyone can get me the correct sql query to run for a perfect match, it would be helpful thank you <img src="/styles/default/xenforo/smilies/emojione/biggrin.png" class="smilie" loading="lazy" alt=":D" title="Big Grin :D" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="Cablink, post: 76725, member: 2330"] Hey there.. well yeah I lost my table, and I really suck at making database tables, but I have something that can give a hint of how the table will look. This is the source: [CODE]int roomid; int x; int y; using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient()) { arrested = dbClient.getString("SELECT arrested FROM users WHERE name = '" + _Username + "'"); x = dbClient.getInt("SELECT x FROM action_points WHERE roomid = '" + _roomID + "' && action = 'jb'"); y = dbClient.getInt("SELECT y FROM action_points WHERE roomid = '" + _roomID + "'&& action = 'jb'"); roomid = dbClient.getInt("SELECT roomid FROM action_points WHERE roomid = '" + _roomID + "'&& action = 'jb'");[/CODE] If anyone can get me the correct sql query to run for a perfect match, it would be helpful thank you :D [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help!
Top