Jump to content

Recommended Posts

  • Active+ Member
Posted (edited)

Using skilltable.txt Server Side

Why?

Because it's easier to tweak and you  can share the code with the client!

Requirements

  • vincentlaucsb/csv-parser

Installing requirements (Using vcpkg and CMake)

Run command.

vcpkg install vincentlaucsb-csv-parser

 

Add to the CMakeLists.txt for db (src/db/CMakeLists.txt)

# vincentlaucsb/csv-parser
find_package(unofficial-vincentlaucsb-csv-parser CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE unofficial::vincentlaucsb-csv-parser::csv)

Changes

skilltable.txt

This is the hidden content, please

db/src/ClientManager.h

This is the hidden content, please

db/src/ClientManager.cpp

This is the hidden content, please

db/src/ProtoReader.cpp

This is the hidden content, please

db/src/ProtoReader.h

This is the hidden content, please

This is based on an old commit I have, if something is off do tell me and I'll have a look at it

 

 

Edited by soforyou
Add missing import
  • Metin2 Dev 38
  • Good 3
  • Love 13
Link to comment
https://metin2.dev/topic/34401-using-skilltabletxt-server-side/
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.