- UID
- 41283
注册时间2007-12-15
阅读权限10
最后登录1970-1-1
周游历练
TA的每日心情 | 开心 2024-11-26 22:00 |
---|
签到天数: 5 天 [LV.2]偶尔看看I
|
楼主 |
发表于 2008-5-6 19:40:28
|
显示全部楼层
谢谢回复。。。。能否帮我看一下这段里面是否有注册算法?
214598756789
//Public function getcpuid (none) returns string
string ls
string ls_1
integer li_loop
string ls_char
string ls_id
string disksn
ls = space(15)
disksn = space(100)
easy.getdisksn(0,disksn)
ls = trim(upper(disksn))
FOR li_loop = 1 TO len(ls) //4
ls_char = string(mod(asc(mid(ls,li_loop,1)),10))
ls_id = ls_id + ls_char
NEXT //4
IF len(trim(ls_id)) < 1 THEN ls_id = "214598756789"
RETURN ls_id
//Public function wf_lisence (string ls_pjid) returns any
//string ls_pjid
string ls_cpuid
string ls_return
string ls_test
real li_cpuid
real li_mark1
real li_mark2
real li_mark3
string ls_mark4
string ls_pass
integer li_loop
decimal ld_test
decimal ld_t
decimal ld_16
ls_cpuid = easy.getpara(1,gs_ini,"cpuid")
ls_pass = "1239"
li_cpuid = real(ls_cpuid)
FOR li_loop = 1 TO 100 //3
li_mark1 = li_cpuid / integer(mid(ls_pass,1,2))
li_mark2 = li_cpuid / integer(mid(ls_pass,2,2))
li_mark3 = li_cpuid / integer(mid(ls_pass,3,2))
ld_test = li_mark1 + li_mark2 + li_mark3
li_cpuid = real(ld_test)
IF ld_test < 1.0 THEN EXIT
NEXT //3
ld_test = li_mark1 + li_mark2 + li_mark3
ld_t = dec("0." + ls_pjid)
IF abs(ld_test - ld_t) < 0.00000000000000009 THEN //54
w_face.wf_use_pj(4)
IF isvalid(w_face) = TRUE THEN //57
w_face.ii_zc_type = 1
w_face.ii_zj_max = 0
END IF //57
RETURN w_face.ii_zc_type
END IF //54
ls_pass = "5148"
li_cpuid = real(ls_cpuid)
FOR li_loop = 1 TO 100 //21
li_mark1 = li_cpuid / integer(mid(ls_pass,1,2))
li_mark2 = li_cpuid / integer(mid(ls_pass,2,2))
li_mark3 = li_cpuid / integer(mid(ls_pass,3,2))
ld_test = li_mark1 + li_mark2 + li_mark3
li_cpuid = real(ld_test)
IF ld_test < 1.0 THEN EXIT
NEXT //21
ld_test = li_mark1 + li_mark2 + li_mark3
ld_t = dec("0." + ls_pjid)
IF abs(ld_test - ld_t) < 0.00000000000000009 THEN //92
w_face.wf_use_pj(4)
IF isvalid(w_face) = TRUE THEN //95
w_face.ii_zc_type = 1
w_face.ii_zj_max = w_face.ii_zj_max_jj
END IF //95
RETURN w_face.ii_zc_type
END IF //92
ls_pass = "9168"
li_cpuid = real(ls_cpuid)
FOR li_loop = 1 TO 100 //39
li_mark1 = li_cpuid / integer(mid(ls_pass,1,2))
li_mark2 = li_cpuid / integer(mid(ls_pass,2,2))
//SHU_ERROR:DEMO_SCRIPT_LIMIT.
//Public function f_write_psr (integer li_type,datawindow ldw_1) returns (none)
//integer li_type
//datawindow ldw_1
IF li_type = 0 THEN //5
ldw_1.saveas(gs_current + "\open.psr",psreport!,FALSE)
easy.setpara(1,gs_ini,"@name=now_xm@value=" + string(ldw_1.rowcount()) + "@")
ELSE //5
ldw_1.saveas(gs_current + "\his.psr",psreport!,FALSE)
easy.setpara(1,gs_ini,"@name=old_xm@value=" + string(ldw_1.rowcount()) + "@")
END IF //5 |
|