5017 Help

06/29/2010 18:47 -Casper-#1
I added reborn guard for 5017 and i have 5 errors that i dont know how to fix:

[Only registered and activated users can see links. Click Here To Register...]

Here is the errors in order from the pic:

Code:
[COLOR="Red"]Other.Charowner(owner)[/COLOR].Guard = Mob;
Code:
owner2 = [COLOR="Red"]Other.Charowner(owner);[/COLOR]
Code:
MyTimer.Elapsed += [COLOR="Red"]new ElapsedEventHandler(TimerElapsed);[/COLOR]
Code:
[COLOR="Red"]Gjump();[/COLOR]
Code:
SingleMob mob = [COLOR="Red"]new SingleMob((short)MyChar.LocX, (short)MyChar.LocY, (short)MyChar.LocMap, 100, 100, 100, 100, (uint)General.Rand.Next(400000, 500000), "TestMob", mech, 135, 4, 0);[/COLOR]
If anyone can help me fix I will be very grateful!
06/29/2010 18:51 -Casper-#2
Alright I fixed 2, now i have these still

Other.Charowner(owner).Guard = Mob;

owner2 = Other.Charowner(owner);

MyTimer.Elapsed += new ElapsedEventHandler(TimerElapsed);
06/29/2010 18:57 Arcо#3
LEarn to use a dictionary.
Not a C# dictionary, but a webster's dictionary decker.
Ambiguity.
Look it up and it will answer your questions :facepalm:
06/29/2010 19:02 -Casper-#4
If you know them why can't you just help me?
06/29/2010 19:04 -Casper-#5
Ok sorry for double posting, but I fixed them, now I have just 1, how can i fix this:

MyTimer.Elapsed += new ElapsedEventHandler(TimerElapsed);
06/29/2010 19:05 Arcо#6
Cause you need to stop running to people for answers all the time, you need to learn.
The time that it took you to open this thread, read my post, then reply, you could've already read a dictionary online and got the definition of ambiguity and fixed your problem.
And also, you've been banned off this site forever, why should I help you when you obviously don't respect this community?
06/29/2010 22:02 gerble93#7
Quote:
Originally Posted by -Casper- View Post
I added reborn guard for 5017 and i have 5 errors that i dont know how to fix:

[Only registered and activated users can see links. Click Here To Register...]

Here is the errors in order from the pic:

Code:
[COLOR="Red"]Other.Charowner(owner)[/COLOR].Guard = Mob;
Code:
owner2 = [COLOR="Red"]Other.Charowner(owner);[/COLOR]
Code:
MyTimer.Elapsed += [COLOR="Red"]new ElapsedEventHandler(TimerElapsed);[/COLOR]
Code:
[COLOR="Red"]Gjump();[/COLOR]
Code:
SingleMob mob = [COLOR="Red"]new SingleMob((short)MyChar.LocX, (short)MyChar.LocY, (short)MyChar.LocMap, 100, 100, 100, 100, (uint)General.Rand.Next(400000, 500000), "TestMob", mech, 135, 4, 0);[/COLOR]
If anyone can help me fix I will be very grateful!
Ambiguous:
Quote:
Originally Posted by Dictionary.com
open to or having several possible meanings or interpretations
Which therefore it means you have two methods of that, for example you may have...

Code:
public uint Charowner;
public uint Charowner;
There is two of them, so you will have to remove one of them.

Same with the timers and Gjump.

When it says SingleMob does not contain a constructor that takes '13' arguments it means that your void SingleMob may look like this..

Code:
SingleMob(int 1, int 2, int 3){ }
and somewhere you have this..

Code:
SingleMob singlemob = new SingleMob();
instead of..

Code:
SingleMob singlemob = new SingleMob(22, 33, 44);
That should fix your problems. Your welcome.