17

Valorant Simulator Edit Values

Comments:
Threaded Linear
#1
yukky

If you're not satisfied with some of the player values in ValSim, good news: since everything is stored locally, you can easily edit them yourself!!!!!!!!!!

For anyone interested in tweaking players or teams, check out this tutorial: ValSim Editing Tutorial.

This also opens the door to creating some fun custom gamemodes. For example, here's a script for a gamemode I call "Everyone is Good and Cheap"—it sets every player to have 80-90 ratings, a $0 salary, and a 99 potential.

To apply it, just copy the following code into your browser's console (press Ctrl + Shift + I to open it). Before pasting the code, make sure to enable pasting by typing: allow pasting

MAKE SURE YOU'RE ON THE WEBSITE WHEN YOU PASTE THIS CODE

/*
 GET YOUR DB NAME BY GOING INTO DEV TOOLS (CTRL+SHIFT+I)
 CLICK APPLICATION (IF IT IS NOT THERE, CLICK THE >> AND THEN CLICK APPLICATION)
 LOOK ON THE LEFT SIDE AND FIND THE STORAGE CATEGORY
 UNDER STORAGE CLICK 'IndexedDB'
 THERE WILL BE YOUR DB NAME, IT LOOK LIKE
 ValSim-USER-TEAM-TIME
 AND THEN COPY THE DB NAME THAT YOU WANNA EDIT
*/

// OPEN CONNECTION
let request = indexedDB.open('YOUR-DB-NAME');

request.onsuccess = (event) => {
    let db = event.target.result;
    let transaction = db.transaction(['players'], 'readwrite');
    let objectStore = transaction.objectStore('players');

    objectStore.openCursor().onsuccess = (event) => {
        let cursor = event.target.result;
        if (cursor) {
            let player = cursor.value;

                // Set developmentSpeed to 5
                player.developmentSpeed = 5;
                // Set potential to 99
                player.potential = 99;
                // Ensure the latest contract's salary is 0
                if (player.contracts && player.contracts.length > 0) {
                    player.contracts[player.contracts.length - 1].salary = 0;
                }            
                ['aim', 'aggression', 'hs', 'clutch', 'support', 'movement'].forEach(attr => {
                    // 80-90 Rating
                    player[attr] = Math.floor(Math.random() * 11) + 80;
                });
                // Put the updated player back into the database
                cursor.update(player);

            cursor.continue();
        } else {
            console.log('All players have been processed.');
        }
    };

    transaction.oncomplete = function() {
        console.log('Transaction completed: database modification finished.');
    };

    transaction.onerror = function() {
        console.error('Transaction failed');
    };
};
#2
Laundry
3
Frags
+

yukky my goat ♥️

#3
Prasinos
3
Frags
+

Thank you.

#4
number1_cned_hater
8
Frags
+

Can I edit money into my irl bank account with this method

