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

Page 36 of 103 FirstFirst ... 2628293031323334353637383940414243444686 ... LastLast
Results 526 to 540 of 1536
  1. #526
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Quote Originally Posted by Zak© View Post
    Well, looks at the pros, is not that bad at all.

    The cons are not that much of a serious issue, since a decent 2gb ram with standard cpu could be able to handle that.

    Slower Boot Up? Well, doesn't matter, your only booting once or twice a day, (Depends what the user is doing)

    But i guess it will be more work for you, porting all them plugins.
    I might do that in future. It isn't a priority at the moment :)

  2. #527
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Fixed my plugin class. Turns out I had to duplicate the ChannelBuffer and create another instance for plugin clientmessage handling.

    Code:
    				Map<MessageType, ClientMessage> Messages = new HashMap<MessageType, ClientMessage>(); 
    				{
    					Messages.put(MessageType.HOTEL_MSG, new ClientMessage(id, msg.duplicate()));
    					Messages.put(MessageType.PLUGIN_MSG, new ClientMessage(id, msg.duplicate()));
    				}

  3. #528
    Valued Member Shynoshy is offline
    MemberRank
    Jun 2007 Join Date
    103Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    For your future commits and push, could you please commit/push just the modified files ? Merging your commit gave me headaches and was very diffucult.

    Thanks ! :)

  4. #529
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Pushed to latest commit the duplication fix.

    Quote Originally Posted by Shynoshy View Post
    For your future commits and push, could you please commit/push just the modified files ? Merging your commit gave me headaches and was very diffucult.

    Thanks ! :)
    I have already merged your fixes :)
    But I had to change my pw since I forgot it and I had to force push which made me loose your commit data. :(

  5. #530
    Valued Member Shynoshy is offline
    MemberRank
    Jun 2007 Join Date
    103Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Yup, but i made some other things i didn't pushed.

    Anyway, i merged your work and i get some IndexOutOfBounds exeception when Netty bind client connection, just after called channelOpen @ ConnectionHandler.java. Debug traces shows that an error made by Netty, but maybe by misconfiguration at launch ?!

    If you don't get this error, maybe it's because i use a newer version of Netty, i'm gonna try with yours.

  6. #531
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Quote Originally Posted by Shynoshy View Post
    Yup, but i made some other things i didn't pushed.

    Anyway, i merged your work and i get some IndexOutOfBounds exeception when Netty bind client connection, just after called channelOpen @ ConnectionHandler.java. Debug traces shows that an error made by Netty, but maybe by misconfiguration at launch ?!

    If you don't get this error, maybe it's because i use a newer version of Netty, i'm gonna try with yours.
    Netty doesn't have a newer version, I use the final version ;3

  7. #532
    Valued Member Shynoshy is offline
    MemberRank
    Jun 2007 Join Date
    103Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Nope, you are using deprecated Netty - the Java NIO Client Server Socket Framework - JBoss Community version which is 3.2.7 Final. But, on this page, we can see that netty was moved and is not part of jboss anymore.

    Netty official site is Netty: Home now and provide 3.5.0 final ;)

    EDIT: Tryed with your version and got same errors. Do you get that errors or that my jdk who plays tricks on me ?

  8. #533
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Quote Originally Posted by Shynoshy View Post
    Nope, you are using deprecated Netty - the Java NIO Client Server Socket Framework - JBoss Community version which is 3.2.7 Final. But, on this page, we can see that netty was moved and is not part of jboss anymore.

    Netty official site is Netty: Home now and provide 3.5.0 final ;)
    I recommened using the JBoss version. As it's stable. :P

  9. #534
    Valued Member ItachiKM is offline
    MemberRank
    Jan 2011 Join Date
    133Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Quote Originally Posted by Quackster View Post
    I recommened using the JBoss version. As it's stable. :P
    Not a jboss version, netty was owned by jboss but is a netty version, now is other netty version that I use on some of my projects and it works properly and don't give me any problem...

  10. #535
    Valued Member Shynoshy is offline
    MemberRank
    Jun 2007 Join Date
    103Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Just found where the problem came from, it's when emulator convert byte[] to int for header decoding. (It's in sierra.network.decode i guess ...).

    Anyway, that's not a real problem, because if the conversion don't work, he just skip the message, but since it's happening only when login, i guess the packets making Exceptions are for SSO Login. Not sure, but i i'll take a look.

    I did some updates on Sierra like :
    - User (proper) disconnection if already connected
    - Catalogue exceptions (quite all of them i guess ?)
    - Inventory errors on wall item
    - Moving wall items
    - Stacking
    - Improved Move/Rotate and add Stacking too
    - Cleaned DB
    - Libs are included and links are relative.
    - Room search with Regex pattern
    - User wave
    - VERY BASIC item activation for default & gates. Anyway - Not going to work on this, looking for a better solution ( like function array ? )
    - Some important exceptions making user crash.
    - Some warning deletion.
    - Lot of various fixes

    Check my repo, if you want me to make some pull request of my work for your repo, just ask ;)
    Last edited by Shynoshy; 22-06-12 at 03:46 AM.

  11. #536
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Quote Originally Posted by Shynoshy View Post
    Just found where the problem came from, it's when emulator convert byte[] to int for header decoding. (It's in sierra.network.decode i guess ...).

    Anyway, that's not a real problem, because if the conversion don't work, he just skip the message, but since it's happening only when login, i guess the packets making Exceptions are for SSO Login. Not sure, but i i'll take a look.

    I did some updates on Sierra like :
    - User (proper) disconnection if already connected
    - Catalogue exceptions (quite all of them i guess ?)
    - Inventory errors on wall item
    - Moving wall items
    - Stacking
    - Improved Move/Rotate and add Stacking too
    - Cleaned DB
    - Libs are included and links are relative.
    - Room search with Regex pattern
    - User wave
    - VERY BASIC item activation for default & gates. Anyway - Not going to work on this, looking for a better solution ( like function array ? )
    - Some important exceptions making user crash.
    - Some warning deletion.
    - Lot of various fixes

    Check my repo, if you want me to make some pull request of my work for your repo, just ask ;)
    To maintain the quality of my emulator. I'm not going to add your fixes.

  12. #537
    Iron like a Lion in Zion! vLife is offline
    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,788Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Well I don't think it will degrade your quality. But I do understand that you would probably want to get things done yourself.

    He seems legitimate.

  13. #538
    Ask me about Daoism FullmetalPride is offline
    MemberRank
    Nov 2010 Join Date
    2,172Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Few Questions:

    A. Where da CMS go? SierraHotel branch ain't working for me.
    B. What kinds of functions need to be coded before Sierra is ready to march?


    Anyways, loving the project, going to use this to help me learn.

  14. #539
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Quote Originally Posted by Quackster View Post
    To maintain the quality of my emulator. I'm not going to add your fixes.
    Everyone needs help once in a while..

  15. #540
    Custom Title Enabled James is offline
    LegendRank
    Jan 2007 Join Date
    DenverLocation
    2,288Posts

    re: Sierra [R63, JAVA, MySQL (JDBC), Netty]

    Yeah seriously, come on Alex, this guy legit seems like he wants to help you :)



Advertisement