Register for your free account! | Forgot your password?

You last visited: Today at 01:16

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

Advertisement



New DMap System [Impulses source]

Discussion on New DMap System [Impulses source] within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
New DMap System [Impulses source]

Hey,

I'll make little bits for you to code so i'm not harming the community(Not saying where to add either).
Make a new void
Code:
        public static void LoadNewMap(uint _ID)
        {
            if (MapAllowed((ushort)_ID))
            {
                if (File.Exists(ServerBase.Constants.DataHolderPath + "GameMap.dat"))
                {
                    FileStream FS = new FileStream(ServerBase.Constants.DataHolderPath + "GameMap.dat", FileMode.Open);
                    BinaryReader BR = new BinaryReader(FS);
                    uint MapCount = BR.ReadUInt32();
                    for (uint i = 0; i < MapCount; i++)
                    {
                        ushort MapID = (ushort)BR.ReadUInt32();
                        string Path = Encoding.ASCII.GetString(BR.ReadBytes(BR.ReadInt32()));
                        if (_ID == MapID)
                        {
                            Game.Map D = new Game.Map(MapID, Path);
                            ServerBase.Kernel.Maps.Add(MapID, D);
                        }
                        BR.ReadInt32();
                    }
                    BR.Close();
                    FS.Close();
                }
            }
        }
Then in the array where you load DMaps only load, like, Just TC.
then where every u load the character and teleport just make a void called isLoad then just check if its in the array list.
Simple.
That's all I feel like releasing.
_DreadNought_ is offline  
Thanks
4 Users
Old 10/16/2010, 21:05   #2
 
iGeorge112's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 68
Received Thanks: 13
Nice !
iGeorge112 is offline  
Old 10/16/2010, 21:07   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
+thanks was not for release, but for ur signature :P
Fish* is offline  
Old 10/16/2010, 22:33   #4
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
hehe.
_DreadNought_ is offline  
Old 10/19/2010, 23:29   #5
 
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
#Edited
†he Knight is offline  
Old 10/19/2010, 23:56   #6
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
Quote:
I'll make little bits for you to code so i'm not harming the community
Now that's just d*mb no offense. Don't listen to these people, do what you like.
copz1337 is offline  
Old 10/20/2010, 00:27   #7
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by copz1337 View Post
Now that's just d*mb no offense. Don't listen to these people, do what you like.
He's doing what he wants, he doesn't want to harm the community and help them become even more little leechers like you.
Arcо is offline  
Thanks
2 Users
Old 10/20/2010, 14:21   #8
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by copz1337 View Post
Now that's just d*mb no offense. Don't listen to these people, do what you like.
Is hard you to do things by ur self now?
Fish* is offline  
Old 10/20/2010, 22:07   #9
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
Quote:
Originally Posted by WTFIDKBBQ View Post
He's doing what he wants, he doesn't want to harm the community and help them become even more little leechers like you.
Couldn't of said it better myself.
_DreadNought_ is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Release]Register Page for Impulses Source
06/01/2010 - CO2 PServer Guides & Releases - 3 Replies
As requests by a couple friends, this is a simple and quick register page (no design to it). This way if ur looking to import it into a website it can be done easily. If there is an encryption to the passwords he has let me know and ill quickly edit this. As for now, the passwords have no encryption. Check it out. Hope you like. Download: Multi-Upload
[Release] Socket System for Hybrids Source!
05/12/2010 - CO2 PServer Guides & Releases - 22 Replies
Apple Pie is amazing!!!!
[Release] event handler / system message for 5165 source
05/01/2010 - CO2 PServer Guides & Releases - 10 Replies
i was partially made this and completed by pringle, i dont know if pringle is in here in this forum. but still credit to him. Go to Program.cs and find:public static Random Rnd = new Random(); Above this add:public static DateTime SystemMsgTime = new DateTime(); scroll down and you found this static void ServerStuff_Execute() { try { if (World.BroadCastCount > 0 && DateTime.Now > World.LastBroadCast.AddMinutes(1)) {
some1 have 5165 source with flower system please post download link here
01/31/2010 - CO2 Private Server - 7 Replies
some1 have 5165 source with flower system please post download link here:(



All times are GMT +1. The time now is 01:18.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.