Thread: NodeJS based RSPS — Scape.JS

Results 1 to 6 of 6
  1. #1 NodeJS based RSPS — Scape.JS 
    JavaScript Heathen 👹
    frostbit3's Avatar
    Join Date
    Mar 2012
    Age
    25
    Posts
    386
    Thanks given
    308
    Thanks received
    77
    Rep Power
    43
    R-S Mod Response  Scape.JS



    I want to build a server that utilizes NodeJS as the underlying technology. I feel that JavaScript has come a long way and is much more up to the job of actually being utilized in a server environment. NodeJS is used in millions of companies around the world, and has garnered a massive package repository.

    The server will utilize packages (plugins) that are published on NPM, which will allow for seamless and easy code reuse and modification. Another big advantage to using NodeJS and EcmaScript 6 (JavaScript/ES6) is the async and await modifiers. async/await is perfect for writing asynchronous code, synchronously. Here is some psuedo code of what a skill could look like:
    Code:
    const chopTree = async (entity, tries = 0) => {
      if (tries === 3) {
        entity.addItem(LOG_ID)
        return false
      }
      entity.animate(CHOP_ANIMATION)
      await seconds(1)
      return chopTree(entity, tries++) // heh, couldnt resist :cool:
    }
    Still not convinced? JavaScript has a unique design pattern called "Prototypal Inheritance" which alleviates common design issues in other languages, such as:

    • The tight coupling problem (class inheritance is the tightest coupling available in oo design), which leads to the next one…
    • The fragile base class problem
    • Inflexible hierarchy problem (eventually, all evolving hierarchies are wrong for new uses)
    • The duplication by necessity problem (due to inflexible hierarchies, new use cases are often shoe-horned in by duplicating, rather than adapting existing code)
    • The Gorilla/banana problem (What you wanted was a banana, but what you got was a gorilla holding the banana, and the entire jungle)


    If you are interested in learning more about "Prototypal Inheritance", here are some great resources: [Only registered and activated users can see links. ]
    Spoiler for Video:
    [Only registered and activated users can see links. ]


    I think all the above reasons and more are why I want to pursue in building a private server that runs on NodeJS. I am aware that there has been one written before, however that was from a long time ago, the V8 engine has gotten considerably better, as well as JavaScript. I would argue JavaScript is the fastest changing language right now. For better or worse .

    Here is where you come in.
    If anyone could provide assistance with knowledge of the 317/377 Protocol, that would be awesome.

    Where will this be hosted?
    I will create a GitHub repository and will link it in a project thread.

    Are you going to do this?
    It comes down to reception of the idea and if I can get enough support with the game protocol. I understand that there is the wiki, but some things still aren't clear, and I don't know who I can talk to about it.




    Lets make RuneScape web-scaletm
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Forum Moderator

    Corey's Avatar
    Join Date
    Feb 2012
    Posts
    1,191
    Thanks given
    847
    Thanks received
    912
    Rep Power
    3790
    Good luck with this.

    [Only registered and activated users can see links. ]

    Spoiler for .:
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Nov 2017
    Posts
    11
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    How far did this project come? Did it die?
    Reply With Quote  
     

  5. #4  
    Professional Upsetter


    Join Date
    Jul 2006
    Posts
    5,390
    Thanks given
    163
    Thanks received
    446
    Rep Power
    2040
    Fuck. No. Why. God. No.
    Ex-super moderator of Rune-Server.org and RSBot.org
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    shit im high af


    Chance's Avatar
    Join Date
    Feb 2012
    Age
    24
    Posts
    915
    Thanks given
    74
    Thanks received
    799
    Rep Power
    4572
    You got so caught up in thinking if you could, that you didn't stop to think if you should.
    But, if you do come back to this and do it, best of luck to you.
    Reply With Quote  
     

  8. Thankful user:


  9. #6  
    Registered Member
    Join Date
    Nov 2017
    Posts
    11
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Why not guys? It's possible to do, so why not?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zenith - your text based rsps
    By Fabrice L in forum Projects
    Replies: 116
    Last Post: 05-30-2012, 02:30 AM
  2. '04 Based RSPS
    By riddim dan in forum Spam
    Replies: 17
    Last Post: 05-08-2012, 05:40 PM
  3. Non-Java Based Rsps Classic Remake*
    By Swifti in forum MMORPG
    Replies: 21
    Last Post: 01-26-2012, 04:42 AM
  4. Replies: 1
    Last Post: 08-28-2010, 09:01 AM
  5. Replies: 1
    Last Post: 03-29-2010, 01:56 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •