📄 grobal2.pas
字号:
RM_41 = 9041;
RM_TWINHIT = 9042;
RM_43 = 9043;
OS_EVENTOBJECT = 1;
OS_MOVINGOBJECT = 2;
OS_ITEMOBJECT = 3;
OS_GATEOBJECT = 4;
OS_MAPEVENT = 5;
OS_DOOR = 6;
OS_ROON = 7;
//技能编号(正确)
SKILL_FIREBALL = 1; //火球术
SKILL_HEALLING = 2; //什么魔法
SKILL_ONESWORD = 3; //内功心法
SKILL_ILKWANG = 4; //基本剑法
SKILL_FIREBALL2 = 5; //大火球
SKILL_AMYOUNSUL = 6; //施毒术
SKILL_YEDO = 7; //攻杀剑法
SKILL_FIREWIND = 8; //抗拒火环
SKILL_FIRE = 9; ////地狱火
SKILL_SHOOTLIGHTEN = 10; //疾光电影
SKILL_LIGHTENING = 11; //雷电术
SKILL_ERGUM = 12; //刺杀剑法
SKILL_FIRECHARM = 13; //灵魂火符
SKILL_HANGMAJINBUB = 14; //幽灵盾
SKILL_DEJIWONHO = 15; //神圣战甲术
SKILL_HOLYSHIELD = 16; //捆魔咒
SKILL_SKELLETON = 17; //召唤骷髅
SKILL_CLOAK = 18; //隐身术
SKILL_BIGCLOAK = 19; //集体隐身术
SKILL_TAMMING = 20; //诱惑之光
SKILL_SPACEMOVE = 21; //瞬息移动
SKILL_EARTHFIRE = 22; //火墙
SKILL_FIREBOOM = 23; //爆裂火焰
SKILL_LIGHTFLOWER = 24; //地狱雷光
SKILL_BANWOL = 25; //半月弯刀
SKILL_FIRESWORD = 26; //烈火剑法
SKILL_MOOTEBO = 27; //野蛮冲撞
SKILL_SHOWHP = 28; //心灵启示
SKILL_BIGHEALLING = 29; //群体治疗术
SKILL_SINSU = 30; //什么魔法
SKILL_SHIELD = 31; //魔法盾
SKILL_KILLUNDEAD = 32; //圣言术
SKILL_SNOWWIND = 33; //冰咆哮
SKILL_CROSSMOON = 34; //双龙斩
SKILL_WINDTEBO = 35; //什么魔法
SKILL_UENHANCER = 36; //无极真气
SKILL_ENERGYREPULSOR = 37; //气功波
SKILL_TWINBLADE = 38; //狂风斩
SKILL_GROUPDEDING = 39; //地钉
SKILL_UNAMYOUNSUL = 40; //解毒术
SKILL_ANGEL = 41; //什么魔法
SKILL_GROUPLIGHTENING= 42; //群体雷电术
SKILL_43 = 43;
SKILL_44 = 44; //FrostCrunch
SKILL_45 = 45; //FlameDisruptor
SKILL_46 = 46; //Mirroring
SKILL_47 = 47;
SKILL_GROUPAMYOUNSUL = 48; //群体施毒术
SKILL_49 = 49;
SKILL_MABE = 50; //冰焰
SKILL_51 = 51;
SKILL_52 = 52;
SKILL_53 = 53;
SKILL_54 = 54;
SKILL_55 = 55;
SKILL_REDBANWOL = 56; //什么刀法
SKILL_57 = 57;
SKILL_58 = 58;
SKILL_59 = 59;
LA_UNDEAD = 1;
sENCYPTSCRIPTFLAG= '不知道是什么字符串';
sSTATUS_FAIL = '+FAIL/';
sSTATUS_GOOD = '+GOOD/';
type
PTMapItem=^TMapItem;
TMapItem=record
Name :String[40];
Looks :word;
AniCount :byte;
Reserved :integer;
Count :integer;
DropBaseObject :TObject;
OfBaseObject :TObject;
dwCanPickUpTick :Dword;
UserItem :TUserItem;
end;
pTDoorStatus=^TDoorStatus;
TDoorStatus=record
bo01:boolean;
n04:integer;
boOpened:Boolean;
dwOpenTick:dword;
nRefCount:integer;
end;
pTDoorInfo=^TDoorInfo;
TDoorInfo=record
nX,nY:Integer;
Status:pTDoorStatus;
n08:integer;
end;
pTMapFlag=^TMapFlag;
TMapFlag=record
boSAFE:Boolean;
nL:integer;
nNEEDSETONFlag:integer;
nNeedONOFF:integer;
nMUSICID:integer;
boDarkness:boolean;
boDayLight:boolean;
boFightZone:boolean;
boFight3Zone:boolean;
boQUIZ:boolean;
boNORECONNECT:boolean;
sNoReConnectMap:string;
boMUSIC:boolean;
boEXPRATE:boolean;
nEXPRATE:integer;
boPKWINLEVEL:boolean;
nPKWINLEVEL:integer;
boPKWINEXP:boolean;
nPKWINEXP:integer;
boPKLOSTLEVEL:boolean;
nPKLOSTLEVEL:integer;
boPKLOSTEXP:boolean;
nPKLOSTEXP:integer;
boDECHP:boolean;
nDECHPPOINT:integer;
nDECHPTIME:integer;
boINCHP:boolean;
nINCHPPOINT:integer;
nINCHPTIME:integer;
boDECGAMEGOLD:boolean;
nDECGAMEGOLD:integer;
nDECGAMEGOLDTIME:integer;
boDECGAMEPOINT:boolean;
nDECGAMEPOINT:integer;
nDECGAMEPOINTTIME:integer;
boINCGAMEGOLD:boolean;
nINCGAMEGOLD:integer;
nINCGAMEGOLDTIME:integer;
boINCGAMEPOINT:boolean;
nINCGAMEPOINT:integer;
nINCGAMEPOINTTIME:integer;
boRUNHUMAN:boolean;
boRUNMON:boolean;
boNEEDHOLE:boolean;
boNORECALL:boolean;
boNOGUILDRECALL:boolean;
boNODEARRECALL:boolean;
boNOMASTERRECALL:boolean;
boNORANDOMMOVE:boolean;
boNODRUG:boolean;
boMINE:boolean;
boMINE2:boolean;
boNOPOSITIONMOVE:boolean;
boNODROPITEM:boolean;
boNOTHROWITEM:boolean;
boNOHORSE:Boolean;
boNOCHAT:Boolean;
end;
TAddAbility=record //Damian
wHP,wMP:Word;
wHitPoint,wSpeedPoint:Word;
wAC,wMAC,wDC,wMC,wSC:DWord;
wAntiPoison,wPoisonRecover,
wHealthRecover,wSpellRecover:Word;
wAntiMagic:Word;
btLuck,btUnLuck:Byte;
btWeaponStrong:BYTE;
nHitSpeed:Word;
btUndead:Byte;
Weight,WearWeight,HandWeight:Word;
end;
TMsgColor=(c_Red,c_Green,c_Blue,c_White);
TMsgType=(t_System,t_Notice,t_Hint,t_Say,t_Castle,t_Cust,t_GM,t_Mon);
pTProcessMessage=^TProcessMessage;
TProcessMessage=record
wIdent:word;
wParam:word;
nParam1:integer;
nParam2:integer;
nParam3:integer;
dwDeliveryTime:dword;
BaseObject:TObject;
boLateDelivery:Boolean;
sMsg:String;
end;
pTSessInfo=^TSessInfo;
TSessInfo=record
nSessionID :Integer;
sAccount :String[10];
sIPaddr :String;
nPayMent :integer;
nPayMode :integer;
nSessionStatus :integer;
dwStartTick :dword;
dwActiveTick :dword;
nRefCount :integer;
nSocket :integer;
nGateIdx :integer;
nGSocketIdx :integer;
dwNewUserTick :dword;
nSoftVersionDate :integer;
end;
TScriptQuestInfo=record
wFlag:word;
btValue:byte;
nRandRage:integer;
end;
TQuestInfo=array of TScriptQuestInfo;
pTScript=^TScript;
TScript=record
boQuest:boolean;
QuestInfo:TQuestInfo;
RecordList:TList;
nQuest:Integer;
end;
pTGameCmd=^TGameCmd;
TGameCmd=record
sCmd :String;
nPerMissionMin :integer;
nPerMissionMax :integer;
end;
pTLoadDBInfo=^TLoadDBInfo;
TLoadDBInfo=record
nGateIdx:integer;
nSocket:integer;
sAccount:String[10];
sCharName:String[20];
nSessionID:integer;
sIPaddr:String[15];
nSoftVersionDate:integer;
nPayMent:integer;
nPayMode:integer;
nGSocketIdx:integer;
dwNewUserTick:dword;
PlayObject:TObject;
nReLoadCount:Integer;
end;
pTGoldChangeInfo=^TGoldChangeInfo;
TGoldChangeInfo=record
sGameMasterName:string;
sGetGoldUser:String;
nGold:integer;
end;
pTSaveRcd=^TSaveRcd;
TSaveRcd=record
sAccount:String[16];
sChrName:String[20];
nSessionID:integer;
PlayObject:TObject;
HumanRcd:THumDataInfo;
nReTryCount:integer;
end;
pTMonGenInfo=^TMonGenInfo;
TMonGenInfo=record
sMapName:String;
nX,nY:Integer;
sMonName:String;
nRange:Integer;
nCount:Integer;
dwZenTime:dword;
nMissionGenRate:integer;
CertList:TList;
Envir:TObject;
nRace:integer;
dwStartTick:dword;
end;
pTMonInfo=^TMonInfo;
TMonInfo=record
ItemList:TList;
sName:String;
btRace:Byte;
btRaceImg:byte;
wAppr:word;
wLevel:word;
btLifeAttrib:byte;
wCoolEye:word;
dwExp:dword;
wHP,wMP:word;
wAC,wMAC,wDC,wMaxDC,wMC,wSC:Word;
wSpeed,wHitPoint,wWalkSpeed,wWalkStep,wWalkWait,wAttackSpeed:Word;
wAntiPush:Word;
boAggro,boTame:Boolean;
end;
pTMonItem=^TMonItem;
TMonItem=record
MaxPoint:integer;
SelPoint:integer;
ItemName:String[14];
Count:integer;
end;
pTUnbindInfo=^TUnbindInfo;
TUnbindInfo=record
nUnbindCode :Integer;
sItemName :String[14];
end;
TSlaveInfo=record
sSlaveName:String;
btSlaveLevel:byte;
dwRoyaltySec:dword;
nKillCount:integer;
btSlaveExpLevel:byte;
nHP,nMP:integer;
end;
pTSlaveInfo=^TSlaveInfo;
pTSwitchDataInfo=^TSwitchDataInfo;
TSwitchDataInfo=record
sMap:String;
wX,wY:word;
Abil:TAbility;
sChrName:String;
nCode:integer;
boC70:boolean;
boBanShout:boolean;
boHearWhisper:boolean;
boBanGuildChat:boolean;
boAdminMode:boolean;
boObMode:boolean;
BlockWhisperArr:array of string;
SlaveArr:array of TSlaveInfo;
StatusValue:Array [0..5] of word;
StatusTimeOut:array [0..5] of LongWord;
end;
TIPaddr=record
sIpaddr:String;
dIPaddr:String;
end;
pTGateInfo=^TGateInfo;
TGateInfo=record
boUsed:Boolean;
Socket:TCustomWinSocket;
sAddr :String;
nPort :integer;
n520 :integer;
UserList :TList;
nUserCount :Integer;
Buffer:Pchar;
nBuffLen:integer;
BufferList:TList;
boSendKeepAlive:Boolean;
nSendChecked:integer;
nSendBlockCount:integer;
dwStartTime:dword;
nSendMsgCount:integer;
nSendRemainCount:integer;
dwSendTick:Dword;
nSendMsgBytes:integer;
nSendBytesCount:integer;
nSendedMsgCount:integer;
nSendCount:integer;
dwSendCheckTick:dword;
end;
pTGateUserInfo=^TGateUserInfo;
TGateUserInfo=record
PlayObject:TObject;
nSessionID:integer;
sAccount:String[10];
nGSocketIdx:integer;
sIPaddr:string[15];
boCertification:boolean;
sCharName:String[20];
nClientVersion:integer;
SessInfo:pTSessInfo;
nSocket:integer;
FrontEngine:TObject;
UserEngine:TObject;
dwNewUserTick:Dword;
end;
TClassProc=procedure(Sender:TObject);
TCheckVersion=class
end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -