Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 08:39

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

Advertisement



[Release] Albetros Custom Source (Latest Hellmouth)

Discussion on [Release] Albetros Custom Source (Latest Hellmouth) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
[Release] Albetros Custom Source (Latest Hellmouth)

THIS SOURCE IS FOR CLIENT VERSION 5518

Why I feel this is a good 'starter' source


Official FAQ for this Source!



I've mentioned the possibility of me releasing this for a while. I'm not going to provide much support and I KNOW how few people will take the time to figure out how to set this up so at least it will give me some fun reasons to check into the forum a bit more often the next week or two ahaaha.

This is the source that we wrote for the last version of hellmouth. There's nothing fatally wrong with it (unlike the old hellmouth source I released) and it has FAR more features.

Everyone seems a bit addicted to the leaked trinity sources so I won't bother trying to talk you out of using those instead if all you care about is half finished features.

Warning: We were experimenting with some new ideas and as such this will be FAR from efficient as it once was.. For example, I started to over use the DelayedAction system because it's delightfully simple to use... but it's all based on timers soooo that could be an issue if you continue to abuse that style of coding.


MAJOR WARNING: One of the main issues I had with running this as a live source was the issue with System.Random. I wrote a stupidly inefficient system onto the source which uses a variable numbers of randomly initialized random generators which are cycled through... This is pointless and dumb but I was trying LOTS of fixes. I'm not going to change it for this release. It's simple to alter and the REAL solution would be writing a threadsafe wrapper ontop of the system.random. Then there's no reason to be doing stupidly inefficient stuff like there is in the source right now.

UPDATED INSTRUCTIONS FOR SIMPLE INSTAL!

I've written a simple tool to create configuration files for you. People were getting confused as to how they find machine name and stuff. This does that all for you!

.


Step 1:
Download the source:

NEW VERSION 1.1
Original Release:

Step 2:
Download full version of mysql from here:

NOTE: YOU MUST BE USING A FULL SQL INSTAL, REDISTRIBUTIONS SUCH AS XAMPP DO NOT WORK WITH THIS SOURCE

Step 3:
Download Navicat (not required if you prefer other sql management tools) from here:

Step 4:
Download a 5517 Client.
Official TQ Version


Download our patches. Place them inside your conquer 5517 instal and run them in order (1001, 1002, 1003).


Note: you may wish to run the conquerloader vs our play.exe. I will no longer be hosting our patches as of FEB 2012

Step 5:
Extract the source you downloaded anywhere you wish

Step 6:
Create a new database and execute the database backup from the source (inside the /sql/ folder). Easiest to do with navicat but doesn't matter.

NOTE: By default you would be using localhost, username root, password set during sql install.

Step 7:
Open the configuration tool in the main Albetros folder. Run it and enter valid information. Make sure it says configs were created successfully.

Step 8: Create an account in the database. Simply enter a username/password in the accounts field in the database.

Note: To be gm, set permission field to 5

Step 9:
Run the login and game servers from the respective folders (feel free to make shortcuts to simplify the process in the future)

Step 10:
Configure the client to connect to your server by opening LoaderSet.ini in the client folder and changing the IP to your hamachi/external IP (I strongly recommend using hamachi for setting up the source. It rules out the possibility of you not having port forwarded properly. You CANNOT USE 127.0.0.1! THAT WILL CRASH THE CLIENT!)

Step 11:
Login! Note: there's quite a bit to be worked on in the source still. It's not a download/run type station but this will let people at least figure out wtf is going on.

Some Common Commands



NOTE: This also includes our IRC chat bot which allows communication between website and game. This is active based on machine name also (so when testing it won't spam the irc with logins. Only when you host in on your live server).

If you want to leave this disabled then simply don't change it in the source. If you DO want to use it then just search for...

Code:
#region IrcBot init

Someone requested what features it has.. honestly I don't remember but I'll point out some of the main ones..

Finished Features/Nearly Finished Features

Arena: Works but I never bothered tweaking it or testing it so I KNOW it has some bugs
Monsters/Bosses: Including exp, drops, respawns, etc. NOTE: bosses are based on ARROW damage. This is to provide class balance. The only way to tank them is good boots
Refinery/Souls: Bonuses, costs, expiration in time.
Server/Website IRC interaction: If configured you can talk between website and game via irc
Guild War/Capture the Flag/Freeze War/Infection pvp matches: Freeze and infection are fb/ss skill fights
Guilds: Member list, donations, ally/enemy. Needs some npc options for transferring and such.
Server Side Anti Aimbot: VERY effective unless people are smart about how they aimbot.
Pvp Duelist (fb clone to fight yourself)
REAL exp ball system (it's exactly how tq does it therefor the calculations are 100 percent flawless)

Things PURPOSELY not added/removed.

Item downgrading (calculation is all in there. Feel free to code it)
Purification: You cannot make souls/refinery permanent)
Toxic Fog: Code it if you want.
Fan/Tower
Steeds (just removed what ones were available)
Shopping Mall (We are using an edited shop, feel free to change it)


File Link



Some pictures

pro4never is offline  
Thanks
108 Users
Old 11/30/2011, 02:54   #2
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
HOW I MAKE LOGIN?
Arco. is offline  
Old 11/30/2011, 03:00   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
Quote:
Originally Posted by Arco. View Post
HOW I MAKE LOGIN?
Easy, bend over ^^
pro4never is offline  
Thanks
17 Users
Old 11/30/2011, 04:16   #4
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
Quote:
Originally Posted by pro4never View Post
Easy, bend over ^^
I like where this is going
Arco. is offline  
Thanks
3 Users
Old 11/30/2011, 06:31   #5
 
-Sensei-'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
waka waka eh eh . ty
-Sensei- is offline  
Thanks
1 User
Old 11/30/2011, 06:46   #6
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Good ty man
thesamuraivega is offline  
Old 11/30/2011, 11:15   #7
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
I need patch 5520+ bliz man you best thank you Mr. PrO4NeVer
BaussHacker is offline  
Thanks
1 User
Old 11/30/2011, 20:27   #8
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
nice work as always pro ;] +K

if you want any other sort of random system... use tq one:

Code:
        static long RandSeed = 3721;
        public static int Get(int nMax, bool bReset)
        {
            if (bReset)
                RandSeed = 3721;

            long x = 0xffffffff;
            double i;
            long final;

            RandSeed *= ((long)134775813);
            RandSeed += 1;
            RandSeed = RandSeed % x;
            i = ((double)RandSeed) / (double)0xffffffff;
            final = (long)(nMax * i);
            return (int)final;
        }
work perfectly ^^
12tails is offline  
Old 11/30/2011, 20:58   #9

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Mind telling which MySQL version you have?
Code:
-- ----------------------------
-- Procedure structure for `GetNobilityDonation`
-- ----------------------------
DROP PROCEDURE IF EXISTS `GetNobilityDonation`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetNobilityDonation`(IN rank INT)
BEGIN
		DECLARE skip INT DEFAULT 0;
		SET skip = rank - 1;
		SELECT value FROM dyna_rank_rec ORDER BY value DESC LIMIT skip,1;
	END
;;
DELIMITER ;
Code:
-- ----------------------------
-- Procedure structure for `GetNobilityPage`
-- ----------------------------
DROP PROCEDURE IF EXISTS `GetNobilityPage`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetNobilityPage`(IN page INT, IN pageCount INT)
BEGIN
		DECLARE skip INT DEFAULT 0;
		SET skip = page * pageCount;
		SELECT * FROM dyna_rank_rec ORDER BY value DESC LIMIT skip,pageCount;
	END
;;
DELIMITER ;
That is throwing syntax errors near skip,1 and skip,pageCount

//edit As temporary fix I just used 0,1 and 0,pageCount until a proper answer appears.
//edit
Code:
-- ----------------------------
-- Procedure structure for `GetUserFriend`
-- ----------------------------
DROP PROCEDURE IF EXISTS `GetUserFriend`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetUserFriend`(IN ownerId INT unsigned, IN count INT)
BEGIN
		SELECT * FROM friend WHERE userid=ownerId LIMIT count;
	END
;;
DELIMITER ;
This throws a syntax error near count;
Kiyono is offline  
Old 11/30/2011, 22:10   #10
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
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' at line 5
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `GetNobilityDonation`(IN rank INT)
BEGIN
DECLARE skip INT DEFAULT 0;
SET skip = rank - 1;
SELECT value FROM dyna_rank_rec ORDER BY value DESC LIMIT skip,1;
END
;
[Msg] Finished - Unsuccessfully
Any reasons ? this happens at the end, in the like last 5 pct or something.
diedwarrior is offline  
Old 11/30/2011, 22:21   #11

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Not exactly sure why but you're missing a line in your config, it tries to add the Game.IP value to the config but it's simply not there.
I added this line String:Game.IP = 192.168.1.150 and it seemed to work.
Kiyono is offline  
Old 11/30/2011, 22:26   #12
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
I cant even get the sql to work, oh gosh i'm so dumb.
diedwarrior is offline  
Old 11/30/2011, 22:28   #13

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
I also noticed that Iesi.Collections.* tends to disappear when you build/debug.
Kiyono is offline  
Old 11/30/2011, 22:33   #14
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Does this need an einstein to run it or wut lmao.
diedwarrior is offline  
Old 11/30/2011, 22:34   #15

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Ok, got logged in, changing the debug folder to something else seemed to solve the mysterious Iesi.Collections.* disappearance problem.
Kiyono is offline  
Closed Thread


Similar Threads Similar Threads
[Release] Custom Source - HepX_CO
08/05/2013 - CO2 PServer Guides & Releases - 50 Replies
This is my first open-source Conquer Online 2.0 emulator. I will keep this updated, and post an message every time I post a new version. Server Details Name: HepX GameServer Game: Conquer Online 2.0 Patch: 5165 Server Version: 0.1 How to set this up:
[Release]Edited Reg Page for Hellmouth source
04/09/2012 - CO2 PServer Guides & Releases - 12 Replies
I maked this edit for who dont liked that other posted originally by thesamuraivega here http://www.elitepvpers.com/forum/co2-pserver-guides -releases/1101534-exclusive-registration-page-hell mouthco-5355-a.html ... i also maked the main page .html just change the extension to .php it will be fine xP if dont i dont know what is the **** problem of your shit PC :mad: and there are an copy from original index.php, so download it from here: MEGAUPLOAD - The leading online storage and file...
[Release] Custom Project NewFuture (Latest Path)
08/26/2011 - CO2 PServer Guides & Releases - 41 Replies
Yo! Answering First Questions: - It's just the beginning of the project so yeah... very basic; - Currently some features added, but for now you can walk/jump/ load items and some other basic things(Very basic... started the project like 3 days ago); - Yeah it's for the current patch (5522 if not wrong), to login just download/install TQ client, update it and use the loader released here; - It's not MySql, I'm open to opinions (That doesn't mean ask me to DO it mysql or any other database...
Should I release a 5180 source base(Custom)?
10/30/2010 - CO2 Private Server - 20 Replies
Well? I made this totally bymyself and is far from finished. I shall only be adding login and I doubt I'll add NPC's, Portals, Maps, Jumping etc... This will just be a MySQL non biniary 5180 source. This will only contain a modified version of Impulses socket system and MySQL wrapper. Why? Because why not use the resources that are already there. I am unsure of the packet structure as for now.



All times are GMT +1. The time now is 08:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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