Jump to content

IrishMob

Member
  • Posts

    36
  • Joined

  • Last visited

Posts posted by IrishMob

  1. I know now keys generate random letters and numbers to identify them, but I want them to be named what ever they are named in the database, like if its itembluekey1245 in game I would like it to be called bluekey1245 instead of the random names.. Is this possable can anyone point me in the right direction? What file is responsible for naming the keys?

  2. the display of the "keys" in the inventory is not correct.

     

    i can do nothing about this..

     

    a example why,  from  "dayz_code\Configs\CfgWeapons\Item\ItemKeys.hpp":

     

    class ItemKeyYellow2211: ItemKeyYellow { <<<<<---- item key class id

        keyid = 9711;<<<--------- owner  / character id

        displayName = "Yellow Key (9f0f)"; <--- display in inventory ( this MIX of different CHAR'S for each KEY is not possible to generate ) 

    };

    I wounder if there's a way to make a mod to name the key the same as db name instead of using them random CHARS hmm! I will look into it a bit,

  3.  

    Ok I bought that baby pack from gator now getting these 4 errors

     

     

    Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in /home4/soad/public_html/PrivateHiveTools_1.0.1/include/install/setup.func.php on line 9
     
    Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in /home4/soad/public_html/PrivateHiveTools_1.0.1/include/install/setup.func.php on line 10
     
    Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in /home4/soad/public_html/PrivateHiveTools_1.0.1/include/install/setup.func.php on line 12
     
    Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in /home4/soad/public_html/PrivateHiveTools_1.0.1/include/install/setup.func.php on line 13
     
    oh and again it defaulted the www to public_hmtl
     
    Also trying the login.php or index.php i get this as the error
    ERROR, CANNOT CONNECT TO DATABASE!

    Can't connect to MySQL server on '***.***.**.***' (111)

     

    Are you setting corerect instance and mysql info from your dayz server?

  4. I had a question about the key generator & the new key names. I noticed the key name in game does not match the database key name. Example. I just bought a Camo SUV and the in game name is Blue Key (0398) but the database name for this key is ItemKeyBlue899 The thing i don't like about this is if someone lost a key but has the in game name written down it does not help us track down the key because it does not match up with the database name. If in game the key were called Blue Key (899) or even (0899) we could just easily put a key in there players inventory, but since it is the way it is now I was wondering if it was possible to edit the key generator to find the key we need from the database by searching for it using the in game code. Example, search for the in game code which is "0398" and have the key generator tell us that it is actually "ItemKeyBlue899". I don't know if its possible to do this but if it is possible it would make many admins life easier!

    Anything on this? Is it possible to do?

  5. hi guys wondering if someone can help me I had this working with dayz.st but changed to vilayer about a week ago.

     

    Now when i run the test I get the error

    No connection to the BD or not enough rights.

    with a follow up error of 

    Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in /home/********/public_html/PrivateHiveTools_1.0.1/include/install/setup.func.php on line 9.

     

    Hope some1 has a solution for this or can point me in the right direction. not great at this stuff but willing to give anything a try once

    Do you have a www folder you could try it in there instead of in public_html and see if that works.

  6. I had a question about the key generator & the new key names. I noticed the key name in game does not match the database key name. Example. I just bought a Camo SUV and the in game name is Blue Key (0398) but the database name for this key is ItemKeyBlue899 The thing i don't like about this is if someone lost a key but has the in game name written down it does not help us track down the key because it does not match up with the database name. If in game the key were called Blue Key (899) or even (0899) we could just easily put a key in there players inventory, but since it is the way it is now I was wondering if it was possible to edit the key generator to find the key we need from the database by searching for it using the in game code. Example, search for the in game code which is "0398" and have the key generator tell us that it is actually "ItemKeyBlue899". I don't know if its possible to do this but if it is possible it would make many admins life easier!

  7. Is the private hive tools able to be password protected? I tried to use the login.php but i get an error

    Warning: Cannot modify header information - headers already sent by (output started at /include/function/global/db_connect.php:22) in /include/function/global/login.func.php on line 102

     

    . the stars are there to protect my files.

     

    Weird part is it still seems to log me in if i go to index even know i got the errors...

     

    Before i even try to log in i get this error

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /include/function/global/db_connect.php:22) in include/function/global/login.func.php on line 77

    Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /include/function/global/login.func.php on line 78

     

×
×
  • Create New...