It is currently 23 Aug 2019, 02:33
   
Text Size

How do you hack your life total

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins

How do you hack your life total

Postby Adelnikov » 27 Jun 2016, 14:40

Hi as a player of Duel Commander, i would like start may commander games with 30 life on each side.
Is it possible to edit a value in a file to reach that goal ?

Thank's for your wonderfull work.
Adelnikov
 
Posts: 14
Joined: 29 May 2014, 14:13
Has thanked: 6 times
Been thanked: 1 time

Re: How do you hack your life total

Postby Adelnikov » 29 Sep 2016, 21:23

With the recent change of rules of DC, is it possible to set the starting life points of Commander games ?
I've search in differents .class files but i can't find where it is set.

Thanks for your help.
Adelnikov
 
Posts: 14
Joined: 29 May 2014, 14:13
Has thanked: 6 times
Been thanked: 1 time

Re: How do you hack your life total

Postby friarsol » 30 Sep 2016, 00:50

Adelnikov wrote:With the recent change of rules of DC, is it possible to set the starting life points of Commander games ?
I've search in differents .class files but i can't find where it is set.

Thanks for your help.
It's set in RegisteredPlayer.java.

You can also set life totals if you have developer mode turned on (in the preferences).
friarsol
Global Moderator
 
Posts: 7463
Joined: 15 May 2010, 04:20
Has thanked: 240 times
Been thanked: 933 times

Re: How do you hack your life total

Postby Adelnikov » 30 Sep 2016, 21:29

You can also set life totals if you have developer mode turned on (in the preferences).
Thanks that what i use but not easy to change it for each game and player.

It's set in RegisteredPlayer.java.
I've tryed to look in registeredplayer but i don't have the level.
Thanks for all info.
Adelnikov
 
Posts: 14
Joined: 29 May 2014, 14:13
Has thanked: 6 times
Been thanked: 1 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 8 guests


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 8 guests

Login Form