Code:
foreach (KeyValuePair<int, Struct.GuildInfo> Gui in Nano.Guilds)
Warning 1 Unreachable code detected C:...\PacketProcessor.cs 494 85 CoEmu v2 GameServer
dame XD
foreach (KeyValuePair<int, Struct.GuildInfo> Gui in Nano.Guilds)
This isn't the reason lol!Quote:
yh yh
its just coz ive been changing all the codes on animeco to make it more stable and using codes from swordco and quickco so it keeps bugging while im updating it all, its a lot more stable now anyway i know that for sure.
You can't return more than one value from a function like this:Quote:
So you cant return more then one value from a function o-o?
int Foo()
{
return 12, 14; // Illegal
return 12; // legal
}
int Foo(ref int Bar)
{
Bar = 14;
return 12;
}
oh parameter passing by ref? i think thats what its doing ;pQuote:
You can't return more than one value from a function like this:
However you can make use of arguments and the ref keyword to do this, consider:Code:int Foo() { return 12, 14; // Illegal return 12; // legal }
Code:int Foo(ref int Bar) { Bar = 14; return 12; }