Register for your free account! | Forgot your password?

You last visited: Today at 02:22

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

Advertisement



[RELEASE]TDM 5165

Discussion on [RELEASE]TDM 5165 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 06/09/2010, 10:40   #31
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
Yea, but its right with the brackets, because of some other npc's it have to be like that
Is wierd, but thats it

There is no errors in it
Only peoples use it wrong xD
.Summer is offline  
Old 06/14/2010, 08:37   #32
 
elite*gold: 0
Join Date: Aug 2006
Posts: 18
Received Thanks: 0
Error messages

Hello, i have tried this step by step on your CoSX source and i get errors. Any advice?

Error 1 The type or namespace name 'Game' does not exist in the namespace 'NewestCOServer' (are you missing an assembly reference?) C:\CoSX\CoSX\TDM.cs 6 22 CoSX

Error 2 The type or namespace name 'Game' could not be found (are you missing a using directive or an assembly reference?) C:\CoSX\CoSX\TDM.cs 14 16 CoSX

Adding a screenshot of the error:
gxaris is offline  
Old 06/15/2010, 04:23   #33
 
AngeaL™'s Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 12
Received Thanks: 7
Nice Release Summer Keep it Up!
AngeaL™ is offline  
Thanks
1 User
Old 06/15/2010, 14:40   #34
 
elite*gold: 0
Join Date: Jun 2010
Posts: 95
Received Thanks: 11
Thanks

Quote:
Originally Posted by gxaris View Post
Hello, i have tried this step by step on your CoSX source and i get errors. Any advice?

Error 1 The type or namespace name 'Game' does not exist in the namespace 'NewestCOServer' (are you missing an assembly reference?) C:\CoSX\CoSX\TDM.cs 6 22 CoSX

Error 2 The type or namespace name 'Game' could not be found (are you missing a using directive or an assembly reference?) C:\CoSX\CoSX\TDM.cs 14 16 CoSX

Adding a screenshot of the error:
change newestcoserver to CoSX I think.
check the others namespaces.
xStylo is offline  
Old 06/25/2010, 11:06   #35
 
elite*gold: 0
Join Date: Mar 2008
Posts: 70
Received Thanks: 10
Everything is ok but i got error when you saying: Delite GC.MyChar = alive; then uder the code add (blablabla) when im addind that errors appears on "World" and on "Character", im not doing it correct right?
mido_mafiaspy is offline  
Thanks
1 User
Old 06/25/2010, 11:19   #36
 
elite*gold: 0
Join Date: Mar 2008
Posts: 70
Received Thanks: 10
nvm got it working
mido_mafiaspy is offline  
Thanks
1 User
Old 07/20/2010, 17:41   #37
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
No, Learn to copy & Paste.
MonstersAbroad is offline  
Thanks
1 User
Old 08/24/2010, 16:51   #38
 
elite*gold: 0
Join Date: Oct 2009
Posts: 70
Received Thanks: 3
Hey bro,is there any way to launch it by a command?
buckeyes10 is offline  
Old 08/24/2010, 20:20   #39
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
why do u want to launch by command, when I have made it start every hour? o.O
dowhatuwant is offline  
Old 08/25/2010, 09:39   #40
 
elite*gold: 0
Join Date: Oct 2009
Posts: 70
Received Thanks: 3
Its already set every hour?
Or how can i set it every hour?
buckeyes10 is offline  
Old 08/25/2010, 10:00   #41
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
If u see, ive putted a timer in there wich start the tdm every hour
dowhatuwant is offline  
Old 08/25/2010, 10:21   #42
 
elite*gold: 0
Join Date: Oct 2009
Posts: 70
Received Thanks: 3
u mean this?
Code:
                System.Timers.Timer ATDMTimer = new System.Timers.Timer(1000.0);
                ATDMTimer.Start();
                ATDMTimer.Elapsed += delegate { TDMSign(); };
                System.Timers.Timer BTDMTimer = new System.Timers.Timer(1000.0);
                BTDMTimer.Start();
                BTDMTimer.Elapsed += delegate { TDMStart(); };
                System.Timers.Timer CTDMTimer = new System.Timers.Timer(1000.0);
                CTDMTimer.Start();
                CTDMTimer.Elapsed += delegate { ThreeMinTDMEnd(); };
                System.Timers.Timer DTDMTimer = new System.Timers.Timer(1000.0);
                DTDMTimer.Start();
                DTDMTimer.Elapsed += delegate { TwoMinTDMEnd(); };
                System.Timers.Timer ETDMTimer = new System.Timers.Timer(1000.0);
                ETDMTimer.Start();
                ETDMTimer.Elapsed += delegate { OneMinTDMEnd(); };
                System.Timers.Timer FTDMTimer = new System.Timers.Timer(1000.0);
                FTDMTimer.Start();
                FTDMTimer.Elapsed += delegate { TDMEnd(); };
