Save system dayz SA 0.47

Results 1 to 1 of 1
  1. #1
    Novice johndoe1 is offline
    MemberRank
    Sep 2014 Join Date
    1Posts

    Save system dayz SA 0.47

    hi,

    i have already setup a server with save working with 0.28 exe and 0.44 file, everything work as it should, now i'm trying to make the same thing with files found here http://forum.ragezone.com/f863/dayz-...files-1019142/

    The v47 client+server from www.SarkastoDayz.tk

    i'm using wamp, in my www/ folder i made a "DayZServletv47" folder

    For the character saving part i follow approximatly this http://www.pirateplay.net/index.php/...n-server-guide

    merged with the procedure of the last post here : http://dayzdev.ru/index.php?/topic/4...vru/#entry2698 for the vehicule and other thing so inside my "DayZServletv47" i put the folder DayZServlet.zip

    I modified a bit the init.sqf of the mission to have dbSelectHost "http://localhost/DayZServletv47/";
    and different php script where that needed

    The server running fine, i can connect and play but the save doesn't works, i've got a new character every connection

    I see in the rpt log 18:37:47 DBSelectHost host: http://localhost/DayZServletv47/lud0/

    Why there is /lud0/ ? i think it's the problem, i don't know if its related but here is my .htacces

    Code:
    RewriteEngine On
     
    #POST /DayZServlet47/characters/find/STEAM_UID
    RewriteRule characters/find/([^.]*) character.php?request=get&character=$1
    #POST /DayZServlet47/characters/kill/STEAM_UID
    RewriteRule characters/kill/([^.]*) character.php?request=kill&character=$1
    #POST /DayZServlet47/characters/STEAM_UID
    RewriteRule characters/([^.]*) character.php?request=post&character=$1
    i've tried to add RewriteRule ^DayZServlet47/lud0/([a-zA-Z0-9\-]+)/$ /$1.php at the end but that change nothing

    I've tried to change the "DayZServletv47" folder by the one in bss1 archive found here http://forum.ragezone.com/f865/dayz-...ivate-1004526/ an the lud0 folder in but i always have the DBSelectHost host: http://localhost/DayZServletv47/lud0/ in rpt log

    I'm a total noob , dont' really know what i'm doing, maybe it's not possible at all
    Sorry for my english, thanks in advance for any help

    Edit :
    Code:
    RewriteEngine On 
    #POST /DayZServletv47/characters/find/STEAM_UID
    RewriteRule characters/find/([^.]*) character.php?request=get&character=$1
    #POST /DayZServletv47/characters/kill/STEAM_UID
    RewriteRule characters/kill/([^.]*) character.php?request=kill&character=$1
    #POST /DayZServletv47/characters/STEAM_UID
    RewriteRule characters/([^.]*) character.php?request=post&character=$1
     
    
    
    
    
    RewriteCond %{QUERY_STRING} ^uid=(.*)$
    RewriteRule ^lud0/find/(.*)$ character.php?request=get&character=%1
    
    
    RewriteCond %{QUERY_STRING} ^uid=(.*)$
    RewriteRule ^lud0/load/(.*)$ character.php?request=get&character=%1
    
    
    RewriteCond %{QUERY_STRING} ^uid=(.*)$
    RewriteRule ^lud0/kill/(.*)$ character.php?request=kill&character=%1
    
    
    RewriteCond %{QUERY_STRING} ^uid=(.*)$
    RewriteRule ^lud0/queue/(.*)$ character.php?request=get&character=%1
    
    
    RewriteCond %{QUERY_STRING} ^uid=(.*)$
    RewriteRule ^lud0/save/(.*)$ character.php?request=post&character=%1
    
    
    RewriteCond %{QUERY_STRING} ^uid=(.*)$
    RewriteRule ^lud0/create/(.*)$ character.php?request=post&character=%1
    
    
    <Files *.*>
        Order Deny,Allow
        Allow from localhost
        Allow from 127.0.0.1
    
    
    </Files>
    With that .htacces file, the saves now works, at lest for inventory player position,will try to find a car latter, but when i go to phpmyadmin i see the tables stays empty ....
    Last edited by johndoe1; 24-09-14 at 01:06 PM.




Advertisement