[Request] SilkroadSecurtiyApi in C++

09/28/2021 20:08 Z E T S U#1
is Pushdex API Available in C++? can any one share it with me?
09/28/2021 22:42 pushedx#2
I have old posts/projects that have old C++ security api code in them, but I don't recommend using them.

For example, in this thread: [Only registered and activated users can see links. Click Here To Register...]
Quote:
Now for some other comments. The project makes use of the Common code from my [Only registered and activated users can see links. Click Here To Register...] project, which I have not made a formal thread on these forums about yet. Boost is required to compile most of the code and I use Visual Studio 2008.
However, all the C++ projects pre-date the C# security api, so they're going to most likely have some issues and not offer the same updated API I coded into the C# one.

Basically, you need to custom tailor C++ code for the project you're working on, so after struggling trying to make a generic C++ version anyone could use, I gave up and switched to using C# instead. Nowadays, if I were to do another C++ API, I'd start with the C# API, then port it to C++, and then tailor it to the project at hand. The C# API is known to be stable, well tested, and while it does have performance issues when used under unintended scenarios, you should not have any bugs with it past known limitations.

Those known limitations pretty much come to acting as a proxy between server modules. The encryption/security byte processing doesn't mirror how the server files work, since I wrote the API before server files were released. There's a few posts on the forums mentioning the implications of this. I have an unpublished updated version, but it's not ready for release anytime soon, but seems most people have gotten by without that functionality anyways.

Basically, you'd be better off just porting the C# API to C++, then customizing it as needed. Don't use any of the old code I have posted though, it's all far too old and outdated now.
09/28/2021 23:11 Z E T S U#3
Quote:
Originally Posted by pushedx View Post
I have old posts/projects that have old C++ security api code in them, but I don't recommend using them.

For example, in this thread: [Only registered and activated users can see links. Click Here To Register...]


However, all the C++ projects pre-date the C# security api, so they're going to most likely have some issues and not offer the same updated API I coded into the C# one.

Basically, you need to custom tailor C++ code for the project you're working on, so after struggling trying to make a generic C++ version anyone could use, I gave up and switched to using C# instead. Nowadays, if I were to do another C++ API, I'd start with the C# API, then port it to C++, and then tailor it to the project at hand. The C# API is known to be stable, well tested, and while it does have performance issues when used under unintended scenarios, you should not have any bugs with it past known limitations.

Those known limitations pretty much come to acting as a proxy between server modules. The encryption/security byte processing doesn't mirror how the server files work, since I wrote the API before server files were released. There's a few posts on the forums mentioning the implications of this. I have an unpublished updated version, but it's not ready for release anytime soon, but seems most people have gotten by without that functionality anyways.

Basically, you'd be better off just porting the C# API to C++, then customizing it as needed. Don't use any of the old code I have posted though, it's all far too old and outdated now.
Oh okay i will do that, can you send to me the stable C# API?
09/29/2021 05:22 pushedx#4
I believe this was the last posted one: [Only registered and activated users can see links. Click Here To Register...]
10/04/2021 21:22 Otakanikaru#5
[Only registered and activated users can see links. Click Here To Register...] here's cpp code