📄 grobal2.pas
字号:
SKILL_BIGCLOAK = 19; //MassHiding
SKILL_TAMMING = 20; //ElectricShock
SKILL_SPACEMOVE = 21;
SKILL_EARTHFIRE = 22;
SKILL_FIREBOOM = 23;
SKILL_LIGHTFLOWER = 24;
SKILL_BANWOL = 25;
SKILL_FIRESWORD = 26; //FlamingSword
SKILL_MOOTEBO = 27;
SKILL_SHOWHP = 28; //Revelation
SKILL_BIGHEALLING = 29; //MassHealing
SKILL_SINSU = 30; //SummonShinsoo
SKILL_SHIELD = 31; //MagicShield
SKILL_KILLUNDEAD = 32; //TurnUndead
SKILL_SNOWWIND = 33; //IceStorm
SKILL_CROSSMOON = 34; //CrossHalfMoon
SKILL_FLAMEDIS = 35; //FlameDisruptor
SKILL_ENHANCER = 36; //UltimateEnhancer
SKILL_ENERGYREPULSOR = 37; //EnergyRepulse
SKILL_TWINBLADE = 38; //TwinDragonBlade
SKILL_FROST = 39; //FrostCrunch
SKILL_PURI = 40; //Purification
SKILL_ANGEL = 41; //SummonHolyDeva
SKILL_MIRROR = 42; //Mirroring
SKILL_LION = 43; //LionRoar
SKILL_BLADEAV = 44; //BladeAvalance
SKILL_FLAMEFIELD = 45; //FlameField
SKILL_CURSE = 46; //Curse
SKILL_ENTRAP = 47; //Entrapment
SKILL_VAMP = 48; //Vampirism
SKILL_HALLUC = 49; //Hallucination
SKILL_RAGE = 50; //Rage
SKILL_PROTECTIONFIELD= 51; //ProtectionField
SKILL_ICESHOWER = 52; //Blizzard
SKILL_FIRESHOWER = 53; //MeteorShower
SKILL_RESURRECTION = 54; //Reincarnation
SKILL_MASSPOISON = 55; //PoisonCloud
SKILL_REDBANWOL = 56; //useless warrior spell
LA_UNDEAD = 1;
sENCYPTSCRIPTFLAG= '不知道是什么字符串';
sSTATUS_FAIL = '+FAIL/';
sSTATUS_GOOD = '+GOOD/';
nMAIL_LOCKED = 1;
nMAIL_SPECIAL = 2;
type
pTAuctionItem=^TAuctionItem;
TAuctionItem = record
AuctionID: Integer;
StartTime: TDateTime;
EndTime: TDateTime;
Cost: Integer;
Seller: String[ActorNameLen];
Item: TClientItem;
end;
pTMapItem=^TMapItem;
TMapItem=record
Name :String[40];
Looks :word;
AniCount :byte;
Reserved :integer;
Count :integer;
DropBaseObject :TObject;
OfBaseObject :TObject;
dwCanPickUpTick :Dword;
UserItem :TUserItem;
end;
pTMailItem=^TMailItem;
TMailItem = record
Id :Integer;
Sender :String;
Recipient :String; // Should Always be me
Content :String;
Read :Boolean;
Status :Integer;
Time :Integer;
end;
pTBlockItem=^TBlockItem;
TBlockItem = record
Id :Integer;
Owner :String; // Should Always be me
Name :String;
end;
pTGemSystem=^TGemSystem;
TGemSystem = record
Gem :String;
Item1 :Integer;
Item2 :Integer;
Item3 :Integer;
Item4 :Integer;
Item5 :Integer;
Item6 :Integer;
end;
{
TTerritory=record
TerritoryNumber:Byte;
GuildName:String;
GuildMaster:String;
RegDate:String;
RemainingDays:Integer;
TerritoryGold:LongWord;
ForSale:Boolean;
ForSaleGold:LongWord;
ForSaleRemainDays:Integer;
BidderGuildName:String;
BidderGuildMaster:String;
ForSaleEnd:String;
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;
nPoint: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;
boMINE3:boolean;
boNOPOSITIONMOVE:boolean;
boNODROPITEM:boolean;
boNOTHROWITEM:boolean;
boNOHORSE:Boolean;
boNOCHAT:Boolean;
nThunder:Integer;
nLava:Integer;
nGuildTerritory:Integer;
end;
TAddAbility=record //Damian
wHP,wMP:Word;
wHitPoint,wSpeedPoint:Word;
wAC,wMAC,wDC,wMC,wSC:DWord;
wAntiPoison,wPoisonRecover,
wPoisonIncrease,wFreezingIncrease,
wTox,wSlowDown,
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,c_RedWhite);
TMsgType=(t_System,t_Notice,t_Hint,t_Say,t_Castle,t_Cust,t_GM,t_Mon,t_SVN1,t_SVN2,t_SVN3);
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:THumData;
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;
Count:integer;
end;
pTUnbindInfo=^TUnbindInfo;
TUnbindInfo=record
nUnbindCode :Integer;
sItemName :String;
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;
TGameDataLog=function (p:Pchar;len:integer):Boolean;
TMainMessageProc=procedure (Msg:PChar;nMsgLen:Integer;nMode:Integer);stdcall;
TFindProcTableProc=function (ProcName:PChar;nNameLen:Integer):Pointer;stdcall;
TSetProcTableProc=function(ProcAddr:Pointer;ProcName:PChar;nNameLen:Integer):Boolean;stdcall;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -