Page 5 of 18

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 2:30 am
by Lord Blade
So you can give your custom merc 100 all stats if you want. Worked fine for me.

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 2:33 am
by unREAL
Soylent_Greene wrote:
Sat Jul 15, 2023 2:02 am
Cannot DL the cheat

My AV claims it's hazardous


Reports a trojan embedded in the zip


Trojan:Script/Wacatac.B!ml
Quote Fitgirl:
FitGirl: Modern AVs are paranoid. They usually see danger in safe files and skip real malware. This is more actual for compressed/protected software and cracks, especially from Chinese groups, such as 3DM.

This may sound scary, but in the real world THERE IS NO ANTIVIRUS, which will protect you from modern trojans, bitcoin miners and similar stuff. In most cases harmful apps won’t be blocked, but absolutely safe programs – will be, as false positives. And since AVs usually work silently, without even notifying you about blocked stuff – you will wonder, why the installer don’t work or why the game don’t want to launch.

One of the biggest downfalls of AVs is they resident mode, when ALL open files, even not executables, arc checked on the fly. This mode can slow down a fast installer for HOURS, because every unpacked file will be checked with AVs engine. Complex repacks do lots of HDD read/writes, and it alone is not fast, but coupled with AV will ruin your experience
please do me a favour and delete your worthless AV
IF you need an AV use Windows Defender, it's better than all the other shit AVs.
you can use google EVERY malware-expert will tell you the same as my Fitgirl qoute.

[Link]

here is the VIRUSTOTAL Scan of the .rar file - its clean and nothing to worry about, it just contains .Lua scripts!
Your AV is going berserk probably coz fearlessrevolution is flagged as "bad website"
awatar wrote:
Sat Jul 15, 2023 1:49 am
lua stuff
thank you for the explanation, this will help me for my next lua game!

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 2:53 am
by jayc72
scheel wrote:
Fri Jul 14, 2023 6:45 pm
Parkan1986 wrote:
Fri Jul 14, 2023 6:30 pm
not exatly.you need again made all atats to 55 to make points pool 0 and then edit in cheat engine all stats to 85 again.then click next two times and create merc.perks will staysame when you return again.
I got it working, thank you!

how I did it:

1. find every single stat in cheatengine by increasing/decreasing it (its 4 byte, if it finds nothing restart game and cheatengine till it works)
2. set all stats manually to 55 ingame, now use cheat engine and set all stats to 85. click next and select perks
3. go back to stats (since you now got a negative value for stats and cant continue anyway), change all of them (again, ingame) to 55
4. click next (so you're in the perk screen, where your previous perk selection should still be active)
5. now tab out to cheat engine and change all the stat values to 85
6. click next ingame and finish creating your char with the selected perks and stat values of your choosing


money is 4 Bytes, inventory stuff (parts, medicine...) is 2 Bytes. Happy hunting :)
Using this technique, I can confirm changing stat values to 99 works.
So, in step 5, use 99 instead of 85.
Don't know about using larger values than 99 however. I didn't try it.

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 3:16 am
by Aurata
Easy way to change your Imp Statpoints. I changed Chapis Mod.
After enabling the options you need to restart the game. It works.

Script.lua

Code: Select all

local function ApplyMod()
local options = CurrentModOptions or {}
	if options.FlyCamera then
		cameraFly.Activate()
	end
	if not options.FlyCamera and cameraFly.IsActive() then
		cameraTac.Activate()
	end
	if options.MaxStats then
		const.Imp.MaxStatPoints = 850
	end
	if not options.MaxStats then
		const.Imp.MaxStatPoints = 550
	end
	if options.Cheats then
		Platform.cheats = true
	end
	if not options.Cheats then
		Platform.cheats = false
	end
	if options.Developer then
		Platform.developer = true
	end
	if not options.Developer then
		Platform.developer = false
	end
end


OnMsg.ModsReloaded = ApplyMod
OnMsg.ApplyModOptions = ApplyMod
items.lua

Code: Select all

return {
PlaceObj('ModItemCode', {
	'CodeFileName', "Code/Script.lua",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "MaxStats",
	'DisplayName', "Max Stats",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "FlyCamera",
	'DisplayName', "Fly Camera",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "Cheats",
	'DisplayName', "Enable Cheats",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "Developer",
	'DisplayName', "Enable Developer",
}),
}

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 3:26 am
by acecel
+1

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 3:47 am
by Soylent_Greene
Found a bag o'Diamonds, 5x in the bag