#5
yukky
6
Frags
+
number1_cned_hater [#4]

Can I edit money into my irl bank account with this method

thats a little bit more complicated

#6
Azzelastia
0
Frags
+

Game is worthless right now.

#7
yukky
0
Frags
+
Azzelastia [#6]

Game is worthless right now.

?

#8
Azzelastia
-2
Frags
+
yukky [#7]

?

They gotta fix the ratings.

#9
H3ENnZ
0
Frags
+

Can u invest on players in this game

#10
yukky
5
Frags
+
Azzelastia [#8]

They gotta fix the ratings.

That is why I made this thread. It lets you fix the ratings!!!!

#11
yukky
0
Frags
+
H3ENnZ [#9]

Can u invest on players in this game

No idea what this means!!!!

#12
Juanirlv
0
Frags
+

GOAT

#13
cloudberry
1
Frags
+

Thanks yukky, I've always wanted an insanely powerful johnqt who costs nothing :)

#14
yukky
0
Frags
+
Juanirlv [#12]

GOAT

haha thanks!

your friend is the real goat for making the site

#15
yukky
0
Frags
+
cloudberry [#13]

Thanks yukky, I've always wanted an insanely powerful johnqt who costs nothing :)

no worries cloudberry!

i always knew it was a dream of yours

#16
cloudberry
0
Frags
+
yukky [#15]

no worries cloudberry!

i always knew it was a dream of yours

You know me so well <3

#17
AlexSMTx
0
Frags
+

the one intro to python class i took 2 years ago gonna do wonders

#18
number1_cned_hater
0
Frags
+
AlexSMTx [#17]

the one intro to python class i took 2 years ago gonna do wonders

its html..

#19
yukky
0
Frags
+
number1_cned_hater [#18]

its html..

its javascript...

#20
AlexSMTx
0
Frags
+
number1_cned_hater [#18]

its html..

you can tell why only took that one intro class and never touched programming again

#21
number1_cned_hater
0
Frags
+
yukky [#19]

its javascript...

ngl I thought it was html cause thats whats used to code websites

#22
cloudberry
0
Frags
+
yukky [#19]

its javascript...

It's Minecraft enchantment table...

#23
cloudberry
0
Frags
+
number1_cned_hater [#21]

ngl I thought it was html cause thats whats used to code websites

HTML is for the skeleton (text and headings and allat), CSS is for the styling (how it looks, essentially), and JS is for interactivity and certain other stuff

#24
yukky
0
Frags
+
cloudberry [#23]

HTML is for the skeleton (text and headings and allat), CSS is for the styling (how it looks, essentially), and JS is for interactivity and certain other stuff

ur so smart

#25
Window
0
Frags
+

king shit

#26
cloudberry
0
Frags
+
yukky [#24]

ur so smart

If by "smart" you mean "borrowed a book about coding a website when you were 9 because it had a robot dog on the cover so you thought it was a picture book" then you're SO right

#27
Syr0m
0
Frags
+

yooo

#28
archetype
0
Frags
+

For example, here's a script for a gamemode I call "Everyone is Good and Cheap"—it sets every player to have 80-90 ratings, a $0 salary, and a 99 potential.

fuck me for not reading properly :(

#29
yukky
0
Frags
+
archetype [#28]

For example, here's a script for a gamemode I call "Everyone is Good and Cheap"—it sets every player to have 80-90 ratings, a $0 salary, and a 99 potential.

fuck me for not reading properly :(

Wym?

#30
archetype
0
Frags
+
yukky [#29]

Wym?

I ran your script but I didn't read what it did properly - I thought it would let me change the values instead of making every player OP af, now I can't revert the changes :(

Man, and I'm already heading into S3. Fuck man.

#31
yukky
0
Frags
+
archetype [#30]

I ran your script but I didn't read what it did properly - I thought it would let me change the values instead of making every player OP af, now I can't revert the changes :(

Man, and I'm already heading into S3. Fuck man.

My bad about that, the real tutorial is in the link: https://github.com/yukkymukky/val-sim-edit

#32
archetype
0
Frags
+
yukky [#31]

My bad about that, the real tutorial is in the link: https://github.com/yukkymukky/val-sim-edit

Yeah I looked at the tutorial. Currently trying my best to salvage my save :(

#33
yukky
0
Frags
+
archetype [#32]

Yeah I looked at the tutorial. Currently trying my best to salvage my save :(

It'll be hard too, if its an early save you could just start a new one

#34
archetype
0
Frags
+
yukky [#33]

It'll be hard too, if its an early save you could just start a new one

I spent way too long and put in too much effort to start over mannnnnn

#35
archetype
0
Frags
+
yukky [#33]

It'll be hard too, if its an early save you could just start a new one

OK best I could do was chatgpt a command to revert players back to season 2 changes. Unfortunately it doesn't change the potential or development speed I think?

#36
thenutoriousPRO
0
Frags
+

is there a way to like save my new ratings and import it into all my future saves?

#37
thenutoriousPRO
0
Frags
+

also what does it mean by aggression??

#38
yukky
1
Frags
+
thenutoriousPRO [#37]

also what does it mean by aggression??

Aggression affects the likelihood of a player taking an aggressive fight and/or how likely they are to win an early duel in the round. Having a higher rating will mean the player can take smarter aggressive positioning while someone with a lower rating may position themselves out of place when making an aggressive play.

https://valorantsimulator.com/wiki

#39
yukky
0
Frags
+
thenutoriousPRO [#36]

is there a way to like save my new ratings and import it into all my future saves?

You can create a template and save that file

There is a load from file option on the site, but I don't know if it'll let you choose other teams if you load

#40
juni
1
Frags
+

You can edit players values in-game by turning God Mode On

#41
yukky
0
Frags
+
juni [#40]

You can edit players values in-game by turning God Mode On

haha just saw that awesome feature lmfao

but i guess this lets people edit the stuff without god mod if they started the save without one

also obviously with the code example it gives them an outline of how to edit a ton of features at once rather than one by one manually

cool stuff though!!!

  • Preview
  • Edit
› check that that your post follows the forum rules and guidelines or get formatting help
Sign up or log in to post a comment