Cross Code V1.0

Ask about cheats/tables for single player games here
User avatar
Shion
Cheater
Cheater
Posts: 32
Joined: Sat Jan 06, 2018 7:42 pm
Reputation: 12

CrossCode v1.0.0-10 EasyMod

Post by Shion » Thu Oct 11, 2018 8:00 pm

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.
Attachments
game.compiled.zip
v1.0.0-10
(709.66 KiB) Downloaded 128 times

User avatar
Shion
Cheater
Cheater
Posts: 32
Joined: Sat Jan 06, 2018 7:42 pm
Reputation: 12

Re: Cross Code V1.0

Post by Shion » Thu Oct 11, 2018 8:14 pm

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".

Test Subject
Noobzor
Noobzor
Posts: 9
Joined: Fri Feb 16, 2018 5:10 am
Reputation: 0

Re: Cross Code V1.0

Post by Test Subject » Thu Oct 11, 2018 11:10 pm

If I only want the 100% Drop rate how can I activate only that?

MIMAMO
What is cheating?
What is cheating?
Posts: 1
Joined: Sat Oct 13, 2018 1:32 pm
Reputation: 0

Re: Cross Code V1.0

Post by MIMAMO » Sat Oct 13, 2018 1:34 pm

is there any way i use this mod selectively?

Cor Blimey
Noobzor
Noobzor
Posts: 12
Joined: Thu Jul 05, 2018 8:09 am
Reputation: 0

Re: Cross Code V1.0

Post by Cor Blimey » Sat Oct 13, 2018 10:17 pm

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.

User avatar
zeronix
Noobzor
Noobzor
Posts: 7
Joined: Thu Sep 27, 2018 4:59 am
Reputation: 3

Re: Cross Code V1.0

Post by zeronix » 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 ,,

der_bayer36
Noobzor
Noobzor
Posts: 6
Joined: Fri Sep 28, 2018 2:56 pm
Reputation: 0

Re: Cross Code V1.0

Post by der_bayer36 » Mon Oct 15, 2018 8:37 am

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?

User avatar
zeronix
Noobzor
Noobzor
Posts: 7
Joined: Thu Sep 27, 2018 4:59 am
Reputation: 3

Re: Cross Code V1.0

Post by zeronix » 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

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"
}

Chikumori
What is cheating?
What is cheating?
Posts: 1
Joined: Thu Oct 18, 2018 10:19 am
Reputation: 0

Re: Cross Code V1.0

Post by Chikumori » 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?

Post Reply

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot]