Not a member yet? Register for your free account!


Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions > CO2 PServer Guides & Releases
You last visited: Today at 13:33

  • Did you know? elitepvpers has its own image host, epvpimg.com.

 

[Release] Albetros Custom Source (Latest Hellmouth)

This is a discussion on [Release] Albetros Custom Source (Latest Hellmouth) within the CO2 PServer Guides & Releases forum part of the CO2 PServer - Discussions / Questions category; THIS SOURCE IS FOR CLIENT VERSION 5518 Why I feel this is a good 'starter' source Spoiler: Originally Posted by ...

Reply
 
Thread Tools
Old 11-30-2011, 02:40   #1
Sexy Moderator
 
pro4never's Avatar
 
Join Date: Jul 2005
Posts: 6,645
Received Thanks: 3,826
[Release] Albetros Custom Source (Latest Hellmouth)


THIS SOURCE IS FOR CLIENT VERSION 5518

Why I feel this is a good 'starter' source
Spoiler:



Official FAQ for this Source!
Official 5518 Albetros FAQ/Question Thread!


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!

Config tool!.


Step 1:
Download the source:

NEW VERSION 1.1 [Only registered and activated users can see links. ]
Original Release: [Only registered and activated users can see links. ]

Step 2:
Download full version of mysql from here: [Only registered and activated users can see links. ]

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: [Only registered and activated users can see links. ]

Step 4:
Download a 5517 Client.
Official TQ Version
[Only registered and activated users can see links. ]

Download our patches. Place them inside your conquer 5517 instal and run them in order (1001, 1002, 1003).
[Only registered and activated users can see links. ]

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

Spoiler:



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
[Only registered and activated users can see links. ]


Some pictures

Spoiler:
__________________


Last edited by pro4never; 05-26-2012 at 21:01.
pro4never is offline  
Thanks
81 Users
-GeniuS- (12-01-2011), -Sensei- (11-30-2011), 12k (11-30-2011), 12tails (11-30-2011), abdeen (12-13-2011), aeldepaky (12-20-2011), akizz (02-15-2012), AliveVVithoutFeeling (04-01-2013), alphared2009 (12-30-2012), Arthurqwe (12-01-2011), Belth (04-01-2012), bestcheater (10-14-2012), bleak01 (03-02-2012), BottledHate (11-22-2012), bryce16 (12-01-2011), CIRASH (11-24-2012), co-mex (06-01-2012), coreymills (01-11-2012), CriticallyDev (05-09-2012), dark_hack (03-16-2012), dego4ever (11-30-2011), dennissouza (04-15-2012), djneo31 (03-09-2012), dodolinobobo (11-30-2011), elhermanos (01-26-2012), elragal_30 (10-30-2012), elvis1002 (12-19-2011), ewann (05-07-2013), ExTaCy (12-07-2011), F i n c h i (12-06-2011), Galactic (12-12-2011), Gazzayeatman (05-28-2012), geo2073abuse (02-23-2013), GoR0 (12-10-2012), hazemz (07-09-2012), Kataclizam (06-28-2012), Kiyono (12-18-2011), koril (01-10-2012), KraHen (12-06-2011), lazlo (10-09-2012), magnon (09-30-2012), martoon (05-07-2012), mauripan (02-12-2012), mazpaijo (08-06-2012), MegaArcherZGX (12-01-2011), Mehdi~ (05-24-2012), Mr.Hax (03-29-2013), mujake (12-04-2011), NarutoXBlade89 (11-15-2012), nikola4e (05-07-2012), nortron01 (08-18-2012), NukingFuts (02-17-2012), paxishere (01-16-2012), Pikachu~ (07-06-2012), PlayingLess (01-22-2012), PretendTime (01-13-2012), reloaded90 (06-06-2012), S U P E R B A D (06-04-2012), SaLuD!SnOwY (12-12-2011), shadowman123 (12-01-2011), shoematt2010 (11-28-2012), slitherbug (10-10-2012), Snowy. (11-30-2011), st-m4il (03-20-2012), StarEvaAfta!~ (02-28-2012), StreetArts (02-18-2012), TaiZer (12-16-2011), Techn07 (01-14-2012), thesamuraivega (11-30-2011), turk55 (12-01-2011), valiboss1 (11-15-2012), vgcman1500 (03-14-2012), vincentvdb (05-24-2012), vv00t (01-20-2012), wild_ShAdOw (05-18-2012), Xanrry (02-07-2013), zi92no (01-23-2013), [I]Inquisitor (02-11-2013), |xabi| (11-30-2011), ~*NewDuuDe*~ (11-21-2012), ×Holo (03-08-2012)
Old 11-30-2011, 02:54   #2
My name is Gareth
 
