Page 5 of 21

CrossCode v1.0.0-10 EasyMod

Posted: Thu Oct 11, 2018 8:00 pm
by Shion
Game stops at black screen only when there is an error in game.compiled.js. Errors can happen for many reasons: you are copying a string of over 2 megabytes long to and from browser/editor and they might have limitations. Opera and EditPad I use both freeze for about half a minute when I copy&paste the code, but nothing gets broken in the process.

They've made some major change to the code, so variable and function names are different now. Copy-pasting from previous mods won't work.

I've modded v1.0.0-10 script with most stuff again and game starts normally.
  • Invincibility
  • Skill points do not decrease
  • Consumables do not decrease
  • Trade does not consume items (but they are still required)
  • 100% drop rates (for both enemies and plants)
  • Combat arts are not limited by SP anymore
Wasn't updating the mod before, because I can't make myself play the game after the Vermillion chapter. Dat plot twist. Dem feelings. And then BLAM! you're back to those damn timing&precision puzzles. And I just hate them.

Re: Cross Code V1.0

Posted: Thu Oct 11, 2018 8:14 pm
by Shion
PolyCapped wrote:
Tue Oct 02, 2018 12:45 am
Also is "points for exp gain" and " money drops" still within the script for 1.0.0 - 7? i can't seem to find it.
Probably not.

But here's the code part for EXP gain:

Code: Select all

if (!(this.aa >= 99)) {
	var j = 0,
		a = a * i,
		j = d ? sc.dF.Wma(a, this.aa, b, g, g, f) : sc.dF.Wma(a, this.aa, b, 1 + this.W.Ag("XP_PLUS"), this.W.Ag("XP_ZERO"), f),

		j = j + (c || 0); // j is the amount of EXP gained

	if (j == 0) return 0;
	this.exp = this.exp + j;
	sc.pa.bc("player", "exp", j);
	if (this.exp >= 1E3) {
		a = Math.floor(this.exp / 1E3);
		this.aa = this.aa + a;
		sc.pa.Ni("player", "level", this.aa);
		this.PW(a, q, h);
		this.exp = this.aa >= 99 ? 0 : this.exp % 1E3;
		b = ig.copy(this.Ub);
		this.pw();
		this.Paa(-1E3);
		for (var r in b) b[r] = this.Ub[r] - b[r];
		b.level = a;
		b.cp = a;
		for (r in b) this.LN[r] = this.LN[r] + b[r];
		sc.P.Ga(this, sc.dd.DL, b)
	}
	sc.P.Ga(this, sc.dd.vV, j);
	return j
}
And right after it comes the code for credit drops:

Code: Select all

if (this.ki(sc.ng.CREDITS)) {
	c && (a = Math.round(a * (1 + this.W.Ag("MONEY_PLUS"))));

	this.df = this.df + a; // a is the amount of credits gained

	if (this.df >= 9999999) this.df = 9999999;
	sc.pa.bc("player", "money", a);
	sc.pa.bc("player", "moneyHold", this.df);
	sc.P.Ga(this, sc.dd.kja, a)
}
You can find both by searching "XP_PLUS" or "MONEY_PLUS".

Re: Cross Code V1.0

Posted: Thu Oct 11, 2018 11:10 pm
by Test Subject
If I only want the 100% Drop rate how can I activate only that?

Re: Cross Code V1.0

Posted: Sat Oct 13, 2018 1:34 pm
by MIMAMO
is there any way i use this mod selectively?

Re: Cross Code V1.0

Posted: Sat Oct 13, 2018 10:17 pm
by Cor Blimey
MIMAMO wrote:
Sat Oct 13, 2018 1:34 pm
is there any way i use this mod selectively?
Test Subject wrote:
Thu Oct 11, 2018 11:10 pm
If I only want the 100% Drop rate how can I activate only that?
This is a straight up edit of the game files. If you edit the files yourself, you can set it up how you like.

If you just want items, they're stored as 4 bytes, double of the amount the game actually displays. (As is money, CP, a few other things.) Get a handful of the items, and either get a couple more or sell/use a few, and re-search, they seem to be stored in a block, but the entire block changes position sometimes. 180 usually works for me, keeps it at 90, below the max of 99, and is almost always enough.

Don't lock values.

Re: Cross Code V1.0

Posted: Mon Oct 15, 2018 6:18 am
by zeronix
Just finished the game. i'm here to share, if anyone having a difficulty solving the puzzle and willing to proceed for the sake of the story ;) , i know a way how to skip them. :D ,,

Re: Cross Code V1.0

Posted: Mon Oct 15, 2018 8:37 am
by der_bayer36
zeronix wrote:
Mon Oct 15, 2018 6:18 am
Just finished the game. i'm here to share, if anyone having a difficulty solving the puzzle and willing to proceed for the sake of the story ;) , i know a way how to skip them. :D ,,
How?

Re: Cross Code V1.0

