This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#51 2012-07-30 00:02:53

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Browser Based MMORPG

Does this have anything to do with the Advanced part of Scratch or does this section reach beyond that now?

I think this may be better for MaC.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#52 2012-07-30 00:31:44

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Does this have anything to do with the Advanced part of Scratch or does this section reach beyond that now?

This project has nothing to do with scratch whatsoever except for this thread.

I think this may be better for MaC.

The programme will be browser-based and as far as I know operating systems have no effect on browsers and how they display webpages, so it will work exactly the same on al operating systems.

Edit: Unfortunately my laptop which had all of the files for the project broke, so I have had to re-create all of the files and I'm working on re-coding a few of them.

Last edited by JackERY (2012-07-30 00:35:15)

Offline

 

#53 2012-07-30 00:51:48

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

sccar3 wrote:

Is this going to be more like Runescape of Syrnia?

I've never seen Syrnai before, but from what I can tell of google images, no. 14th Century will focus on trade mainly, the idea for the game is similar to Europe 1400, but it will include many more features and put more focus on the office and ranks system.

(sorry for the double post)

Last edited by JackERY (2012-07-30 00:52:57)

Offline

 

#54 2012-08-02 06:28:17

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

sorry I have been inactive  sad

Any work for me to do?


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#55 2012-08-02 08:31:36

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Cold you login to our webhost account and familiarise yourself with the control panel interface and how the files for 14th century will be set out. The username/password as well as a link to the login page can be found HERE. Make sure you login to your account on our forums first though or you won't be able to see the thread.

Offline

 

#56 2012-08-02 10:04:20

fille1237
Scratcher
Registered: 2010-04-29
Posts: 4

Re: Browser Based MMORPG

I would love to do the graphics.

Offline

 

#57 2012-08-02 12:56:00

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

JackERY wrote:

Cold you login to our webhost account and familiarise yourself with the control panel interface and how the files for 14th century will be set out. The username/password as well as a link to the login page can be found HERE. Make sure you login to your account on our forums first though or you won't be able to see the thread.

I have used cPanel before, so that should be fine.

I have been looking at PmA, and I just realised there wont be enough databases to run the game. The forum has taken up all of the required databases.

Last edited by Zeusking19 (2012-08-02 13:01:57)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#58 2012-08-02 16:41:54

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Browser Based MMORPG

Zeusking19 wrote:

JackERY wrote:

Cold you login to our webhost account and familiarise yourself with the control panel interface and how the files for 14th century will be set out. The username/password as well as a link to the login page can be found HERE. Make sure you login to your account on our forums first though or you won't be able to see the thread.

I have used cPanel before, so that should be fine.

I have been looking at PmA, and I just realised there wont be enough databases to run the game. The forum has taken up all of the required databases.

Set up the database to use a prefix, so you can add game stuff prefixed in the database as well. (forum_users, forum_posts, mmo_users, mmo_livechats)


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#59 2012-08-03 04:04:02

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

bobbybee wrote:

Zeusking19 wrote:

JackERY wrote:

Cold you login to our webhost account and familiarise yourself with the control panel interface and how the files for 14th century will be set out. The username/password as well as a link to the login page can be found HERE. Make sure you login to your account on our forums first though or you won't be able to see the thread.

I have used cPanel before, so that should be fine.

I have been looking at PmA, and I just realised there wont be enough databases to run the game. The forum has taken up all of the required databases.

Set up the database to use a prefix, so you can add game stuff prefixed in the database as well. (forum_users, forum_posts, mmo_users, mmo_livechats)

Let me check to see if the forum was setup with prefixes.

I dont understand why the forum would need a community and a main database. Jack, please correct me if I am wrong.

Last edited by Zeusking19 (2012-08-03 04:06:15)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#60 2012-08-03 05:12:45

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Zeusking19 wrote:

I dont understand why the forum would need a community and a main database. Jack, please correct me if I am wrong.

The community database is for any community related things, like the forums or a highscores table. The main database is for the game.

Offline

 

#61 2012-08-03 08:22:54

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

JackERY wrote:

Zeusking19 wrote:

I dont understand why the forum would need a community and a main database. Jack, please correct me if I am wrong.

The community database is for any community related things, like the forums or a highscores table. The main database is for the game.

That makes more sense. Thanks for letting me know  smile

Any work for me to do?


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#62 2012-08-04 06:11:04

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Zeusking19 wrote:

Any work for me to do?

Could you try and make a function that retrieves data from the SQL database. The function would have to have 3 variables: the table, a field and a value. It would also have to return results as an array.

Offline

 

#63 2012-08-04 06:38:51

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

JackERY wrote:

