|
You last visited: Today at 00:42
Advertisement
Timer for NPC actions?
Discussion on Timer for NPC actions? within the CO2 Private Server forum part of the Conquer Online 2 category.
09/10/2008, 09:31
|
#1
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
Timer for NPC actions?
is it possible to make an npc do a buff on a char for a limited time?
If so how??
I know something with a timer dunno how exactly....
|
|
|
09/10/2008, 13:31
|
#2
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
I don't think an NPC can do it(Without tons and tons of coding and ****, even then it still may be impossible), but you can fool around with mobs...(Like making a guard do stuff)
|
|
|
09/10/2008, 14:41
|
#3
|
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
|
@tao4229 /Agreed
Alltho I think its impossible.
|
|
|
09/10/2008, 15:11
|
#4
|
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
|
What you mean?
|
|
|
09/10/2008, 15:34
|
#5
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
So NPC axtion Stigma on mychar for 100 sec?
How or not possible :P?
|
|
|
09/10/2008, 15:43
|
#6
|
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
|
Well It is possible... But u need to kill your *** for it
|
|
|
09/10/2008, 16:13
|
#7
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
|
Quote:
Originally Posted by lolmaster123
So NPC axtion Stigma on mychar for 100 sec?
How or not possible :P?
|
Well,thats possible. If you want specific stigma for 100 sec,you can either code a "new" stigma,like Stigma1,that does it for 100 seconds,so you dont modify the real one.
Anyways.just to do something like this:
if (CurrentNPC == 1337)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("I could stig you for 100 seconds if you would like that."));
SendPacket(General.MyPackets.NPCLink("Yes sir,please do", 2));
SendPacket(General.MyPackets.NPCLink("No,thanks.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
MyChar.StigBuff = true;
}
}
Might not be working but worth a try!
Emme
|
|
|
09/10/2008, 16:14
|
#8
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
|
Quote:
Originally Posted by tao4229
I don't think an NPC can do it(Without tons and tons of coding and ****, even then it still may be impossible), but you can fool around with mobs...(Like making a guard do stuff)
|
Add my msn u newbie
|
|
|
09/10/2008, 18:37
|
#9
|
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
|
Hmm... I'll try it out later... If it works you earned 1 thanks
|
|
|
09/10/2008, 20:00
|
#10
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
Quote:
Originally Posted by emildayan1
Well,thats possible. If you want specific stigma for 100 sec,you can either code a "new" stigma,like Stigma1,that does it for 100 seconds,so you dont modify the real one.
Anyways.just to do something like this:
if (CurrentNPC == 1337)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("I could stig you for 100 seconds if you would like that."));
SendPacket(General.MyPackets.NPCLink("Yes sir,please do", 2));
SendPacket(General.MyPackets.NPCLink("No,thanks.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
MyChar.StigBuff = true;
}
}
Might not be working but worth a try!
Emme
|
That will just give him the effect not the stats
|
|
|
09/10/2008, 21:54
|
#11
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
|
My bad,LOL,didnt though of that.
Find the
Quote:
in the npc script.
Replace it with:
Quote:
MyChar.StigBuff = true;
MyChar.Stigged = DateTime.Now;
MyChar.MyClient.SendPacket(General.MyPackets.Vital (MyChar.UID, 26, MyChar.GetStat()));
World.UpdateSpawn(MyChar);
|
Done,should work.
Emme
|
|
|
09/10/2008, 22:08
|
#12
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Quote:
Originally Posted by emildayan1
My bad,LOL,didnt though of that.
Find the
in the npc script.
Replace it with:
Done,should work.
Emme
|
Was about to correct you there .
Edit:: Emme I added you, It should be pretty easy to know whether it's my email or not..
|
|
|
|
Similar Threads
|
[Help] GM actions
02/09/2011 - Metin2 Private Server - 3 Replies
Hi everybody, I wanted to know if you have a method to see what commands my GMs use on my PServer (a log for example, or monitoring).
Thanks a lot for your help :awesome:
PS: sorry I'm not English.
|
How to edit GuildOfficer Actions Exclamation How to edit GuildOfficer's NPC Actions
08/27/2009 - CO2 Private Server - 2 Replies
Hello Guys, hope anyone have a good solution for this
I'm using Source 5065
but after wining GW , when the Guild Leader go to get 3k CPS from GuildOfficer
it don't give the Guild Leader anything
and also
i wanna add Top Guild Leader Halo to this NPC actions
i can add it into my Client but can't add this Top Thing action to my Source
|
Actions
07/09/2005 - Conquer Online 2 - 3 Replies
ok, hi everybody im working on some stuff but i get an error that an action is not found so i want to add that action to some file an sucesful log in, you know where to find action like Action003011923 or whatever?
|
All times are GMT +2. The time now is 00:42.
|
|