游客您好
  • 点击联系客服

    在线时间:8:30-18:00

    客服微信

    Wkr-3000y-kf

    电子邮件

    3000y@wenkeruan.com
  • 手机版

    随时掌握游戏动态

  • 扫一扫二维码

    添加微信客服

Lv.5 解脱境
277号会员,0活跃值,2022.10.27 加入
  • 207发帖
  • 173主题
  • 0关注
  • 0粉丝
这个人很懒,什么也没有留下。
独家推荐 更多>

[安全工具] 一个很好的会员服务脚本

[复制链接]
快要发癫啦 发表于 2023-3-8 09:11:52 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
unit 会员服务;
$ V! _# z" [0 u* Y

; l2 y. F1 C/ l- ?7 C
inte**ce! ^$ @) o+ c7 _! K5 B/ h. A
( L* r( G" h  C8 }! J0 a
function  GetToken (aStr, aToken, aSep : String) : String;
, ~9 ?5 M2 a% l, m& H
function  CompareStr (aStr1, aStr2 : String) : Boolean;; u6 w/ U7 V  y" G7 H
function  callfunc (aText: string): string;* Z, G5 R# ]' Q4 a2 X
procedure print (aText: string);# O; }6 b2 F) F- U
function  Random (aScope: integer): integer;
7 ^3 h: ^1 ~3 S4 `% n7 H0 p
function  Length (aText: string): integer;
+ S9 ?( ~% h! B4 D# c
procedure Inc (aInt: integer);) X5 E) V2 O! L( f0 }* E
procedure Dec (aInt: integer);  A8 F: J+ c- ~0 \4 @3 p( i. {
function  StrToInt (astr: string): integer;9 a, L# T5 L3 c, j5 `2 b" d9 R1 m
function  IntToStr (aInt: integer): string;
, S! j( N( g0 b* e! u: z# j
procedure exit;3 v% i7 |+ V7 ]1 q, Y
$ B3 H3 Y, d4 y
procedure OnLeftClick (aStr : String);. W0 C: \% |" h
procedure OnGetResult (aStr : String);3 `& m$ h; a; Z8 O6 T
9 ?. l& m( D  {: S# Q2 k  C$ G
implementation
5 \' q/ i* L. M* `. w
procedure OnLeftClick (aStr : String);& |0 Z/ g, i+ N# z+ g! \4 b
var0 Z" @2 r- o7 F+ p$ ?4 W
   Str : String;/ ]  G! G, N9 e( b/ m
   Race : Integer;
6 \+ ^0 e+ r0 M+ y9 [# _( H6 a/ V
begin4 E8 C6 h: |% X) p8 S
   Str := callfunc ('getsenderrace');
3 g5 F5 k' Y% p) T: X# H  x# b/ d
   Race := StrToInt (Str);
" n4 U+ }) O1 @6 t3 N- o
   if Race = 1 then begin/ S: @' M+ R! J% W6 C# D
      Str := 'showwindow .\help\会员服务.txt 0';1 e' a8 d% c) O  i0 R: a
      print (Str);! w- N  \# _9 r; {! q$ N' ^3 g) h4 F
      exit; 2 U! k2 e$ c( E3 m$ @
   end;& n1 p# i) q- ~
end;
- q2 i  C' O& R; s
procedure OnGetResult (aStr : String);
4 l# t+ f( I$ P9 |, {6 B1 M8 ]! q
var  i7 L- w/ W# z8 e# M# V
      Str, Name, MapNo, WqName : String;5 n  u1 J" f* R+ j7 Z  t3 `6 R) ]" t
         iCount, MapID : Integer;$ K5 [4 ^. ]$ ?% \
begin
+ x5 u( q1 l$ d" N! T; o
   Name := callfunc ('getsendername');3 A4 l* ~7 J7 y2 u0 ], E
   if aStr = 'close' then begin- |- C, L% l* _  o/ G3 e( P" n
      exit;$ F- `; h/ i3 P. F$ H
   end;2 g5 H; n( P" l+ r2 C& y. a
   if aStr = 'xuanzhe' then begin+ e, _/ \8 e; i. t/ M' @7 e4 Y6 x
      Str := 'showwindow .\help\会员服务1.txt 0';- l4 O7 k1 |; I6 g/ x- s7 S
      print (Str);
( a: q% g& c! J/ H% c& z
      exit;
1 r; ]4 U, J# k9 P2 K
   end;
& P7 b- F3 V$ w% z
  if aStr = 'lingqu' then begin# C- Z4 C2 i' g* M; T1 Q) S
   Str := callfunc ('getsenderitemexistence 烈焰金戒:1');//此物品自己可以设9 ^0 a1 Z' s9 ^7 h
   if Str = 'false' then begin
9 ^: L! D& U' V9 Z6 f
      print ('say 你不是会员吧');
0 x) @( \8 o% ]0 s9 v! S% _5 t4 F  _
      exit;
8 s- C& Y. q- Y$ ]
    end;+ e  m# ?0 }6 [# ]2 F- M
      Str := callfunc ('checkenoughspace 5');$ q7 T6 w9 h. K+ m% w- J' e
      if Str = 'false' then begin& C5 Q+ M" m* Y% Q+ U  j
         print ('say 物品栏已满需要5个空格!');; A+ G$ L% w4 U: u6 D$ T& S
         exit;( Y* f6 o3 {0 m/ ~# R) n' P( L5 C
      end;
/ |% _: g1 I( Y% P/ t: [
       for MapId := 0 to 200 do
' L1 y& |" u5 f7 ^; y; W+ P2 [
       begin
) N# i" z' M9 P
       MapNo := IntToStr (MapID);1 c9 i7 j  i9 J5 M" g
       str := 'sendnoticemsgformapuser ' + MapNo;
2 H5 R' X! q; E  o% Z- M
       Str := Str + ' ';% K6 d3 ^! S) h9 p
       Str := Str + '【会员系统】:『';
% y3 g7 ?5 z6 E0 U) M
       Str := Str + Name;$ W  f9 V( ?' `
       Str := Str + '』_领取了会员专用修炼物品开始修炼啦! 1';
6 S) ]" \6 Q/ q! O+ u
       print (str);# ^  t5 ?" _$ o: r. }, j( g
      end;2 V5 l3 [$ E. n0 i- Q
    print ('putsendermagicitem 修练枪:1 @会员服务 4');2 s* |- h% X/ r& Y* F  t
    print ('putsendermagicitem 修练刀:1 @会员服务 4');   : k' E/ c" h2 U( b( y: t8 ^- K$ s
    print ('putsendermagicitem 修练剑:1 @会员服务 4');5 o: E* P" [" I: T
    print ('putsendermagicitem 修练斧:1 @会员服务 4');) a- g& t  @5 q) c7 h) n
    print ('putsendermagicitem 修练拳套:1 @会员服务 4');
7 K7 q7 T  D! [
    print (Str);      " t; l; z  Q8 n; v0 T8 K
    exit;& W$ `" e) b( O1 o" s/ K8 s; J# W
   end;, M& j7 G: z1 [8 r) j: ]% z% O
  if aStr = 'chuqu' then begin
) {, w% S: v# O  w
     WqName := callfunc ('getsenderwearitemname 9');//检测是不是拿在手上,因为拿在手里就无法删除!特别声明此检测执行命令段由忧郁工作室小飞技术支持协助完成!特别鸣谢小飞支持!3 K5 i. M7 P+ @1 T
  if WqName = '修炼枪' then begin
2 P) V- n0 F2 U
     print ('say 你不是吧!想带走修炼武器!');2 \: d0 g0 u3 Q! l9 u* n
     exit;
# k& A2 ?' S$ {
  end;. D6 I; a0 T3 u  {3 V/ j  {6 B
  if WqName = '修炼剑' then begin7 [0 X' S  s  w# `; K
     print ('say 你不是吧!想带走修炼武器!');* e2 G6 f; a0 _: e: `6 a% |
     exit;: m* c  c9 z/ Z9 t. Z! I  M
  end;
5 x9 |- o( B3 w& z! @% n0 y
  if WqName = '修炼刀' then begin+ F* O$ `" W+ P
     print ('say 你不是吧!想带走修炼武器!');
- y# M) B2 M. @0 T# [$ [
     exit;* x/ r& Z  Z. O! ^# G! D& b# I3 [
  end;
( O" W( T0 S8 A9 K3 U& q: C
  if WqName = '修炼斧' then begin
! @. e; w: O  n) M  B) F) `# V$ P: w+ ~
     print ('say 你不是吧!想带走修炼武器!');$ B2 m2 E8 z8 b
     exit;
( ~+ z4 K+ d5 _2 s# B. o! D8 F
  end;
" R" r+ |& z( i  v1 z! N& [
  if WqName = '修炼拳套' then begin/ v' [1 p) m; T7 N
     print ('say 你不是吧!想带走修炼武器!');0 l: h* [4 q" l& }4 ]
     exit;; f; B4 ^6 i. L$ V6 H1 e( ]
  end;( I: S- ^$ ?/ g8 \5 q$ A
      for MapId := 0 to 200 do
4 z2 Q: u4 I# M& ?2 o
      begin
( b- F' Q3 T" w4 z( S. g6 C
      MapNo := IntToStr (MapID);
7 I1 c% r! l# f
       str := 'sendnoticemsgformapuser ' + MapNo;  N- F. i) y% F$ G: @4 {, x
       Str := Str + ' ';# h3 F: R6 ~, I( H2 ]( F4 ~" \
       Str := Str + '【会员系统】:『';7 W5 |# e3 P) z8 l/ i  H
       Str := Str + Name;
5 B3 V  k, c  D: X1 _$ W
       Str := Str + '』_会员修炼完成.开始闯荡千年江湖! 1';
1 h* V' W5 z2 v
       print (str);1 d" l0 u7 U1 k' n9 A2 e1 J3 v
      end;
. d$ I! ?3 ?5 X2 V7 `
      print ('getsenderitem 修练枪:1');//出去就全部删除物品& ^  ^3 ?+ o( m
      print ('getsenderitem 修练刀:1');& C( A: g" u3 T' g2 l( P- f
      print ('getsenderitem 修练剑:1');
" [2 h4 o  G/ \. ]
      print ('getsenderitem 修练斧:1');0 T9 X' g. w; i, o) ?, b6 k% Z
      print ('getsenderitem 修练拳套:1');
/ I) g# N. J8 J# g. g
      print (str);- q& h3 `" M  s4 i
      Str := 'movespace ' + Name;4 U" i6 }; i: a3 X2 k7 {, {
      Str := Str + ' user 1 500 500';0 ^& R. o& M& h/ v% F
      print (Str);) a" M% P' |1 M5 n! {% l! y5 x
    exit;
/ R' P; [& a- e7 G6 B2 U
   end;* a. i+ b, U2 B# h
end;
" ]0 m" q6 ^# c* m6 @
end.
; P% {- g2 O, G% D$ I+ N7 x
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

Powered by Discuz!X3.4 ©2001-2013 Comsenz Inc.闽公网安备 35099902000100号增值电信业务经营许可证 闽B2-20220593 闽ICP备2023014375号