Register for your free account! | Forgot your password?

You last visited: Today at 05:53

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

Advertisement



[HELP]5165 Source

Discussion on [HELP]5165 Source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
[HELP]5165 Source

hello, im nab at coding, i wanna know what code to put so that when the item is opened it makes a GM comment to the whole server.
thanks
xScott is offline  
Old 12/29/2009, 00:15   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by xScott View Post
hello, im nab at coding, i wanna know what code to put so that when the item is opened it makes a GM comment to the whole server.
thanks

Do the case in character.cs and do something like oh Idk...
World.SendMsgToAll("GM", "Your Message.", 2011, 0);
I think that's how it will go.
Arcо is online now  
Thanks
1 User
Old 12/29/2009, 00:21   #3
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
Quote:
Originally Posted by Hepatitis C View Post

Do the case in character.cs and do something like oh Idk...
World.SendMsgToAll("GM", "Your Message.", 2011, 0);
I think that's how it will go.
Thats brilliant thanks, and what else so it says their name? like MyClient.MyChar or something? :S
xScott is offline  
Old 12/29/2009, 00:22   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by xScott View Post
Thats brilliant thanks, and what else so it says their name? like MyClient.MyChar or something? :S

World.SendMsgToAll("GM", "I hope you enjoy the server" + MyChar.Name + "Have fun!", 2011, 0);

Something like that I would guess, never tried it before.
Arcо is online now  
Thanks
1 User
Old 12/29/2009, 00:27   #5
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
Quote:
Originally Posted by Hepatitis C View Post

World.SendMsgToAll("GM", "I hope you enjoy the server" + MyChar.Name + "Have fun!", 2011, 0);

Something like that I would guess, never tried it before.
doesnt work >< ill mess around with it for abit see if i can get it working thanks for your help
xScott is offline  
Old 12/29/2009, 00:28   #6
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
As guard, Hepatitis C I thought you'd notice this is in the wrong section..
Requesting to move this thread please.
ImmuneOne is offline  
Old 12/29/2009, 00:37   #7
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by ImmuneOne View Post
As guard, Hepatitis C I thought you'd notice this is in the wrong section..
Requesting to move this thread please.

I did, and I reported it, I just don't feel the need to announce it like every other guard in this section.
Arcо is online now  
Thanks
1 User
Old 12/29/2009, 01:06   #8
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
done it, it was
Code:
World.SendMsgToAll("GM", "I hope you enjoy the server " + Name + " Have fun!", 2011, 0);
xD
xScott is offline  
Old 12/29/2009, 01:24   #9
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by xScott View Post
done it, it was
Code:
World.SendMsgToAll("GM", "I hope you enjoy the server " + Name + " Have fun!", 2011, 0);
xD

Kk well glad I could help.
Anymore questions feel free to pm me and I will be glad to help.
Arcо is online now  
Thanks
1 User
Old 12/29/2009, 02:11   #10
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
Quote:
Originally Posted by xScott View Post
hello, im nab at coding, i wanna know what code to put so that when the item is opened it makes a GM comment to the whole server.
thanks
lol arco.. you have to the source send a msg (2000,2005,2011) to the server.
.Guru is offline  
Old 12/29/2009, 02:34   #11
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Hepatitis B View Post
lol arco.. you have to the source send a msg (2000,2005,2011) to the server.
Lmao I saw that.
And I think he already solved his problem.
So @ OP,
Is it okay to request close now?
Arcо is online now  
Thanks
1 User
Old 12/29/2009, 10:04   #12
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,164
#Moved
Huseby is offline  
Reply


Similar Threads Similar Threads
Hi I need 5165 source act like Real Co 5165
09/15/2010 - CO2 Private Server - 4 Replies
I need a A source 5165 that all skills is available specially rb char like nin-nin-nin counterKill and nin-war-nin reflect and more, and also the attack rates should be fair not like +8 set can 1 hit +12 set, and also maybe the client, I need to study to make it in 5200+ source. I love to trade it with my cofarmer account VIP i have use it for 5 days only. PM or contact me in skype :marlyandedsel
I need some help with my 5165 source..
03/16/2010 - CO2 Private Server - 6 Replies
It's a little bit confusing.. ok here it goes... I just recently decided to get into c# private servers, and I figured I'd start out with this 5165 one.. So here's the issue. When I first start the server up everything works great.. So I open up the solution in Visual C# Express, and if I attempt to rebuild the newestcoserver it succeeds... But if I take and just for example put a space anywhere in the code and immediately backspace it, changing nothing of course. I get about 97 errors and...
anyone know this? its from 5165 source
03/02/2010 - CO2 Private Server - 5 Replies
im looking anywhere in my source and i accidentally see this code and it all green text color. /*public static Main.AuthWorker.AuthInfo Authenticate(string User, string Password) { Main.AuthWorker.AuthInfo Info = new NewestCOServer.Main.AuthWorker.AuthInfo(); Info.Account = User; try { IniFile File = new IniFile("C:\\OldCODB\\Users\\" + User + ".usr"); string RealAccount =...
About 5165 source!
02/19/2010 - CO2 Private Server - 4 Replies
I saw a lot of guides about how to make a pserver with 5165 source patch but.... I have a problem when i try to log in on my server.... simply....it doesn't log in................When I try to log in I get the message
[Help] 5165 source
12/02/2009 - CO2 Private Server - 4 Replies
When ever i try to start up my source it give me and error so i open up C# and see that the error is in NPC.cs and the error is this what do i do?



All times are GMT +2. The time now is 05:53.


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.