SAMPFUNCS - 5.3.3 (0.3.7)

A Mod for Grand Theft Auto: San Andreas

The current version of the plug-in is 5.3.3 (0.3.7)

Number of opcodes - 382

Description:

SAMPFUNCS is an addition to the CLEO 4 library, globally expanding the capabilities of scripts. Its main goal is to help accomplish various tasks in modding the game "GTA San Andreas", although more emphasis is placed on simplifying and expanding the chances for cheating for the multiplayer modification "San Andreas Multiplayer (SA: MP)".

Installation:

File "SAMPFUNCS.asi copy to the root folder of the game,

* (For developers (archive sf_x_sdk.zip):

Copy all files from the "SB data" folder in the archive to the directory "... / Sanny Builder 3 / data / sa".)

Archive SFPlugin contains a project for creating plugins using the SF API, is also a tool for developers.

Thanks:

I express special thanks to @ legend2360 for working on CLEO Wiki and the entire BlastHack team as a whole for their help in developing and testing.

Many thanks to the MTA team for their tremendous work on GTA San Andreas and the publicly available Game SDK.

Attention!

SF-plugins from version 5.0 to 5.1.1 are not compatible with 5.2 and higher.

The plugin, starting with version 4.0, keeps the statistics of starts and users: sends the username and serial number of the system hard drive to our server. This function is purely informative and is not used for any other purposes. The data is stored and sent in a protected form, and under no circumstances are transferred to third parties.

The function can not be disabled, since this will affect the accuracy of the statistics service.

By downloading and installing SAMPFUNCS you automatically agree to send and store this data.

If the plugin does not work, issuing an error when starting the game, try the following:

1. Make sure that you do not have any other version of SAMPFUNCS installed (remove if there is one).

