- Joined
- Nov 22, 2013
- Messages
- 118
- Reaction score
- 37
Crafting is both client and server sided edits..
The craft search function in game as alt + b brings up client\data\table.pack, inside the pack ItemCraft.tbl
The recipe themselves are serverside with gameserver\tables\ItemCraft.tbl
important to note the compression of zip files does matter a lot. in c# i suggest using this code:
The craft search function in game as alt + b brings up client\data\table.pack, inside the pack ItemCraft.tbl
The recipe themselves are serverside with gameserver\tables\ItemCraft.tbl
important to note the compression of zip files does matter a lot. in c# i suggest using this code:
C#:
using System.IO.Compression;
string folderPath = "table";
string zipFilePath = "table.zip";
if (File.Exists(zipFilePath))
{
File.Delete(zipFilePath);
}
ZipFile.CreateFromDirectory(folderPath, zipFilePath, CompressionLevel.NoCompression, false);