|
You last visited: Today at 01:50
Advertisement
Whats the code so when you enter the server a message will appear were the /c message
Discussion on Whats the code so when you enter the server a message will appear were the /c message within the CO2 Private Server forum part of the Conquer Online 2 category.
04/03/2010, 18:04
|
#1
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
Whats the code so when you enter the server a message will appear were the /c message
Ok so this is a darn NOOB ass question ok so I have this in my teleport with all my other code for login
Code:
GC.LocalMessage(2000, "Welcome to TestCo Coded By Paralyzer[GM]!");
GC.LocalMessage(2000, "The server is still being fixed. Anyway, We want you to enjoy this server.");
GC.LocalMessage(2000, "If you want to revive here while being blessed, you have to type /rh or /revivehere.");
GC.LocalMessage(2000, "Also if somehow you died, you pressed the revive button, it dissapered and you didnt revive, type /forcerevive .");
GC.LocalMessage(2000, "Respect all GM/PM(s) and do what they say they will NEVER ask for ur username/password.");
GC.LocalMessage(2005, "Welcome to TestCo");
if (Game.World.KOBoard[0].Name == GC.MyChar.Name)
GC.LocalMessage(2000, "You are the 1st place on the KO board, you gain 2 times more exp than others.");
if (Game.World.CurrentBC.Message != null)
GC.AddSend(Packets.ChatMessage(GC.MessageID, Game.World.CurrentBC.Name, "ALL", Game.World.CurrentBC.Message, 2500, 0));
}
}
What do I change in the
Code:
GC.LocalMessage(2005, "Welcome to TestCo");
to make it appear where when you do /c message it says message in the left-middle screen what is the number for it at the moment it is
Code:
GC.LocalMessage([COLOR=Red]2005[/COLOR], "Welcome to TestCo");
But I cant just use the /c number can I ?
|
|
|
04/03/2010, 19:01
|
#2
|
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 81
|
Quote:
Originally Posted by Paralyzer[GM
]GC.LocalMessage(2000, "Welcome to TestCo, some strings modified by Paralyzer[GM]!");
|
fixed, honestly why lie to the public like that when you can't even manage something as SIMPLE as this?
|
|
|
04/03/2010, 21:16
|
#3
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
Yes this is very simple something VERY **** simple I did not know I bet you ANYTHING I can find something very simple that you did not know. also That is not it! maybe 2010 or 2011 or 2012 ?
|
|
|
04/03/2010, 22:46
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
T&E my friend.
Try it, that is how we all learn.
|
|
|
04/03/2010, 22:59
|
#5
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Quote:
Originally Posted by Paralyzer[GM]
Ok so this is a darn NOOB ass question ok so I have this in my teleport with all my other code for login
Code:
GC.LocalMessage(2000, "Welcome to TestCo Coded By Paralyzer[GM]!");
GC.LocalMessage(2000, "The server is still being fixed. Anyway, We want you to enjoy this server.");
GC.LocalMessage(2000, "If you want to revive here while being blessed, you have to type /rh or /revivehere.");
GC.LocalMessage(2000, "Also if somehow you died, you pressed the revive button, it dissapered and you didnt revive, type /forcerevive .");
GC.LocalMessage(2000, "Respect all GM/PM(s) and do what they say they will NEVER ask for ur username/password.");
GC.LocalMessage(2005, "Welcome to TestCo");
if (Game.World.KOBoard[0].Name == GC.MyChar.Name)
GC.LocalMessage(2000, "You are the 1st place on the KO board, you gain 2 times more exp than others.");
if (Game.World.CurrentBC.Message != null)
GC.AddSend(Packets.ChatMessage(GC.MessageID, Game.World.CurrentBC.Name, "ALL", Game.World.CurrentBC.Message, 2500, 0));
}
}
What do I change in the
Code:
GC.LocalMessage(2005, "Welcome to TestCo");
to make it appear where when you do /c message it says message in the left-middle screen what is the number for it at the moment it is
Code:
GC.LocalMessage([COLOR=Red]2005[/COLOR], "Welcome to TestCo");
But I cant just use the /c number can I ?
|
Why not?
2011 works fine.
|
|
|
04/03/2010, 23:09
|
#6
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
does it ?, ok thanks! just that it is 2005 and that appears left-top and on a /cc it is 2012 and it appears left-top but oh well THANKS!
|
|
|
04/03/2010, 23:15
|
#7
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
Make a command do a broadcast
ok so I was thinking of making a command to do a broadcast
I have this
Code:
if (Cmd == "/b" )
{
}
I have looked through the broadcase codes but it does not help me once I have the command I can make events broadcast :P
|
|
|
04/03/2010, 23:20
|
#8
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
stop making new threads for the same question.. ffs look at /c look at the broadcast code it self where it sends. look at the pkt broadcast code.. seriously so much to look at and you spend five minutes.. #request close, #request infraction. multiple threads.
|
|
|
04/03/2010, 23:31
|
#9
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
PeTe I hope that you never get a MOD as you do not HELP! you make it worse!
EDIT: I got this code but get error MARKED ERROR IN RED
Code:
if (Cmd[0] == "/testb")
{
for (byte i = 0; i < Data[13]; i++)
Message += Convert.ToChar(Data[14 + i]);
Game.[COLOR=Red]BroadCastMessage[/COLOR]("Server", "hello");
}
that should just broadcat Hello but it does not error is: 'NewestCOServer.Game.BroadCaseMessage' is a 'type', witch is not a valid argument
|
|
|
04/03/2010, 23:37
|
#10
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
Quote:
Originally Posted by Paralyzer[GM]
PeTe I hope that you never get a MOD as you do not HELP! you make it worse!
|
well actually in that "flame" i gave you key places to look at. i always talk to arco like that.. he gets his **** done.. anyway
i already took off my mod thing. dont want to be on anymore. dont have time.
|
|
|
04/03/2010, 23:43
|
#11
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
|
put type 2500
i think is Game.BroadCastMessage("Server", "hello", 2500);
|
|
|
04/03/2010, 23:47
|
#12
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
Still same error
|
|
|
04/04/2010, 01:18
|
#13
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
|
Quote:
Game.BroadCastMessage(2500, "Server", "hello");
|
this work?
|
|
|
04/04/2010, 12:04
|
#14
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
Same error
|
|
|
04/04/2010, 13:58
|
#15
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
if (Cmd[0] == "/bc")
{
Game.World.SendMsgToAll(GC.MyChar.Name, Message.Remove(0, 4), 2500, 0);
}
|
|
|
Similar Threads
|
[help] message server not working
07/22/2010 - EO PServer Hosting - 1 Replies
the message server is not woring help....
|
server message. need some answers ..
04/06/2010 - Cabal Private Server - 0 Replies
i need some info on how to fix dc bug for server message..u know,when gm or owner sends message to all server ingame in the red text ... i need fix ..there is dc bug on it ..
|
p server log -out -in message bearbeiten
11/16/2009 - Metin2 PServer Guides & Strategies - 3 Replies
joa die überschrift sagt alles also wie kann man das log out oder log in bearbeiten das ist ja so in chinesich z..b wen man char wechseln macht ist der countdown da mit china zeichen oder so gebe ne menge thx^^
|
WHATS UP?? SWSRO i cant enter with my char!
10/17/2009 - SRO Private Server - 16 Replies
im loging.. on my char!! lvl 90 but im click in Select.. later START ! and the server DC!! =S but my others chars! no =SWTF?? whats up? Error s2?? =S:mad::mad::mad:
|
All times are GMT +2. The time now is 01:50.
|
|