T
T
tigrzver2015-01-26 03:07:22
CMS
tigrzver, 2015-01-26 03:07:22

How to change coefficient in java script code?

This is the complete code, I need to find where exactly it is written to the database, because I found the request itself.
Here is the download link There is an archive with two files txt and js.
The one that the code is at the bottom, it forms the rate itself for the record. n.value = coefficient , but even if you change it in this code, it still depends on factorCode, which acts as what exactly we bet on total or victory and we cannot change. Please help me find where exactly this dependency goes, or maybe I didn’t find it correctly where the bet is recorded in the database and updates the user’s balance.

Client.prototype.requestBet = function (a) {
function b(b) {
if (e.data.loginInfo) {
var c = {
};
c.fsid = e.data.loginInfo.fsid;
if (c.fsid && (c.clientId = e.data.loginInfo.clientId, c.clientId)) {
c.requestId = b.requestId;
c.sysId = CONST_SYS_ID;
a && (c.oneClickBet = !0);
c.coupon = {
};
c.coupon.amount = f.amount;
var h = e.settings.settingsCheckAggreOddChangedUp.value,
l = e.settings.settingsCheckAggreOddChanged.value;
c.coupon.flexBet = l ? 'any' : h || l ? 'up' : 'no';
c.coupon.flexParam = e.settings.settingsCheckAggreTotalsChanged.value;
f.systemNumber &&
2 < f.stakes.length && (c.coupon.system = Number(f.systemNumber));
c.coupon.bets = [
];
for (h = 0; h < f.stakes.length; h++) {
var l = f.stakes[h],
n = {
};
n.num = h + 1;
n.event = l.eventCode;
n.factor = l.factorCode;
n.value = e.getActualV(l.v, l.vNew);
'undefined' != typeof l.p && (n.param = e.getActualP(l.p, l.pNew));
l.score && (n.score = l.score);
c.coupon.bets.push(n)
}
delete e.data.coupons['coupon' + d];
f.regId = b.requestId;
f.requestId = b.requestId;
f.key = 'coupon' + b.requestId;
e.data.coupons['coupon' + b.requestId] = f;
e.notifyUpdateCoupons();
e.saveCoupons();
e.requestCouponRegister(c, 1)
}
}
}
function c(a) {
e.setCouponErrorResult(d)
}
if (0 !== this.data.newCoupon.stakes.length) {
var d = this.getSurrogateId(),
e = this,
f = this.moveNewCouponToProcessCoupon(d);
this.requestID(b, c)
}
};

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Сергей Щучкин, 2015-01-26
@shuchkin

такие вещи обычно бесплатно не лечатся

T
tigrzver, 2015-01-26
@tigrzver Автор вопроса

могу 100 рублей на вебмани кинуть главное разобраться

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question