samp.directory
← Scripts e bibliotecas

DestroyerDarkNess/Udrakoloader

Loader for your scripts (DLL) created in .Net

Plugin★ 3atualizado jul. de 2023Sem licençaC++
Abrir no GitHub

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

README.md

UdrakoLoader

Introduction

Udrakoloader is a mod, Currently Compatible With SAMP and HALO [Possibly With many more games]. Provides the ability to load scripts (DLL) developed in .Net into the game.

Based on ScriptHookvDotNet and SharpNeedle . Basically consists of CLR Hosting, to run the .Net plugins.

-- I don't take credit for this for the following reasons:

  • Most of the code is from the SharpNeedle project, Modified with parts of ScriptHookvDotNet for more compatibility.

How to Install a Plugin?​

  • Extract the Plugin (.dll) into the folder "UdrakoLoader", in the root directory of the game.

Attention:

  • The .net DLLs must be compiled under the .Net Framework 4.0.
  • The name of the Plugin DLL must be the same as the Root Namespace.

Some examples : [Compile DLL and put inside the "Udrakoloader" folder]

For C# Plugins, you must provide the correct Namespace directory.

In this case Replace ["namespace ExampleProject.Udrakoloader"] with ["namespace .Udrakoloader"]

  • UdrakoLoader C# Plugin Example:
// Plugin.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ExampleProject.Udrakoloader
{
   public class Plugin
   {
       public static int EntryPoint(string pwzArgument)
       {
           string processName = Process.GetCurrentProcess().ProcessName;
           MessageBox.Show("C# Example | The current process is " + processName);
           return 0;
       }
   }
}
  • UdrakoLoader VB Plugin Example:
'Plugin.vb
Imports System
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Linq
Imports System.Text
Imports System.Windows.Forms
Imports System.Reflection
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices
Imports System.Security

Namespace Udrakoloader

   Public Class Plugin

       Public Shared Function EntryPoint(ByVal pwzArgument As String) As Integer
           Dim processName As String = Process.GetCurrentProcess().ProcessName
           MessageBox.Show("vb Example | The current process is " & processName)
           Return 0
       End Function

   End Class

End Namespace

Contributors

  • Destroyer : Mod SharpNeedle Source . / Discord : Destroyer#8328
  • ChadSki / Usman Sabir : SharpNeedle Source .
  • crosire : ScriptHookvDotNet Examples.

Download

Download Pre Releases made for games: Udrako Loader Downloads

dllgame-loadergamesgtaloadernetpluginremote-thread-injectionsampsan-andreas-multiplayerudrakoloader

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página