|
You last visited: Today at 17:22
Advertisement
I NEED CODE FOR LOVE STONE
Discussion on I NEED CODE FOR LOVE STONE within the CO2 Private Server forum part of the Conquer Online 2 category.
12/08/2009, 20:50
|
#1
|
elite*gold: 0
Join Date: Jan 2009
Posts: 17
Received Thanks: 0
|
I NEED CODE FOR LOVE STONE
pls some one to make release for love stone !! i need fast
|
|
|
12/08/2009, 21:02
|
#2
|
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
|
Wrong secion,yuo can trai code it,but yuo need make sponse date.
|
|
|
12/08/2009, 21:37
|
#3
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
#Reported.
Wrong section.
|
|
|
12/08/2009, 21:59
|
#4
|
elite*gold: 146
Join Date: Apr 2008
Posts: 14,686
Received Thanks: 9,969
|
#moved
|
|
|
12/09/2009, 18:43
|
#5
|
elite*gold: 0
Join Date: Dec 2009
Posts: 3
Received Thanks: 0
|
What source?
|
|
|
12/09/2009, 19:47
|
#6
|
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
|
5165 probably.
All you have to do is a normal NPC with the lovestone ID.
And make a function which checks if you are blessed, and if so, let them have double exp once a day(this can be done by doing a loop).
|
|
|
12/09/2009, 23:20
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Here is my LoveStone code.
Works 100%
Code:
#region LoveStone
case 390:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hello my friend! What I can do for you?"));
GC.AddSend(Packets.NPCLink("I wanna get married.", 1));
GC.AddSend(Packets.NPCLink("I want double exp time.", 2));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
GC.AddSend(Packets.NPCSay("Are you sure?"));
GC.AddSend(Packets.NPCLink("Yes!", 3));
GC.AddSend(Packets.NPCLink("Let me think.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 3)
{
GC.AddSend(Packets.NPCSay("Okay then... Get the flower and click in your love to marry."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 1067, 0, 0, 116));
}
else if (Control == 2)
{
if (GC.MyChar.BlessingLasts >= 1)
{
GC.AddSend(Packets.NPCSay("There you now have one hour's double exp time"));
GC.AddSend(Packets.NPCLink("Thanks", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.MyChar.DoubleExp = true;
GC.MyChar.DoubleExpLeft = 3600;
GC.MyChar.MyClient.AddSend(Packets.Status(GC.MyChar.EntityID, Status.DoubleExpTime, (ulong)GC.MyChar.DoubleExpLeft));
}
else
{
GC.AddSend(Packets.NPCSay("You're not blessed by a PrayingStone."));
GC.AddSend(Packets.NPCLink("Damn", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
|
|
|
12/11/2009, 19:47
|
#8
|
elite*gold: 0
Join Date: Sep 2008
Posts: 259
Received Thanks: 64
|
tested and didn't gave any errors
|
|
|
12/14/2009, 16:04
|
#9
|
elite*gold: 0
Join Date: Oct 2009
Posts: 14
Received Thanks: 0
|
pls help
Quote:
Originally Posted by Tiku
Here is my LoveStone code.
Works 100%
Code:
#region LoveStone
case 390:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hello my friend! What I can do for you?"));
GC.AddSend(Packets.NPCLink("I wanna get married.", 1));
GC.AddSend(Packets.NPCLink("I want double exp time.", 2));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
GC.AddSend(Packets.NPCSay("Are you sure?"));
GC.AddSend(Packets.NPCLink("Yes!", 3));
GC.AddSend(Packets.NPCLink("Let me think.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 3)
{
GC.AddSend(Packets.NPCSay("Okay then... Get the flower and click in your love to marry."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 1067, 0, 0, 116));
}
else if (Control == 2)
{
if (GC.MyChar.BlessingLasts >= 1)
{
GC.AddSend(Packets.NPCSay("There you now have one hour's double exp time"));
GC.AddSend(Packets.NPCLink("Thanks", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.MyChar.DoubleExp = true;
GC.MyChar.DoubleExpLeft = 3600;
GC.MyChar.MyClient.AddSend(Packets.Status(GC.MyChar.EntityID, Status.DoubleExpTime, (ulong)GC.MyChar.DoubleExpLeft));
}
else
{
GC.AddSend(Packets.NPCSay("You're not blessed by a PrayingStone."));
GC.AddSend(Packets.NPCLink("Damn", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
|
ive pasted this into my compiler and compiled it, I also had to make the lovestone npc and put it into the correct position..so why isnt it talking to me? "Hi, I dont do anything yet my ID is 1600"
what else do i have to do?
|
|
|
12/14/2009, 18:10
|
#10
|
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
|
Quote:
Originally Posted by oneblud
ive pasted this into my compiler and compiled it, I also had to make the lovestone npc and put it into the correct position..so why isnt it talking to me? "Hi, I dont do anything yet my ID is 1600"
what else do i have to do?
|
Obvious, change the npc id from 390 to 1600?
So it would be case 1600: instead of case 390:
Jesus, e*pvpers these days.
|
|
|
01/24/2010, 23:48
|
#11
|
elite*gold: 0
Join Date: Jan 2008
Posts: 14
Received Thanks: 0
|
can you give me all code that i inserted in NPCs.txt for this my NPCs no have case 390 or give me the file
thnx
|
|
|
01/25/2010, 05:47
|
#12
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by comp_new2006
can you give me all code that i inserted in NPCs.txt for this my NPCs no have case 390 or give me the file
thnx
|
Go into NPC.txt and make a npc with the id 390.
|
|
|
01/26/2010, 22:21
|
#13
|
elite*gold: 0
Join Date: Jul 2008
Posts: 97
Received Thanks: 9
|
npcs is
390 1600 2 6 1036 192 193
|
|
|
01/26/2010, 22:23
|
#14
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by renetjuuh
npcs is
390 1600 2 6 1036 192 193
|
Then go to those coordinates and it should work.
|
|
|
01/30/2010, 21:40
|
#15
|
elite*gold: 0
Join Date: Jul 2008
Posts: 97
Received Thanks: 9
|
taht not the only thing because now you neet to code for making your maried
|
|
|
Similar Threads
|
[Help 5095]Can Any One Gave Me Code To Love Stone In source Binary 5095
04/18/2010 - CO2 Private Server - 1 Replies
Can Any One Gave Me Code To Love Stone In source Binary 5095 from his source
Cuz I Have problem in marriage
love stone gave u flower and when u send it nothing sent to Your Frind
And I Think Problem In This Code
400011 400012 0 124 1067
|
~ New Love Stone ~
07/03/2009 - CO2 Weapon, Armor, Effects & Interface edits - 8 Replies
Hello everyone, this time i edit the love stone, here a picture!!
If you want use this extrac this in you conquer folder
"x:xxxxc3effect"
http://www.elitepvpers.com/forum/attachment.php?at tachmentid=24754&stc=1&d=1246304110
If you like this, click in http://www.elitepvpers.com/forum/images/bulle t/buttons/post_thanks.gif
|
All times are GMT +1. The time now is 17:23.
|
|