结婚系统的修改
需修改的程序:M2Server.exe
修改工具:UltraEdit
************************************************************
第1处
查找:43C745E4050000008D45EC508D
替换:07C745E405000000E994000000
第2处
查找:09000000434845434B4F50454E00
替换:0A000000434845434B4D41525259 添加指令:checkmarry
第3处
查找:43C745E0070000008D45EC508D
替换:07C745E007000000E9CF000000
第4处
查找:070000005345544F50454E
替换:050000004D415252590000 添加指令:marry
第5处
查找:8B45F88B40300345F48B55F83B82680200000F8FE6000000
替换:83F8000F8CF50000008B45F88B40300345F48B55F8909090
第6处
查找:43BE49
替换:701B4D
第7处 结婚发红字公告时的语句!和离婚时的发红字公告
查找: 33D28B45D08B4004E8D07CFBFF8945EC33D28B45D08B400CE8C07CFBFF8945E88B45088B40FC8B55ECE82B5702008945F0837DF0007513837DE8000F840B090000C645FB00E902090000837DE8000F85F8080000C645FB00E9EF08000033D28B45D08B4004E8737CFBFF8945EC33D28B45D08B400CE8637CFBFF8945E88B45088B40FC8B55ECE8DA5702008945F0837DF0007513837DE8000F84AE080000C645FB00E9A5080000837DE8000F859B080000C645FB00E99208
替换:FFFFFFFF0E0000005BBAECC4EF5D3ABFC9CFA7C1CB2000FFFFFFFF0400000020BACD2000FFFFFFFF160000002CB4D3B4CBC0CDD1E0B7C9B7D6B8F7B6ABCEF72E2E2E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFF0C0000005BBAECC4EF5D3AD7A3D4B82000FFFFFFFF2300000020D2BBB6D4B2C5D7D3BCD1C8CB2CD3C0BDE1CDACD0C4A3ACB0D7CDB7D9C9C0CF000000000000000000
第8处
查找:03D849
替换:8E324D
第9处
查找:7DF4000F8E8100000066837DE00076398B45F4
替换:F8000F8E8100000066837DE0007633
第10处
查找:FA09F6FF8945F0EB068B45F4
替换:FE09F6FFEB038B45F483F8007D0233C0
第11处
查找:E09304
替换:A0BB0D
第12处
查找:8040000090400000A0410000604000004040000050
替换:7040000090400000F04100006040000040400000F4
第13处
查找:40144C008D45EC8B55FC8B928802000083C215E84A2BF4FFFF75EC684C144C
替换:106049008D45EC8B55FC8B928802000083C215E84A2BF4FFFF75EC681C6049
第14处
查找:45FC83B820030000000F84B4000000A180A04E008B008B55FC8B9220030000E88DF0FCFF84C074398B45F8FF306858144C008B45FC8B8020030000FF70046840144C00A180A04E008B00FF7018684C144C008B45F8BA06000000E8DE2BF4FFEB62A180A04E008B008078410074558B45FC80B8E80300000075268B45FC8B402850A180A04E008B008B55FC8B4A248B55FC8B92F8020000E809FDFCFF84C074238B45F8FF306858144C008B45FC8B8020030000FF70048B45F8BA03000000E87A2BF4FF
替换:55FC81C220030000833A00746E8B12A180A04E008B00E896F0FCFF84C074398B45F8FF3068301049008B45FC8B8020030000FF70046810604900A180A04E008B00FF7018681C6049008B45F8BA06000000E8E72BF4FFEB238B45F8FF3068301049008B45FC8B8020030000FF70048B45F8BA03000000E8C22BF4FF8B55FC81C20F010000803A00743A8B45F8FF308D45F4E88B2AF4FF6830104900FF75F48B45FC80782D0074076853144C00EB056842144C008B45F8BA04000000E87D2BF4FF909090
第15处
查找:0100000028000000FFFFFFFF0100000029000000FFFFFFFF010000005C 显示XXX的老公 显示XXX的老婆
替换:FFFF06000000B5C4C0CFB9AB000000FFFFFFFF06000000B5C4C0CFC6C5
第16处
查找:558BEC83C4EC8955F88945FC33C08945F4FF4DF8837DF8007C548B45F885C0790383C007C1F8038945F08B45F8250700008079054883C8F8408945EC8B45F083E80D732A8B4DECB880000000D3E88B55FC8B4DF00FB6940A0F01000023C27409C745F401000000EB0533C08945F48B45F48BE55DC38D4000558BEC83C4E8894DF48955F88945FCFF4DF8837DF8007C788B45F885C0790383C007C1F8038945F08B45F8250700008079054883C8F8408945EC8B45F083E80D734E8B45FC8B55F08A84100F0100008845EB837DF400751E8B4DECB880000000D3E8F6D02245EB8B55FC8B4DF088840A0F010000EB1A8B4DECB880000000D3E80A45EB8B55FC8B4DF088840A0F0100008BE55DC3558BEC83C4EC8955F88945FC33C08945F4FF4DF8837DF8007C548B45F885C0790383C007C1F8038945F08B45F8250700008079054883C8F8408945EC8B45F083E80D732A8B4DECB880000000D3E88B55FC8B4DF00FB6940A1C01000023C27409C745F401000000EB0533C08945F48B45F48BE55DC38D4000558BEC83C4E8894DF48955F88945FCFF4DF8837DF8007C788B45F885C0790383C007C1F8038945F08B45F8250700008079054883C8F8408945EC8B45F083E80D734E8B45FC8B55F08A84101C0100008845EB837DF400751E8B4DECB880000000D3E8F6D02245EB8B55FC8B4DF088840A1C010000EB1A8B4DECB880000000D3E80A45EB8B55FC8B4DF088840A1C0100008BE55DC3
替换:8BD081C20F010000803A0074428D45E0E8BF28F4FFA190A44E008B008B55E0E880D0FEFF8945F8837DF80074228D900F0100008B45FC8D4015B90F000000E82517F4FF740F8B45FCC6800F01000000E9820000008B55FC83C2158D45F0E87228F4FF8B45FC80782D00740768AB1D4D00EB0568BD1D4D00FF75E068CF1D4D008D45ECBA03000000E86429F4FF8B55ECB9020000008B45FCE8EC9AFFFF8B45F880782D00740768AB1D4D00EB0568BD1D4D00FF75F068EC1D4D008D45ECBA03000000E82A29F4FF8B55ECB9020000008B45F8E8B29AFFFFE919530100909090908BE55DC3558BEC83C4C08945FC8BD081C20F010000803A0074E68D45E0E8D327F4FFA190A44E008B008B55E0E894CFFEFF8945F8837DF8000F84BC0000008B55FC83C2158D45F0E8A927F4FF8B45FC80782D00740768AB1D4D00EB0568BD1D4D00FF75E068071E4D008B45F88B80F8020000FF700868181E4D008D55DC8B45F88B4024E8BD7AF4FFFF75DC68E4A14B008D55D88B45F88B4028E8A77AF4FFFF75D8BA080000008D45ECE86328F4FF8B55ECB9020000008B45FCE8EB99FFFF8B45F880782D00740768AB1D4D00EB0568BD1D4D00FF75F068281E4D00BA030000008D45ECE82928F4FF8B55ECB9020000008B45F8E8B199FFFFEB3A8B45FC80782D00740768AB1D4D00EB0568BD1D4D00FF75E068461E4D00BA030000008D45ECE8ED27F4FF8B55ECB9020000008B45FCE87599FFFF8BE55DC300
第17处
查找:E82A0EFFFF
替换:9090909090
第18处
查找:8B55FC89820C0600008B45FC83B81C060000040F8DAD0000008B45FC83B820060000060F8D9D0000008B45FCC6801603000000
替换:89C28B45FC89900C06000083B81C060000047C05E9AD00000083B820060000067FF2C68016030000008B405CA90000000475E1
第19处
查找:8B55FC89820C0600008B45FC83B81C060000040F8DF00000008B45FC83B820060000060F8DE00000008B45FCC6801603000000
替换:89C28B45FC89900C06000083B81C060000047C05E9F000000083B820060000067FF2C68016030000008B405CA90000000475E1
第20处
查找:33D252508B45FC0FBE
替换:3D580200007627EB39
第21处
查找:558BEC83C4C85333C9894DC8894DD0894DCC894DD8894DD4894DEC8955F88945FC33C05568DE1D4D0064FF30648920837DF8000F85FC000000A118A44E008B008B40084885C00F8CFF010000408945E0C745F400000000A118A44E008B008B55F4E82EFBF3FF8945E8837DE8000F84B10000008B45E8837808000F8EA40000008B55F4428B45FCE8A0F9FEFF48750F8D45ECBAF41D4D00E8D820F3FFEB0D8D45ECBA041E4D00E8C920F3FF8B55F4428B45FCE881FAFEFF48750F8D45ECBA141E4D00E89D22F3FFEB0D8D45ECBA241E4D00E88E22F3FF68341E4D0033D28B45E8E8AFFAF3FF8B008D55D4E86175F3FFFF75D468401E4D0033D28B45E8E893FAF3FFFF7004FF75EC8D45D8BA05000000E80823F3FF8B55D8B9010000008B45FCE89094FEFFFF45F4FF4DE00F8527FFFFFFE916010000FF4DF8A118A44E008B008B40083B45F80F8E00010000A118A44E008B008B55F8E83AFAF3FF8945E8837DE8000F84E40000008B45E88B40084885C00F8CD5000000408945E0C745F4000000008B55F48B45E8E808FAF3FF8945E48B45E48B108B45FCE884F7FEFF48750F8D45ECBA141E4D00E8C81FF3FFEB0D8D45ECBA4C1E4D00E8B91FF3FF68341E4D008D55CC8B45E48B00E88374F3FFFF75CC68401E4D008B45E4FF7004FF75EC8D45D0BA05000000E83122F3FF8B55D0B9020000008B45FCE8B993FEFF8B45E48B40088B10FF52144885C07C34408945DCC745F0000000008D4DC88B45E48B40088B55F08B18FF530C8B55C8B9010000008B45FCE87D93FEFFFF45F0FF4DDC75D7FF45F4FF4DE00F8536FFFFFF33C05A595964891068E51D4D008D45C8BA05000000E89B1EF3FF8D45ECE86F1EF3FFC3E97D18F3FFEBE35B8BE55DC30000FFFFFFFF070000002028BDC3C0DB2900FFFFFFFF070000002028C1D8BAF12900FFFFFFFF070000002028BFCFB7E12900FFFFFFFF070000002028C1F8C7E02900FFFFFFFF010000005B000000FFFFFFFF020000005D200000FFFFFFFF070000002028B9CCBFCF29
替换:8B55D08B4204BA1E1D4D00E8C071F3FF85C075188B45088B40FC80B80F010000007504C645FB00E9F3ABFCFF8B45088B40FCE8E51AFFFF8945F0837DF0007502EBE18B45F080B83A0200000075F28B55D08B4204BA2B1D4D00E87271F3FF85C07502EBC38B55D08B4204BA381D4D00E85C71F3FF85C0750E8B45F080B80F0100000075A3EB9D8B55D08B4204BA5B1D4D00E83A71F3FF85C0751A8B45088B40FC8A502D8B45F03A502D7404C645FB00E96BABFCFF8B55D08B4204BA4A1D4D00E80C71F3FF85C075118B45F00FB640348B55D03B421073D8EBD28B55D08B4204BA681D4D00E8E770F3FF85C0752E8B45088B40FC8D50158B45F08D800F010000B90F000000E88B10F3FF7507EB099090909090C645FB00E904ABFCFF8B55D08B4204BA751D4D00E8A570F3FF85C0753D8B45088B40FC80B80F01000000752E8B45F080B80F0100000075228B45088B40FC8A502D8B45F03A502D74118B55F08B45088B40FC3B90AC0300007404C645FB00E9AAAAFCFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFF04000000D2D1BBE900FFFFFFFF04000000CEBBD6C300FFFFFFFF08000000B6D4B7BDD2D1BBE90000FFFFFFFF08000000B6D4B7BDBCB6B1F000FFFFFFFF04000000CDACD0D400FFFFFFFF04000000B7F2C6DE00FFFFFFFF04000000D3A6BBE900FFFFFFFF04000000C7F3BBE90000FFFFFFFF04000000C0EBBBE90000FFFFFFFF04000000C0EBD2EC00FFFFFFFF09000000C4FAB5C4C0CFB9AB2000FFFFFFFF09000000C4FAB5C4C0CFC6C52000FFFFFFFF1400000020D4DAD5E2C0EFA3ACBFECC8A5D5D2D1BD7E7E7E00FFFFFFFF1200000020C0B4C1CBA3ACBFECC8A5BDD3D1BD7E7E7E00FFFFFFFF0800000020CFD6D4DAD4DA2000FFFFFFFF0700000020D7F8B1EAA3BA00FFFFFFFF1500000020D3D6D4DAC9EEC7E9B5D8CFEBC4EEC4E3C1CBA1A300FFFFFFFF0D00000020D2D1BEADCFC2CFDFC1CBA1A3
第22处
查找:33D28B45ECE8B316F8FF8BD08B
替换:8B45FCE814F2FEFFE9452E0000
第23处
查找:BA585B4D008B45F0E8AA5AF3FF85C00F8539010000A190A44E008B008B55ECE893B3FDFF8945D0837DD0000F840E01000033D28B45E8E85C08F8FF8945C88B55C88B45D0E8CAE2FEFF48757B8B45D08D50158D8504FFFFFFE832F7F2FFBA005B4D008D8504FFFFFFB112E8F0F6F2FF8D9504FFFFFF8D85ECFEFFFFE8670BF3FFFFB5ECFEFFFF8D95E8FEFFFF8B45C8E8A35EF3FFFFB5E8FEFFFF68105B4D008D85F0FEFFFFBA03000000E8540CF3FF8B95F0FEFFFFB9010000008B45FCE8D97DFEFFE9870000008B45D08D50158D8504FFFFFFE8B7F6F2FFBA005B4D008D8504FFFFFFB112E875F6F2FF8D9504FFFFFF8D85E0FEFFFFE8EC0AF3FFFFB5E0FEFFFF8D95DCFEFFFF8B45C8E8285EF3FFFFB5DCFEFFFF68205B4D008D85E4FEFFFFBA03000000E8D90BF3FF8B95E4FEFFFFB9010000008B45FCE85E7DFEFFEB0F33C9BA6C5B4D008B45FCE84D7DFEFFBA985B4D008B45F0E85C59F3FF85C00F8539010000A190A44E008B008B55ECE845B2FDFF8945D0837DD0000F840E01000033D28B45E8E80E07F8FF8945C88B55C88B45D0E888E2FEFF48757B8B45D08D50158D8504FFFFFFE8E4F5F2FFBA005B4D008D8504FFFFFFB112E8A2F5F2FF8D9504FFFFFF8D85D4FEFFFFE8190AF3FFFFB5D4FEFFFF8D95D0FEFFFF8B45C8E8555DF3FFFFB5D0FEFFFF68105B4D008D85D8FEFFFFBA03000000E8060BF3FF8B95D8FEFFFFB9010000008B45FCE88B7CFEFFE9870000008B45D08D50158D8504FFFFFFE869F5F2FFBA005B4D008D8504FFFFFFB112E827F5F2FF8D9504FFFFFF8D85C8FEFFFFE89E09F3FFFFB5C8FEFFFF8D95C4FEFFFF8B45C8E8DA5CF3FFFFB5C4FEFFFF68205B4D008D85CCFEFFFFBA03000000E88B0AF3FF8B95CCFEFFFFB9010000008B45FCE8107CFEFFEB0F33C9BAAC5B4D008B45FCE8FF7BFEFF
替换:E9970200008B45088B40FCE8F303FFFF8945D88B55AC8B4204BA9E1D4D00E8945AF3FF85C00F85B4000000837DD80074448B45D880B83A0200000075388B45088B40FC8D50158B45D88D800F010000B90F000000E822FAF2FF751A8B45D8C6800F0100000066FF80200100008A50348890220100008B45088B50FC5281C20F0100008D45D4E85D0BF3FF5A83C2158D45D0E8510BF3FF8B45088B40FCC6800F0100000066FF80200100008A5034889022010000684BBE4900FF75D06862BE4900FF75D4686FBE49008D45CCBA05000000E82E0CF3FFE976010000E930B0FCFF837DD80074F58B45D880B83A0200000075E98B55AC8B4204BA821D4D00E8B659F3FF85C075588B45088B40FC8B55D88982AC0300000FB7802001000083F8057C358D55D4E80F5EF3FF68383E4D00FF75D468533E4D008D45D0BA03000000E8C10BF3FF8B45D89090908B55D0B901000000E8467DFEFFBAAF3D4D0052EB1A8B55AC8B4204BA901D4D00E84A59F3FF85C07543BA533D4D00528B55088B52FC83C2158D45D4E85F0AF3FF5AFF75D452909090908D45D0BA02000000E8650BF3FF8B55D88B45088B40F08B4DD0E8DC78FCFFE95BAFFCFF8B55AC8B4204BA751D4D00E8F358F3FF85C075E78B45088B40FC8A502D8B45D83A502D74D656578B45088B40FC8D70158B45D88DB80F010000B90F000000F3A48B55D88D70158B45088B40FC8DB80F010000B90F000000F3A45F5E8B45088B50FC83C2158D45D4E8C709F3FF8B55D883C2158D45D0E8B909F3FF68BDBE4900FF75D06862BE4900FF75D468D2BE49008D45CCBA05000000E8B30AF3FFA190A44E008B008B55CCE808B6FDFF8B45CC508B0D4CA64E008B09A190A44E008B00BACC000000E823C2FDFF837DD80074088B45D8E8B1BBFEFF8B45088B40FCE8A6BBFEFFE975AEFCFF9090
第24处
查找:BA745F4D008B45F0E8ED4FF3FF85C00F8554010000A190A44E008B008B55ECE8D6A8FDFF8945D0837DD0000F842901000033D28B45E8E89FFDF7FF8945C833D28B45E4E892FDF7FF8945C48B4DC48B55C88B45D0E875D8FEFF8B55C88B45D0E8F2D7FEFF48757B8B45D08D50158D8550FEFFFFE85AECF2FFBA7C5F4D008D8550FEFFFFB11CE818ECF2FF8D9550FEFFFF8D8570FEFFFFE88F00F3FFFFB570FEFFFF8D954CFEFFFF8B45C8E8CB53F3FFFFB54CFEFFFF68105B4D008D8574FEFFFFBA03000000E87C01F3FF8B9574FEFFFFB9010000008B45FCE80173FEFFE9870000008B45D08D50158D8550FEFFFFE8DFEBF2FFBA7C5F4D008D8550FEFFFFB11CE89DEBF2FF8D9550FEFFFF8D8544FEFFFFE81400F3FF
替换:E9CD020000FFFFFFFF4F00000020D5B6B6A4BDD8CCFAB5D8B6D4C4E3CBB5A3BAA1B0CED2D2AA2E2EBACDC4E3C0EBBBE9A3A1A3A15C5C203CCDACD2E22F4061677265655F756E6D617272793E20203CB2BBCDACD2E22F40657869743E0000000000FFFFFFFF8000000020CFF2C4E3C7F3BBE9A3BAD3F6B5BDC4E3D0C4CCF8BCD3BFECA3ACB2BBBCFBC4E3D0C4C7E9B1E4BBB5A3AC5C5CC3CEBCFBC4E3CAB1BCE4C1EFB5C3B7C9BFECA3ACD3B5D3D0C4E3CAC7B2BBCAC7C2FEB3A4B5C4B5C8B4FDA3BF5C5C5C3CCDACD2E22F4061677265655F6D617272793E20203CB2BBCDACD2E22F40657869743E2000FFFFFFFF12000000D7A2D2E2A3BAB6D4B7BDD2D1BEADC0EBB9FD00FFFFFFFF08000000B4CEBBE9C1CBA1A300
第25处
查找:55FC8B9260050000E840F2F2FF7558
替换:50FC7D32EB06909090909090909090
第26处
查找:C0CFC1F6
替换:64656172
第27处
查找:3233C9BA64A34D008B45FCE8B947FEFF33C9BA7CA34D008B45FCE8AA47FEFF8B45FCC680D4050000018B45FCC680AC060000008B45FC
替换:1F33C9BA64A34D008B45FC50E8B847FEFF58C680D405000001C680AC0600000083B8F805000000750DFF80F805000050E90CACFEFF58
第28处
查找:005ED0B2
替换:FDFFFFFF
*********************************
;checkmarry 已婚 检测玩家是否已婚
;checkmarry 对方已婚 检测玩家对面的是否已婚
;checkmarry 位置 检测两玩家是否面对面
;checkmarry 对方级别 40 检测玩家对面的级别
;checkmarry 应婚 测试两玩家是否面对面,是否已婚,是否不同性别,一方是否另一方求婚的对象
;checkmarry 夫妻 测试两玩家是否面对面,是否夫妻
;
;用到的新NPC指令
;marry 求婚 给对方弹出一个求婚的窗口,设定求婚的对象
;marry 应婚 两玩家成婚,发红字公告
;marry 离婚 给对方弹出一个请求离婚的窗口
;marry 离异 清除一方结婚标志,如果有另一方在,也同时清除标志(可以用在单方离婚),发红字公告
;
如读取相关NPC如有报错的话!请把NPC中的指令:checkmarry改成check就行了