Register for your free account! | Forgot your password?

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

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

Advertisement



get silkroad capacitydata packet

Discussion on get silkroad capacitydata packet within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 14
Received Thanks: 0
get silkroad capacitydata packet

hi.. i'm planing to write a script that shows the capacity of a private server
i have a problem that i dont know how to catch the packet that have the information that i need.
i'm going to write it in php.

please help
prot3ctor is offline  
Old 06/04/2011, 15:08   #2
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
You can't write it with php only. (at least I don't know if it can be done with sockets in php)

You need a program which connects to the login server and send the packet which requests the server list every 5 seconds or whatever what time you need and store the result into a mysql database and display that on your website.
kevin_owner is offline  
Old 06/04/2011, 15:35   #3
 
elite*gold: 0
Join Date: May 2010
Posts: 14
Received Thanks: 0
got it
i will write the program in c# and than display it with php
the problem is that i dont know how to connect to the server and request the server list
prot3ctor is offline  
Old 06/04/2011, 16:17   #4
 
elite*gold: 0
Join Date: Jan 2009
Posts: 313
Received Thanks: 667
I think is all what you need for a clientless connection to Gatewayserver.
DaxterSoul is offline  
Old 06/04/2011, 21:18   #5

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,751
Quote:
Originally Posted by kevin_owner View Post
You can't write it with php only. (at least I don't know if it can be done with sockets in php)
It's possible in PHP because it supports , crypto via , and large numbers via . As long as the host has enabled sockets for outgoing connections (which most do, most however do not allow incoming connections for a server), has enabled the bcmath and mcrypt libs (also pretty standard, even with free hosts) the code needed for the Silkroad security API should work.

However, it also requires a bit of work since you have to port most of the Silkroad security API to PHP as well. You wouldn't need the server functionality, just the clientless functionality, but that doesn't really reduce how much code there is to port. So it's more realistic for most people to just use an external program to update their database. I might release PHP code in the future about this, but I'll have to see.
pushedx is offline  
Thanks
1 User
Old 06/04/2011, 22:33   #6
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
interesting I was tempted when I read your post but then I saw and I'll quote:

Quote:
The size of an integer is platform-dependent, although a maximum value of about two billion is the usual value (that's 32 bits signed). 64-bit platforms usually have a maximum value of about 9E18. PHP does not support unsigned integers.
Which can be a problem... but I'm sure there should be some trick around.
Luckily remain the same.

It might be an interesting project!
Oh yeah, I like to reinvent the wheel or to code things in pure language implementations.
bootdisk is offline  
Old 06/05/2011, 18:21   #7
 
Kazuyaš's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 449
Received Thanks: 236
haha this reminds me of klevres WebClientless project that was never finished :P
Kazuyaš is offline  
Reply


Similar Threads Similar Threads
[Guide] Client Based Packet Injection in Silkroad
08/01/2013 - SRO Coding Corner - 29 Replies
This article is a special one! Thanks to clockwork for letting me share some knowledge I learned from him in the past. This information is still relevant and useful for Silkroad, but as I will write about, might be too much work for the benefits. Client Based Packet Injection in Silkroad I. Purpose Welcome to the fourth guide in my series! I would like to take this time to thank clockwork for allowing me to write a guide based on his approach for performing client based packet...
SILKROAD COMPLET PACKET(CSRO/ISRO)
04/10/2010 - Silkroad Online Trading - 4 Replies
Hi well,i wanna stop to play silkroad only (aktually Csro/Isro) and my option in this situiation is to SELL this char"s :) ok,well i"v got much char"s and i sold not one by one i sold all 4 one price... ok let"s start with Info what chars.... CSRO!--->Server---> Royale -66S/S Nuker ! 280sp 10Mio gold +3Shield+Npc Set



All times are GMT +2. The time now is 15:21.


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.