Register for your free account! | Forgot your password?

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

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

Advertisement



SilkroadSecurityApi - TransferIncoming() Not Working

Discussion on SilkroadSecurityApi - TransferIncoming() Not Working within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 22
Received Thanks: 17
Lightbulb SilkroadSecurityApi - TransferIncoming() Not Working

Hello Everybody...

I'm making a server/client program in VS14, using the .NET socket & SilkroadSecurityApi classes and others...

I wrote a client/server program, and tested it locally (client and server on two different computers) and they worked just fine.

However, when I tried send packet to server from client, the server couldn't read data or the client couldn't read data & opcode ... nothing ...

When i connect client to server, server and client 's TransferOutgoing event is successfully working first time and wait for TransferIncoming() method.

As a result, i can't read & write & send opcode ... TransferIncoming
does not read or can not read.

Here is my GIF (the same on both sides)

_DeaLyDeviL_ is offline  
Old 07/28/2015, 23:13   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 313
Received Thanks: 667
1. GIFs are stupid to watch when looking for crucial information like console print
because there is no pause unless you do vodoo to them.

2. SilkroadSecurityApi work fine if connecting them together, it comes down to implementation. Client- and Server-Security are setup differently. You might already know that client initiates handshake process.
Edit: Had no silkroad security in a long time :O Let's get back to "A Guide to Silkroad’s Security" by Drew 'pushedx' Benton.


Your client however throws an exception which you should look into and not just throw away and retry when handshaking.

DaxterSoul is offline  
Thanks
1 User
Old 07/29/2015, 23:17   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 22
Received Thanks: 17
Quote:
Originally Posted by DaxterSoul View Post
1. GIFs are stupid to watch when looking for crucial information like console print
because there is no pause unless you do vodoo to them.

2. SilkroadSecurityApi work fine if connecting them together, it comes down to implementation. Client- and Server-Security are setup differently. You might already know that client initiates handshake process.

Your client however throws an exception which you should look into and not just throw away and retry when handshaking.
I changed my code. I used asynchronous socket server/client. I still get the same error "mismatch".

I dont understant your last sentence.

Can you give examples with code and where do I put it ?


Thanks...
_DeaLyDeviL_ is offline  
Old 07/30/2015, 02:18   #4
 
elite*gold: 0
Join Date: Jan 2009
Posts: 313
Received Thanks: 667
You need to trace by debugging where that error came from.

I can provide some sample code, but it won't solve the problem.
Here is a sample client&server talking to each other using SilkroadSecurity.
DaxterSoul is offline  
Thanks
1 User
Old 07/30/2015, 11:46   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 22
Received Thanks: 17
Quote:
Originally Posted by DaxterSoul View Post
You need to trace by debugging where that error came from.

I can provide some sample code, but it won't solve the problem.
Here is a sample client&server talking to each other using SilkroadSecurity.
This is working fine. But i will clean the code. Lets to trace for where I get an error. Thanks bro.
_DeaLyDeviL_ is offline  
Reply


Similar Threads Similar Threads
Rage-Scape 723 Server - Working Grand Exchange - All skills working - Minigames - ETC
01/12/2015 - Runescape Private Server - 5 Replies
Welcome to my brand new 723 server :) I have been working on this project for a few months now, hope you enjoy! I have just started this server a few days ago, currently there are no staff :) Website: Rage-Scape - Let the legend begin! Minigames: Fight Caves Fight Kiln Dominion Tower (All 5 Modes) Crucible
How i can send packets via SilkroadSecurityApi.dll
12/27/2013 - SRO Coding Corner - 3 Replies
hello guys, i will make clientless gm pro in C#. i need send packets via SilkroadSecurityApi.dll iam using this opcode : 7010 and packet is 0e00 how i got it working ? my source is NoticeWriter.
[C#] SilkroadSecurityApi Send Packet
12/07/2011 - SRO Coding Corner - 0 Replies
I make Sro Bot But When entering the game shuts down the program and not send the packet :/ if help me, Im happy :) My Bot Source Sorry I'm English Bad :(
[C#] SilkroadSecurityApi Send Packet ?
08/07/2011 - SRO Coding Corner - 5 Replies
I looked but could not find any subjects about it. How can i select monster with SilkroadSecurityApi (7045 Opcode) Waiting your helps :handsdown:



All times are GMT +2. The time now is 11:16.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.