openmultiplayer / server-beta-old

open.mp server beta releases
142 stars 14 forks source link

[QUESTION]: Compatibility with plugin CHandling #129

Closed Shersula closed 2 years ago

Shersula commented 2 years ago

At the moment, the CHandling plugin does not work on openmp. I understand that this is due to memory hacks, but I would like to know if openmp plans to add the ability to edit handling cars, since I doubt that I will be able to contact the developer of this plugin he to translate it to openmp

Link to the plugin repository: https://github.com/dotSILENT/chandling-svr

If the log is interesting: [18:44:46] [Info] Loading plugin: chandlingsvr [18:44:47] [Info] [debug] Server crashed due to an unknown error [18:44:47] [Info] [debug] Native backtrace: [18:44:47] [Info] [debug] #0 644b7075 in ?? () in plugins\chandlingsvr.DLL [18:44:47] [Info] [debug] #1 644b719f in ?? () in plugins\chandlingsvr.DLL [18:44:47] [Info] [debug] #2 685b1468 in ?? () in components\Pawn.dll [18:44:47] [Info] [debug] #3 685b2d62 in ?? () in components\Pawn.dll [18:44:47] [Info] [debug] #4 685b28ec in ?? () in components\Pawn.dll [18:44:47] [Info] [debug] #5 685b23b3 in ?? () in components\Pawn.dll [18:44:47] [Info] [debug] #6 685c8f2f in ?? () in components\Pawn.dll [18:44:47] [Info] [debug] #7 0100b63f in ?? () in omp-server.exe [18:44:47] [Info] [debug] #8 01007801 in ?? () in omp-server.exe [18:44:47] [Info] [debug] #9 01210cc0 in ?? () in omp-server.exe [18:44:47] [Info] [debug] #10 77116739 in ?? () in C:\WINDOWS\System32\KERNEL32.DLL [18:44:47] [Info] [debug] #11 77b48fef in ?? () in C:\WINDOWS\SYSTEM32\ntdll.dll [18:44:47] [Info] [debug] #12 77b48fbd in ?? () in C:\WINDOWS\SYSTEM32\ntdll.dll [18:44:47] [Info] [debug] Registers: [18:44:47] [Info] [debug] EAX: 644cc38c EBX: 644cc38c ECX: 19447878 EDX: 012a8000 [18:44:47] [Info] [debug] ESI: 0000000c EDI: 002a8000 EBP: 00dcf81c ESP: 00dcf800 [18:44:47] [Info] [debug] EIP: 644b7075 EFLAGS: 00210246 [18:44:47] [Info] [debug] Stack: [18:44:47] [Info] [debug] ESP+00000000: 00030200 644c9430 0d19d101 01000000 [18:44:47] [Info] [debug] ESP+00000020: 644b719f 644cc398 644cc38c 644c9454 [18:44:47] [Info] [debug] ESP+00000040: 685b1468 686b92ec 013e0c2c 013e0c28 [18:44:47] [Info] [debug] ESP+00000060: 0000001c 00dcf940 00dcf888 7765a638 [18:44:47] [Info] [debug] ESP+00000080: ffffffff 00dcf8d4 0caef040 00dcf8b8 [18:44:47] [Info] [debug] ESP+000000a0: 0d19d190 00dcf8a0 00dcf940 685b6070 [18:44:47] [Info] [debug] ESP+000000c0: 00dcf958 685b28ec 00dcf914 00dcf8d4 [18:44:47] [Info] [debug] ESP+000000e0: 00000157 00000014 0000010f 00dcf8d4 [18:44:47] [Info] [debug] ESP+00000100: 00000016 0000001f 67756c70 0000000f [18:44:47] [Info] [debug] ESP+00000120: 00dcfa04 0caef010 0000000a 00dcf8f0 [18:44:47] [Info] [debug] ESP+00000140: 00dcf9c4 685b6050 00000000 00dcf97c [18:44:47] [Info] [debug] ESP+00000160: 00dcfa04 0d19d190 00610063 0066006e [18:44:47] [Info] [debug] ESP+00000180: 6e696c64 72767367 00000000 0000000c [18:44:47] [Info] [debug] ESP+000001a0: 0000000c 0d190000 00610063 0066006e [18:44:47] [Info] [debug] ESP+000001c0: 00dcf964 00dcfa30 685b6040 00000002 [18:44:47] [Info] [debug] ESP+000001e0: 685c8f2f 00dcfa04 0caef010 00000028 [18:44:47] [Info] [debug] ESP+00000200: 0ce02548 6e616863 6e696c64 72767367 [18:44:47] [Info] [debug] ESP+00000220: 0caeef58 0ce02568 0000001f 00dcf9e8 [18:44:47] [Info] [debug] ESP+00000240: 0d02b0a0 00dcfad0 00dcfaf4 0100b63f [18:44:47] [Info] [debug] ESP+00000260: 010a2ae0 033d4ed8 032a0078 00dcfab8 [18:44:47] [Info] [debug] ESP+00000280: 015ba138 00134f60 00000000 00dcfac0 [18:44:47] [Info] [debug] ESP+000002a0: 00000000 01520000 033d4dc8 0d02b304 [18:44:47] [Info] [debug] ESP+000002c0: 67005d53 bebfc400 0000000a 0000000f [18:44:47] [Info] [debug] ESP+000002e0: 010a2870 00000003 00000000 00dcfb00 [18:44:47] [Info] [debug] ESP+00000300: 01531868 00dcfadc 00000004 00000004 [18:44:47] [Info] [debug] ESP+00000320: 00dcfd10 01006f17 00000017 0000001f [18:44:47] [Info] [debug] ESP+00000340: 0000000b 0000000f 0157bd80 77b6eba1 [18:44:47] [Info] [debug] ESP+00000360: 01540001 01580714 01580708 0157c578 [18:44:47] [Info] [debug] ESP+00000380: 0157bd58 00000001 01531160 015311a0 [18:44:47] [Info] [debug] ESP+000003a0: 00000001 01580714 01580708 0157c5f8 [18:44:47] [Info] [debug] ESP+000003c0: 0157bdd0 00000000 015311a8 015311e8 [18:44:47] [Info] [debug] ESP+000003e0: 0157c0c8 00000003 015b99a0 015b99e0 [18:44:47] [Info] [debug] Loaded modules: [18:44:47] [Info] [debug] 01000000 - 012c0000 omp-server.exe [18:44:47] [Info] [debug] 77ae0000 - 77c8a000 ntdll.dll [18:44:47] [Info] [debug] 77100000 - 771f0000 KERNEL32.DLL [18:44:47] [Info] [debug] 76dc0000 - 77017000 KERNELBASE.dll [18:44:47] [Info] [debug] 779b0000 - 77a14000 WS2_32.dll [18:44:47] [Info] [debug] 76280000 - 7633b000 RPCRT4.dll [18:44:47] [Info] [debug] 75aa0000 - 760ac000 SHELL32.dll [18:44:47] [Info] [debug] 75880000 - 758fb000 msvcp_win.dll [18:44:47] [Info] [debug] 77630000 - 77742000 ucrtbase.dll [18:44:47] [Info] [debug] 76a90000 - 76c3c000 USER32.dll [18:44:47] [Info] [debug] 75900000 - 7591a000 win32u.dll [18:44:47] [Info] [debug] 76a60000 - 76a82000 GDI32.dll [18:44:47] [Info] [debug] 76980000 - 76a5f000 gdi32full.dll [18:44:47] [Info] [debug] 76c40000 - 76d3e000 CRYPT32.dll [18:44:47] [Info] [debug] 76200000 - 7627c000 ADVAPI32.dll [18:44:47] [Info] [debug] 74950000 - 74981000 WINMM.dll [18:44:47] [Info] [debug] 77030000 - 770f2000 msvcrt.dll [18:44:47] [Info] [debug] 722f0000 - 7235d000 MSVCP140.dll [18:44:47] [Info] [debug] 76d40000 - 76dba000 sechost.dll [18:44:47] [Info] [debug] 72e70000 - 72e85000 VCRUNTIME140.dll [18:44:47] [Info] [debug] 754f0000 - 75509000 bcrypt.dll [18:44:47] [Info] [debug] 77980000 - 779a5000 IMM32.DLL [18:44:47] [Info] [debug] 72df0000 - 72e12000 Actors.dll [18:44:47] [Info] [debug] 73870000 - 7388c000 Checkpoints.dll [18:44:47] [Info] [debug] 72dd0000 - 72def000 Classes.dll [18:44:47] [Info] [debug] 72d90000 - 72dc4000 Console.dll [18:44:47] [Info] [debug] 6a3f0000 - 6a4b7000 Databases.dll [18:44:47] [Info] [debug] 714b0000 - 714cd000 Dialogs.dll [18:44:47] [Info] [debug] 71480000 - 714a1000 GangZones.dll [18:44:47] [Info] [debug] 71450000 - 71474000 LegacyConfig.dll [18:44:47] [Info] [debug] 68710000 - 687bb000 LegacyNetwork.dll [18:44:47] [Info] [debug] 71420000 - 71441000 Menus.dll [18:44:47] [Info] [debug] 6aa40000 - 6aa70000 Objects.dll [18:44:47] [Info] [debug] 685a0000 - 68706000 Pawn.dll [18:44:47] [Info] [debug] 76340000 - 7638a000 SHLWAPI.dll [18:44:47] [Info] [debug] 648e0000 - 6498b000 pawncmd.dll [18:44:47] [Info] [debug] 6aa20000 - 6aa40000 Pickups.dll [18:44:47] [Info] [debug] 6a3c0000 - 6a3e6000 TextDraws.dll [18:44:47] [Info] [debug] 68240000 - 68264000 TextLabels.dll [18:44:47] [Info] [debug] 6a3a0000 - 6a3b9000 Timers.dll [18:44:47] [Info] [debug] 60b70000 - 6281c000 Unicode.dll [18:44:47] [Info] [debug] 68580000 - 6859d000 Variables.dll [18:44:47] [Info] [debug] 68210000 - 6823e000 Vehicles.dll [18:44:47] [Info] [debug] 74d10000 - 74d22000 kernel.appcore.dll [18:44:47] [Info] [debug] 64880000 - 648d1000 crashdetect.DLL [18:44:47] [Info] [debug] 64710000 - 64781000 MSVCP120.dll [18:44:47] [Info] [debug] 64790000 - 6487e000 MSVCR120.dll [18:44:47] [Info] [debug] 646c0000 - 6470e000 mysql.DLL [18:44:47] [Info] [debug] 681f0000 - 6820a000 log-core.dll [18:44:47] [Info] [debug] 645f0000 - 646bd000 libmariadb.dll [18:44:47] [Info] [debug] 73d90000 - 73d9a000 Secur32.dll [18:44:47] [Info] [debug] 72d60000 - 72d85000 SSPICLI.DLL [18:44:47] [Info] [debug] 74bf0000 - 74bfb000 CRYPTBASE.DLL [18:44:47] [Info] [debug] 71990000 - 719a2000 napinsp.dll [18:44:47] [Info] [debug] 71970000 - 71986000 pnrpnsp.dll [18:44:47] [Info] [debug] 74170000 - 741c0000 mswsock.dll [18:44:47] [Info] [debug] 74990000 - 74a3f000 DNSAPI.dll [18:44:47] [Info] [debug] 757d0000 - 757f4000 IPHLPAPI.DLL [18:44:47] [Info] [debug] 76390000 - 76397000 NSI.dll [18:44:47] [Info] [debug] 71960000 - 7196e000 winrnr.dll [18:44:47] [Info] [debug] 71940000 - 71951000 wshbth.dll [18:44:47] [Info] [debug] 71920000 - 71939000 nlansp_c.dll [18:44:47] [Info] [debug] 71910000 - 71918000 rasadhlp.dll [18:44:47] [Info] [debug] 64580000 - 645ed000 streamer.DLL [18:44:47] [Info] [debug] 10000000 - 10042000 sscanf.DLL [18:44:47] [Info] [debug] 644b0000 - 64572000 chandlingsvr.DLL [18:44:47] [Info] [debug] 77840000 - 778a4000 bcryptPrimitives.dll

Alasnkz commented 2 years ago

We will not be porting over such things, that is something to think about with our client release.

NexiusTailer commented 2 years ago

Serverside part of this plugin is just a basic samp memhack plugin which could be ported to omp like sampvoice or any other widely used by people. So, I don't think it should be closed with such reason.

Alasnkz commented 2 years ago

Someone can port it, sure, that's not our job nor the purpose of this issues page.

Also I highly doubt a high number of servers are using this plugin, else we would see it been requested more (not this one time).

NexiusTailer commented 2 years ago

that's not our job

Well it's in your best interest if for some servers this would be the only dependency that will keep them from switching

Alasnkz commented 2 years ago

Not really, we cannot physically convert every generic memory hack ourselves. They will be in the same position with a SA:MP update.

NexiusTailer commented 2 years ago

It's not. Many of them has FindPattern so they would work on a new samp server version unlike omp. I understand you can't port each memhack plugin ever released under the samp server on your own, but let's be honest, you haven't ported much yet by their number anyway (again, on your own; urShadow did everything with his plugins himself and only sampvoice was truly ported by Amir) from a list of those that are more or less used by servers. Although this list, if taken in numbers, is about just 10-12 ones including this one and some part was already done. It's really not that much to reject some of them remained.