2. Reinstall the CLEO 4 CLEO Library (http://cleo.li/)

3. Replace gta_sa.exe with standard gta_sa.exe v1.0 US

4. Install a compatible SA-MP client. Current version: 0.3.7 R1

What if the game crashes, although all the requirements are taken into account?

1. Make sure that the problem is caused by SAMPFUNCS

2. Check SAMPFUNCS for operation without all scripts, asi and sf plugins.

2.1. If SAMPFUNCS works without them, try to figure out what kind of mod is causing the problem and contact the mod developer for help.

3. In case nothing is solved - describe the problem in this topic and attach the file "sampfuncs.log" (located in the SAMPFUNCS folder in the root of the game).

F.A.Q

: How to install SAMPFUNCS?

A: The file SAMPFUNCS.asi is copied from the archive to the folder with the game.

Q: What is required for SAMPFUNCS?

A: SAMPFUNCS requires the following:

Working copy of the game GTA San Andreas

gta_sa.exe v1.0US

ASI Loader

CLEO 4.1 or higher

Client SA: MP of the corresponding version

Q: Where is the folder "SAMPFUNCS"?

A: In the root folder of the game.

Q: What should I do if there is no "SAMPFUNCS" folder?

A: Create it manually or start the game with SAMPFUNCS, then the folder will be created automatically.

Q: I do not have the "SAMPFUNCS" folder and it does not appear even after the game starts.

A: You have UAC protection enabled in Windows. To disable it you need to: Go to Control Panel> User Accounts> Change Account Control Settings and move the slider to the bottom> save. Another possible reason is that the game is installed in one of the system directories where there are no write permissions (often this is the 'Program Files'), in this case, reinstall the game elsewhere.

Q: My game crashes, although it's clean.

A: A list of possible solutions to problems with departures:

Install DirectX 9 and Microsoft Visual C ++ Redistributable

Make sure that the SA: MP version is compatible with SAMPFUNCS.

Try changing the following settings in the sampfuncs-settings.ini file:

check-updates = false

multiprocess = false

antipause = false

disable-game-api = true

exception-handler = false

Despite the fact that SAMPFUNCS runs on Windows XP, it is recommended to update your version of Windows to a newer one.

Check the established modes for incompatibility with SAMPFUNCS and, in the event of detection, resolve conflicts.

Q: I have everything blinking when I enter the menu ...

A: Change the settings of the draw-info-bar parameter to "false".

Q: Where is the configuration file sampfuncs-settings.ini "?

A: In the SAMPFUNCS folder.

Q: With which mods is SAMPFUNCS not compatible?

A: NewOpcodes from DK22Pac - incompatibility of opcodes; SAMPGraphicRestore.asi - graphic artifacts.

Q: Are the new versions of SAMPFUNCS compatible with older versions of SA: MP 0.3?

A: Not compatible.

Q: How do I set SAMPFUNCS opcodes in Sanny Builder?

A: Copy the files from the "SB data" folder with the replacement to: Sanny Builder 3 \ data \ sa.

Q: What is the SFPlugin.zip archive? What to do with him?

A: This archive contains a project template for developers of SF plug-ins. If you are not a developer, then just forget about it.

Q: How to install the .SF plugin?

A: Copy the file to the SAMPFUNCS folder or follow the installation instructions (if any).

Q: My antivirus marks SAMPFUNCS as malicious and even deletes it.

A: Antivirus programs often define software of this kind as malicious, because the main work of applications of this type is done through direct access to process memory. In addition, in SAMPFUNCS built-in check for updates and it is compressed by the packer to reduce the size, so most antiviruses are related to it with great suspicion. To prevent SAMPFUNCS from being removed by antivirus, add it or the entire game folder to the antivirus exclusion list.

Q: Where can I find the detailed information, the description of the opcodes, the list of changes, the lessons associated with SAMPFUNCS?

A: Here: start | BlastHack - DEV_WIKI (http://blasthack.net/wiki/)

Q: How to fix: "WARNING! CLEO could not register opcode handler"?

A: Perhaps you have two versions of SAMPFUNCS or the NewOpcodes.cleo plugin installed. Remove them.

Q: Is SAMPFUNCS compatible with mod_sa?

A: With the original version it is fully compatible.
Q: How to install SAMPFUNCS?

A: The file SAMPFUNCS.asi is copied from the archive to the folder with the game.

Q: What is required for SAMPFUNCS?

A: SAMPFUNCS requires the following:

Working copy of the game GTA San Andreas

gta_sa.exe v1.0US

ASI Loader

CLEO 4.1 or higher

Client SA: MP of the corresponding version

Q: Where is the folder "SAMPFUNCS"?

A: In the root folder of the game.

Q: What should I do if there is no "SAMPFUNCS" folder?

A: Create it manually or start the game with SAMPFUNCS, then the folder will be created automatically.

Q: I do not have the "SAMPFUNCS" folder and it does not appear even after the game starts.

A: You have UAC protection enabled in Windows. To disable it you need to: Go to Control Panel> User Accounts> Change Account Control Settings and move the slider to the bottom> save. Another possible reason is that the game is installed in one of the system directories where there are no write permissions (often this is the 'Program Files'), in this case, reinstall the game elsewhere.

Q: My game crashes, although it's clean.

A: A list of possible solutions to problems with departures:

Install DirectX 9 and Microsoft Visual C ++ Redistributable

Make sure that the SA: MP version is compatible with SAMPFUNCS.

Try changing the following settings in the sampfuncs-settings.ini file:

check-updates = false

multiprocess = false

antipause = false

disable-game-api = true

exception-handler = false

Despite the fact that SAMPFUNCS runs on Windows XP, it is recommended to update your version of Windows to a newer one.

Check the established modes for incompatibility with SAMPFUNCS and, in the event of detection, resolve conflicts.

Q: I have everything blinking when I enter the menu ...

A: Change the settings of the draw-info-bar parameter to "false".

Q: Where is the configuration file sampfuncs-settings.ini "?

A: In the SAMPFUNCS folder.

Q: With which mods is SAMPFUNCS not compatible?

A: NewOpcodes from DK22Pac - incompatibility of opcodes; SAMPGraphicRestore.asi - graphic artifacts.

Q: Are the new versions of SAMPFUNCS compatible with older versions of SA: MP 0.3?

A: Not compatible.

Q: How do I set SAMPFUNCS opcodes in Sanny Builder?

A: Copy the files from the "SB data" folder with the replacement to: Sanny Builder 3 \ data \ sa.

Q: What is the SFPlugin.zip archive? What to do with him?

A: This archive contains a project template for developers of SF plug-ins. If you are not a developer, then just forget about it.

Q: How to install the .SF plugin?

A: Copy the file to the SAMPFUNCS folder or follow the installation instructions (if any).

Q: My antivirus marks SAMPFUNCS as malicious and even deletes it.

A: Antivirus programs often define software of this kind as malicious, because the main work of applications of this type is done through direct access to process memory. In addition, in SAMPFUNCS built-in check for updates and it is compressed by the packer to reduce the size, so most antiviruses are related to it with great suspicion. To prevent SAMPFUNCS from being removed by antivirus, add it or the entire game folder to the antivirus exclusion list.

Q: Where can I find the detailed information, the description of the opcodes, the list of changes, the lessons associated with SAMPFUNCS?

A: Here: start | BlastHack - DEV_WIKI (http://blasthack.net/wiki/)

Q: How to fix: "WARNING! CLEO could not register opcode handler"?

A: Perhaps you have two versions of SAMPFUNCS or the NewOpcodes.cleo plugin installed. Remove them.

Q: Is SAMPFUNCS compatible with mod_sa?

A: With the original version it is fully compatible.

?
Sign up to access this!

Files

Alternate File Sources

Posts

  • 1337Potato avatar
    1337Potato Joined 2y ago
    Offline
    109 points Ranked 29631st
    8mo 8mo
    samp seems to keep crashing when i use sampfuncs.asi and works if i take it out(along with the sampfuncs folder), this is the log: https://justpaste.it/1if1o

    Additional info:

    *samp version: 0.3.7 R2(maybe this is the problem? i havent tried with R1 yet because i dont know if servers will work)
    *cleo: 4.1(i heard 4.3 makes samp crash so im using 4.1)
    *i took all my mods, im not using any aditional files that could be conflicting with sampfuncs

    *my samfuncs config:
    [general]

    antipause=true

    check-updates=true

    console-use-alternate-key=false

    debug-mode=false

    disable-game-api=false

    draw-info-bar=true

    exception-handler=false

    logging=true

    multiprocess=true

    window-mode=false

    window-mode-no-border=false

    window-mode-notopmost=false

    [settings]

    console-height=500

    console-width=600

    console-x=20

    console-y=20
    ------------------------

    *the exeption handler makes gta_sa.exe use all the cpu it can if there is an exception(crash) with samp so i left it in false
    *i dont have any aditional files on the SAMPFUNCS folder, i also deleted gta_sa.set from the samp folder
    *i have tried using anticrasher.asi and anticrasher.cs but none worked(anticrasher.asi made gta crash without an exception dialog)
    *i already tried reinstalling gta and samp

    EDIT/UPDATE:
    i tried samp 0.3.7 R1 and this time things worked out differently,
    before with the R2 the samp logo showed up along with the other logos, but before the gray/white loading bar showed up, the game crashed with an exception(see sampfuncs crashlog above) but in the R1 version the bar showed up but crashed after loading, sampfuncs crashlog of the R1 crash: https://justpaste.it/1if4u, i'll retry some solutions i tried on the R2 version and see if it works on the R1
    avocato avatar
    Mantra
    avocato
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
FYP
Create SAMPFUNCS
Site BlatHack
Taken from here
Special Thanks
@legend2360
for working on CLEO Wiki and the entire BlastHack team as a whole for their help in developing and testing.

Submitter

LeisRA avatar
LeisRA Joined 2y ago
Offline
283 points Ranked 15457th
12 medals 1 rare
  • Submitted 5 Tools Medal icon
  • One month a member Medal icon
  • Submitted 1 Tool Medal icon
  • Became a Studio Leader Medal icon
  • Received thanks 5 times Medal icon
  • 6 months a member Medal icon

LeisRA
Redistributor
Are you the owner? Request Ownership
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 21.0k DLs
  • 42.8k Views
  • 1 Posts
  • 1ySubmitted
  • 1yModified

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

WiPs by Submitter

More Cleo Scripts Game files

bcp.crwdcntrl.net tracking pixel