Welcome to the RaGEZONE - MMORPG development forums.

RevolutionX [V26/Plugin/RP]

This is a discussion on RevolutionX [V26/Plugin/RP] within the Habbo Releases forums, part of the Habbo Hotel category; What is RevolutionX? RevolutionX is a plugin made for Xoa to handle it querys better for it's RP fields and ...

LyncusMU
Results 1 to 9 of 9
  1. #1
    TopHabbo.com Best Topsite
    Rank
    Alpha Member
    Join Date
    Oct 2007
    Posts
    2,423
    Liked
    497

    RevolutionX [V26/Plugin/RP]

    Tabo Hotel
    What is RevolutionX?
    RevolutionX is a plugin made for Xoa to handle it querys better for it's RP fields and tables.

    What does RevoultionX stand for?
    RevolutionX stands for RevolutionXoa.

    Contents of the RevoltionX folder?
    DataCacher Folder, Contains Cacher.cs
    DataRouter Folder, Contains Router.cs
    SessionRouter Folder, Contains SessionRouter.cs


    How to instal?
    Add the RevolutionX folder to Source folder of your Xoa emu.
    Replace your current virtualUser with the modified one.
    Open up Visual Studio, include the RevolutionX folder by right Clicking it and Selecting "Include in Project"
    And then Debug! And you done and ready to go!

    What did i code this?
    I did because i was sick of seeing people making rp's and not being able to reach 20 users without the server crashing.

    How long did it take?
    It only took half an hour. It is not complete but it does the job perfect.

    Example of the plugin doing the Reset data in the pre-login

    Code:
    SessionRouter.CachedComposer().ComposeCachedSession().ComposeStableResetData(userID);
    TODO:
    Add more feature for plugin.
    Recode the One way gates using Plugin.
    Code the Room entry badges using the Plugin.

    This product currently is not noob-friendly.

    Download: RevoultionPlugins.rar

    Stay on topic. Don't flame. Don't ask for help on anything besides this Plugin.

    Happy Holidays. Merry Christmas.

    A like would be much appreciated.

    Cheers,
    Zak

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    Iron like Lion in Zion!
    Rank
    Moderator
    Join Date
    Apr 2010
    Location
    Nassau, Bahamas
    Posts
    2,571
    Liked
    573

    Re: RevolutionX [V26/Plugin/RP]

    Merry Christmas to you to.
    And nice Christmas present for RP Boons.
    Zak© likes this.

  4. #3
    MEHHREKHwhgfkehrkgthregir
    Rank
    Member +
    Join Date
    Sep 2011
    Location
    υηιтє∂
    Posts
    927
    Liked
    305

    Re: RevolutionX [V26/Plugin/RP]

    Nice release Zak :D
    Zak© likes this.

  5. #4
    TopHabbo.com Best Topsite
    Rank
    Alpha Member
    Join Date
    Oct 2007
    Posts
    2,423
    Liked
    497

    Re: RevolutionX [V26/Plugin/RP]

    Cheers guys.

    And yeah Tren it's nice to them Roleplay lovin boons.

  6. #5
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    Re: RevolutionX [V26/Plugin/RP]

    Merry xmas, and thanks for this release. Seems good!

  7. #6
    Every Little Thing<3
    Rank
    Member +
    Join Date
    Nov 2011
    Location
    Philippines
    Posts
    378
    Liked
    30

    Re: RevolutionX [V26/Plugin/RP]

    Useful for those people who might use this
    nice release

  8. #7
    TopHabbo.com Best Topsite
    Rank
    Alpha Member
    Join Date
    Oct 2007
    Posts
    2,423
    Liked
    497

    Re: RevolutionX [V26/Plugin/RP]

    Started on a CacheBuilder which has the CacheAppend method.

    Example of it.

    CachedAppend(userID,"Column Name", Int Value);

    Give's the definition to the variable.

  9. #8
    Custom User Title
    Rank
    Alpha Member
    Join Date
    Jun 2010
    Location
    地下鉄
    Posts
    2,515
    Liked
    392

    Re: RevolutionX [V26/Plugin/RP]

    Cool release, I only know of 4 RP's that still exist though

  10. #9
    TopHabbo.com Best Topsite
    Rank
    Alpha Member
    Join Date
    Oct 2007
    Posts
    2,423
    Liked
    497

    Re: RevolutionX [V26/Plugin/RP]

    Yeah not that many RP's around.

    Example of it being used.
    Code:
             case "jailtimer":
                            {
                                int Arrested = SessionRouter.CachedComposer().ComposeCachedBuilder().AppendCache(userID,
                                                                                                                 Arrested,
                                                                                                                 "arrested");
                                if (Arrested == 1 && jailLooper == null)
                                {
                                    var jailStarter = new ThreadStart(jailTime);
                                    jailLooper = new Thread(jailStarter);
                                    jailLooper.Priority = ThreadPriority.Lowest;
                                    jailLooper.Start();
                                }
                                break;
                            }
    Cache Builder v1

    Insert Into Router.cs

    Variable
    Code:
    private Builder _cacheBuilder;
    Method
    Code:
            public Builder ComposeCachedBuilder()
            {
                return _cacheBuilder;
            }
    Builder.cs

    Code:
    namespace Holo.Source.RevoultionPlugins.CacheBuilder
    {
        public class Builder
        {
            /// <summary>
            /// Define A Variable Stabely
            /// </summary>
            /// <param name="sessionId">userID goes here.</param>
            /// <param name="sVariable">Your variables goes here.</param>
            /// <param name="sColumn">The column you want from users table.</param>
            /// <param name="iValue">Value that you wanna set for the column</param>
            public string AppendCache(int sessionId, string sVariable, string sColumn, int iValue)
            {
                //Get Client To Database.
                var dataClient = Eucalypt.dbManager.GetClient();
                //Define dataRow And Get Information From Users Table Using GetRow Method Of The Client And Get The Info Using The User Id.
                var dataRow = dataClient.getRow("SElECT * FROM users WHERE id = '" + sessionId + "'");
    
                // Get Column And Set It's Value
                if (dataRow != null) sVariable = (string) (dataRow[sColumn] = iValue);
    
                return sVariable;
            }
    
            /// <summary>
            /// Get Column
            /// </summary>
            /// <param name="sessionId">userID</param>
            /// <param name="sVariable">Target Variable</param>
            /// <param name="sColumn">Column</param>
            /// <returns></returns>
            public string AppendCache(int sessionId, string sVariable, string sColumn)
            {
                //Get Client To Database.
                var dataClient = Eucalypt.dbManager.GetClient();
                //Define dataRow And Get Information From Users Table Using GetRow Method Of The Client And Get The Info Using The User Id.
                var dataRow = dataClient.getRow("SElECT * FROM users WHERE id = '" + sessionId + "'");
    
                // Get Column And Set It's Value
                if (dataRow != null) sVariable = (string)(dataRow[sColumn]);
    
                return sVariable;
            }
    
            /// <summary>
            /// Define A Variable Stabely
            /// </summary>
            /// <param name="sessionId">userID goes here.</param>
            /// <param name="iVariable">Your variables goes here.</param>
            /// <param name="sColumn">The column you want from users table.</param>
            /// <param name="iValue">Value that you wanna set for the column</param>
            public int AppendCache(int sessionId, int iVariable, string sColumn, int iValue)
            {
                //Get Client To Database.
                var dataClient = Eucalypt.dbManager.GetClient();
                //Define dataRow And Get Information From Users Table Using GetRow Method Of The Client And Get The Info Using The User Id.
                var dataRow = dataClient.getRow("SElECT * FROM users WHERE id = '" + sessionId + "'");
    
                // Get Column And Set It's Value
                if (dataRow != null) iVariable = (int)(dataRow[sColumn] = iValue);
    
                return iVariable;
            }
    
            /// <summary>
            /// Get Column
            /// </summary>
            /// <param name="sessionId">userID</param>
            /// <param name="iVariable">Target Variable</param>
            /// <param name="sColumn">Column</param>
            /// <returns></returns>
            public int AppendCache(int sessionId, int iVariable, string sColumn)
            {
                //Get Client To Database.
                var dataClient = Eucalypt.dbManager.GetClient();
                //Define dataRow And Get Information From Users Table Using GetRow Method Of The Client And Get The Info Using The User Id.
                var dataRow = dataClient.getRow("SElECT * FROM users WHERE id = '" + sessionId + "'");
    
                // Get Column And Set It's Value
                if (dataRow != null) iVariable = (int)(dataRow[sColumn]);
    
                return iVariable;
            }
        }
    }
    This is a great addon RevolutionX plugin as it allows users to make there own features more stable.

    Made in 10 mins lol.

 

 

Posting Permissions

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