千年游戏技术之流放地回城bug详细攻略分享
对于每个千年私服游戏gm来说他们每天的工作中有一个事情是必不可少的,那就是修改游戏中出现的bug和调查玩家反馈的游戏问题。在千年这款游戏中没有任何版本能够做到一次成型,很多时候我们都需要不断的对问题进行修复,只有这样我们才能更好的完善我们的服务器,这样的工作对于大多数gm来说并不太大的问题,但是对于一些新手千年私服gm来说去无比困难。
原理:进入流放地后自动删除物品栏内所有回城卷
方法:
一、将"删除回城.txt"放到script文件夹,在Script.SDB中加入相应的编号,我这是135
二、在流放地随便放个NPC Notice列加上script的编号135 坐标 58 78 要保证进去后就能看到
三、"删除回城.txt"中回城卷的名字根据各情况修改
四、由于不能检测技能栏中的回城卷 所以回城卷要设置成不能放入技能栏 也就是在Item.sdb里设置回城卷的boNotSkill为TRUE
删除回城.txt
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;
iCount : String;
GoBigMapItem : String = '回城卷';
begin
Str := 'getsenderitemcountbyname ' + GoBigMapItem;
iCount := callfunc (Str);
if iCount <> '0' then begin
Str := 'getsenderitem ' + GoBigMapItem;
Str := Str + ':';
Str := Str + iCount;
print (Str);
end;
exit;
end;
end.
关于在有的地图中不能使用回城卷的问题,很多新手千年私服gm都在小编这里反馈过。以上就是千年游戏技术之流放地回城bug详细攻略全部内容,各位只需要按照上面攻略中的玩法逐步进行操作就能完美解决这个问题。如果在修改过程中出现什么问题,或者是这个方法没有解决您遇到的问题,您可以联系我们本站会尽快为您处理。
热门文章
热门标签