Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Perp Gene Issue with update


hemirox
 Share

Recommended Posts

So there was an update a couple of days ago, which included cop skill levels. Ever since then, if you reset your genes and add regeneration it doesn't work. It says you have it, but it doesn't work. When you rejoin the server, it says that you have extra genes and no regen. If you had the gene before the update, it still works however. Now I've worked with Perp lua, and I think I might know the problem. In sh_skills.lua, there is tables like below:

 

SKILLS_DATABASE = {};
SKILL_STAMINA = 1;						SKILLS_DATABASE[1] = {SKILL_STAMINA, "Stamina"};
SKILL_CRAFTING = 2;						SKILLS_DATABASE[2] = {SKILL_CRAFTING, "Crafting"};
SKILL_SWIMMING = 3;						SKILLS_DATABASE[3] = {SKILL_SWIMMING, "Swimming"};
SKILL_DRIVING = 4;						SKILLS_DATABASE[4] = {SKILL_DRIVING, "Driving"};									
SKILL_FIRST_AID = 5;					SKILLS_DATABASE[5] = {SKILL_FIRST_AID, "First Aid"};								
SKILL_HARDINESS = 6;					SKILLS_DATABASE[6] = {SKILL_HARDINESS, "Hardiness"};
SKILL_LOCK_PICKING = 7;					SKILLS_DATABASE[7] = {SKILL_LOCK_PICKING, "Lock Picking"};							
SKILL_UNARMED_COMBAT = 8;				SKILLS_DATABASE[8] = {SKILL_UNARMED_COMBAT, "Unarmed Combat"};						
SKILL_PISTOL_MARK = 9;					SKILLS_DATABASE[9] = {SKILL_PISTOL_MARK, "Pistol Marksmanship"};					
SKILL_SMG_MARK = 10;					SKILLS_DATABASE[10] = {SKILL_SMG_MARK, "Sub-Machine Gun Marksmanship"};				
SKILL_SHOTGUN_MARK = 11;				SKILLS_DATABASE[11] = {SKILL_SHOTGUN_MARK, "Shotgun Marksmanship"};					
SKILL_RIFLE_MARK = 12;					SKILLS_DATABASE[12] = {SKILL_RIFLE_MARK, "Rifle Marksmanship"};		
SKILL_WOODWORKING = 18;					SKILLS_DATABASE[13] = {SKILL_WOODWORKING, "Wood Working"};


GENES_DATABASE = {}
GENE_STRENGTH = 13;						GENES_DATABASE[1] = {GENE_STRENGTH, "Strength"};
GENE_INTELLIGENCE = 14;					GENES_DATABASE[2] = {GENE_INTELLIGENCE, "Intelligence"};
GENE_DEXTERITY = 15;					GENES_DATABASE[3] = {GENE_DEXTERITY, "Dexterity"};
GENE_INFLUENCE = 16;					GENES_DATABASE[4] = {GENE_INFLUENCE, "Influence"};
GENE_PERCEPTION = 17;					GENES_DATABASE[5] = {GENE_PERCEPTION, "Perception"};
GENE_REGENERATION = 19;					GENES_DATABASE[6] = {GENE_REGENERATION, "Regeneration"};

 

 

I believe that ex. SKILL_COP (or whatever you named it) is at 19 just like Regeneration, so they are conflicting. It shouldn't be 19 even though they are in different tables. I could be wrong, but I'm not the only one having this problem, anyone who resets their genes as of right now, is not able to add regen.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share