Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 02:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



MySQL wrapper used in Albetros/Impulse

Discussion on MySQL wrapper used in Albetros/Impulse within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
.Xori^'s Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
MySQL wrapper used in Albetros/Impulse

Hey there, this is a question for Pro4never / Impulse.

I'd like to use the MySQL wrapper used in Albetros/Impulse and implement it in my source (with you guys credits ofcourse). It's easy to use when pulling data from a database compared to how I have it setup now (1 huge SQL line lol).

I referenced the MySqlHandler.dll, Could you explain how to open a connection that will pair with the dll? I tried the same method used to connect with MySql.Data.dll but it doesn't seem to work.

Much appreciated!
.Xori^ is offline  
Old 03/30/2013, 21:03   #2
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Pretty sure Albetros uses NHibernate which requires some more than just a dll. You need a few xml files etc. as well if I am correct.

Also make sure your MySQL is Innodb.
Super Aids is offline  
Old 03/30/2013, 21:04   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,381
The original wrapper I used in Albetros that was created by Impulse is not something I'd strongly recommend using.

I had nothing but problems with it and found there were much better options out there.

That's why we moved towards using Nhibernate which worked fantastically well and opened up a TON of options for server development.

It's a bit of a learning hurdle to use but it's really quite easy once you get it all configured and you know what's involved.
pro4never is offline  
Old 03/31/2013, 09:16   #4
 
.Xori^'s Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
Quote:
Originally Posted by pro4never View Post
The original wrapper I used in Albetros that was created by Impulse is not something I'd strongly recommend using.

I had nothing but problems with it and found there were much better options out there.

That's why we moved towards using Nhibernate which worked fantastically well and opened up a TON of options for server development.

It's a bit of a learning hurdle to use but it's really quite easy once you get it all configured and you know what's involved.
Thanks again Pro, I managed to get the wrapper working with a little bit of research and breakpointing the config/loading etc. Works perfectly, added a couple personal modifications to fit my needs. But again thanks! Don't know where I'd be right now without you and Fangs resources.
.Xori^ is offline  
Reply


Similar Threads Similar Threads
[Release] Fixed MySql Wrapper
09/22/2013 - CO2 PServer Guides & Releases - 11 Replies
Hey everyone. This was a request from a close friend of mine who's having issues with his mysql wrapper from Impulse's source. MySql tables, columns, and values can have spaces... so here's a wrapper that fixes any issues that you might have with spaces (note: the structure was coded by Impulse, all I did was fix it): public class MySqlCommand { private MySqlCommandType _type;
[Help]Albetros MYSQL execute errors
12/22/2012 - CO2 Private Server - 11 Replies
I have some errors on that source can some1 help me please? 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'skip,1; END ; -- ---------------------------- -- Procedure structure for' at line 5 INSERT INTO spellinfo VALUES ('10359', '30010', 'IceBolt', '0036', '0', '0', '0', '0004', '0000', '0000', '120', '0000', '0100', '0000', '0008', '0020', '0000', '0000', '0', '0000', '0', '0000',...



All times are GMT +1. The time now is 02:40.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.