AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [INC/ANY] Memory Extended Fork (https://forums.alliedmods.net/showthread.php?t=337502)

Dragokas 04-24-2022 20:20

[INC/ANY] Memory Extended Fork
 
Extends opportunities to work with memory in SourcePawn.

Description:
Initially, project was aim to allow work with other libraries (not only server/engine/matchmaking_ds) as well as calling functions from OS libraries, allocation memory e.t.c. without need to install custom extensions.

// TODO. Full description is under construction... (when I have time for it).

At the moment, see:
- in original topic (outdated), in fork topic (ru)
or
- in Russian here (more fresh, but still much outdated)
sample plugins.
* Fork and topic done with permission of original author. He is not much active at the moment, however, willing to make this project continue live and develop.
New features in fork:
- IsValidPointer
- MemSearcher (partially done)
- MemAlloc (updated)
- GameDataEx
- BinaryFile
- Instruction Length Disassembler
- New stocks ...

Credits:
- Rostu (original author)
- Kailo - for help in training of ASM/Debuggers/Working with IDA
- komashchenko - for help allowing to figure out SDKCall
- Boeing 676 - for help allowing to adopt this inc for Linux
- Ms-Rem - LDasm (C++)
- The Trick - Updates to LDasm, ASM training
- Dragokas - additions, bug fixes

Download link:
https://github.com/dragokas/Memory-Extended

Example plugins:
1) Setup manual mid-function detour (without dhooks.inc)
- [L4D1] Crash on engine.so!CM_VCollideForModel (fixing zero-pointer dereference crash)
2) Find & replace string in memory:
- [CS:GO] No FallDamage Sound by MaZa
- [CS:GO] Bypass -nobots/-nohltv by Rostu
3) Calling OS function:
- Get CPU Name (Windows) by Rostu
// more TODO

Related works:
- [INC] Memory Extended by Rostu (original topic)
- Source Scramble by nosoop
- SM-Memory by Scags

Related topics:
- [ANY] Work with memory in SourcePawn by 2010kohtep
- Hooking without extension by BHaType
- [Lesson] Reading Import/Export Table via SourcePawn by Rostu (Rus)

BeepIsla 04-25-2022 11:16

Re: [INC/ANY] Memory Extended Fork
 
Quote:

btw, does anybody know why "issues" tab doesn't exist there on github?
You can disable it in Github repository settings

Dragokas 04-25-2022 11:44

Re: [INC/ANY] Memory Extended Fork
 
BeepIsla, thanks, found it!

Dragokas 07-08-2022 12:22

Re: [INC/ANY] Memory Extended Fork
 
Updated.

Quote:

3.1.9
Fixed warnings on SM 1.11.
VirtualQuery optimizations (Windows).
Also, appended more plugin samples in 1st post.


All times are GMT -4. The time now is 12:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.