Zeusking19 wrote:

Any work for me to do?

Could you try and make a function that retrieves data from the SQL database. The function would have to have 3 variables: the table, a field and a value. It would also have to return results as an array.

Just working on it.


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#64 2012-08-04 06:51:31

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

I didnt understand what you meant, so I hope this is what you wanted.


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#65 2012-08-04 07:30:47

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

That's not what I wanted, sorry for being too vague. Basically what we need is a function that gets the information from a database and then stores it in an array. The code I was thinking of looked something like this;

Code:

include("sql.class");
class loadsql {
   public function loadSQL($db,$field,$data) {
      $sql = new sql();
      $sql -> config();
      $fetchedData[] = array()      
      $i = 0;

      $result = mysql_query("SELECT * FROM $db WHERE $field = $data");
      while($row = mysql_fetch_array($result)) {
         $fetchedData[$i][$field] = $row[$field]
         $i=+1;
      }
   }
}

I'm not sure if that code works because I've not tested it, but when the I call the function it should return the results as a 2 dimensional array which can then be used very easily. For example loadsql("users","name","jack") would return the following:

$fetchedData[0][id] = 0
$fetchedData[0][name] = jack
$fetchedData[0][pass] = password

Last edited by JackERY (2012-08-04 07:35:44)

Offline

 

#66 2012-08-04 09:53:27

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

JackERY wrote:

That's not what I wanted, sorry for being too vague. Basically what we need is a function that gets the information from a database and then stores it in an array. The code I was thinking of looked something like this;

Code:

include("sql.class");
class loadsql {
   public function loadSQL($db,$field,$data) {
      $sql = new sql();
      $sql -> config();
      $fetchedData[] = array()      
      $i = 0;

      $result = mysql_query("SELECT * FROM $db WHERE $field = $data");
      while($row = mysql_fetch_array($result)) {
         $fetchedData[$i][$field] = $row[$field]
         $i=+1;
      }
   }
}

I'm not sure if that code works because I've not tested it, but when the I call the function it should return the results as a 2 dimensional array which can then be used very easily. For example loadsql("users","name","jack") would return the following:

$fetchedData[0][id] = 0
$fetchedData[0][name] = jack
$fetchedData[0][pass] = password

I kinda need to tell you I am not EXCELLENT at php. I can do stuff like inserting to a database, but nothing else.


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#67 2012-08-04 10:33:37

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Most of the SQL code needed should be relatively simple; I can only think of 3 statements that we will ever have to use: SELECT, WHERE an SET. If you ever can't do any of the coding to go with the sql (things like functions, classes and arrays), just leave a note in a comment and I'll add them.

I forgot to say thank you for writing than code, so thanks. Also, if you're writing some code for the project, could you upload it to the "dev" folder in the Cpanel so it can be viewed and edited online.

Offline

 

#68 2012-08-05 16:12:41

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

bump

Offline

 

#69 2012-08-06 03:33:49

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Browser Based MMORPG

kk. Thanks  smile


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#70 2012-08-08 14:26:52

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

bump

Offline

 

#71 2012-09-09 21:34:23

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Apologies for the inactivity of the project, I should be able to start working on the game again tomorrow and I'll try to update the forums and possible this thread before then.

Also, I've been playing around with some Javascript libraries that enable 3d models to be displayed on a webpage and I think it would be quite a nice addition to the website. I am capable of doing all of the scripting, but my 3d modeling skills leave a lot to be desired. If anyone is moderately skilled with 3ds Max and willing to help please post on this thread.

Offline

 

#72 2012-09-09 22:25:47

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Browser Based MMORPG

May I help?  I know HTML and JS.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#73 2012-09-14 13:49:03

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Firedrake969 wrote:

May I help?  I know HTML and JS.

Of course, welcome aboard  smile

Offline

 

#74 2012-09-14 14:52:49

playzooki
Scratcher
Registered: 2012-02-07
Posts: 100+

Re: Browser Based MMORPG

JackERY wrote:

playzooki wrote:

if its a certain century, then in 16.3 years it would be out of that century if you used time.

16.3 years is quite a long time in the future, so I doubt that the game moving on into a different century would cause any problems.

nathanprocks wrote:

I think PHP and AJAX might help for stuff like this.

The vast majority of the project will be written in PHP and bits of ajax may be used to loading data.

LOL I know. XD When will this be released roughly?


I iz a sig. So there. CLICK ME ITS SO IMPORTANT!!!!

Offline

 

#75 2012-09-30 19:03:27

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: Browser Based MMORPG

Hopefully within 3 or 4 months, maybe sooner depending on any problems we encounter with the code along the way.

---

Bump

Offline

 

Board footer