Coder Social home page Coder Social logo

Comments (14)

 avatar commented on July 1, 2024 2

Hey @x87 & @JuniorDjjr

I just test VehFuncs Build (Mention in Above) & Its Works Fine with Events.cleo (I means work with Complete CLEO Redux)

from cleo-redux.

JuniorDjjr avatar JuniorDjjr commented on July 1, 2024 1

So I think it's ok, I'll do another thing and release it for public.

A note about the crash I mentioned in FxsFuncs, for those who are curious, this only happens if I set the initGameEvent (0x748CFB) (plugin-sdk) in VehFuncs, then a FxsFuncs patch receives wrong values, it was fixed when changing to another event, I don't understand what could have happened.

from cleo-redux.

JuniorDjjr avatar JuniorDjjr commented on July 1, 2024

Send some crash dump (CrashInfo, modloader.log)

from cleo-redux.

 avatar commented on July 1, 2024

Log Files: logs.zip

Installed:
Essential Pack (From Mixmods)
CLEO Redux (From Github)
VehFuncs (From Mixmods)

from cleo-redux.

JuniorDjjr avatar JuniorDjjr commented on July 1, 2024

IPL related... this looks weird.

from cleo-redux.

 avatar commented on July 1, 2024

@JuniorDjjr main thing

Game works normally with Cleo Redux & VehFuncs
Only Problem with Events.cleo Plugin

Events.cleo In + VehFuncs Out = Game Works
VehFuncs In + Events.cleo Out = Game Works
Events.cleo & VehFuncs (Both In) = Game Not Works

from cleo-redux.

JuniorDjjr avatar JuniorDjjr commented on July 1, 2024

And VehFuncs have no relation to events related to IPL, map, unload etc. It's probably some very specific problem, I have nothing in mind.

from cleo-redux.

x87 avatar x87 commented on July 1, 2024

Events.cleo hooks two game functions: CWorld::Add and CWorld::Remove. Does VehFuncs call or hook those functions directly or indirectly by spawning something in the game?

from cleo-redux.

x87 avatar x87 commented on July 1, 2024

I see that it makes some code change here:

MakeJMP(0x00563281, Patches::CheckCrashWorldRemove, true);

but the actual start of the CWorld::Remove is at 00563280, so it probably partially deletes another detour set by CLEO if it was run earlier (it also makes a new jump instruction there) making the code invalid.

@JuniorDjjr do you think if changing the patch address from 0x00563281 to 0x00563280 could help? Or just remove this patch altogether?

from cleo-redux.

JuniorDjjr avatar JuniorDjjr commented on July 1, 2024

I don't remember why I use 1 byte ahead, but I tried to recompile VehFuncs using VS 2022 and now FxsFuncs (not VehFuncs) crashes on injector inline call for 0x5C235B. I don't know why, even without any changes this happens, I also tried to recompile FxsFuncs in VS 2022.

from cleo-redux.

x87 avatar x87 commented on July 1, 2024

I don't see anything useful in 0x5C235B

.text:005C2356 1C4 68 00 01 00 00                          push    100h            ; int
.text:005C235B 1C8 8D 94 24 C8 00 00 00                    lea     edx, [esp+1C8h+lineBuf]
.text:005C2362 1C8 52                                      push    edx             ; char *
.text:005C2363 1CC 55                                      push    ebp             ; FILE *
.text:005C2364 1D0 E8 E7 8E EE FF                          call    ReadLine(int,char *,int)

maybe you mean 005C2364 ?

from cleo-redux.

JuniorDjjr avatar JuniorDjjr commented on July 1, 2024

I think the problem existed in my game but I didn't have VehFuncs.asi installed, it doesn't seem to have anything to do recompile, but it's still a very strange problem that I need to check someday (I'm pretty out of modding). Happens with CFileMgr::ReadLine inside FxsFuncs in MakeInline<0x5C235B when VehFuncs is installed, but I pretty much always had both installed in my game without issues.

Here is the VehFuncs recompiled patching 0x00563280 instead, and push esi.
https://drive.google.com/file/d/1JzurRk4PWwGpp1Q6gSXpx235n2vDP81y/view?usp=sharing
It works in my game (without using FxsFuncs for some reason), but not tested with CLEO Redux.

from cleo-redux.

x87 avatar x87 commented on July 1, 2024

@1234nir can you check that build?

from cleo-redux.

x87 avatar x87 commented on July 1, 2024

closing as resolved in VehFuncs 2.4
https://www.mixmods.com.br/2022/02/sa-vehfuncs/

from cleo-redux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.