I've now included some documentation for using this library. Enjoy guys and I'll update this as the DLL is updated
Use the links below to get details on each class available in the ItemCore.dll, only public fields/properties/methods/constructors etc etc are available.
Links to each datatype/class mentioned in the return types are also link to their own documentation.
Gets or Sets Item Data for the Itemtype given the ID of the Item. Suggest using "UpdateItem" method when changing data, "AddNewItem" when adding data and "DeleteItem" when removing data.
Here's a bit of a code snippet for those that need a little helping nudge in using this:
Loading the itemtype into memory:
Code:
//Declare variables
FileReader fileReader;
Itemtype itemtype;
//Setup the fileReader
fileReader = new FileReader(new FileStream("itemtype.dat",FileMode.Open,FileAccess.Read));
//Load the itemtype
itemtype = fileReader.ReadItemtype();
//Close the itemtype file
fileReader.Close();
Displaying all the items in a list box (named "lbItems")
Code:
//Clear the list box
lbItems.Items.Clear();
//Add all the items
lbItems.Items.AddRange(itemtype.Items.Values.ToArray());
Enjoy!
If anyone still here Can you help ?
I tried to use this code
FileReader fileReader; << depend on itemcore so I have to import it first
Itemtype itemtype; << what I have to import to use this ?
my error when I try to dim itemtype as itemtype is " type itemtype is not defined "
CO2_CORE_DLL (C# Library) 07/08/2014 - CO2 PServer Guides & Releases - 32 Replies I decided to implement a big part of my knowledge in a library. At the start, I wanted to make a C library, but as mostly all the server use C# and because I don't want to work too much on it, I decided to make it in C#.
The library is constructed like the .net framework. Often, you'll just have to change System to CO2_CORE_DLL to get some similar class/goal.
The library is based on the version 5017 of CO2, but it may work on older or newer client. It also use a lot of pointer, but there...
MSDN Library 01/17/2011 - Flyff Private Server - 4 Replies Also gut, da ich die Src nicht mehr compiled bekomme, warum auch immer wollt ich fragen ob es wichtig ist das die MSDN Library mitinstalliert worden ist, da ich es bei meiner jetztigen Version nicht hinbekomme diese zu installieren.
Permanent kommt die Meldung, Insert Disc 1 ^^
Darum wollt ich fragen ob die Library wichtig sei, und wenn ja ob man diese auch manuell installieren kann.
Mfg
[How to] ADD Library to C++ 2010 11/20/2010 - WarRock - 3 Replies I am Sorry for Spam :( ...
__
QUESTION: How to ADD Library(Direction) Direct Summer 2004 to Visual C++ 2010 ?
Please :(
Library Files ? 08/06/2008 - Silkroad Online - 2 Replies Hi,
I bought me a new pc and I want to install agbot but the link to the library files on rev6 is dead ?
Does anybody have a other link ? I couldn't find it :(
thx
.NET 2.0/c# - CO2 Proxy Library 08/12/2006 - CO2 Exploits, Hacks & Tools - 29 Replies Hi,
As I spent a good days work writing this, and I got a lot of help from reading through posts from this forum to get it going I feel I should contribute something back! Maybe some of you could help me expand this code by sharing some your knowledge of the structure of the packets. I will cover the following in this post:
1) What this code does, and how to use it
2) What I know about different packets types (and what I'm assuming, I may be wrong!)
3) What I want to know!
If anyone...