Thread: Eldrios | Loading OSRS Data | Ambitious Times!

Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1 Eldrios | Loading OSRS Data | Ambitious Times! 
    Registered Member Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    177
    Thanks given
    27
    Thanks received
    26
    Rep Power
    32


    Currently I've only provided some snippets of code. This thread is very boring for now.
    Actual media will be added when I start doing content for the server.


    [Only registered and activated users can see links. ]

    Eldrios will be a high quality and (hopefully) unique RSPS experience. I have high ambitions.
    I believe I'm a decent developer, with decent ideas and a good vision.
    Right now, these are only words to you, so I hope to prove my words right.


    Current Status:
    We're currently in the process of developing our launcher/client and website. When that's done, we'll be finishing up the plugin implementation and server core.
    The server/client is based off of Elvarg, so a huge thanks to Professor Oak for his release! Check the launcher project thread [Only registered and activated users can see links. ].


    Vision:
    We want to provide an unique and smooth RSPS experience. Rather than ripping off RuneScape's content, we want to design our own.
    We'll be making our own quests, content ideas and in general try to make the experience as unique as possible.
    There will probably be similarities to some of RuneScape's features and content, which is rather inevitable.

    What that means, is that we're trying to use RuneScape's resources to create our own game to the best of our abilities.

    About Me & Why I'm Doing This
    I'm a self taught developer, who initially only did web development (currently full time employed as a web developer).
    I'm ambitious, and love new challenges and experiences. They help me succeed in my professional life as well.

    Running and developing RSPS servers can be incredibly teaching. There are lots of challenges to overcome.
    I also think RuneScape has a great concept for a game, and I used to enjoy it quite a bit, so I want to try and
    make the perfect (small scale) RuneScape experience.

    Money & Donations:
    I've seen too many servers focus a great deal on money making. While money is needed to progress,
    it shouldn't break the final product by making it pay to win and stuff.

    Which means I will try to focus as much as possible on things like perks and cosmetics (untradeable), nothing game changing.
    I'm also considering whether or not I want to implement premium content or not.



    About our actual RuneScape Private server and it's features.

    Spoiler for Content:
    Media:
    Spoiler for Media:

    Spoiler for Ancient Spellbook:



    The spells are edited to light up according to the requirements. This was intended for a Dodian remake,
    I left that project to continue down my own path. I will however keep this spellbook layout.


    Features:
    Spoiler for Features:
    Coming soon...

    Updates:
    Spoiler for Updates:
    Coming soon...

    Technical:
    Spoiler for Technical:

    Command Example:
    Spoiler for Code:
    Code:
    @Name("Tele")
    @StaffOnly
    public class Teleport extends Command {
    
        public Teleport() {
            super();
    
            this.addSubCommand(new To());
            this.addSubCommand(new ToMe());
        }
    
        @Override
        public boolean execute(Player player, List<String> parts) {
            if(!super.execute(player, parts)) {
                return false;
            }
    
            if(parts.size() >= 2) {
                int x = Integer.parseInt(parts.get(0));
                int y = Integer.parseInt(parts.get(1));
                int z = (parts.size() == 3) ? Integer.parseInt(parts.get(2)) : 0;
    
                player.moveTo(new Position(x, y, z));
            }
    
            return true;
        }
    
        @Name("To")
        @StaffOnly
        private class To extends Command {
    
            @Override
            public boolean execute(Player player, List<String> parts) {
                if(!super.execute(player, parts)) {
                    return false;
                }
    
                Optional<Player> target = World.getPlayerByName(parts.get(0));
                target.ifPresent(executor -> executor.moveTo(target.get().getPosition()));
    
                return true;
            }
        }
    
        @Name("ToMe")
        @StaffOnly
        private class ToMe extends Command {
    
            @Override
            public boolean execute(Player player, List<String> parts) {
                if(!super.execute(player, parts)) {
                    return false;
                }
    
                Optional<Player> target = World.getPlayerByName(parts.get(0));
                target.ifPresent(executor -> target.get().moveTo(executor.getPosition()));
    
                return true;
            }
        }
    }

    Basic Plugin Example:
    Spoiler for Code:
    Code:
    public class TestPlugin extends Plugin {
    
        public TestPlugin(PluginWrapper wrapper) {
            super(wrapper);
        }
    
        @Override
        public void start() throws PluginException {
            System.out.println("Starting test-plugin!");
        }
    
        @Override
        public void stop() throws PluginException {
            System.out.println("Stopping test-plugin!");
        }
    
        @Override
        public void delete() throws PluginException {
            System.out.println("Deleting test-plugin!");
        }
    
        @Extension
        public static class PlayerUseItemEventListener implements PlayerUseItemEvent {
    
            @Override
            public boolean onFirstAction() {
                System.out.println("Testing stuff and stuff etc and so or something.");
                return true;
            }
        }
    }
    Yes, it is possible to split this up into multiple classes. Whether or not this is the best way to do plugins,
    is debatable, but sure as hell better than stuffing everything inside the server core itself.

    I might end up changing this at a later point, and I might not. Certain things are probably better(/more convenient)
    when scripted.





    What does our website offer, and what does it look like?

    Spoiler for Content:
    Media:
    Spoiler for Media:

    Spoiler for Start of a design:


    Features:
    Spoiler for Features:
    Coming soon...

    Updates:
    Spoiler for Updates:

    Spoiler for 7th of June - 2019:
    I put together a design concept, it's not done (obviously). Not sure I will keep the colors (exactly) like this,
    but this servers as the general idea of what to expect from the site.


    Technical:
    Spoiler for Technical:

    Endpoint & Object Example:
    I've worked out a framework in PHP to make web APIs for our services.
    This is basically showing a basic example of how it works.
    Spoiler for Code - Object Mapping:
    Code:
    class Group extends ObjectBase {
    
        protected $table = 'group';
    
        /**
         * Define the table structure in an array with key being column name and value being data type.
         *
         * @return array
         */
        public function data() {
            return [
                'id' => DataTypes::INTEGER,
                'name' => DataTypes::STRING,
                'description' => DataTypes::STRING,
                'inherit' => DataTypes::JSON,
                'roleId'  => DataTypes::STRING
            ];
        }
    }
    This is how I map the objects. Yes I have also added the possibility to add custom methods etc.
    I might show a more complex example later.
    Code:
    class Groups extends Endpoint {
        protected $object = 'NozCore\Objects\Users\Group';
    }
    This is the endpoint class. Very simple. ([Only registered and activated users can see links. ] (don't mind the "Exorth" in the URL...))

    With this basic setup, I can send requests to update, delete or create data in each of these endpoints.
    Meaning for basic endpoints like this example, it's quite fast to setup a fully functional endpoint.

    However, when it comes to more complex endpoints, like the user login/registration, it's possible to override or hook the base classes.
    I might show examples of this later on, but for now, I'll only show this.




    Credits:
    Who What
    Professor Oak Providing his Elvarg base (client & server)
    RSPSi Making (& selling) his map editor
    Me (Nozemi) Just about everything else
    Last edited by Nozemi; 06-07-2019 at 10:54 PM. Reason: Added some website media
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Diligence pays off.

    Venn's Avatar
    Join Date
    Nov 2012
    Age
    20
    Posts
    228
    Thanks given
    186
    Thanks received
    55
    Rep Power
    88
    Best of luck! Looking forward to some updates.
    Quote Originally Posted by Therandomkid View Post
    if you wanna hate just remember i fucked your mom
    Reply With Quote  
     

  4. #3  
    Registered Member _Triage's Avatar
    Join Date
    Sep 2017
    Posts
    82
    Thanks given
    46
    Thanks received
    27
    Rep Power
    41
    Best of luck with this.
    Reply With Quote  
     

  5. #4  
    Registered Member Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    177
    Thanks given
    27
    Thanks received
    26
    Rep Power
    32
    Quote Originally Posted by Venn View Post
    Best of luck! Looking forward to some updates.
    Looking forward to show some updates as well! My real life situation is pretty busy, but I get off work for a month of vacation in about a month.
    Things could start happening at any time now

    Quote Originally Posted by _Triage View Post
    Best of luck with this.
    Thanks!
    Reply With Quote  
     

  6. #5  
    COMMING SOON

    Fluxious's Avatar
    Join Date
    Jan 2019
    Posts
    93
    Thanks given
    20
    Thanks received
    26
    Rep Power
    87
    Goodluck on your project
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Registered Member

    Join Date
    Jun 2016
    Posts
    329
    Thanks given
    128
    Thanks received
    79
    Rep Power
    120
    Good luck!
    Reply With Quote  
     

  9. Thankful user:


  10. #7  
    Registered Member rabea's Avatar
    Join Date
    Mar 2018
    Posts
    277
    Thanks given
    19
    Thanks received
    41
    Rep Power
    42
    Best of luck
    Reply With Quote  
     

  11. Thankful user:


  12. #8  
    Donator
    snurf's Avatar
    Join Date
    Oct 2015
    Posts
    437
    Thanks given
    41
    Thanks received
    60
    Rep Power
    56
    Best of luck
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  13. Thankful user:


  14. #9  


    Wayne's Avatar
    Join Date
    Jan 2012
    Posts
    103
    Thanks given
    4
    Thanks received
    48
    Rep Power
    257
    Looking forward to this!
    Reply With Quote  
     

  15. #10  
    Registered Member Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    177
    Thanks given
    27
    Thanks received
    26
    Rep Power
    32
    Quote Originally Posted by Wayne View Post
    Looking forward to this!
    That makes two of us!
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 05-05-2017, 05:48 PM
  2. 530 Loading OSRS Data
    By Proto in forum Buying
    Replies: 6
    Last Post: 02-17-2016, 05:57 PM
  3. Loading OSRS Data
    By Chief Sosa in forum Help
    Replies: 5
    Last Post: 10-24-2015, 06:51 AM
  4. Replies: 30
    Last Post: 07-18-2015, 04:24 PM
  5. Loading OSRS data
    By Lennard in forum Show-off
    Replies: 6
    Last Post: 03-22-2015, 01:20 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •