[DEV] Holograph Emulator - Total Database Pooling

 
Page 1 of 82 1234567891151 ... LastLast
Results 1 to 15 of 1216
  1. #1
    Legacy Experience Cecer is offline
    True MemberRank
    Aug 2006 Join Date
    EnglandLocation
    742Posts
    316Likes (Received)

    [DEV] Holograph Emulator - Total Database Pooling

    http://img125.imageshack.us/img125/2048/holologoum7.gif
    Holograph Emulator - Total Database Pooling
    Help Thread

    So, you may be wondering what DB Pooling is OR if you already do why is it diffrent from MYCHEMICALSELF's.
    Let me start by saying a little about MYCHEMICALSELF's...
    MYCHEMICALSELF's source opens and closes a connection every time it does a query, that can be over 100 open and closes per second, which can lead to crashing of MySQL knocking out the CMS aswell.

    Now mine:
    My DB Pooling puts mutliple querys into one query and mutliple querys into one connection.
    It uses a connection based off Nillus's Woodpecker which is being used for the offical RageZONE retro.
    This will cut down the load on the MySQL server and SHOULD speed up the game.

    Now it does have bugs (after all I rewrote a huge amount of code) so I will need debug hotels to help.
    If you are intrested in helping fix bugs in this source and have Database errors alot please send me a PM in this format:
    Hotel Name:
    Average Users at one time:
    C# Experience:
    How frequently does your database crash:
    Here is a list of the current testing hotels:
    Code:
    Test hotels to find: 1
    
    Test Hotel 1: Habbz Hotel 
    Test Hotel 2: Nabbo Hotel 
    Test Hotel 3: Habbo Hotel
    Test Hotel 4: Yuraka Hotel
    Test Hotel 5: -
    If your hotel is accepted you will be sent a link to the latest server (Which will be updated) and you will be told some important details on reporting errors

    Once I feel the server is stable enough to be released it will be.


    Have I forgot anything... don't think so (I am writing this for the second time )

    Thanks, I will keep you updated!

    Latest news 06-11-2008:
    Will be released very shortly (For public testing purposes)

    The above is old as I do not require test hotels anymore.

    Public Release

    Space: Home | Holograph Emulator - Total Database Pooling Space | Assembla
    SVN: HoloPooling - Revision 15: /

    You will need MySQL Connector Net to run. The source was built for 5.2.3 how ever it should run later versions.
    MySQL :: Download Connector/Net
    Go there and download the Windows Binaries and install :)

    When you run it I recommend you go in Core.cs and edit:
    PHP Code:
    public static string serverVersion "Pooling Server Version 1.500 (DB Pooling test)"
    to something more suited to your hotel like so:
    PHP Code:
    public static string serverVersion "Habbz Hotel Version 1.701"
    I have not included a .sql file as it is not needed.

    I removed the Pooling in the connection string as it would leak them for some reason.
    You will also find that all database connection definitions have a number, this is not needed it was used for testing.

    I also added a half working crappy bed lay fix (I was bored).

    Enjoy, once this is stable enough I will work on a R25 source.
    Last edited by Cecer; 17-06-11 at 02:56 AM.

  2. #2
    Account Inactive !Kevin! is offline
    InactiveRank
    Dec 2008 Join Date
    544Posts
    4Likes (Received)
    Released:
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	error.JPG 
Views:	1367 
Size:	114.1 KB 
ID:	62678   Click image for larger version. 

Name:	work_moddlight.PNG 
Views:	1217 
Size:	44.3 KB 
ID:	63298   Click image for larger version. 

Name:	cecererror.jpg 
Views:	767 
Size:	7.5 KB 
ID:	63978   Click image for larger version. 

Name:	Argumentexception.png 
Views:	538 
Size:	13.9 KB 
ID:	65382   Click image for larger version. 

Name:	error.png 
Views:	456 
Size:	7.7 KB 
ID:	65988  

    Click image for larger version. 

Name:	ytujytu.JPG 
Views:	621 
Size:	47.5 KB 
ID:	65996   Click image for larger version. 

Name:	bug.png 
Views:	469 
Size:	45.7 KB 
ID:	66046  
    Attached Files Attached Files
    Last edited by Brandon; 18-02-09 at 07:43 AM.

  3. #3
    Custom title enabled Brandon is offline
    Aug 2006 Join Date
    Florida - U.S.ALocation
    1,187Posts
    2Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    This thread has been...cleansed from all impurities (questions). Cecer1, everyone else, please see this thread before posting or infractions will have to be given out unfortunately.

    Thank you for your time.
    Brandon

  4. 18-02-09


  5. 18-02-09


  6. #4
    Legacy Experience Cecer is offline
    True MemberRank
    Aug 2006 Join Date
    EnglandLocation
    742Posts
    316Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    This is the latest and most stable source released.

    http://www.assembla.com/spaces/TDbP_caching_edition/trac_subversion_tool



    EDIT: This is now outdated. Please use the old SVN Link (I uploaded this to it)
    Last edited by Cecer; 15-03-09 at 06:04 PM.

  7. #5
    Account Inactive succeded is offline
    InactiveRank
    Nov 2008 Join Date
    Nova's DBLocation
    201Posts
    0Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    Quote Originally Posted by cecer1 View Post
    This is the latest and most stable source released.

    http://www.assembla.com/spaces/TDbP_...ubversion_tool
    Long time you dont appear around the thread cecer.. and yes that's Dissi's latest SVN

  8. #6
    Account Inactive Jakeyy is offline
    InactiveRank
    Aug 2008 Join Date
    United KingdomLocation
    558Posts
    17Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    This thread had a lot of useful information in it. and thanks chris.

  9. 18-02-09


  10. #7
    8-bit Bitch Slapper Alpha Ducky is offline
    Alpha MaleRank
    Mar 2007 Join Date
    In My HouseLocation
    2,616Posts
    277Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    Actually, he is doing his job.
    I would like to thank him, but there was useful info on here.

    Cecer, are you going to develop on this anymore?

  11. #8
    C++ WoW Scripter NitroHabbz is offline
    True MemberRank
    Mar 2008 Join Date
    551Posts
    5Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    Quote Originally Posted by rickymenier View Post
    Actually, he is doing his job.
    I would like to thank him, but there was useful info on here.

    Cecer, are you going to develop on this anymore?
    He quit a while ago.

    Help Thread Link

    http://forum.ragezone.com/f333/dev-h...ooling-541185/
    Last edited by NitroHabbz; 18-02-09 at 12:08 PM.

  12. #9
    retired Andrew is offline
    True MemberRank
    Jun 2008 Join Date
    New ZealandLocation
    986Posts
    56Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    Wow - Brandon - I dont think you should just completly delete every svn code snippet from the thread. This is really bad..

  13. #10
    Account Inactive qwertynoob is offline
    InactiveRank
    Jul 2007 Join Date
    57Posts
    0Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    System.NullReferenceException: Object reference not set to an instance of an object.
    at Holo.Managers.rankManager.fuseRights(Byte rankID, Int32 userID)
    at Holo.Virtual.Users.virtualUser.processPacket(String currentPacket)
    at Holo.Virtual.Users.virtualUser.dataArrival(IAsyncResult iAr)

    Ion.Storage.DatabaseException: Failed to open connection for database client 6, exception message: Unable to connect to any of the specified MySQL hosts.
    at Ion.Storage.DatabaseClient.Connect()
    at Ion.Storage.DatabaseManager.GetClient()
    at Holo.Virtual.Users.virtualUser.refreshHand(String Mode)
    at Holo.Virtual.Users.virtualUser.processPacket(String currentPacket)
    at Holo.Virtual.Users.virtualUser.dataArrival(IAsyncResult iAr)
    HOw we can FIX this!!!?

  14. #11
    HOLO and JASE pwn all werpo is offline
    True MemberRank
    Jan 2007 Join Date
    HahaLocation
    339Posts
    7Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    Brandon, I know you're doing your job.. but in this thread there was very usefull code, informations and svn link :s

  15. #12
    Account Inactive Halo is offline
    InactiveRank
    Oct 2007 Join Date
    USALocation
    644Posts
    0Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    I don't get it, what is Total Database Pooling anyways?

  16. #13
    RaGEZONE VETERAN TomSpit is offline
    Alpha MaleRank
    Aug 2007 Join Date
    United KingdomLocation
    1,491Posts
    54Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    Quote Originally Posted by Halo View Post
    I don't get it, what is Total Database Pooling anyways?
    It uses a different way to connect to the database. Instead of being connected all the time, it connected and disconnects from the mySQL database, hopefully making the load of the DB much less.
    "Retired" from RaGEZONE.
    Ex SpitsWorld / Swrld administrator.


  17. #14
    Account Inactive Pixalz is offline
    InactiveRank
    Nov 2008 Join Date
    NetherlandLocation
    58Posts
    0Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    Look how good Dissi's source is working:

    http://i40.tinypic.com/14nz1hc.jpg

    @ 300 online

  18. #15
    RaGEZONE VETERAN TomSpit is offline
    Alpha MaleRank
    Aug 2007 Join Date
    United KingdomLocation
    1,491Posts
    54Likes (Received)

    Re: [DEV] Holograph Emulator - Total Database Pooling

    What's you hotel url?
    "Retired" from RaGEZONE.
    Ex SpitsWorld / Swrld administrator.


 

Page 1 of 82 1234567891151 ... LastLast

Quick Reply Quick Reply

Rich Text Editor

Thread Information

Users Browsing this Thread

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

  1.  Quackster