What's new
Choice of Mods

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Developer tools on cog demos

ADB446

Well-known member
Member
Does anyone know how to edit stats in cog demos? The typical “stats.” Thing doesn’t work.
 
I usually use this.stats.(variable name)=(desired number)
Usually, to know you're in the right track, when you already type in the variable name, there's number below and that is your number.
Example:
I'm using wlgyl demo.
Screenshot_20241117-072700.jpg
I want to change the bank account number and from code diving I already know which variable name I should search.
Screenshot_20241117-073125.jpg
And here's what I mean when you know you are in the right track.
After that just put the rest of code and when you get back to the demo, make sure to proceed the game to the next page before you check on the stats page
 
I usually use this.stats.(variable name)=(desired number)
Usually, to know you're in the right track, when you already type in the variable name, there's number below and that is your number.
Example:
I'm using wlgyl demo.
View attachment 14004
I want to change the bank account number and from code diving I already know which variable name I should search.
View attachment 14005
And here's what I mean when you know you are in the right track.
After that just put the rest of code and when you get back to the demo, make sure to proceed the game to the next page before you check on the stats page
Thanks. I’ll try this
 
I usually use this.stats.(variable name)=(desired number)
Usually, to know you're in the right track, when you already type in the variable name, there's number below and that is your number.
Example:
I'm using wlgyl demo.
View attachment 14004
I want to change the bank account number and from code diving I already know which variable name I should search.
View attachment 14005
And here's what I mean when you know you are in the right track.
After that just put the rest of code and when you get back to the demo, make sure to proceed the game to the next page before you check on the stats page
This only works on dashingdon.com
Have you tried doing this on cogdemos.ink?
Here's the example: https://cogdemos.ink/play/jc/weeping-gods-public-demo
I can't use the stats. command
 
which stats did you want to change? So far I can change the skills and debens. For the relationships, I can't find their variable name so I can't change that.
This is what I see when I try to use stats. command (I use kiwi browser)
Screenshot_20241117_111703_Kiwi Browser.png
 
Back
Top