|
You last visited: Today at 01:03
Advertisement
[help] with map 1511 and the items
Discussion on [help] with map 1511 and the items within the CO2 Private Server forum part of the Conquer Online 2 category.
06/15/2009, 18:16
|
#1
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
[help] with map 1511 and the items
Ok I'm making the furniture store still... I went on regular co got the prices what they say etc. Now I got some questions w/ bugs or something w/ that map
1. None of the npcs in MySql set for that map ever show up.
2. The portal doesnt work you get an error something like "error unknown portal 1511, 73 ,51" or something like that.
3. *Challenge* Anyone know how to make furniture work? If you dont Idc just making this server like CO not many people will use house anyway... Maybe...
4. Whats the real code for NPCS to add item to inventory?
I'll add more later
If you answer atleast 1 of these questions and it works you got my thanks.
|
|
|
06/16/2009, 01:27
|
#2
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
As far as add item for npcs its
Code:
public static void AddItem(int itemid, int bless, int dura, int enchant, int plus, int position, int soc1, int soc2, int color, ClientSocket CSocket)
{
Struct.ItemInfo Item = new Struct.ItemInfo();
if (dura == 255)
{
Item.Dura = Item.MaxDura;
}
else
{
Item.Dura = dura;
}
Item.Bless = bless;
Item.Enchant = enchant;
Item.ItemID = itemid;
Item.Plus = plus;
Item.Position = position;
Item.Soc1 = soc1;
Item.Soc2 = soc2;
Item.Color = color;
Item.UID = Nano.Rand.Next(1, 9999999);
bool created = Database.Database.NewItem(Item, CSocket);
while (!created)
{
Item.UID = Nano.Rand.Next(1, 9999999);
created = Database.Database.NewItem(Item, CSocket);
}
CSocket.Client.Inventory.Add(Item.UID, Item);
CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
}
at the end of NpcTalk.cs. As, for portals mayby its not in your mysql?
|
|
|
06/16/2009, 01:29
|
#3
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
The portal IDK and dont know how to check but the npcs are in MySQL but dont show up in that map... It's a weird problem
|
|
|
06/16/2009, 02:05
|
#4
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
are they in under npcs and tqnpcs?
|
|
|
06/16/2009, 02:11
|
#5
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
tqnpcs gonna bet they needa be in npcs huh?
|
|
|
06/16/2009, 03:52
|
#6
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
Yeah they need to be in npcs as well as tqnpcs xP
|
|
|
06/16/2009, 05:57
|
#7
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
Thanks now i need the npc IDS for the furnitures cause the one now is alll different kinds of things like shop keepers and blacksmiths and stuff...
Also w/ portals i added it as Start 51,73,1511 and set it to w/e 1002 (TC) and it doesnt work.. any suggestions?
|
|
|
06/16/2009, 16:59
|
#8
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
Hmm, not sure about your portals. When i get home from school I'll make a npc to send me to furniture place and ill try fixing the portal. Ill update you with my results xD
|
|
|
06/16/2009, 17:36
|
#9
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
ok thanks i got the portal to work btw
|
|
|
06/16/2009, 17:50
|
#10
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
How'd you fix it? i need to fix the one in the houses and stuff
|
|
|
06/16/2009, 18:01
|
#11
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
you got houses to work? or did you just set the npc to teleport you to the house map ID i did that in LOTF then i came across a problem where everyone went to the same map but i didnt test to see if that really happened i just supposed... that it would..
But i didnt do anything to it I just filled in the Coords of the portal and the start map then where i wanted it to go and restarted my server and it worked...
sorry i took so long answering my brother messed up our connection and now i have to use a crappy connection... -.-
|
|
|
06/16/2009, 21:49
|
#12
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
Thanks. And, nah im just having a npc teleport me there atm. its not coded atm.
By any chance are you working on tinter NPC? I just cant seem to make it work xP
|
|
|
06/16/2009, 21:57
|
#13
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
what does tinter do?
|
|
|
06/16/2009, 21:58
|
#14
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
tinter changes color of armors
|
|
|
06/16/2009, 22:45
|
#15
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
Nah i dont know where to start w/ him... SORRY it took so long to reply bro wont fix my router cause hes too lazy and had to use the most crappiest connection ever -.-... but do you have the furniture npcs yet?
brb gonna watch a movie
|
|
|
 |
|
Similar Threads
|
[Ganz Einfach]HowTo GM Items & Neue Waffen & Drachengott Items implementieren
08/01/2012 - Metin2 PServer Guides & Strategies - 31 Replies
Hey Com,
ich weiß zwar, dass es schon einige solcher Threads gibt ABER diesen bestimmt noch nicht....
Also ich habe mal eine Query(Erklär ich gleich) für euch reingeschreiben, mit der man übelst einfach GM,Drachengott und neue Waffen entbuggt :)
Also so gehts :1. Navicat öffnen
2. in die Datenbank "player"
3. die Tabelle "item_proto" öffnen
4. Links oben auf File
|
NIGHTCLUB CHEAT!! Clone all owned items even Facebook Credits Items 100%Working!!
08/21/2010 - Facebook - 2 Replies
Require Tools
* Charles
* Firefox
* NotePad++ (not required but it makes your job easier)
Credits: Kingrj123,Botete0030
Steps@pwnthis to cloning items even Facebook Credits items:
|
[t๏ק кгเєﻮєг รєгשєг 20 !!! t๏ק] !!!
02/10/2010 - Metin2 Trading - 4 Replies
Hallo Liebe Comiunity,
Ich verkaufe mein Metin2 Account auf dem Server 20.
Weitere Informationen Preise etc. findet ihr hier:
Metin2 Account IMBA bei eBay.de: Sonstige Onlinespiele (endet 13.02.10 21:57:18 MEZ)
|
All times are GMT +1. The time now is 01:04.
|
|