So my server is based off of the Anime "Bleach" And I want to make it more like "Bleach" So how do I tweak it so when people make a guild instead of making a random name they Create EX: "Squad 11" instead of EX: "Cookies" I had it going before thanks to I think the name was Toshiro Something he did it for me and it worked but I lost the source so I moved to 5165 so how would I do all that with 5165.
basically, u would have to change everything that says "Guild Leader" to "Squad Leader" and also the client-sided files( I think). but, I, wouldn't know how to do that
Well I changed all the "Guild" Stuff to "Squad" but people can still Put random names down like "Cookies" I need them to say "Squad(Random Number)" when they make it Help =(
Well I changed all the "Guild" Stuff to "Squad" but people can still Put random names down like "Cookies" I need them to say "Squad(Random Number)" when they make it Help =(
Thats not client sided then. When they make the guild, just make the guild
director take away the 1kk silver, then make
public Random rnd = new Random();
Thats not client sided then. When they make the guild, just make the guild
director take away the 1kk silver, then make
public Random rnd = new Random();
guild name Squad rnd.Next(1, 50);
Get it?
I'll try thats now and get back to you.
Edit:
I tryed what you said but I get 1 error guild name Squad rnd.Next(1, 50);
It says Type Expected Help =P
Like when they say yes they wanna make a guild, do this
Random rnd = new Random();
GC.MyChar.MyGuild.Name = "Squad" +rnd.Next(1,50);
Get it? So it adds a random number to the string "Squad", then make sure the guild name isn't taken, if it is, then loop through it again.
Like when they say yes they wanna make a guild, do this
Random rnd = new Random();
GC.MyChar.MyGuild.Name = "Squad" +rnd.Next(1,50);
Get it? So it adds a random number to the string "Squad", then make sure the guild name isn't taken, if it is, then loop through it again.
Ok let me try
Edit:
I need a bit of help =P Add my msn =( sorry But I'm dumb when it comes to this i'll keep trying though till I talk to you.
#region Squad NPC
case 10003:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hello.I create and manage Squads in the Society. So what do you want to do?"));
GC.AddSend(Packets.NPCLink("Create Squad", 1));
GC.AddSend(Packets.NPCLink("Add ViceCaptain", 3));
GC.AddSend(Packets.NPCLink("Disband my Squad", 5));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
#region Create
else if (Control == 1)
{
if (GC.MyChar.MySquad == null)
{
GC.AddSend(Packets.NPCSay("I don't know why, but you have to be level 95 or higher and need 1 million silvers to create one."));
GC.AddSend(Packets.NPCLink2("Create", 2));
GC.AddSend(Packets.NPCLink("No, i changed my mind.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You are already in a Squad. You cannot create a Squad."));
GC.AddSend(Packets.NPCLink("Oh, i forgot...", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 2)
{
if (GC.MyChar.Level >= 95 && GC.MyChar.MySquad == null)
{
if (GC.MyChar.Silvers >= 1000000)
{
string SquadName = ReadString(Data);
if (Features.Squads.ValidName(SquadName))
{
GC.MyChar.Silvers -= 1000000;
ushort NewSquadID = (ushort)Rnd.Next(ushort.MaxValue);
while (Features.Squads.AllTheSquads.Contains(NewSquadID))
NewSquadID = (ushort)Rnd.Next(ushort.MaxValue);
Features.Squads.CreateNewSquad(SquadName, NewSquadID, GC.MyChar);
Game.World.Spawn(GC.MyChar, false);
GC.AddSend(Packets.SquadInfo(GC.MyChar.MySquad, GC.MyChar));
GC.AddSend(Packets.String(GC.MyChar.MySquad.SquadID, (byte)Game.StringType.SquadName, GC.MyChar.MySquad.SquadName));
GC.AddSend(Packets.NPCSay("Congratulations! You now have your own Squad."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("Choose another name, this name is taken or has invalid length."));
GC.AddSend(Packets.NPCLink2("Create", 2));
GC.AddSend(Packets.NPCLink("I changed my mind.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("I said you need 1 Million Silvers and you don't have enough."));
GC.AddSend(Packets.NPCLink("Ok ok, i'll go bring the money.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("Forget it! You're too weak."));
GC.AddSend(Packets.NPCLink("Alright, I will get stronger.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
#endregion
#region ViceCaptains
else if (Control == 3)
{
if (GC.MyChar.MySquad != null && GC.MyChar.SquadRank == SoulSocietyCoServer.Features.SquadRank.SquadLeader)
{
GC.AddSend(Packets.NPCSay("Insert the name of the player in your Squad you want to make a ViceCaptain."));
GC.AddSend(Packets.NPCLink2("There", 4));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You are not a Squad Captain."));
GC.AddSend(Packets.NPCLink("Ohhh...", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 4)
{
string PlayerName = ReadString(Data);
Features.MemberInfo M = GC.MyChar.MySquad.MembOfName(PlayerName);
if (M != null && M.MembName == PlayerName && ((Hashtable)GC.MyChar.MySquad.Members[(byte)90]).Count < 5)
{
M.Rank = SoulSocietyCoServer.Features.SquadRank.DeputyManager;
((Hashtable)GC.MyChar.MySquad.Members[(byte)50]).Remove(M.MembID);
((Hashtable)GC.MyChar.MySquad.Members[(byte)90]).Add(M.MembID, M);
Game.Character C = M.Info;
if (C != null)
{
C.SquadRank = SoulSocietyCoServer.Features.SquadRank.DeputyManager;
Game.World.Spawn(C, false);
C.MyClient.AddSend(Packets.SquadInfo(GC.MyChar.MySquad, GC.MyChar));
}
}
else
{
GC.AddSend(Packets.NPCSay("The player is not in your Squad or is not a normal member. By the way, the max number ViceCaptains there can be is 5."));
GC.AddSend(Packets.NPCLink("Oh, sorry.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
#endregion
else if (Control == 5)
{
if (GC.MyChar.MySquad != null && GC.MyChar.SquadRank == SoulSocietyCoServer.Features.SquadRank.SquadLeader)
{
GC.AddSend(Packets.NPCSay("Are you sure you want to disband your Squad?"));
GC.AddSend(Packets.NPCLink("Yes, I want to disband my Squad.", 6));
GC.AddSend(Packets.NPCLink("I've changed my mind.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You are not a Squad Captain, therefore you cannot disband this Squad."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 6)
{
if (GC.MyChar.MySquad != null && GC.MyChar.SquadRank == SoulSocietyCoServer.Features.SquadRank.SquadLeader)
{
GC.MyChar.MySquad.Disband();
}
}
break;
}
#endregion
else if (Control == 1) { if (GC.MyChar.MySquad == null) { GC.AddSend(Packets.NPCSay("I don't know why, but you have to be level 95 or higher and need 1 million silvers to create one.")); GC.AddSend(Packets.NPCLink("Create", 2)); GC.AddSend(Packets.NPCLink("No, i changed my mind.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } else { GC.AddSend(Packets.NPCSay("You are already in a Squad. You cannot create a Squad.")); GC.AddSend(Packets.NPCLink("Oh, i forgot...", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } }
replace control2 with
PHP Code:
else if (Control == 2) { if (GC.MyChar.Level >= 95 && GC.MyChar.MySquad == null) { if (GC.MyChar.Silvers >= 1000000) { String SquadName = "Squad" + Rnd.Next(1, 50); while() if (Features.Squads.ValidName(SquadName)) { GC.MyChar.Silvers -= 1000000; ushort NewSquadID = (ushort)Rnd.Next(ushort.MaxValue); while (Features.Squads.AllTheSquads.Contains(NewSquadID)) NewSquadID = (ushort)Rnd.Next(ushort.MaxValue); Features.Squads.CreateNewSquad(SquadName, NewSquadID, GC.MyChar); Game.World.Spawn(GC.MyChar, false);
GC.AddSend(Packets.NPCSay("Congratulations! You now have your own Squad.")); GC.AddSend(Packets.NPCLink("Thanks.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } else { GC.AddSend(Packets.NPCSay("Choose another name, this name is taken or has invalid length.")); GC.AddSend(Packets.NPCLink("Create", 2)); GC.AddSend(Packets.NPCLink("I changed my mind.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } else { GC.AddSend(Packets.NPCSay("I said you need 1 Million Silvers and you don't have enough.")); GC.AddSend(Packets.NPCLink("Ok ok, i'll go bring the money.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } else { GC.AddSend(Packets.NPCSay("Forget it! You're too weak.")); GC.AddSend(Packets.NPCLink("Alright, I will get stronger.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } #endregion
[TuT] How to Change your own Guild Mark with a Modified One. 01/29/2021 - Grand Chase Philippines - 12 Replies Hi to you all guys.
I`m posting a TuT how to change your Guild Mark of your Guild or changing the Guild Mark of your enemy Guild. :D
Note: You can do this even you are not a Guild Master and when you see you`re other Guild Mates, you can see your modified Guild Mark.
1. Search or make your own Modified Guild Mark and must be 32x32.
2. Patch your Grand Chase Client.
3. After that it is full patched, go to your Guild Mark folder in your Grand Chase Folder.
4. Search for you`re Guild Mark...
Does any one know how to change guild text? 02/12/2010 - Archlord - 0 Replies Does any one know how to change guild text?:cool:
I want to make guild pvp text smaller.......
The big text is not good for my eyes :-)
Is there a way Change Guild war times? 01/29/2010 - CO2 Private Server - 7 Replies Im kinda newb at this still would like some help, was kinda wondering if theres anyway to change the guildwar times im still relatively new to the whole coding situatuation but i wanna turn guild war on and its bugging me i cant figure out how any help would be very appreciated.:(
How to change 'Guild Leader' 08/01/2009 - CO2 Private Server - 3 Replies Alright, i'm making the 'clan' system.
I kind of have it made, because i mostly made it from the guild, but it can't find out how to change 'guild leader' to 'clan leader'.
i searched 'guild leader' in my source in entire source, there is nothing.
any help?
how to change guild leader after ban ? 05/29/2007 - Silkroad Online - 3 Replies hey guys i have a question ... im banned on olympus at lvl 72 -.-*
but dosnt metter can some1 tell me how i can change the guild leader now ?
and how long i have to wait till i can vote for one ?