Only FB/SS in a map {please]

04/12/2010 16:24 Paralyzer[GM]#1
Where is the code so I can add an map that u must only use FF/SS and if you try to use another skill/spell/attack you wont be able to do it
04/12/2010 17:42 HardNotTo#2
Quote:
Originally Posted by Paralyzer[GM] View Post
Where is the code so I can add an map that u must only use FF/SS and if you try to use another skill/spell/attack you wont be able to do it
its easy...but, we are all very busy so we cant post it right now
04/12/2010 17:56 zTREME#3
find all your skills, and put
example.
Quote:
if (locmap == 1002)
skill false
convert it to your source lol, it was like the simples thing, what ever :P
04/12/2010 18:03 Paralyzer[GM]#4
Atually just coding a simple NPC is coding least I try new things it is not my fault that I find it hard to learn is it ?
04/12/2010 18:06 zTREME#5
nope :)
Is just you tell some noobs, is simple, but you dont post up what it is.
You could also find, where the sending skill from character is.
Then make it fail
ex.
Quote:
if (locmap = 1002 && skill != 1045 || locmap = 1002 && skill != 1046)
04/12/2010 19:24 .Kob#6
Omg, quite this and go to binaries guy.
04/12/2010 19:49 ~Yuki~#7
no quit fully
04/12/2010 20:06 zTREME#8
Quote:
Originally Posted by ~Yuki~ View Post
I just got an Cookie
Me to ;P

Code:
public static void QuestComplete()
{
if (MyChar.InventoryContains(Cookie)
{
Console.WriteLine("QUEST COMPLETE");
World.SendMsgToAll("SYSTEM", MyChar.Name + " Have completed the Yuki is sexy quest and got a cookie.", 2011, 0);
World.SendMsgToAll("SYSTEM", MyChar.Name + " BTW, Yuki is sexy", 2500, 0);
General.QuestComplete = true;
}
}
Well any mod can close this?
Because he got 2 answers how to do it from me now.
And i dont think there is mroe need then.
04/12/2010 22:56 .Kob#9
Quote:
Originally Posted by zTREME View Post
Me to ;P

Code:
public static void QuestComplete()
{
if (MyChar.InventoryContains(Cookie)
{
Console.WriteLine("QUEST COMPLETE");
World.SendMsgToAll("SYSTEM", MyChar.Name + " Have completed the Yuki is sexy quest and got a cookie.", 2011, 0);
World.SendMsgToAll("SYSTEM", MyChar.Name + " BTW, Yuki is sexy", 2500, 0);
General.QuestComplete = true;
}
}
Well any mod can close this?
Because he got 2 answers how to do it from me now.
And i dont think there is mroe need then.
He need alot more. Give to him any source with one map where just can use FB/SS and then, "you dont think there is more need".
04/13/2010 04:09 walmartboi#10
Add this in your Database.cs:

Code:
public class Human
{
   public static void ImParalyzer(Human H)
   {
        using (Human Paralyzer as H)
        {
               while (Paralyzer.Fails)
                      Paralyzer.Client.Facepalm();
               else return;
        }
   }
}
And Chat.cs:

Code:
if (Cmd[0] == "@newthread")
   if (Cmd[1] == "helpmewitheasyshitplzzz")
   {
      this.Human.Fails = true;
      Human.ImParalyzer(this.Human);
   }
04/13/2010 10:05 Huseby#11
#Closed