Skip to content

Instantly share code, notes, and snippets.

View Zaur-Lumanov's full-sized avatar

Zaur Zaur-Lumanov

  • vk.com/hs
  • Moscow
View GitHub Profile
html{position:relative;min-height:100%;}body{margin-bottom:60px;}#footer{position:absolute;bottom:0;width:100%;height:60px;background-color:#f5f5f5;}body>.container{padding:60px15px0;}.container{padding:60px15px0;}.container.text-muted{margin:20px0;}#footer>.container{padding-right:15px;padding-left:15px;}
package main
import (
"log"
"github.com/googollee/go-socket.io"
)
func pol() {
client, err := socketio.Dial("http://127.0.0.1:3000/pol")
if err != nil {
#include <core>
public main()
{
say("test pawn bot");
}
#include <core>
public main()
{
say("test pawn bot");
}
forward main();
public main()
{
#emit stack 0x7FFFFFFF
#emit inc.s cellmax
static const ___[][] = {"Brass", "K"};
#emit retn
#emit load.s.pri ___
#emit proc
#emit proc
@___If_u_can_read_this_u_r_nerd();
@___If_u_can_read_this_u_r_nerd()
{
#emit stack 0x7FFFFFFF
#emit inc.s cellmax
static const ___[][] = {"Brass", "K"};
#emit retn
#emit load.s.pri ___
#emit proc
#emit proc
@Zaur-Lumanov
Zaur-Lumanov / mybot.cs
Created February 1, 2016 07:54
Decrypted script "mybot.cs"
// This file was decompiled using SASCM.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
{$CLEO .cs}
//-------------MAIN---------------
0@ = -23523
gosub 0@
0000: NOP
wait 2500
0AF8:
hex
// Ко всем new
new _buffstr[128];
// В конец кода
stock escapeString(const _string[])
{
mysql_escape_string(_string,_buffstr);
return _buffstr;
}
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>
#define EXITDLG 2775
#define SendMes(%1,%2,%3,%4) do{ format(sendmes, sizeof(sendmes), (%3),%4); SendClientMessage((%1),(%2), sendmes); } while(FALSE)
new PlayerText:Textdraw[MAX_PLAYERS][175];
new sendmes[144], playername[2][MAX_PLAYER_NAME], FALSE;
GPP=g++
OUTFILE="pluginname.so"
COMPILE_FLAGS=-c -fPIC -O3 -w -DLINUX -ISDK/amx/
all:
$(GPP) $(COMPILE_FLAGS) SDK/*.cpp
$(GPP) $(COMPILE_FLAGS) *.cpp
$(GPP) -O2 -m32 -fshort-wchar -shared -o $(OUTFILE) *.o