Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 03:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Request] SilkroadSecurtiyApi in C++

Discussion on [Request] SilkroadSecurtiyApi in C++ within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2021
Posts: 17
Received Thanks: 3
Post [Request] SilkroadSecurtiyApi in C++

is Pushdex API Available in C++? can any one share it with me?
Z E T S U is offline  
Old 09/28/2021, 22:42   #2

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,779
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:
Quote:
Now for some other comments. The project makes use of the Common code from my 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.
pushedx is offline  
Old 09/28/2021, 23:11   #3
 
elite*gold: 0
Join Date: Jun 2021
Posts: 17
Received Thanks: 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:


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?
Z E T S U is offline  
Old 09/29/2021, 05:22   #4

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,779
I believe this was the last posted one:
pushedx is offline  
Thanks
2 Users
Old 10/04/2021, 21:22   #5

 
Otakanikaru's Avatar
 
elite*gold: 133
Join Date: Nov 2013
Posts: 454
Received Thanks: 455
here's cpp code
Otakanikaru is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[REQUEST] Can i Request A Acc/Char PHP Script
09/27/2008 - CO2 Private Server - 6 Replies
hello i was wondering if anyone have made a acc/char creation page in one yet? is so can anyone release itplease?
[Request] thats right [b]I[/b] have a request
09/24/2008 - CO2 Private Server - 0 Replies
How would I go about removing an item from a character's model without removing it from the inventory? for(byte i=0; i < 10; i++) SendPacket(General.MyPackets.RemoveItem((long)MyCh ar.Equips_UIDs, i, 6)); this removes them from the char and from their inventory screen... , the RemoveItem packet is as follows: public byte RemoveItem(long UID, byte pos, byte type)
[REQUEST]2 small simple request please look in here
09/20/2008 - CO2 Private Server - 6 Replies
Hello all no one here knows me i am Rukia Owner Od DarkAngelzCO 2.0 i was wondering if anyone can kindly show me 1 solutions first off can anyone tell me how i can add day/night to work for everyone i have been searching deeply for it can anyone please show me with a guide how to get it on my server?
*REQUEST* Powerlevel spots 30-70* *REQUEST*
09/10/2008 - Silkroad Online - 16 Replies
Hello, this is just a request, please can someone do a list of the powerlevel spots with a screenshot of the map and the area high lighted from 30-70, I mean lvl 30 mobs to lvl 70 mobs, thanks alot :)
[Request] Make a Request section
05/09/2007 - Conquer Online 2 - 15 Replies
Here is my propsal (I posted this idea in another topic but I felt that it needs its own topic). I would like to request on behalf of all the CO community here, that the staff at elitepvp make a requests section. This section would be a place for all these people asking for requests - be it the noob asking for "duep haxz", or the guy asking for a new proxy. What I mean is it would be a request forum, to handle all requests. I also propose that in this forum, post count will not increase....



All times are GMT +1. The time now is 03:51.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.