|
传奇寻路生成路径后,行进时被怪物挡住,被技能强制位移(抗拒,野蛮),无法按A*生成路径前进,有什么方式来处理,来完成寻路至目的地?
TheCCXXSS 你这啥脑回路 你肯定是要一个函数 叫做 bool 是否障碍(x,y) 你本来里面只判断障碍物数组里面是否标识为障碍物 现在你额外加上一个条件 周围遍历里面没有对象的坐标是等于xy的(就是这个坐 ...谢谢帮助! 你大概意思就是:在判断障碍物代码那里进行更改。更改为:该点没有地图障碍物 且 该点没被周围对象占据 ,那么该点可通行。其它情况不可通行。 通过周围对象里,有没有该坐标,来判断该坐标是否被周围对象占据。 当判定移动到下个坐标点失败,就重新生成路径,如果生成成功,路径也必然是绕过当前怪物的路径。如果生成失败,说明人物被围住了,执行 一些突围操作(回程,或者打最近怪,直到能生成通行路径突围) |
|
传奇寻路生成路径后,行进时被怪物挡住,被技能强制位移(抗拒,野蛮),无法按A*生成路径前进,有什么方式来处理,来完成寻路至目的地?
Imxz 插入动态阻挡 重新寻路你说的 插入动态阻挡 是指 在障碍物数组里标识一下怪物的坐标点不可通行,然后,生成路径就不会经过怪物所在点,绕着怪物走,是这个意思吗 |
|
[求助]注入DLL后开启的线程,与该进程主线程访问内存的冲突怎么解决?
千音丶 只是读内存的话是不会冲突的,除非你进行了写的操作那确实有概率,所以你应该把写的操作以及调用CALL的操作放到游戏主线程里进行操作,至于怎么绑定主线程方法有很多,开启一个时钟,或者消息钩子,或者更改游戏 ...我用WINDOWS API弄了个消息钩子,过滤处理自己的消息,来完成主线程调用CALL。暂时运行正常,还在测试。。。 反正觉得很奇怪,我调用那个游戏自己的CALL怎么会触发问题,然后掉线了。。 会不会有可能,游戏主线程调用那个CALL,会写入某块内存A,我这边也调用那个CALL,CALL内部指令也会写入那块内存A,然后就出问题了。。不太清楚这些。。 |
|
[求助]注入DLL后开启的线程,与该进程主线程访问内存的冲突怎么解决?
喜欢做外挂 加个锁不就行了吗?锁的机制 ,我不太了解。而且我是注入后,开启的线程,它进程原生的那些锁资源,我不知道能不能直接用。。主要是我不会用锁。。 |
|
|
|
|
|
[求助]注入DLL后开启的线程,与该进程主线程访问内存的冲突怎么解决?
就只是掉线,客户端没有崩溃过。。。我去跟过执行流,往前回溯是 消息循环收到一个消息,然后让客户端掉线,弹出掉线弹窗。。。好像跟了没啥用。。 这个掉线时间非常不固定,有时候几分钟掉,有时候几个小时掉,有时候隔1天才掉。。。 有可能是什么问题? |
|
[求助]注入DLL后开启的线程,与该进程主线程访问内存的冲突怎么解决?
祝你好运~ 这个问题我懂,使用内存映射,这样两份同时访问都不冲突。。。你可能是说 COPY一份到另外的物理内存里,映射,访问,相当于访问另外的物理内存里,就没有直接访问进程 原生资源 那块物理内存。。额。。我不会弄。。而且COPY本身也在访问那块内存,也可能触发异常 |
|
|
|
[求助]怎么过服务器的多开检测?
pureGavin 试试开源的sandboxie能不能开两个,如果不行的话就试试qemu虚拟机之类的,不过如果需要显卡直连的话配置会比较麻烦虚拟机可以多开,我试过。但是我想在物理机里面多开,因为我要用一些共享内存,物理机里面实现方便点。 用sandboxie是不是类似虚拟机了,就是开的2个进程,没办法共享内存,它们有各自独立的运行环境。 |
|
[求助]WIN8系统里的XP32虚拟机正常执行的DLL,拿到WIN10系统的XP32虚拟机里报错,为啥?
已经解决了。。麻烦大家了。。。 原因:之前XP32虚拟机提示缺少MFC140u.dll,我去物理机里搜索拖了一份,有可能拖到X64版本的了。 重装XP虚拟机后,发现DLL正常,我才回想起,有可能是这个原因。 |
|
[求助]WIN10系统VS2022生成的MFCDLL传到32位XP虚拟机中注入的问题
fjqisba 是不是平台工具集,没有选择兼容xp的 配置属性 -> 常规 -> 平台工具集,选择Visual Studio 2015 - Windows XP (v140_xp)平台工具集里,只有个VS2022(v143)的选项。。。 是需要额外下载什么,才能显示WINDOWS-XP的选项吗? |
|
[求助]WIN10系统VS2022生成的MFCDLL传到32位XP虚拟机中注入的问题
laity_844213 你加了sleep,iat里面还是存在GetTickCount64啊,dll装载时候要报错,换个函数我换了。。 我写了个NewSleep,内部是GetTickCount实现的。。。 |
|
[求助]WIN10系统VS2022生成的MFCDLL传到32位XP虚拟机中注入的问题
kxSatan 可怜的孩子,不看MSDN Library的么,XP根本就不支持GetTickCount64这个API,搜一下整个工程和其相关依赖是否存在调用此API的地方。。。。作为一个成熟的开发环境。。。还要使用者 用其它工具搜索,替他容错吗。。还是说,它本来就是放弃了XP的。。。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值