Jump to content

Fopeak

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

15 Decent

3 Followers

About Fopeak

  • Rank
    Member
  • Birthday September 16

Personal Information

  • Country

Recent Profile Visitors

1,377 profile views
  1. [altislife] Type = MySQL Name = altislife Username = root Password = *************(Password censored) IP = 127.0.0.1 Port = 3306 @Fuuhds Change [altislife] to [ArmaLife]
  2. It's working on 5.0 im using this system at my server.
  3. Please recheck all mods in your server. I got this error before and i enabled all mods in my server then it is solved.
  4. Author: Black Lagoon Original Video: Youtube (but this video not working on 5.0 it is old video) Hi, 1. Download this files, Download files from mega 2. Extract all files to your mission file. 3. Go into your "Functions.hpp" then add this codes after class Master_Directory class Market { file = "core\market"; class openMarketView {}; class refreshMarketView {}; class marketShortView {}; class marketBuy {}; class marketSell {}; class marketGetBuyPrice {}; class marketGetSellPrice {}; class marketconfiguration {}; class marketReset {}; class marketChange {}; class marketGetRow {}; class marketGetPriceRow {}; class marketSetPriceRow {}; }; Like this, class Master_Directory { file = "core"; class initCiv {}; class initCop {}; class initMedic {}; class setupActions {}; class setupEVH {}; class survival {}; class welcomeNotification {}; }; class Market { file = "core\market"; class openMarketView {}; class refreshMarketView {}; class marketShortView {}; class marketBuy {}; class marketSell {}; class marketGetBuyPrice {}; class marketGetSellPrice {}; class marketconfiguration {}; class marketReset {}; class marketChange {}; class marketGetRow {}; class marketGetPriceRow {}; class marketSetPriceRow {}; }; 4. And add this code to into your class Functions. class randomRound {}; 5. Then go into your "dialogs\MasterHandler.hpp" and add this code to end of the file. #include "common_EditorWrapper.hpp" #include "market.hpp" 6. Go into your "dialogs\player_inv.hpp" and add this code after the class ButtonSyncData. class ButtonMarket : Life_RscButtonMenu { idc = 3025; text = "Market"; onButtonClick = "[] spawn life_fnc_openMarketView;"; x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); y = 0.805; w = (6.25 / 40); h = (1 / 25); }; Like this, class ButtonSyncData : life_RscButtonMenu { idc = -1; //shortcuts[] = {0x00050000 + 2}; text = "$STR_PM_SyncData"; onButtonClick = "[] call SOCK_fnc_syncData;"; x = 0.1; y = 0.805; w = (6.25 / 40); h = (1 / 25); }; class ButtonMarket : Life_RscButtonMenu { idc = 3025; text = "Market"; onButtonClick = "[] spawn life_fnc_openMarketView;"; x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); y = 0.805; w = (6.25 / 40); h = (1 / 25); }; 7. Go into your "init.sqf" at the main directory and add this code. if(isDedicated && isNil("life_market_prices")) then { [] call life_fnc_marketconfiguration; diag_log "Market prices generated!"; "life_market_prices" addPublicVariableEventHandler { diag_log format["Market prices updated! %1", _this select 1]; }; //Start server fsm [] execFSM "core\fsm\server.fsm"; diag_log "Server FSM executed"; }; Finally, you can edit item prices from fn_marketConfiguration.sqf and you can edit "News: item increased-decreased." broadcasts from fn_marketChange.sqf".
  5. Go into your fn_initCop.sqf and add this code to the end of the script. player setVariable ['copLevel',1]
  6. I have no idea sorry i didnt see this errors in the past
  7. Change it to https://hastebin.com/rikibufexu.vbs maybe it works
  8. Change your "fn_insertRequest.sqf" to https://hastebin.com/ruqaruhuqa.cpp again.
  9. Create backup and change your insertRequest to https://hastebin.com/bufuripoyi.vbs
  10. Can you see your player info in database?
  11. I saw errors in your rpt diag_log _this; params [["_uid", "", [""]], ["_name", ""> 2017/03/29, 13:39:01 Error position: <params [["_uid", "", [""]], ["_name", ""> 2017/03/29, 13:39:01 Error Params: Type Number, expected String 2017/03/29, 13:39:01 File \life_server\Functions\MySQL\fn_insertRequest.sqf [DB_fnc_insertRequest], line 10 2017/03/29, 13:39:01 Error in expression <nsertRequest]" Can you send your "fn_insertRequest.sqf" to me? Maybe i can solve that.
  12. Hi, How can i change backpack size for virtual items on 5.0?
×
×
  • Create New...