1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, UCS 0.7.4.0 is now available. Get it now for FREE here
    Dismiss Notice
  3. Hi there Guest ! Are you a uploader and you are looking for a way to earn from your uploads? uploadify is a file hosting platform that provides you the possibility to earn from your download without the annoying surveys. Free 10 Gb Space!
    Dismiss Notice
  4. Hey Guest, It is hard to setup a server, that is why there is a documentation to help you here
    Dismiss Notice

Using Redis With Ucs 0.7.3.0 And Later

Discussion in 'Documentation' started by DominikMC, Mar 10, 2017.

  1. #1 DominikMC, Mar 10, 2017
    Last edited: Mar 10, 2017
    Installing Redis to your PC:

    Step 1: Download the Redis Installer.
    Step 2: Install Redis to your PC.
    Step 3: Go ahead and find the installation folder, where you have installed Redis. (Default: "C:\Program Files\Redis\")
    Step 4: Open up a file called "redis.windows.service.conf" and on line 56, change "bind 127.0.0.1" to "#bind 127.0.0.1".
    Step 5: Save the file and run the file named "redis-server.exe".
    Step 6: In config.ucs turn on serverCaching and you're good to go.

    Good Luck, post any questions you may have here.
    - The Ultrapowa Team
     
  2. [​IMG]

    why,what is mean? how to fix?
     
  3. [
    Please make sure you have running MYSQL Server
     
  4. [​IMG]

    like the pic,my UCS work fine , buy APK loading finished ,it closed return desktop Quickly?
     
  5. We are fixing it
     
  6. I was in accordance with the requirements of the change, but run redis flash back, there are virtual memory settings, please help me!
     
  7. You will get perma ban :)
     
  8. #8 naveen, Mar 25, 2017
    Last edited: Mar 25, 2017
    I get this error pls help me to solve

    "
    Redis 3.2.100 (00000000/0) 64 bit, standalone mode, port 6379, pid 3588 ready to start.
    [3588] 24 Mar 04:06:15.158 # Server started, Redis version 3.2.100
    [3588] 24 Mar 04:06:15.158 * The server is now ready to accept connections on port 6379
    [1748] 24 Mar 16:55:19.349 * Redis 3.2.100 (00000000/0) 64 bit, standalone mode, port 6379, pid 1748 ready to start.
    [1748] 24 Mar 16:55:19.521 # Server started, Redis version 3.2.100
    [1748] 24 Mar 16:55:19.568 * The server is now ready to accept connections on port 6379
    [1940] 24 Mar 18:57:25.869 * Redis 3.2.100 (00000000/0) 64 bit, standalone mode, port 6379, pid 1940 ready to start.
    [1940] 24 Mar 18:57:26.119 # Server started, Redis version 3.2.100
    [1940] 24 Mar 18:57:26.166 * The server is now ready to accept connections on port 6379

    "
    Code:
    <appSettings>
      <!-- __________________________________ PLAYER SETTINGS __________________________________ -->
       
      <add key="startingGems" value="999999999" />
      <add key="startingGold" value="999999999" />
      <add key="startingElixir" value="999999999" />
      <add key="startingDarkElixir" value="999999999" />
          <!-- Beware, very high values for resources will crash UCS -->
      <add key="startingTrophies" value="random" />
          <!-- User starting trophies - set to 'random' for random starting trophies -->
      <add key="startingLevel" value="1" />
          <!-- User starting XP level (Beware, 9 is the highest starting level) -->
         
      <!-- ________________________________ CUSTOM GAME SETTINGS ________________________________ -->
       
      <add key="UpdateUrl" value="https://ultrapowa.com/" />
          <!-- Specify where to redirect if the CoC version is outdated -->
      <add key="useCustomPatch" value="false" />
          <!-- Specify if the server is using patches (.csv, .sc, ...) -->
      <add key="patchingServer" value="http://yourserver.com/patch/" />
          <!-- Don't forget the trailing slash -->
      <add key="maintenanceTimeleft" value="0" />
          <!-- Please set the time in seconds like 1200 seconds for 20 minutes -->
      <add key="AdminMessage" value="Welcome to UCS Beta! Visit https://ultrapowa.com for more info."/>
          <!-- The AdminMessage will be shown in the Inbox of the Players-->
      <add key="CustomMaintenance" value=""/>
          <!-- Custom Maintenance Message -->
     <add key="ClientVersion" value="8.709"/>
          <!-- Required Client Version to connect -->
      <add key="MaxOnlinePlayers" value="1000"/>
      <!-- (Max 2000) This Function is only available for Ultra Users -->
         
      <!-- ____________________________________ UCS SETTINGS ____________________________________ -->
      <add key="CacheServer" value="true" />
          <!-- Use Redis as cache server-->
      <add key="UseWebAPI" value="false" />
          <!-- Choose if you want to use the Web API-->
      <add key="APIPort" value="88" />
          <!-- The Port of the WebAPI-->
      <add key="UseRC4" value="false" />
          <!-- Default Crypto is Pepper-->
      <add key="ServerPort" value="9339"/>
          <!-- The Port of the Server (default is 9339)-->
      <add key="LogLevel" value="1"/>
          <!-- Default for no log = 0, for Full Log = 1, Log only = 2-->
      <!-- _______________________________________________________________________________________ -->
    
      <!-- ____________________________________ DATABASE SETTINGS ____________________________________ -->
      <add key="RedisIPAddress" value="127.0.0.1" />
      <!-- Redis server IP address-->
      <add key="RedisPort" value="6379" />
      <!--  Redis server port-->
      <add key="RedisPassword" value="" />
      <!--  Redis server password-->
    
      <add key="MysqlIPAddress" value="127.0.0.1" />
      <!--  Mysql server IP address-->
      <add key="MysqlUsername" value="root" />
      <!--  Mysql server username-->
      <add key="MysqlPort" value="3306" />
      <!--  Mysql server port-->
      <add key="MysqlPassword" value="" />
      <!--  Mysql server password-->
      <add key="MysqlDatabase" value="ucsdb" />
      <!--  Mysql server database-->
     
      <!-- _______________________________________________________________________________________ -->
    </appSettings>
    
    upload_2017-3-25_11-20-48.png
     
  9. [​IMG]


    Pls help
     

    Attached Files:

  10. #10 PaperTown, Mar 25, 2017
    Last edited: Mar 25, 2017
    The problem will be solved, follow this thread: link ;)

    With kind regards,
    PaperTown.
     
  11. UCS 0.7.3.0 is old. You have to wait till ucs 0.7.3.1 is released
     
    naveen likes this.
  12. run redis-server.exe Flash back
     
  13. what????
     

Share This Page