|
You last visited: Today at 12:27
Advertisement
How many people here are really programmers?
Discussion on How many people here are really programmers? within the CO2 Private Server forum part of the Conquer Online 2 category.
08/31/2009, 07:39
|
#1
|
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
|
How many people here are really programmers?
If you think you are, please post the answer to the equation:
2 ^ 2 = ?
|
|
|
08/31/2009, 07:49
|
#2
|
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
|
Quote:
Originally Posted by _tao4229_
If you think you are, please post the answer to the equation:
2 ^ 2 = ?
|
2 of course
|
|
|
08/31/2009, 07:57
|
#3
|
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
|
0
|
|
|
08/31/2009, 08:33
|
#4
|
elite*gold: 0
Join Date: Jun 2009
Posts: 93
Received Thanks: 17
|
2 ^ 2 = 4
|
|
|
08/31/2009, 08:41
|
#5
|
elite*gold: 0
Join Date: Mar 2008
Posts: 55
Received Thanks: 4
|
0
|
|
|
08/31/2009, 08:41
|
#6
|
elite*gold: 0
Join Date: Dec 2005
Posts: 22
Received Thanks: 1
|
that is an incorrect format. Should be from right to left.
? = 2 ^ 2
|
|
|
08/31/2009, 09:35
|
#7
|
elite*gold: 0
Join Date: Nov 2006
Posts: 160
Received Thanks: 15
|
xD if in math 4
|
|
|
08/31/2009, 12:43
|
#8
|
elite*gold: 0
Join Date: Mar 2008
Posts: 268
Received Thanks: 25
|
After long hours of late night work, its 22...
|
|
|
08/31/2009, 14:47
|
#9
|
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 6
|
0
|
|
|
08/31/2009, 14:49
|
#10
|
elite*gold: 0
Join Date: Aug 2009
Posts: 47
Received Thanks: 3
|
0
|
|
|
08/31/2009, 14:55
|
#11
|
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 651
|
I think this depends on which language its being used in.
More or less, the answer is based on the language
The only time I've seen the XOR being used was in my friends CO encryption method.
I don't know... I'm not too fond of it.
|
|
|
08/31/2009, 14:56
|
#12
|
elite*gold: 66
Join Date: Feb 2008
Posts: 949
Received Thanks: 495
|
its 8
|
|
|
08/31/2009, 14:57
|
#13
|
elite*gold: 0
Join Date: May 2006
Posts: 450
Received Thanks: 466
|
Quote:
Originally Posted by _tao4229_
If you think you are, please post the answer to the equation:
2 ^ 2 = ?
|
you probably aren't.
^ is completely syntax dependent, so its 100% clear the right answer is 42.
|
|
|
08/31/2009, 15:23
|
#14
|
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
|
PHP Code:
public enum CalculateMode
{
XOR = 0,
Power
}
public static sbyte CalculateAnswer(byte value, CalculateMode mode)
{
switch (mode)
{
case CalculateMode.XOR:
return (sbyte)(value ^ value);
case CalculateMode.Power:
return (sbyte)Math.Pow(value, value);
}
return -1;
}
public static void Main(string[] args)
{
try
{
byte value = 0;
if (byte.TryParse(args[0], out value))
{
CalculateMode mode = (CalculateMode)Enum.Parse(typeof(CalculateMode), args[1]);
if (Enum.IsDefined(typeof(CalculateMode), mode))
{
Console.WriteLine("'{0}' calculated with {1} is {2}", value, mode.ToString(), CalculateAnswer(value, mode));
Console.ReadLine();
}
else
{
Console.WriteLine("'{0}' is not defined in CalculateMode.", mode.ToString());
Console.ReadLine();
}
}
else
{
Console.WriteLine("'value' is invalid. Check first param.");
}
}
catch (ArgumentException)
{
Console.WriteLine("mode wasn't defined in CalculateMode.");
Console.ReadLine();
}
}
Have fun.
|
|
|
08/31/2009, 15:48
|
#15
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
This has to do with programming CO Private Servers?
If so, I'm not a programmer.
|
|
|
 |
|
Similar Threads
|
I need a programmers help!
04/09/2010 - CO2 Programming - 3 Replies
:D......
can anyone create a bot for DexterityCO, its like a auto npc answerer in just seconds or milisec its for the npc named "sevensages" i need it to be clicked faster... and is it possible that you can create an auto gold loot w/o getting close to the gold and in a wide looting range? and you can put gold up to 999B instead of 1B is it possible?
i really need this kind of bots and i really need your help thanks...
:handsdown::handsdown::handsdown:!
|
Tip for programmers
01/23/2009 - Conquer Online 2 - 1 Replies
last week using cid proxy by 7-9 hours a day i got like 6-10kk for each day.. but i got also 3 chars botjailed.. because autoloot in cidproxy is easily detectable for other online players.. he only drops uppon gold and jump as a crazy frog..
so.. the bot we want is simplified autoloot that are slower than cid.. that would be great get money without losing a charv:D
|
[Help]People can't Kill people in a normal attack.
11/10/2008 - CO2 Private Server - 0 Replies
People can't attack each other in a PK place in a normal attack they only can attack each other with a skill(fastblade and other)
and before it worked now it is not =/
Any help?
|
to all vb programmers
05/02/2006 - Conquer Online 2 - 1 Replies
is there anyone who can post a working visual basic source about reading memory, like the one that was posted in guides, but without the tsearch thing would be nice =/
|
All times are GMT +1. The time now is 12:27.
|
|