JiFenSystem modification problem

smoochy boys on tour

Bubel

Dedicated Member
Dedicated Member
Aug 17, 2004
101
11
64
Hi i wish modify my Jifensystem, exactly say i wish modify exchange options.
In standard i can change integral for 50 pts and integralvolume(50) for 500 pts. I try modify to:
- integralA give 1 pts
- integralB give 1-100pts
- integralC give 1-200pts

with integralA no problem works ok, but i don't know what command use to integralB and integralC to give random 1-100 and 1-200 pts


thx for help and sory for my language.
 

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
185
HLSCRIPTCMD SETPOINT + 20

This command Sets your Integral to a number between 1-20 I beleive or maybe just 20...have a play with that..
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
HLSCRIPTCMD SETPOINT + 20 Add
HLSCRIPTCMD SETPOINT = 20 Set to this Value
HLSCRIPTCMD SETPOINT - 20 Dec


^^
 
Upvote 0

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
185
Wow - you almost Pass off 17NG as a real programmer eh !!! Fancy him coming up with these fancy Idea's eh :D
 
Upvote 0

Bubel

Dedicated Member
Dedicated Member
Aug 17, 2004
101
11
64
ok command HLSCRIPTCMD SETPOINT + 20 give exactly 20 pts ;/
I try use command what give Coly and when i set =100 i allways have 100 integral, even when i exchange 3 int i have 100 integral on my account.
 
Upvote 0

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
185
LOL, Look at the Command:

HLSCRIPTCMD SETPOINT + 20

It saying Set the number of points you have PLUS 20 - so if you had 100 before, you now have 120. If you use what COLY Said, I belive it will Set your Point to the Value you set - so if you had 900 and you do

HLSCRIPTCMD SETPOINT = 20


The your Points will now be 20.

Does this sounds more like what is happening?
 
Upvote 0

Bubel

Dedicated Member
Dedicated Member
Aug 17, 2004
101
11
64
heh i think you don't understand me corectly or i say bad whats try make,

When i use HLSCRIPTCMD SETPOINT + 20 ---> my account gain 20 int. ok
when use HLSCRIPTCMD SETPOINT - 20 ---> from my account will be taken 20 integral. ok
when use HLSCRIPTCMD SETPOINT = 20 ---> my accout will have 20integral. ok

But what i wants is when i exchange one integral i gain from 1 to 200 integral to my account.
 
Upvote 0

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
185
One of the Scripts Included (not all are used) gives you a Random Number of Points, Im sure its pretty easy to make a script in there using rhe RND Number Varaible (look at the Book Translate for example - there is a rnd number chance of book getting trabslated).
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
#ACT
Movr P1 200
HLSCRIPTCMD SETPOINT + P1 <-- ADD
HLSCRIPTCMD SETPOINT = P1 <-- or Set

done
 
Upvote 0

Bubel

Dedicated Member
Dedicated Member
Aug 17, 2004
101
11
64
hmm ok i set this:

#IF
checkitem Integral(M) 1
#ACT
Movr P1 100
HLSCRIPTCMD SETPOINT + P1
take Integral(M) 1
#SAY
You also surplus {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Integral!\
This you exchanged {FCOLOR/14}<$OUTPUT(P1)>{FCOLOR/12} Integral!\

and when i exchange int my account gain 0 int, i use <$OUTPUT(P1) to look how many int i get for exchange and this show correctly random from 1-100 but account gain any int ;//
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
#IF
checkitem Integral(M) 1
#ACT
Movr P1 100
HLSCRIPTCMD SETPOINT + %P1
take Integral(M) 1
#SAY
You also surplus {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Integral!\
This you exchanged {FCOLOR/14}<$OUTPUT(P1)>{FCOLOR/12} Integral!\
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
no this set/increase Integral Points in JiFen DB. It is 17ng Integral Point system. SETPOPULARITY is for a owen Point System.
 
Upvote 0