Sierra ~ Java // Netty // MySQL // BoneCP // Plugin System (Like Bukkit!)

Page 7 of 103 FirstFirst 1234567891011121314151757 ... LastLast
Results 91 to 105 of 1536
  1. #91
    Developer Quackster is online now
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,474Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Quote Originally Posted by Hejula View Post
    I think it means change version lots and not complete project :P
    You'd wish it did. But it doesn't.



    PS: I prefer the long jagged mountain definition.

    Quote Originally Posted by Al0ne View Post
    hmmm. why do you say something about Wichard when you're doing exactly the same? (change project names)


    EDIT: Goodluck with your projects! i liek your code, but its a shame you dont finish it, same word for wichard ;)
    Don't you ever compare me to Wichard. I'm not the one who left the cms developer. The cms developer left me.

    --

    Also I just would like to say that every single server (I think apart from Thor) released on here has never been completed.

    Quote Originally Posted by Zak© View Post
    Can't judge class, it's just the structure.

    Um does "Sierra"have a meaning? Usually most of your names have a meaning.
    Just saying. I'm not taking any input/constructive criticism from you.
    Last edited by Quackster; 14-03-12 at 09:28 AM.

  2. #92
    Account Upgraded | Title Enabled! Pure is offline
    MemberRank
    May 2008 Join Date
    809Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Quote Originally Posted by Quackster View Post
    You'd wish it did. But it doesn't.



    PS: I prefer the long jagged mountain definition.



    Don't you ever compare me to Wichard. I'm not the one who left the cms developer. The cms developer left me.

    --

    Also I just would like to say that every single server (I think apart from Thor) released on here has never been completed.



    Just saying. I'm not taking any input/constructive criticism from you.
    There are certain servers which have been completed, just not released for instance: Hebbo's server (habbo.rs)

  3. #93
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Upload to GitHub!

  4. #94
    Proficient Member AluxH is offline
    MemberRank
    Mar 2012 Join Date
    184Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Quote Originally Posted by Quackster View Post
    You'd wish it did. But it doesn't.



    PS: I prefer the long jagged mountain definition.
    Sierra Leone - Wikipedia, the free encyclopedia is also a pretty violent, brutal country in Africa

  5. #95
    Valued Member Casly is offline
    MemberRank
    Mar 2012 Join Date
    SwedenLocation
    100Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    just one thing.. i havent seen any updates so far of what you have done... if you prove for us that your going to stick with this then give us some update and make it opensourced

  6. #96
    Account Upgraded | Title Enabled! Ma Ma is offline
    MemberRank
    Jan 2011 Join Date
    home.phpLocation
    580Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Quote Originally Posted by Casly View Post
    just one thing.. i havent seen any updates so far of what you have done... if you prove for us that your going to stick with this then give us some update and make it opensourced
    you have to wait for updates , coding an emulator takes some time and he has a social live 2 ( i think ) so keep that in mind , and if he post to much updates to fast he may be trying to speed up the progress and the outcome of that is bad coding so the answer is just wait

  7. #97
    I don't even know azaidi is offline
    MemberRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: Remedy - C# NET 4.0 - V1 - MySQL

    Quote Originally Posted by Quackster View Post
    (about indigo..)

    So someone who said that will the CMS for Indigo automatically tells me that they will stop, screwing me over. Which means that Indigo wouldn't live up to it's potential it could of had with a mate I thought that was up to the job that he, himself offered. You can't trust anyone this section anymore.

    It just doesn't end up successful as it could of been if everyone knows Indigo has a bad history of the website development part being dropped. Ash made my motivation disappear after he backstabbed me, so how will I gain it if no one offers to help me with it.

    Also my opinion about the 'lastest revision' - screw their opinions over the revision. I can do any revision I choose. It's more of my programming experience.
    I wanna code SierraCMS, but my PHP skills suck

  8. #98
    Developer Quackster is online now
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,474Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Created support for the front page, you'll see the /client as I've already created my own cms for Sierra.



    Some code...

    Code:
            public void ShopPage(GameClient mSession, Request Request)
            {
                Int32 CataloguePageId = Request.PopBitInt32;
    
                Response Response = new Response();
    
                ShopPage CatalogePage = SierraEnvironment.GetHabboHotel().GetShopPages().GetPage(CataloguePageId);
                {
                    if (CatalogePage != null)
                    {
                        switch (CatalogePage.Layout)
                        {
                            case "frontpage3":
                                {
                                    Response.Initialize(ServerComposers.CataloguePage);
                                    Response.AppendInt32(CatalogePage.Id);
                                    Response.AppendString(CatalogePage.Layout);
                                    Response.AppendInt32(3);
                                    Response.AppendString(CatalogePage.Content[0]);
                                    Response.AppendString(CatalogePage.Content[1]);
                                    Response.AppendString("");
                                    Response.AppendInt32(11);
                                    Response.AppendString(CatalogePage.Content[2]);
                                    Response.AppendString(CatalogePage.Content[3]);
                                    Response.AppendString(CatalogePage.Content[4]);
                                    Response.AppendString("How to get Sierra Credits?");
                                    Response.AppendString(new String[] { "You can get Sierra Credits via Prepaid Cards, Home Phone, Credit Card, Mobile, completing offers and more!", "To redeem your Sierra Credits, enter your voucher code below." });
                                    Response.AppendString("Enter your voucher code:");
                                    Response.AppendString("Rares");
                                    Response.AppendString("#FEFEFE");
                                    Response.AppendString("#FEFEFE");
                                    Response.AppendString("Click here for more info..");
                                    Response.AppendString("magic.credits");
                                    Response.AppendInt32(0);
                                    Response.AppendInt32(-1);
                                    mSession.Send(Response);
                                }
                                break;
                        }
                    }
                }
            }
    Quote Originally Posted by Resource View Post
    you have to wait for updates , coding an emulator takes some time and he has a social live 2 ( i think ) so keep that in mind , and if he post to much updates to fast he may be trying to speed up the progress and the outcome of that is bad coding so the answer is just wait
    Exactly I vouch for this for comment! :D


    Quote Originally Posted by azaidi View Post
    I wanna code SierraCMS, but my PHP skills suck
    I have plans to create my own cms for Sierra, thanks for the offer!

    Quote Originally Posted by AWA View Post
    Upload to GitHub!
    Fixed my GitHub account. I haven't uploaded Sierra (because I'm not), but here is the old RemedyV1..

    https://github.com/QuacksterNET/RemedyV1


    Quote Originally Posted by Pure View Post
    There are certain servers which have been completed, just not released for instance: Hebbo's server (habbo.rs)
    Yes. However I was talking about released ones :D

  9. #99
    Account Upgraded | Title Enabled! W00dL3cs is offline
    MemberRank
    Mar 2012 Join Date
    202Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Quote Originally Posted by Quackster View Post
    Created support for the front page, you'll see the /client as I've already created my own cms for Sierra.



    Some code...

    Code:
            public void ShopPage(GameClient mSession, Request Request)
            {
                Int32 CataloguePageId = Request.PopBitInt32;
    
                Response Response = new Response();
    
                ShopPage CatalogePage = SierraEnvironment.GetHabboHotel().GetShopPages().GetPage(CataloguePageId);
                {
                    if (CatalogePage != null)
                    {
                        switch (CatalogePage.Layout)
                        {
                            case "frontpage3":
                                {
                                    Response.Initialize(ServerComposers.CataloguePage);
                                    Response.AppendInt32(CatalogePage.Id);
                                    Response.AppendString(CatalogePage.Layout);
                                    Response.AppendInt32(3);
                                    Response.AppendString(CatalogePage.Content[0]);
                                    Response.AppendString(CatalogePage.Content[1]);
                                    Response.AppendString("");
                                    Response.AppendInt32(11);
                                    Response.AppendString(CatalogePage.Content[2]);
                                    Response.AppendString(CatalogePage.Content[3]);
                                    Response.AppendString(CatalogePage.Content[4]);
                                    Response.AppendString("How to get Sierra Credits?");
                                    Response.AppendString(new String[] { "You can get Sierra Credits via Prepaid Cards, Home Phone, Credit Card, Mobile, completing offers and more!", "To redeem your Sierra Credits, enter your voucher code below." });
                                    Response.AppendString("Enter your voucher code:");
                                    Response.AppendString("Rares");
                                    Response.AppendString("#FEFEFE");
                                    Response.AppendString("#FEFEFE");
                                    Response.AppendString("Click here for more info..");
                                    Response.AppendString("magic.credits");
                                    Response.AppendInt32(0);
                                    Response.AppendInt32(-1);
                                    mSession.Send(Response);
                                }
                                break;
                        }
                    }
                }
            }


    Exactly I vouch for this for comment! :D




    I have plans to create my own cms for Sierra, thanks for the offer!



    Fixed my GitHub account. I haven't uploaded Sierra (because I'm not), but here is the old RemedyV1..

    https://github.com/QuacksterNET/RemedyV1




    Yes. However I was talking about released ones :D
    If you are not going to release this as opensource, then I suggest you to use a layout system for the catalogue pages.

    I'll explain it better:

    If someone wants to have a different frontpage, and he has not access to the source code, then it would be useful to edit it via MySQL.

    In one of my latest projects, I added another column in the catalogue table, and used that for this purpose.

    For example, in some rows there could have been something like that:

    Code:
    {L}[2]{T}[2]{"Page Name"}
    Every single string closed between the parenthesis represents something:
    "L" is the page layout
    "T" is the teaser etc

    It's a sort of serializable string which represents the structure of the page, and you can use to build message (and at the sime time, it can be easily edited)...

    Hope you've understand ;)

    If not, let me know xD

  10. #100
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Here is the real catalog page structure: (I found it in the SWF)

    Code:
                pageId
                LayoutCode
    
                imageCount
                foreach image:
                  image string
    
                textCount
                foreach text:
                  text string
    
                offerCount
                foreach offer
                  offerID
                  localizationId
                  priceInCredits
                  priceInActivityPoints
                  activityPointType
                  + more, cba to add rest
    
                offerId (unknown)

  11. #101
    Developer Quackster is online now
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,474Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    @AWA - I appreciate that Audun.

    Quote Originally Posted by W00dL3cs View Post
    If you are not going to release this as opensource, then I suggest you to use a layout system for the catalogue pages.

    I'll explain it better:

    If someone wants to have a different frontpage, and he has not access to the source code, then it would be useful to edit it via MySQL.

    In one of my latest projects, I added another column in the catalogue table, and used that for this purpose.

    For example, in some rows there could have been something like that:

    Code:
    {L}[2]{T}[2]{"Page Name"}
    Every single string closed between the parenthesis represents something:
    "L" is the page layout
    "T" is the teaser etc

    It's a sort of serializable string which represents the structure of the page, and you can use to build message (and at the sime time, it can be easily edited)...

    Hope you've understand ;)

    If not, let me know xD
    It's called testing.

    And I don't know why you assumed it's closed source. ;o

  12. #102
    Proficient Member Squard is offline
    MemberRank
    Dec 2011 Join Date
    155Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    I thought this was An Oldskool prjct? but nice.

  13. #103
    Web & Interaction Design Gangnam is offline
    MemberRank
    Dec 2010 Join Date
    Lincoln, UKLocation
    1,983Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Oh Alex..

    !

  14. #104
    ส็็็็็็็ Bloodraven is offline
    MemberRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Quote Originally Posted by Quackster View Post
    Created support for the front page, you'll see the /client as I've already created my own cms for Sierra.



    Some code...

    Code:
            public void ShopPage(GameClient mSession, Request Request)
            {
                Int32 CataloguePageId = Request.PopBitInt32;
    
                Response Response = new Response();
    
                ShopPage CatalogePage = SierraEnvironment.GetHabboHotel().GetShopPages().GetPage(CataloguePageId);
                {
                    if (CatalogePage != null)
                    {
                        switch (CatalogePage.Layout)
                        {
                            case "frontpage3":
                                {
                                    Response.Initialize(ServerComposers.CataloguePage);
                                    Response.AppendInt32(CatalogePage.Id);
                                    Response.AppendString(CatalogePage.Layout);
                                    Response.AppendInt32(3);
                                    Response.AppendString(CatalogePage.Content[0]);
                                    Response.AppendString(CatalogePage.Content[1]);
                                    Response.AppendString("");
                                    Response.AppendInt32(11);
                                    Response.AppendString(CatalogePage.Content[2]);
                                    Response.AppendString(CatalogePage.Content[3]);
                                    Response.AppendString(CatalogePage.Content[4]);
                                    Response.AppendString("How to get Sierra Credits?");
                                    Response.AppendString(new String[] { "You can get Sierra Credits via Prepaid Cards, Home Phone, Credit Card, Mobile, completing offers and more!", "To redeem your Sierra Credits, enter your voucher code below." });
                                    Response.AppendString("Enter your voucher code:");
                                    Response.AppendString("Rares");
                                    Response.AppendString("#FEFEFE");
                                    Response.AppendString("#FEFEFE");
                                    Response.AppendString("Click here for more info..");
                                    Response.AppendString("magic.credits");
                                    Response.AppendInt32(0);
                                    Response.AppendInt32(-1);
                                    mSession.Send(Response);
                                }
                                break;
                        }
                    }
                }
            }


    Exactly I vouch for this for comment! :D




    I have plans to create my own cms for Sierra, thanks for the offer!



    Fixed my GitHub account. I haven't uploaded Sierra (because I'm not), but here is the old RemedyV1..

    https://github.com/QuacksterNET/RemedyV1




    Yes. However I was talking about released ones :D
    You don't want to be backstabbed again by an ass.

    Goodluck, this is looking gooooood!

  15. #105
    Demi-god on these 'ere wa DominicGunn is offline
    MemberRank
    Jun 2011 Join Date
    347Posts

    Re: Sierra - [C# - R63 - New Encoding - MySQL]

    Quote Originally Posted by AWA View Post
    Here is the real catalog page structure: (I found it in the SWF)

    Code:
                pageId
                LayoutCode
    
                imageCount
                foreach image:
                  image string
    
                textCount
                foreach text:
                  text string
    
                offerCount
                foreach offer
                  offerID
                  localizationId
                  priceInCredits
                  priceInActivityPoints
                  activityPointType
                  + more, cba to add rest
    
                offerId (unknown)
    Was hoping people would never catch on to be honest

    PHP Code:
    public void cachePageDetails() {

            
    // Loop through all pages
            
    for(CataloguePage page this.m_cataloguePages.values()) {
            
                
    // Init a new msg.
                
    HabboServerPacket sMessage = new HabboServerPacket(HabboResponse.CataloguePageMessageComposer);
            
                
    // Ensure this is a valid page
                
    if(!page.getPageLayout().isEmpty()){
                
                    
    // Basic information
                    
    sMessage.writeInt(page.getPageID());
                    
    sMessage.writeString(page.getPageLayout());
                    
                    
    // New catalogue system attempt..
                    
    sMessage.writeInt(page.getPageHeadings().length);
                    for(
    int x 0page.getPageHeadings().lengthx++) {
                        
    sMessage.writeString(page.getPageHeadings()[x]);
                    }
                    
                    
    sMessage.writeInt(page.getPageBody().length);
                    for(
    int x 0page.getPageBody().lengthx++) {    
                        
    sMessage.writeString(page.getPageBody()[x]);
                    }
                    
                    
    // Grab all articles on the page
                    
    page.setArticles(Cerebro.getCommunication().getCatalogueSQL().getArticlesOnPage(page.getPageID()));
                    
                    
    sMessage.writeInt(page.getArticles().size());
                    for(
    CatalogueArticle article page.getArticles().values()){
                        
    article.serialize(sMessage);
                    }
                    
                    
    sMessage.writeInt(-1); // ends in -1
                    
    this.m_cachedCataloguePages.put(page.getPageID(), sMessage);
                }
            }
        } 
    Last edited by DominicGunn; 16-03-12 at 11:20 PM.



Advertisement