|
You last visited: Today at 01:35
Advertisement
[REQUEST]Free Item Giver NPC for 5165
Discussion on [REQUEST]Free Item Giver NPC for 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.
11/27/2009, 17:05
|
#1
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
[REQUEST]Free Item Giver NPC for 5165
title.. and please could ya make the items +9 instead of +12. Thanks.
|
|
|
11/27/2009, 18:47
|
#2
|
elite*gold: 0
Join Date: Jun 2009
Posts: 22
Received Thanks: 1
|
Go learn C#.
|
|
|
11/27/2009, 18:58
|
#3
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
not to be rude if you cant code this simple thing. why are you even trying to run a server? if you wanted to learn C# you would look at the npcs that are alrdy in there that sell or give stuff and try to code it your self not ask for the whole thing
|
|
|
11/27/2009, 19:53
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Sorry, I brealy saw how you wanted them +9.
I made them all +12.
Well you can change that.
Here's the code.
Btw:I have not tested this yet.
Code:
case 43:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Do you want Full + 12 Gears?"));
GC.AddSend(Packets.NPCLink("Yes.", 1));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control ==1)
{
GC.AddSend(Packets.NPCSay("Pick your class."));
GC.AddSend(Packets.NPCLink("Trojan", 2));
GC.AddSend(Packets.NPCLink("Warrior", 3));
GC.AddSend(Packets.NPCLink("Archer", 4));
GC.AddSend(Packets.NPCLink("Taoist", 5));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
if (GC.MyChar.Inventory.Count < 29)
{
GC.MyChar.AddItem("130109-12-12-7-255-13-13");//Conquest Armor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("118109-12-12-7-255-13-13");//MagicCoronet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 3)
{
if (GC.MyChar.Inventory.Count < 28)
{
GC.MyChar.AddItem("131109-12-12-7-255-13-13");//PhoenixArmor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("111109-12-12-7-255-13-13");//ConquestHelmet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
GC.MyChar.AddItem("900109-12-12-7-255-13-13");//DragonShield
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 4)
{
if (GC.MyChar.Inventory.Count < 30)
{
GC.MyChar.AddItem("133109-12-12-7-255-13-13");//PhoenixJerkin
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("113109-12-12-7-255-13-13");//PhoenixHat
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("500329-12-12-7-255-13-13");//ShadowBow
GC.MyChar.AddItem("1050002-0-0-0-0-0-0");//SpeedArrow
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 5)
{
if (GC.MyChar.Inventory.Count < 31)
{
GC.MyChar.AddItem("134109-12-12-7-255-3-3");//PineRobe
GC.MyChar.AddItem("117109-12-12-7-255-3-3");//120 Earring
GC.MyChar.AddItem("114109-12-12-7-255-3-3");//CraneCap
GC.MyChar.AddItem("152259-12-12-7-255-3-3");//Lightening
GC.MyChar.AddItem("121249-12-12-7-255-3-3");//SunShine
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-3-3");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("421339-12-12-7-255-3-3");//KingOfBacksword
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
|
|
|
11/27/2009, 22:28
|
#5
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Quote:
Originally Posted by Tiku
Sorry, I brealy saw how you wanted them +9.
I made them all +12.
Well you can change that.
Here's the code.
Btw:I have not tested this yet.
Code:
case 43:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Do you want Full + 12 Gears?"));
GC.AddSend(Packets.NPCLink("Yes.", 1));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control ==1)
{
GC.AddSend(Packets.NPCSay("Pick your class."));
GC.AddSend(Packets.NPCLink("Trojan", 2));
GC.AddSend(Packets.NPCLink("Warrior", 3));
GC.AddSend(Packets.NPCLink("Archer", 4));
GC.AddSend(Packets.NPCLink("Taoist", 5));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
if (GC.MyChar.Inventory.Count < 29)
{
GC.MyChar.AddItem("130109-12-12-7-255-13-13");//Conquest Armor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("118109-12-12-7-255-13-13");//MagicCoronet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 3)
{
if (GC.MyChar.Inventory.Count < 28)
{
GC.MyChar.AddItem("131109-12-12-7-255-13-13");//PhoenixArmor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("111109-12-12-7-255-13-13");//ConquestHelmet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
GC.MyChar.AddItem("900109-12-12-7-255-13-13");//DragonShield
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 4)
{
if (GC.MyChar.Inventory.Count < 30)
{
GC.MyChar.AddItem("133109-12-12-7-255-13-13");//PhoenixJerkin
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("113109-12-12-7-255-13-13");//PhoenixHat
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("500329-12-12-7-255-13-13");//ShadowBow
GC.MyChar.AddItem("1050002-0-0-0-0-0-0");//SpeedArrow
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 5)
{
if (GC.MyChar.Inventory.Count < 31)
{
GC.MyChar.AddItem("134109-12-12-7-255-3-3");//PineRobe
GC.MyChar.AddItem("117109-12-12-7-255-3-3");//120 Earring
GC.MyChar.AddItem("114109-12-12-7-255-3-3");//CraneCap
GC.MyChar.AddItem("152259-12-12-7-255-3-3");//Lightening
GC.MyChar.AddItem("121249-12-12-7-255-3-3");//SunShine
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-3-3");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("421339-12-12-7-255-3-3");//KingOfBacksword
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
|
k so what do I write in OldCODB/NPCs.txt ? btw it's not compatible with the source. you forgot to fix the #region and #endregion
|
|
|
11/28/2009, 03:24
|
#6
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by airborne.
k so what do I write in OldCODB/NPCs.txt ? btw it's not compatible with the source. you forgot to fix the #region and #endregion
|
What do you mean its not compatible with the source.
I didn't not fix it.
I just did not put it in.
And honestly I don't know what to put in NPCs.tx
I haven't messed around with it yet.
|
|
|
11/28/2009, 03:39
|
#7
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Quote:
Originally Posted by Tiku
What do you mean its not compatible with the source.
I didn't not fix it.
I just did not put it in.
And honestly I don't know what to put in NPCs.tx
I haven't messed around with it yet.
|
npc it was fixed.
#request close
|
|
|
11/28/2009, 05:43
|
#8
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by airborne.
npc it was fixed.
#request close
|
If you ever need anymore help just message me.
I'd be glad to.
|
|
|
 |
Similar Threads
|
[Release]Simple,but useful-Luckytime Giver! 5165 source!
07/18/2010 - CO2 PServer Guides & Releases - 10 Replies
well I kno it's pretty simple...but like I say In all my posts...I'm a newb :)...I don't know if this has been released yet(post if it has) so I'll share it with you guys here...I intended this for the "newbies" to learn how to get a simple NPC to give a skill through the payment of 1k cps once they reach the 2nd rb state(available "ONCE" only)...
HERES THE CODE! ENJOY!
let's define our variables, etc...
in character.cs find
and under it add
|
help fast abig proplem in 5165 sql all players can get +12 for free from 1 item
07/12/2010 - CO2 Private Server - 4 Replies
hay all now can all players in your server 5165 get stuff full +12 for free i will show you this proplem how work
1-get 30 blade or any item you want
2- compose one of them to +8 or any +
3- put the compose item to your warehouse
4- back it to your inventory
5- now all your 30 item +8
|
5165 Item lock, and item redeem.
02/09/2010 - CO2 Private Server - 4 Replies
Anyone knows how to make the item lock and redeem items npc in 5165?
Im not too good at that stuff, and it'll be great if someone could help me. :handsdown:
|
ProMt2.eu free P Server with all item over 80 e withot item shop it's the best
01/21/2010 - Metin2 Private Server - 6 Replies
***** new private server on 24/24 armour lil 66+9 free all item over 80 for free in the npgs. hourse level 21 when you start the pg is level 78. yang unlimited with a bug... in this server you can have all. alse armour gm liv 50. all rate are 1000% register and play for free. There isn't the item shop all is for free here.
|
All times are GMT +1. The time now is 01:40.
|
|