-
Posts
15 -
Joined
-
Last visited
-
Days Won
6
Medusa last won the day on December 17 2022
Medusa had the most liked content!
About Medusa

Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Medusa's Achievements

Devoted Member (3/6)
11
Reputation
-
there is file in the mission folder called fn_keyhandler.sqf this allows you to use add keybinds to your server. Here are the key codes that you will need to find the key that you want to bind it to https://community.bistudio.com/wiki/DIK_KeyCodes example //O Key case 24: { [] spawn life_fnc_showmoney; };
-
Im sorry for some reason I am not able to update the files to fix the possible error, I haven't been able to test it but I believe the error is this. in the exp download there are 2 files, Experience_bar.hpp and experienceMenu.hpp these need to be moved to the dialog folder in the root of the mission folder. Sorry about this and ill put this in the main post as well
-
I would make sure that you installed everything correctly specifically on the mission side with the dialog. If everything is installed correctly I will take a try to do a fresh install on my side. The only thing that could possibly use that file is button for the y menu, maybe try removing that and trying again.
-
CrazyCowboy8565 started following Medusa
-
@Wayne@GraveYard you are totally right ill fix it right away
-
I wanted to state that I haven't worked on this for a while and I don't think that I will work on this much more unless people ask for it. I will work on bugs if anyone points them out to me but I don't have that much more enthusiasm to work on this anymore. This is a version 2 for the experience system that I put out a while ago and I feel that it is much better that the first one that I put out. The features are: A experience and level up system that is saved by the database with experience points, levels and level ups saved to the database. A new menu thanks to @Drunken Cheetah A new algorithm that allows the server developer to add and remove perks without having to rest the database that is super easy to do! set conditions on perks to make things more interesting such you need to be a certain cop level or a certain level to get the perk. a small debug addition to make things easier to debug on the developer side. a new way to give out experience that prevents bugs. A cleaner looking database to give developers an easier time Installation: Please back up everything before moving forward! In mission file download the files from Files - up to date in Functions.hpp insert in init.sqf at line 123 insert in cfgRemoteExec.hpp on line 19 insert in description.ext add this into line 24 in MasterHandler.hpp add this in Config_Master.hpp on the bottom add and in the cofig file in the main mission directory drop from the downloads Config_Experience.hpp optional if you want to have this on your vanilla y menu place on line 279 of player_inv.hpp Drop in Missionfolder from downloads into your mission folder Server files in config.cpp insert and drop in server files from downloads The last thing you need to do is put in the data base with this code That should be it. Please let me know if you find any bugs! Helpful commands [10, "test"] spawn life_fnc_queueexp; give exp [] spawn {sleep 2; createDialog "Experience_Menu";} call menu Like I said please let me know if you have any bugs I will try to fix them! Hope yall enjoy! download the files that are up to date on git hub Files - up to date
-
yes it is! I didn't want to mess with the original framework too much but you can. the code below might work I'm not 100% sure so test it if you want. put this player_inv.hpp after the closing bracket in ButtonAdminMenu. if you need anymore help let me know! class ButtonSettings: Life_RscButtonMenu { idc = 2035; text = "Experience Menu"; onButtonClick = "createDialog ""Experince_Menu"";"; x = 0.42 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); y = 0.805; w = (6.25 / 40); h = (1 / 25); };
-
The add experience can be added almost anywhere that you please such as after your done mining you give them experience. You should know some sqf before messing around with it. I am remaking this to make it easier to config but it will be some time due to me being in school and me being burnt out on arma.
-
Thank you gui are not my strong point. I will change add this on the next version when it gets released
-
Lmao. Sorry for the inconvenience
-
I think that I found the bug but I haven't been able to test it. add this line of code into medusa_handler.hpp. please let me know if you're still having issues. sorry for the problem. F(TON_fnc_firstexperince,SERVER)
-
it should save to the database every time you get exp. do you have a errors in the database or in the rpt logs?
-
https://gyazo.com/e45549d9f2e8606c1907df4d9c74b2e2 https://gyazo.com/306a71f70c66d48507ba905c916e707a
-
I will upload some later
-
Medusa changed their profile photo
-
This was tested on most recent altis life framework. This was my first major projects on arma so sorry if there are bugs but after a lot of testing I believe that it is working! This requires modifications to the life server file please make a copy of it before you make any changes to it. I have tried to make the installation to this as simple as possible to prevent mistakes. please tell me if you are having any issues! Description: This is a full blown experience system for altis life with experience, perks, levels etc... this connects to the database a to save all variables. 1. download the files below! 2. drag custom into core in the main mission file 3. in Functions.hpp after class Vehicle or line 382 paste this in 4. now in description.ext in the main mission file after #include "dialog\progress.hpp" paste in 5. in CfgRemoteExec.hpp after jip = 0; paste in 6. go to your dialog folder in your main mission file and place the files from the experinceMenu folder that you just downloaded into the dialog folder 7. go into MasterHandler.hpp and paste this at the bottom 8. go into your init file in your main mission and look for [] call life_fnc_hudSetup; and paste under it 9. you are now done inside the main mission folder now go into your life server file and go into functions and paste experience from what you just downloaded 10. now go into your config.cpp and go to line 114 or after class PlayTime add this 11. now for the database your gonna wanna add this code into your tables on your database 12. you are finished! Please let me know about any bugs that you may find and I will try to workout a fix for them. any recommendation please put them downlow and if you have any question please contact me! here is my steam if you would like to https://steamcommunity.com/id/meanpark/ Helpful comments / commands bring up experience menu [] spawn {sleep 2; createDialog "Experince_Menu";} add experience [10, "test"] spawn life_fnc_giveexperince 1 part is how much experience second part is a message that you want to go with it check the level for what ever it may be experince_check = false; if (life_exp_perks select 1 == 0) then { experince_check = false; hint "its not true";} else { experince_check = true; hint "its true";} To add more perk choices go into fn_experinceinit and in life_exp_perks and another ,0 then in life_exp_perks_choice at the end add ["Name",1,2,3,4] you can add as many levels as you want just add an extra number at the end to max it out. then go into fn_experince_menu_change and add another case. the case name needs to be the exact same as the name you set for it. just write the description out and make sure to format it. here is a link on how to do that https://community.bistudio.com/wiki/formatText Note: I am remaking it and I do have some of it done to make it easier to config and read the data easier on the backend. I am burnt out on arma and I am in school and this takes a lot of my time a way from doing this. If someone would like what I have already done and try to finish it up please message me and let me know. Experince.zip experinceMenu.zip custom.zip