Was able to isolate the number through splits and merges, until I had a bag of 10

Tested turning that bag of 10 into 90,000 and it worked

Now I have 45M creds, so money is no longer an issue

Not getting my tuchas shot off, well that's a different task

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 4:05 am
by TheRedFear
Does using the built in cheats disable achievements?

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 4:18 am
by Darkedone02
TheRedFear wrote:
Sat Jul 15, 2023 4:05 am
Does using the built in cheats disable achievements?
I don't think so, try to earn an achievement with this mod on, and you get your answer.

Anything under cheat engine tables or certain trainers can help you earn achievements sometimes.

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 7:02 am
by MightyDuck
awatar wrote:
Sat Jul 15, 2023 1:49 am
I used
[Link]
for decompilation, and tools
[Link] /
for compilation. Packed\unpacked via
[Link]
for lua files, the options --cripple-lua-files --dont-compress-files (for packaging) and --fix-lua-files (for unpacking) are needed
Changed the number of skill points from 550 to 850.
I modified the merc's data in Data/UnitDataCompositeDef and recompressed it (with only hpk), rechecked with uncompress again, but the game doesn't show their new attributes, only their old. What could be the problem?

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 7:44 am
by Chapi
MightyDuck wrote:
Sat Jul 15, 2023 7:02 am
awatar wrote:
Sat Jul 15, 2023 1:49 am
I used
[Link]
for decompilation, and tools
[Link] /
for compilation. Packed\unpacked via
[Link]
for lua files, the options --cripple-lua-files --dont-compress-files (for packaging) and --fix-lua-files (for unpacking) are needed
Changed the number of skill points from 550 to 850.
I modified the merc's data in Data/UnitDataCompositeDef and recompressed it (with only hpk), rechecked with uncompress again, but the game doesn't show their new attributes, only their old. What could be the problem?
You need to modify the CharName.generated.lua inside Lua\Lua\UnitDataCompositeDef aswell.

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 9:20 am
by Warrior69
+1

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 9:38 am
by lemaun
+1 Please!

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 9:41 am
by ygh40
Aurata wrote:
Sat Jul 15, 2023 3:16 am
Easy way to change your Imp Statpoints. I changed Chapis Mod.
After enabling the options you need to restart the game. It works.

Script.lua

Code: Select all

local function ApplyMod()
local options = CurrentModOptions or {}
	if options.FlyCamera then
		cameraFly.Activate()
	end
	if not options.FlyCamera and cameraFly.IsActive() then
		cameraTac.Activate()
	end
	if options.MaxStats then
		const.Imp.MaxStatPoints = 850
	end
	if not options.MaxStats then
		const.Imp.MaxStatPoints = 550
	end
	if options.Cheats then
		Platform.cheats = true
	end
	if not options.Cheats then
		Platform.cheats = false
	end
	if options.Developer then
		Platform.developer = true
	end
	if not options.Developer then
		Platform.developer = false
	end
end


OnMsg.ModsReloaded = ApplyMod
OnMsg.ApplyModOptions = ApplyMod
items.lua

Code: Select all

return {
PlaceObj('ModItemCode', {
	'CodeFileName', "Code/Script.lua",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "MaxStats",
	'DisplayName', "Max Stats",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "FlyCamera",
	'DisplayName', "Fly Camera",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "Cheats",
	'DisplayName', "Enable Cheats",
}),
PlaceObj('ModItemOptionToggle', {
	'name', "Developer",
	'DisplayName', "Enable Developer",
}),
}
That was helpful, thank you so much!

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 9:55 am
by communic
TheRedFear wrote:
Sat Jul 15, 2023 4:05 am
Does using the built in cheats disable achievements?
it doesn't. just unlocked 1000 damage in 1 round

Re: REQ :Jagged Alliance 3 table

Posted: Sat Jul 15, 2023 10:51 am
by Haluziak
Any chance to edit merc name? Mine is Not a valid UTF-8 string. Even if I dont touch name in merc creation.
PS tried to edit save game failes - game wont reckognize them after