Hi, I'm new in modding, I tried to mod a game for the first time and failed. lol
So I'm wondering this is just an error of my edit or it can't be modded in simple way unless you do something advanced trick.
I tried to mod some kinds of points (guild / raid) in some game since I've heard before a rumor that some kind of point can be modded in this game.
This is original apk's code:
Imgur: The most awesome images on the Internet (reflexil values)
Imgur: The most awesome images on the Internet
And this is what I edited:
Imgur: The most awesome images on the Internet (reflexil values)
Yea, it didn't work. =/
I couldn't find 'get~' kind of codes in the script so had to edit 'set~~point'.
Anyway the app crashed as soon as I bought a stuff with guild point, and of course the point wasn't edited as I tried to mod.
So, I'm wondering this is just an error of my edit or these can't be modded in simple way since they are server sided values or protected anyways. Please help me xdd
Well, I know devs make currencies like gems and some important points as server sided values in general, but I have no idea how you can tell this actually by looking into their codes.. Any tips about this?
So I'm wondering this is just an error of my edit or it can't be modded in simple way unless you do something advanced trick.
I tried to mod some kinds of points (guild / raid) in some game since I've heard before a rumor that some kind of point can be modded in this game.
This is original apk's code:
Code:
// NGame2.NAccount.UserManager
public void SetRaidPoint(int raidPoint)
{
int raidPoint2 = this.UserInfo.RaidPoint;
this.UserInfo.RaidPoint = raidPoint;
if (raidPoint2 != raidPoint)
{
this._observerManager.AnnounceToObservers(new UserManager.UserStatInfo
{
UserStatType = UserManager.UserStatType.RaidPoint,
BeforeValue = (long)raidPoint2,
AfterValue = (long)raidPoint
});
}
}
Imgur: The most awesome images on the Internet
And this is what I edited:
Code:
// NGame2.NAccount.UserManager
public void SetRaidPoint(int raidPoint)
{
base.SetRaidPoint(999999);
}
Yea, it didn't work. =/
I couldn't find 'get~' kind of codes in the script so had to edit 'set~~point'.
Anyway the app crashed as soon as I bought a stuff with guild point, and of course the point wasn't edited as I tried to mod.
So, I'm wondering this is just an error of my edit or these can't be modded in simple way since they are server sided values or protected anyways. Please help me xdd
Well, I know devs make currencies like gems and some important points as server sided values in general, but I have no idea how you can tell this actually by looking into their codes.. Any tips about this?