buckeyes10 is offline  
Old 08/25/2010, 11:49   #43
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
Yea that one, but this is for editing the times, when it should come.
The numbers are the minute in a hour, so is from 00-59
Code:
#region TDMTime
        private static void TDMBCast(string msg)
        {
            foreach (Character Char in World.H_Chars.Values)
            {
                Char.MyClient.AddSend(Packets.ChatMessage(0, "[TDM]", "All", msg, 2011, 0));
                Char.MyClient.EndSend();
            }
        }
        public static void TDMSign()
        {
            if (DateTime.Now.Minute == 00 && TDMSignSend == false)
            {
                TDMEndSend = false;
                TDMSignSend = true;
                TDM.TDMStart();
            }
        }
        public static void TDMStart()
        {
            if (DateTime.Now.Minute == 01 && TDMStartSend == false)
            {
                TDMStartSend = true;
                TDM.TDMGO();
            }
        }
        public static void ThreeMinTDMEnd()
        {
            if (DateTime.Now.Minute == 07 && TDMThreeMinSend == false)
            {
                TDMThreeMinSend = true;
                TDMBCast("Team DeathMatch will end in 3Minutes.");
            }
        }
        public static void TwoMinTDMEnd()
        {
            if (DateTime.Now.Minute == 08 && TDMTwoMinSend == false)
            {
                TDMTwoMinSend = true;
                TDMBCast("Team DeathMatch will end in 2Minutes.");
            }
        }
        public static void OneMinTDMEnd()
        {
            if (DateTime.Now.Minute == 09 && TDMOneMinSend == false)
            {
                TDMOneMinSend = true;
                TDMBCast("Team DeathMatch will end in 1Minute.");
            }
        }
        public static void TDMEnd()
        {
            if (DateTime.Now.Minute == 10 && TDMEndSend == false)
            {
                TDM.TDMEnd();
                TDMSignSend = false;
                TDMTwoMinSend = false;
                TDMOneMinSend = false;
                TDMThreeMinSend = false;
                TDMStartSend = false;
                TDMEndSend = true;

            }
        }
#endregion
dowhatuwant is offline  
Thanks
1 User
Old 08/25/2010, 15:24   #44
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Quote:
Originally Posted by BlueFlame11 View Post
Sweet hope some one can convert this to -impulse- source
I'll do it later tonight. but not this exact version.
_DreadNought_ is offline  
Old 09/21/2010, 10:17   #45
 
elite*gold: 0
Join Date: Mar 2010
Posts: 91
Received Thanks: 5
Alright idk wtf i did but when i click the npc he says "i dont say anyything useful yet my code is"blablabla". "
here is what i did
biohazardous is offline  
Reply


Similar Threads Similar Threads
[Release]Guide +13-+15 5165
07/15/2011 - CO2 PServer Guides & Releases - 34 Replies
I dont know if this was released yet but i decided to make a guide to help people who do not know how to do it! Press thanks if i helped 1.Go into OldCODB and open up items.txt and find the item you want to make +13-+15 like say i choose the trojan armor.... 2.Go to the lowest level trojan armor and get the ID Okay so 130003 is you're ID
[Release]5165 source
05/04/2011 - CO2 PServer Guides & Releases - 43 Replies
http://www.megaupload.com/?d=7GHJTU7D I added a whole bunch of npcs and other stuff in the source Press Thx if u like Top WeeklyPKChampion Prize For WeeklyPKChampion ClassPKEnvoy SolarSaint Egg Quest Teleporter Garnment Seller
[Release]5165 PK Tournament
04/11/2011 - CO2 PServer Guides & Releases - 84 Replies
Ok, decided i would release my version of Arco's PkTournament, hopefully it should be bug free, although it hasnt been tested. Heres the NPC Dialog: #region JoinPKTDialog case 666111: { if (Control == 0) { if (Features.PKTournament.Stage == Features.PKTournamentStage.Inviting)
[Release]5165 Weather
12/10/2010 - CO2 PServer Guides & Releases - 45 Replies
Ok so decided i would make a release for weather since theres been so much activity surrounding it lately. Firstly, create a new .cs file in the features section called Weather, and then replace the contents with: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text;



All times are GMT +2. The time now is 02:22.


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