Arco.'s Avatar
 
Join Date: Feb 2011
Posts: 328
Received Thanks: 163
HOW I MAKE LOGIN?
Arco. is offline  
Old 11-30-2011, 03:00   #3
Sexy Moderator
 
pro4never's Avatar
 
Join Date: Jul 2005
Posts: 6,645
Received Thanks: 3,826
Quote:
Originally Posted by Arco. View Post
HOW I MAKE LOGIN?
Easy, bend over ^^
pro4never is offline  
Thanks
12 Users
allizzel777 (01-18-2012), andrewxxx (12-28-2011), dego4ever (11-30-2011), F i n c h i (12-06-2011), Fаng (11-30-2011), fasterdavid (11-15-2012), hellblayd (02-14-2012), Iron~Man (07-02-2012), MegaArcherZGX (12-01-2011), Y u k i (11-30-2011), { Angelius } (11-30-2011), ×Holo (05-18-2012)
Old 11-30-2011, 04:16   #4
My name is Gareth
 
Arco.'s Avatar
 
Join Date: Feb 2011
Posts: 328
Received Thanks: 163
Quote:
Originally Posted by pro4never View Post
Easy, bend over ^^
I like where this is going
Arco. is offline  
Thanks
3 Users
.Kinshi (11-30-2011), awesome100able (08-04-2012), slappy89 (01-05-2012)
Old 11-30-2011, 06:31   #5
StormSpirit
 
-Sensei-'s Avatar
 
Join Date: Oct 2011
Posts: 203
Received Thanks: 38
waka waka eh eh . ty
-Sensei- is offline  
Thanks
1 User
fasterdavid (11-15-2012)
Old 11-30-2011, 06:46   #6
Senior Member
 
thesamuraivega's Avatar
 
Join Date: Oct 2009
Posts: 121
Received Thanks: 21
Good ty man
thesamuraivega is offline  
Old 11-30-2011, 11:15   #7
Banned
 
Join Date: May 2011
Posts: 1,770
Received Thanks: 751
I need patch 5520+ bliz man you best thank you Mr. PrO4NeVer
BaussHacker is offline  
Thanks
1 User
x64by (12-01-2011)
Old 11-30-2011, 20:27   #8
C# Coder / Learning C++
 
12tails's Avatar
 
Join Date: Apr 2009
Posts: 732
Received Thanks: 428
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
ex-Mοderator
 
Kiyono's Avatar
 
Join Date: Jun 2006
Posts: 3,472
Received Thanks: 887
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;

Last edited by Kiyono; 11-30-2011 at 21:50.
Kiyono is offline  
Old 11-30-2011, 22:10   #10
Bipolar Ass Hole.
 
diedwarrior's Avatar
 
Join Date: Jun 2009
Posts: 546
Received Thanks: 166
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  
Reply

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Release]Edited Reg Page for Hellmouth source hyperco CO2 PServer Guides & Releases 12 04-09-2012 02:24
[Release] Custom Project NewFuture (Latest Path) 12tails CO2 PServer Guides & Releases 41 08-26-2011 21:14
Should I release a 5180 source base(Custom)? _DreadNought_ CO2 PServer - Discussions / Questions 20 10-30-2010 12:14
[Release] Custom Source - HepX_CO Basser CO2 PServer Guides & Releases 48 06-29-2010 16:01




All times are GMT +2. The time now is 13:33.


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