千年游戏脚本技术之删除回城功能脚本攻略
千年游戏和其他所有网络游戏一样,这么多年来一直受到外挂辅助的侵害。当年的官方服务器为什么会死亡,其主要原因之一就是因为有大量的外挂存在,游戏中大部分玩家都在使用外挂。那些无法在官服生存的玩家只有到千年私服中进行游戏,但是如今很多千年私服服务器也正在受到外挂的侵害。面对这个问题一为原创建议大家增强对外挂辅助的监控和惩罚力度,特别是对于游戏平衡有着极大影响的辅助玩家。
这个是强行全部删除,如果有人用辅助工具坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
'getsenderallitem 删除玩家身上所有同名的物品。不论数量
unit 删除回城;
interface
function GetToken (aStr, aToken, aSep : String) : String;
function CompareStr (aStr1, aStr2 : String) : Boolean;
function callfunc (aText: string): string;
procedure print (aText: string);
function Random (aScope: integer): integer;
function Length (aText: string): integer;
procedure Inc (aInt: integer);
procedure Dec (aInt: integer);
function StrToInt (astr: string): integer;
function IntToStr (aInt: integer): string;
procedure exit;
procedure OnCreate (aStr : String);
implementation
procedure OnCreate (aStr : String);
var
Str : String;
Race : Integer;
begin
Str := callfunc ('getsenderrace');
Race := StrToInt (Str);
if Race = 1 then begin
print ('getsenderallitem 回城卷');
print ('getsenderallitem 玉露丸');
end;
exit;
end;
end.
上面小编分享的脚本能够彻底解决千年私服游戏中玩家通过辅助做药的问题脚本,当然可能会出现及个别情况没有达到触发脚本条件而逃脱惩罚,但是经过测试大部分使用辅助的玩家都会被发现。以上就是小编分享给大家的千年架设技术之风灵1.00修炼灵动方法攻略全部内容。
- 上一篇文章:千年游戏架设技术之中央pk死后在小地图复活
- 下一篇文章:千年技术之成功建立DB+LOGIN服务器开多台游戏服务器
热门文章
热门标签