you have to set up website.
Printable View
This is working only with zend server, after 30 days will expire, there is another solution to host files?
Tried all php version in iis, mssql connection is working but I get only white page.
In addition for sroprot, I made a small class to block the IP in windows firewall...
source: https://mega.co.nz/#!EMNFzDpA!_vJ3oO...VtnRmxIK2vsr7Y
compile it and add as reference to sroprot...
here's an example, btw this example below has block timer:
Code:using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Net;
using System.Collections.Generic;
using System.Threading;
using FirewallControl;
namespace sroprot.Core
{
public sealed class FirewallManager
{
static FirewallManager m_Instance = null;
private FirewallManager() { }
public static FirewallManager getInstance()
{
if (m_Instance == null)
{
m_Instance = new FirewallManager();
}
return m_Instance;
}
public static string FWRuleName = "SR_Blocklist";
private List<FwBlockList> blocklist = new List<FwBlockList>();
private Thread m_FirewallWorker = null;
private bool m_IsRunning = false;
private bool m_IsCreated = false;
private Firewall FWCtrl = new Firewall();
private struct FwBlockList
{
public String ipaddr;
public DateTime time;
}
public void AddToFwBlockList(string ip)
{
try
{
Global.BlockedIpAddresses.Add(ip);
DateTime time = new DateTime();
time = DateTime.Now;
FwBlockList item = new FwBlockList()
{
ipaddr = ip,
time = time
};
blocklist.Add(item);
if (Global.EnableFirewallBlocking)
{
FWCtrl.AddBlockAddresses(ip);
}
}
catch
{
Console.WriteLine("Status: Failed to add entry");
return;
}
}
public void RemToFwBlockList(string ip)
{
try
{
Global.BlockedIpAddresses.Remove(ip);
if (Global.EnableFirewallBlocking)
{
FWCtrl.RemoveBlockAddresses(ip);
}
}
catch
{
Console.WriteLine("Status: Failed to add entry");
return;
}
}
void FirewallThread()
{
while (this.m_IsRunning)
{
try
{
if (blocklist != null)
{
for (int i = 0; i < blocklist.Count; i++)
{
var addr = blocklist[i].ipaddr;
var time = blocklist[i].time;
TimeSpan span = new TimeSpan();
span = DateTime.Now - time;
int timespan = span.Seconds;
if (timespan > Global.IPBlockDuration)
{
blocklist.RemoveAll
(
structure => structure.ipaddr == addr
);
RemToFwBlockList(addr);
}
}
}
}
catch
{
Console.WriteLine("Status: Error failed to start FirewallThread thread");
}
Thread.Sleep(1);
}
}
public void StartFirewall(string p1, string p2)
{
if (this.m_IsRunning)
return;
try
{
if (Global.EnableFirewallBlocking)
{
this.FWCtrl.CreateRule(FWRuleName, p1 + "," + p2);
if (this.FWCtrl.RuleIsCreated)
{
Console.WriteLine("Status: {0} firewall rule was created!", FWRuleName);
}
}
this.m_FirewallWorker = new Thread(this.FirewallThread);
this.m_IsRunning = true;
this.m_FirewallWorker.Start();
}
catch
{
Console.WriteLine("Status: Error at starting m_FirewallWorker thread");
return;
}
}
void StopFwThread()
{
if (!this.m_IsRunning)
return;
try
{
this.m_FirewallWorker.Abort();
this.m_FirewallWorker = null;
}
catch
{
Console.WriteLine("Status: Error at aborting m_FirewallWorker thread");
return;
}
this.m_IsRunning = false;
}
}
}
Quote:
To fix disconnections or no responds from server issue in sroprot..
In UserContexts.cs go to DoRecvFromClientCallback and DoRecvFromModuleCallback functions and make it to process only a complete buffer, cuz SilkroadSecurityApi was made in blocking method...
correct me if I'm wrong with this.. I'm not a pro programmer...
I wonder why Premium Silk or (point) are invisible from item mall info
also I noticed that Gift Silk is still showing 0
if gift silk is useless on these files how can I enable point or premium silk in item mall info and disable gift silk from it ?
edit
by taking a quick look at sro_client unfortunately they are coded
the ifnewitemmallmyinfo.cpp is coded to show only silk and gift silk -.-
it's fixed at item mall and web item mall but what about npc?
Helpp another pc not connectionn
port 15779 error
port 5000 connected but no silk
PHP Code:;SroProt common configuration file
;--------------------------------------------------
[server]
;Will appear at console window title
name=PlayXenon-Revolution
;Traffic limiter
MaxBytesPerSecondRecv=10000
MaxBytesPerSecondSend=10000
ReportTrafficAbuser=true
;Use __IPLockDown procedure to assign account to ip address
acc_ip_limitation=true
;Maximum connections per one IP Address
PerAddressConnectionLimit=5
;Ingame feature fixes
item_mall_buy_fix=true
silk_display_fix=true
web_item_mall_token_fix=true
;SQL Connection string (required)
sql_str=Server=myy\SQLEXPRESS;Database=SILK_ACCOUNTDB;User Id=h1;Password=hnserver;
;Server count, Section names - server_0, server_1 and so on]
count=2
;Log levels to display
display_notify=true
display_warning=true
display_error=true
;--------------------------------------------------
[server_0]
;All interfaces=127.0.0.1
bind_ip=myip
bind_port=15779
;Destination module address
module_ip=myip
module_port=5000
type=GatewayServer
;Security flags for each server user context
blowfish=false
sec_bytes=false
handshake=false
;--------------------------------------------------
[server_1]
;All interfaces=127.0.0.1
bind_ip=myip
bind_port=15884
;Destination module address
module_ip=myip
module_port=5005
type=AgentServer
blowfish=false
sec_bytes=false
handshake=false
;--------------------------------------------------
[agent_redir]
count=1
[agent_redir_0]
src_ip=myip
src_port=5005
dest_ip=myip
dest_port=15884
Can anyone help me with teamviewer ??
im tired try and try and nothing
link dead reupload pls
guys anyone have the website files ?
Guys any idea aboutQuote:
Error Buying Item
Re-upload pls
reupload?
I'm really glad someone found our work useful :).
Here is link to sroprot thread.
http://forum.ragezone.com/f722/relea...3-6-a-1084133/