Thread: Gamma

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Gamma 
    Registered Member
    Join Date
    Mar 2010
    Posts
    250
    Thanks given
    22
    Thanks received
    46
    Rep Power
    59

    Gamma



    Update Log

    Spoiler for Log:

    Thread Started - 8/22/2011


    Introduction

    Over the course of two years I have written many bases for a variety of builds. and through this time I have never used one for a project that was successful. I always wanted to create a base that could have the simplicity of taking a plugin written by another developer or from a previous project, and adding it to server. Although this sounded like the right way to go, I had many things to learn; so I kept writing more bases until I developed a style and understood the RS client as well as I could. Of course staying within the realm of Java was a bit stupid, because the limits to what you can do in Java became very apparent as time went on, so I looked into doing a server in a different language. The issue I always came across though with each language I tried was the comparison of Java's ease to port to other operating systems. (And also to add onto this, the fact that nearly the entire RSPS community knows Java very well compared to say C or C++.) So with the stage set I went about researching each scripting language, I tried each one and investigated their syntax, speed and difficulty to integrate with Java. I came to the conclusion that Lua, for its speed and basic amount of features for what I needed was the right choice. Although my original idea of Gamma was from I originally planned, the plugin system has not changed. Please note, Gamma is still subject to change as it is an ongoing project.

    Please note that features are currently in development, and refined features will be reported as they become available. I do not want to see questions as in, why are these sections incomplete when I have yet to fully refine my design and implement their systems. I rather not lie about what has not been finished in short.

    3rd Party Libraries

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Core Resources

    With Gamma, the expected development process is to develop using Lua only; by using the Gamma Java API. Although the server is expected to run from Java, the structure in which the server is run is made so that java functions can be executed in Lua, Lua libraries that are ported to java for other plugins to use.

    Gamma Scripts -

    Because of some cross platforming issues, plugins may require an external script to load properly. These scripts are only for plugins and do not have have any other function within the server.

    Example Script*:

    Code:
    --Check if the path has been initialized
    if PATH_INIT == nil or PATH_INIT ~= true then
    	--Create and set the directories
    	SCRIPTS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/scripts/"
    	PLUGINS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/plugins/"
    	--Create the PATH_INIT var and set to true
    	PATH_INIT = true
    end
    *This script has been removed but I left it up as an example.

    Lua Package -

    Spoiler for Lua Objects:

    LuaFunction
    LuaEnvironment
    LuaLibrary


    Spoiler for Factories:

    FunctionFactory
    EnvironmentFactory
    LibraryFactory


    In Development...

    Plugins

    Plugins will be loaded on application startup, using a YAML file the application will load the plugin dependencies and libraries before the plugin is then initialized. Each plugin will have its own LuaEnvironment which is pushed to the environment.

    In Development...
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    Anadyr's Avatar
    Join Date
    Nov 2009
    Posts
    683
    Thanks given
    31
    Thanks received
    100
    Rep Power
    675
    good luck, and i thought u quit?
    Reply With Quote  
     

  4. #3  
    Registered Member
    Join Date
    Mar 2010
    Posts
    250
    Thanks given
    22
    Thanks received
    46
    Rep Power
    59
    Quote Originally Posted by Anadyr View Post
    good luck, and i thought u quit?
    I don't get on here much, and no I took a break to learn some different programming languages.
    Reply With Quote  
     

  5. #4  
    Banned

    Join Date
    Nov 2009
    Posts
    4,222
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Good luck.
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Aug 2010
    Posts
    3,284
    Thanks given
    618
    Thanks received
    1,155
    Discord
    View profile
    Rep Power
    5000
    Good luck.
    Reply With Quote  
     

  7. #6  
    Banned

    Join Date
    Dec 2008
    Posts
    2,098
    Thanks given
    1,419
    Thanks received
    732
    Rep Power
    0
    Quote Originally Posted by Sinisoul View Post
    [CENTER]
    Code:
    --Check if the path has been initialized
    if PATH_INIT == nil or PATH_INIT ~= true then
    	--Create and set the directories
    	SCRIPTS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/scripts/"
    	PLUGINS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/plugins/"
    	--Create the PATH_INIT var and set to true
    	PATH_INIT = true
    end
    System.getProperty("user.home");

    Not everyone uses windows
    Reply With Quote  
     

  8. Thankful users:


  9. #7  
    Registered Member
    Join Date
    Mar 2010
    Posts
    250
    Thanks given
    22
    Thanks received
    46
    Rep Power
    59
    Quote Originally Posted by Jimmy View Post
    System.getProperty("user.home");

    Not everyone uses windows
    I have tried and always have issues, its better for now to have them set their own directory for the moment being until I come up with a solution. Setting your install path on Linux should not be a problem. Thanks for mentioning this so that others can understand why I did this.

    Fixed the problem, but I need to implement it a little better.
    Reply With Quote  
     

  10. #8  
    Extreme Donator


    Join Date
    Jul 2009
    Age
    24
    Posts
    4,350
    Thanks given
    824
    Thanks received
    1,237
    Rep Power
    1789
    Best of luck dude.
    Reply With Quote  
     

  11. Thankful user:


  12. #9  
    Registered Member Native^'s Avatar
    Join Date
    Jul 2011
    Posts
    109
    Thanks given
    16
    Thanks received
    7
    Rep Power
    48
    Good luck, btw are you going to release this?
    Reply With Quote  
     

  13. #10  
    Registered Member
    Join Date
    Mar 2010
    Posts
    250
    Thanks given
    22
    Thanks received
    46
    Rep Power
    59
    It won't be available while I am developing but it will be available when I am finished.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. [PI]Project Gamma Release
    By xSelseor in forum Downloads
    Replies: 23
    Last Post: 08-15-2010, 05:55 PM
  2. Gamma
    By Mrthunder23 in forum Projects
    Replies: 2
    Last Post: 09-14-2009, 02:20 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •