|
You last visited: Today at 22:04
Advertisement
[Help] Npc To clear inv
Discussion on [Help] Npc To clear inv within the CO2 Private Server forum part of the Conquer Online 2 category.
06/06/2009, 22:02
|
#1
|
elite*gold: 0
Join Date: Jun 2008
Posts: 97
Received Thanks: 16
|
[Help] Npc To clear inv
have any for me a npc that can clear your inv for coemuv2
|
|
|
06/06/2009, 22:10
|
#2
|
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
|
Use function
Quote:
if (CSocket.Client.Inventory.Count == 40)
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[ERROR] Your inventory is full. You need to clear invectory?", Struct.ChatType.Top));
CSocket.Client.Inventory.Clear
return;
}
|
I dont test, sorry about that if its dont work
|
|
|
06/06/2009, 22:19
|
#3
|
elite*gold: 0
Join Date: Jun 2008
Posts: 97
Received Thanks: 16
|
k i gonna try it
|
|
|
06/06/2009, 22:24
|
#4
|
elite*gold: 0
Join Date: Jun 2008
Posts: 97
Received Thanks: 16
|
dont work for me can u make a full npc for me?
|
|
|
06/06/2009, 22:31
|
#5
|
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
|
case 10010656: // ClearInv
{
if (LinkBack == 0)
{
if (CSocket.Client.Inventory.Count == 40)
{
Text("Im clear invectory. U need it?", CSocket);
Link("Yes, i need.", 1, CSocket);
Link("No, i still here.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else
Text("Your inventory is full. You need to clear invectory?", CSocket);
Link("Yes, i need.", 1, CSocket);
Link("No, i still here.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
if(CSocket.Client.Inventory.Count == 0)
Text("Your inventory is empty. All remove", CSocket);
Link("THANKS!!!", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
break;
}
Take, press thanks if im help
|
|
|
06/06/2009, 22:38
|
#6
|
elite*gold: 0
Join Date: Jun 2008
Posts: 97
Received Thanks: 16
|
it didn't work
it dont clear
|
|
|
06/06/2009, 22:39
|
#7
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
Quote:
Originally Posted by mejo33
case 10010656: // ClearInv
{
if (LinkBack == 0)
{
if (CSocket.Client.Inventory.Count == 40)
{
Text("Im clear invectory. U need it?", CSocket);
Link("Yes, i need.", 1, CSocket);
Link("No, i still here.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else
Text("Your inventory is full. You need to clear invectory?", CSocket);
Link("Yes, i need.", 1, CSocket);
Link("No, i still here.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
if(CSocket.Client.Inventory.Count == 0)
Text("Your inventory is empty. All remove", CSocket);
Link("THANKS!!!", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
break;
}
Take, press thanks if im help
|
He said full npc , but w.e dont do the work for him.
|
|
|
06/06/2009, 22:39
|
#8
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Quote:
case "clearinv":
{
CSocket.Client.Inventory.Clear();
CSocket.Client.Inventory = new Dictionary<int, Struct.ItemInfo>();
break;
}
|
Something along those lines? I don't even have the CoEmu source but since I saw one thread or another about the source I know how it uses inventory and command.
|
|
|
06/06/2009, 22:44
|
#9
|
elite*gold: 0
Join Date: Mar 2009
Posts: 16
Received Thanks: 0
|
Quote:
Originally Posted by nuhali
dont work for me can u make a full npc for me?
|
I can send it to you, do you need the full npc.dat file thing?
|
|
|
06/06/2009, 22:44
|
#10
|
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
|
hehe i say im not sure  thanks emme for fix
|
|
|
 |
Similar Threads
|
clear inv
08/02/2010 - CO2 Private Server - 5 Replies
Would this work to clear inventory?
Is for the 5018 source.
case "/clearinv"://Not tested yet
{
foreach (IConquerItem I in MyChar.Inventory)
{
MyChar.RemoveInventory(I.ID);
}
break;
|
Clear Stats Without Soul Clear?
03/15/2010 - 12Sky2 - 0 Replies
Just as the topic says, is there a way to reset your stats without a Soul Clear? I imagine it's possible, but does anybody know how?
|
Make it clear!
02/17/2009 - Cabal Online - 4 Replies
Is there atm a working cabal hack and a working cabal bypass (eu)?
tnx
|
Just to clear something
01/22/2009 - SRO Private Server - 7 Replies
I think people not understand here so i want to clear here something about the ECSRO GM , First of all when you starting to be GM it's very nice and you excited so much and happy But after some month's its really boring Main admin dont accept you make Event,items for your self and nothing , only search botters and help a bit ,GM allowed only to search bot not anything elso. as you all think "gm can do everything" if you think that so you dreaming
Anyway I did what i did because i quit from...
|
Just to clear something
12/20/2006 - Conquer Online 2 - 2 Replies
erm.. I saw a thread abt ' delete the aimbot hacks from Epvp ' earlier
Well flame me all u want, im just gona post my opinion kay, feel free to post urs.
Epvpers its a site with all types of hack( either ur againts it or u agree with it )... doesnt rly make sense complaining abt 1 hack, infact, the only people who would complain abt an aimbot hack, would be the ones who got great ping and dun need 1 and get pissed when ppl with low ping can get them easly, ok mebe 25% of it its also skill...
|
All times are GMT +1. The time now is 22:06.
|
|