|
战神引擎mir2.def.init 完整明文IP
- local current = ...
- import(".globa1")
- import(".globa2")
- import(".globa3")
- def = {}
- print("init def")
- def.colors = import(".colors")
- def.cmds = import(".cmds")
- def.perload = import(".perload")
- def.guild = import(".guild")
- def.magic = import(".magic")
- def.operate = import(".operate")
- def.font = "STHeitiSC"
- def.gameName = "华哥传奇"
- def.gameVersionType = "185"
- def.useIGW = 1
- def.gameType = "gametea"
- def.MIR_VERSION_NUMBER = 131532307
- function def.lazyLoadConfig()
- def.role = import(".role", current)
- def.role.init()
- def.items = import(".items", current)
- def.map = import(".map", current)
- def.skill = import(".skill", current)
- def.titledesc = import(".titledesc", current)
- def.wordfilter = import(".wordfilter", current)
- def.gmCmd = import(".gmCmd", current)
- def.bigmap = import(".bigmap", current)
- end
- function def.setSF(ip, port, password, notice)
- def.sfIp = ip
- def.sfPort = pert
- def.sfPassword = password
- local slot5 = "http://"
- local slot6 = ip
- local slot7 = ":"
- local slot8 = port
- local slot9 = "/serverlist?password="
- local slot10 = password
- def.sfAuthUrl = slot5 .. slot6 .. slot7 .. slot8 .. slot9 .. slot10
- end
- def.setSF("11111.723320.top", 8088, "7g9egjkew")
- function def.setSFNotice(notice)
- def.sfNotice = notice
- end
- function def.setLoginCenter(ip, port, serverName, serverid)
- local slot5 = "http://"
- local slot6 = ip
- local slot7 = ":"
- local slot8 = port
- def.loginCenter = slot5 .. slot6 .. slot7 .. slot8
- def.loginCenterIP = ip
- def.loginCenterPort = port
- def.serverName = serverName
- def.serverId = serverid
- end
- def.setLoginCenter("center.11111.723320.top", 8088, "华哥传奇", "11111.723320.top")
- function def.resetLoginCenter()
- def.loginCenter = nil
- def.loginCenterIP = nil
- def.loginCenterPort = nil
- def.serverName = nil
- def.serverId = nil
- end
- function def.setGameServer(zoneid, ip, areaID, gameVersion, info, configName, configVer)
- def.zoneid = zoneid
- def.ip = ip
- def.areaID = tonumber(areaID) or 0
- def.gameVersionType = tostring(gameVersion or "185")
- def.isSelectServer = true
- def.serverinfo = info
- def.configName = configName
- def.configVer = configVer
- end
- function def.resetGameServer()
- def.zoneid = nil
- def.ip = nil
- def.areaID = nil
- def.gameVersionType = nil
- def.isSelectServer = false
- def.serverinfo = nil
- def.configName = nil
- def.configVer = nil
- end
- function def.setIsLazyLoadConfig(b)
- def.bLazyLoadConfig = b
- end
复制代码
|
上一篇:战神引擎mir2.scenes.sfselect.scene快速过黄源码明文下一篇:战神引擎行会源码明文代码mir2.data.mark
|