sm
服务器租用 996 无法下载点击此处反馈
/
查看: 1575|回复: 0

战神引擎客户端修改ip源码完整明文版mir2.def.init [传奇手游源码]

[复制链接]

826

主题

37

回帖

23万

积分

霸王教主

积分
237197
发表于 2023-5-17 02:09:09 | 显示全部楼层 |阅读模式
战神引擎mir2.def.init 完整明文IP

  1. local current = ...

  2. import(".globa1")
  3. import(".globa2")
  4. import(".globa3")

  5. def = {}

  6. print("init def")

  7. def.colors = import(".colors")
  8. def.cmds = import(".cmds")
  9. def.perload = import(".perload")
  10. def.guild = import(".guild")
  11. def.magic = import(".magic")
  12. def.operate = import(".operate")
  13. def.font = "STHeitiSC"
  14. def.gameName = "华哥传奇"
  15. def.gameVersionType = "185"
  16. def.useIGW = 1
  17. def.gameType = "gametea"
  18. def.MIR_VERSION_NUMBER = 131532307

  19. function def.lazyLoadConfig()
  20.         def.role = import(".role", current)

  21.         def.role.init()

  22.         def.items = import(".items", current)
  23.         def.map = import(".map", current)
  24.         def.skill = import(".skill", current)
  25.         def.titledesc = import(".titledesc", current)
  26.         def.wordfilter = import(".wordfilter", current)
  27.         def.gmCmd = import(".gmCmd", current)
  28.         def.bigmap = import(".bigmap", current)
  29. end

  30. function def.setSF(ip, port, password, notice)
  31.         def.sfIp = ip
  32.         def.sfPort = pert
  33.         def.sfPassword = password
  34.         local slot5 = "http://"
  35.         local slot6 = ip
  36.         local slot7 = ":"
  37.         local slot8 = port
  38.         local slot9 = "/serverlist?password="
  39.         local slot10 = password
  40.         def.sfAuthUrl = slot5 .. slot6 .. slot7 .. slot8 .. slot9 .. slot10
  41. end

  42. def.setSF("11111.723320.top", 8088, "7g9egjkew")

  43. function def.setSFNotice(notice)
  44.         def.sfNotice = notice
  45. end

  46. function def.setLoginCenter(ip, port, serverName, serverid)
  47.         local slot5 = "http://"
  48.         local slot6 = ip
  49.         local slot7 = ":"
  50.         local slot8 = port
  51.         def.loginCenter = slot5 .. slot6 .. slot7 .. slot8
  52.         def.loginCenterIP = ip
  53.         def.loginCenterPort = port
  54.         def.serverName = serverName
  55.         def.serverId = serverid
  56. end

  57. def.setLoginCenter("center.11111.723320.top", 8088, "华哥传奇", "11111.723320.top")

  58. function def.resetLoginCenter()
  59.         def.loginCenter = nil
  60.         def.loginCenterIP = nil
  61.         def.loginCenterPort = nil
  62.         def.serverName = nil
  63.         def.serverId = nil
  64. end

  65. function def.setGameServer(zoneid, ip, areaID, gameVersion, info, configName, configVer)
  66.         def.zoneid = zoneid
  67.         def.ip = ip
  68.         def.areaID = tonumber(areaID) or 0
  69.         def.gameVersionType = tostring(gameVersion or "185")
  70.         def.isSelectServer = true
  71.         def.serverinfo = info
  72.         def.configName = configName
  73.         def.configVer = configVer
  74. end

  75. function def.resetGameServer()
  76.         def.zoneid = nil
  77.         def.ip = nil
  78.         def.areaID = nil
  79.         def.gameVersionType = nil
  80.         def.isSelectServer = false
  81.         def.serverinfo = nil
  82.         def.configName = nil
  83.         def.configVer = nil
  84. end

  85. function def.setIsLazyLoadConfig(b)
  86.         def.bLazyLoadConfig = b
  87. end

复制代码







上一篇:战神引擎mir2.scenes.sfselect.scene快速过黄源码明文
下一篇:战神引擎行会源码明文代码mir2.data.mark
回复

使用道具 举报

© 2001-2024 Discuz! Team. Powered by Discuz! X3.5

GMT+8, 2024-11-23 17:27 , Processed in 0.253532 second(s), 45 queries 手机版|美林GM论坛 ( 蜀ICP备2020030293号-2 )|网站地图

禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.如遇版权问题,请及时QQ联系

快速回复 返回顶部 返回列表