FIX Csro-r Item Mall

Page 13 of 14 FirstFirst ... 3567891011121314 LastLast
Results 181 to 195 of 199
  1. #181
    Member samuelsom is offline
    MemberRank
    Apr 2014 Join Date
    Los Angeles, CaLocation
    86Posts

    Re: FIX Csro-r Item Mall

    Quote Originally Posted by CostaMixE View Post
    When I press Web Item Mall button nothing happen, what I'm doing wrong ?
    you have to set up website.

  2. #182
    Apprentice CostaMixE is offline
    MemberRank
    May 2014 Join Date
    13Posts

    Re: FIX Csro-r Item Mall

    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.
    Last edited by CostaMixE; 16-04-15 at 05:29 PM.

  3. #183
    .:[5kR1p7 k1dd13]:. x30unlimited is offline
    MemberRank
    Jan 2009 Join Date
    367Posts

    Re: FIX Csro-r Item Mall

    Quote Originally Posted by CostaMixE View Post
    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.
    i'm usually runnin php apps on nginx + php-fpm :D give it a try, and it works on linux :P
    Last edited by x30unlimited; 18-04-15 at 03:49 PM. Reason: typo

  4. #184
    LEARNING PX2000 is offline
    MemberRank
    May 2009 Join Date
    Cagayan de Oro,Location
    417Posts

    Re: FIX Csro-r Item Mall

    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;
            }
        }
    }
    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...

  5. #185
    Member Metalikana is offline
    MemberRank
    Nov 2012 Join Date
    51Posts

    Re: FIX Csro-r Item Mall

    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 -.-
    Last edited by Metalikana; 02-07-15 at 10:43 PM.

  6. #186
    Account Upgraded | Title Enabled! SnapPop is offline
    MemberRank
    Feb 2012 Join Date
    EgyptLocation
    388Posts

    Re: FIX Csro-r Item Mall

    it's fixed at item mall and web item mall but what about npc?

  7. #187
    Proficient Member lepitismak is offline
    MemberRank
    May 2013 Join Date
    Fortaleza, BrazLocation
    170Posts

    Re: FIX Csro-r Item Mall

    Last edited by lepitismak; 23-08-15 at 08:00 AM.

  8. #188
    Enthusiast asker7r is offline
    MemberRank
    Feb 2012 Join Date
    GreeceLocation
    40Posts

    Re: FIX Csro-r Item Mall

    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 countSection names server_0server_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 

  9. #189
    Novice moma0011 is offline
    MemberRank
    Oct 2014 Join Date
    2Posts

    Re: FIX Csro-r Item Mall

    Can anyone help me with teamviewer ??
    im tired try and try and nothing

  10. #190
    Member evilheart is offline
    MemberRank
    Sep 2012 Join Date
    73Posts

    Re: FIX Csro-r Item Mall

    link dead reupload pls

  11. #191
    Novice badboyilprimo is offline
    MemberRank
    Mar 2014 Join Date
    2Posts

    Re: FIX Csro-r Item Mall

    guys anyone have the website files ?

  12. #192
    Novice badboyilprimo is offline
    MemberRank
    Mar 2014 Join Date
    2Posts

    Re: FIX Csro-r Item Mall

    Guys any idea about
    Error Buying Item

  13. #193
    Apprentice badsoul is offline
    MemberRank
    Feb 2009 Join Date
    14Posts

    Re: FIX Csro-r Item Mall

    Re-upload pls

  14. #194
    I hear your strange heart egsro is offline
    MemberRank
    Aug 2010 Join Date
    277Posts

    Re: FIX Csro-r Item Mall

    reupload?

  15. #195

    Re: FIX Csro-r Item Mall

    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/



Advertisement