Posted: Mon Oct 15, 2018 9:24 am
by zeronix
here goes, this is just a sample , but if u cant understand you can tell me what map u are stuck.

just browse thru your CrossCode\assets\data\maps .. then select and edit which map > floor > current location

this sample is for a door that can be unlock by a key. Just edit the condition to "condition": "" ,, save, reload game, then viola!! the door is already unlocked. You can also edit the "map": "cold-dng.g.room3" to boss map like "wave-dng.b1.boss",, entering this door will direct you to the boss room immediately. SAVE A BACKUP BEFORE DOING THIS!! ,,this sometimes cause a story skip if done incorrectly.

i recommend you do this on the shock, wave puzzle dungeon and the vermillion tower. Those puzzle is damn hard for me.

Code: Select all

{
			"type": "Door", (TeleportField on some dungeon)
			"x": 96,
			"y": 576,
			"level": 1,
			"settings": {
				"name": "exitWest",
				"doorType": "DEFAULT",
				"dir": "SOUTH",
				"mapId": 194,
				"map": "cold-dng.g.room3",
				"marker": "entrance",
				"hideCondition": "",
				"blockEventCondition": "",
				"variation": "",
				"condition": "map.keyUsed"
}

Re: Cross Code V1.0

Posted: Thu Oct 18, 2018 10:27 am
by Chikumori
zeronix wrote:
Mon Oct 15, 2018 9:24 am
here goes, this is just a sample , but if u cant understand you can tell me what map u are stuck.

just browse thru your CrossCode\assets\data\maps .. then select and edit which map > floor > current location
I'm stuck at the very last puzzle room in Vermillion Dungeon. The one on the 4th floor, supposedly Gautham's biggest puzzle room involving all 4 elements. Might you know which parts of the data can be edited to get through this?

Re: Cross Code V1.0

Posted: Fri Oct 19, 2018 4:10 pm
by zeronix
Chikumori wrote:
Thu Oct 18, 2018 10:27 am
zeronix wrote:
Mon Oct 15, 2018 9:24 am
here goes, this is just a sample , but if u cant understand you can tell me what map u are stuck.

just browse thru your CrossCode\assets\data\maps .. then select and edit which map > floor > current location
I'm stuck at the very last puzzle room in Vermillion Dungeon. The one on the 4th floor, supposedly Gautham's biggest puzzle room involving all 4 elements. Might you know which parts of the data can be edited to get through this?
edit this \CrossCode\assets\data\maps\arid-dng\second\f4\center.json

find this code "startCondition": "map.finalSwitch" >>>> edit to "startCondition": "" ,,, save and reload game.

Re: Cross Code V1.0

Posted: Tue Oct 23, 2018 6:05 pm
by shadowfang82
game just got a update to 1.1 will the 1.0.0-10 script still work

Re: Cross Code V1.0

Posted: Thu Oct 25, 2018 11:41 pm
by erdrick27
How do you actually use this script?

Re: Cross Code V1.0

Posted: Mon Nov 19, 2018 9:07 am
by omgwut
Could someone verify if the 1.0.0 -10 script works with game version 1.0.1? I tried doing it myself but I'm too stupid to do code editing.

Re: Cross Code V1.0

Posted: Mon Nov 26, 2018 5:42 pm
by Shirokaido
They're onto us. I was making some edits and found THIS:
Spoiler
FOR_THE_HACKERS = "I see you are browsing through the code of our game! Hope you having a good time around here. I thought I adda little extra for you here, since you took the effort to check out the optimized/obfuscated code of CrossCode.If you happen to have a particular question about a feature, you can write us a mail and will be happy to answer it!Simply check out our homepage over at [Link]! Also don't tell Lachsen you found this, or he will throw evil looks at me all day! - R.D."
So, uh, yeah!

Anywho, I made some edits to game version 1.0.1-1. I'm at work, so I was only able to do some quick testing. They worked, tho, so it looks like we're all good. I'll probably maintain this for about a month, so if it updates during December, I'll redo the file. Here's the 'mods' I made in this:

-Consumables do not decrease
-Trade does not decrease items
-100% drop rate from enemies
-Ignore SP
-100% drop rate from plants
-Overheat Reduction (modifier changed from 50 to 500, so it both gains and drains VERY slowly)

Also
Shion wrote:
Thu Oct 11, 2018 8:00 pm
Wasn't updating the mod before, because I can't make myself play the game after the Vermillion chapter. Dat plot twist. Dem feelings. And then BLAM! you're back to those damn timing&precision puzzles. And I just hate them.
I feel you on that. I just went through that chapter last night and I literally couldn't sleep until I was done with it.

Filepath: Steam\steamapps\common\CrossCode\assets\js

Re: Cross Code V1.0

Posted: Tue Nov 27, 2018 4:53 pm
by shadowfang82
is there any way to edit your inventory like add a item or change how many you have.