Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
entry.lua
Package: 4fcom-20090616-13.rar [view]
Upload User: bjtaixing
Upload Date: 2021-01-15
Package Size: 24749k
Code Size: 1k
Category:
E-Books
Development Platform:
DOS
- --此文件中,凡是可能被多次执行的函数,函数名都要加上地图名前缀,如after_destroy_entry_testpk
- --此文件每行最大字符个数为255,若有异议,请与程序探讨
- function config_entry(entry)
- -- SetMapEntryEntiID(entry, 193,1) --设置地图入口实体的编号(该编号对应于characterinfo.txt的索引)
- end
- function after_create_entry(entry)
- local copy_mgr = GetMapEntryCopyObj(entry, 0) --创建副本管理对象,此函数在有显式入口的地图中必须调用,对于隐式入口的地图(如队伍挑战)无要调用该接口
- map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry) --取地图入口的位置信息(地图名,坐标,目标地图名)
- Notice("海盗广播:冬岛群岛的父神维尔打开了通往《暗黑秘境》的大门~") --通知本组服务器的所有玩家
- end
- function after_destroy_entry_mjing3(entry)
- map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry)
- Notice("海盗广播:通往《暗黑秘境》的入口已经消失了,祝您愉快~!")
- end
- function after_player_login_mjing3(entry, player_name)
- map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry) --取地图入口的位置信息(地图名,坐标,目标地图名)
- ChaNotice(player_name, "冬岛群岛的父神维尔打开了通往《暗黑秘境》的大门~") --通知本组服务器的所有玩家
- end