Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,671
» Latest member: yxainzlb
» Forum threads: 2,353
» Forum posts: 12,299

Full Statistics

Online Users
There are currently 320 online users.
» 0 Member(s) | 316 Guest(s)
Google, Bing, Yandex, Baidu

Latest Threads
Cara buka blokir bws mobi...
Forum: Tech
Last Post: bisniss
4 hours ago
» Replies: 1
» Views: 5
Cara buka blokir BWS mobi...
Forum: Chat
Last Post: bisniss
4 hours ago
» Replies: 2
» Views: 33
🌄Project: Country Side (B...
Forum: Advertisements
Last Post: DevonH
5 hours ago
» Replies: 2
» Views: 430
Adding new vehicles and s...
Forum: Support
Last Post: roseblack
Today, 01:57 AM
» Replies: 3
» Views: 840
gjiuyt
Forum: Releases
Last Post: dobsab
Yesterday, 12:23 PM
» Replies: 0
» Views: 21
jnkmty
Forum: Pawn Scripting
Last Post: dobsab
Yesterday, 12:22 PM
» Replies: 0
» Views: 24
shgrehe
Forum: Questions and Suggestions
Last Post: dobsab
Yesterday, 12:21 PM
» Replies: 0
» Views: 18
MiniGame [Dropper] SA-MP
Forum: Videos and Screenshots
Last Post: Crazy_ArKzX
Yesterday, 12:20 PM
» Replies: 0
» Views: 23
How to Complete “Keeping ...
Forum: Questions and Suggestions
Last Post: rodeon
2025-11-06, 07:26 AM
» Replies: 0
» Views: 49
Ultimate Roleplay!!
Forum: Advertisements
Last Post: URP_Wrzosek
2025-11-03, 09:43 AM
» Replies: 2
» Views: 106

 
Heart Send your cat pics
Posted by: Kiru - 2019-04-14, 10:05 AM - Forum: Chat - Replies (17)

[Image: zGACHsN.jpg]

Cute quality pic <3


  [HELP] Discord connector.
Posted by: Mugsy - 2019-04-14, 10:03 AM - Forum: Pawn Scripting - Replies (15)

I need help in this area, do not do anything about this and I need to do it urgently, I would like it if you could help me.



https://github.com/maddinat0r/samp-discord-connector


  Magyar
Posted by: TwisT3R - 2019-04-14, 09:52 AM - Forum: Hungarian/Magyar - Replies (33)

Na helloka!

Kinek mi a v?lem?nye errol a felhajt?sr?l?


  Leaked version 0.3? SA-MP Source Code
Posted by: hastlaking - 2019-04-14, 09:15 AM - Forum: General Discussions - Replies (10)

is it true that the project from the forum sa-mp got leaked i dont know what version but i truly am gona say i got a fresh copy of it.


  denNorske's SA-MP Query Cache Proxy
Posted by: denNorske - 2019-04-14, 09:08 AM - Forum: Releases - Replies (9)

SA-MP Query Cache Proxy
(Made in python3.7)

Hosted tab servers are facing a massive spam of spoofed UDP packets. The servers simply have no chance to respond to all the fake query requests, and becomes overworked. This ends up with servers not appearing online in the samp client, and if they appear, lots of information don't appear.?
UPDATE: Attack has calmed down (14th of april 2019)

This package will take all the "shit" from the fake packages and respond with a cached response from the samp server. The proxy sends a request to the samp server every few second to cache latest info, which it so sends further to the client that requests it. This shields the samp server and makes it appear normally in everyone's clients. It has been tested on my community and some other servers, and the effect is very noticeable.?

Why python??
Well, python was the only other language besides PAWN and C# that I knew in 2019, and it was the only contribution I could make together with my friend Nick. Now that I also know a bit of C, Javascript and such, but considering it works so well, it's fair enough to say that it may remain using python.

This project is written by frxstrem, nick and me, and everyone's welcome to contribute with better solutions by creating pull requests from separate branches. It has been tested under load of a UDP spam on approximately 3500 pps. It takes up one entire thread of a CPU on a I7-8700k.

Unfortunately, this method will only work on VPS's/VDS's where you have full access to the host system. Python code requires iptables rules to be applied.



How to run the python script in background;?
1:

Code:
python3 pack-scan.py &
2:Then use:
Code:
detach
to avoid it closing with the terminal, when you leave the SSH session, or close the terminal.



Disclaimer: I am in no way responsible for misconfigurations or changes done by you. You should understand what iptables do and what my code do before you use it.

Query Mechanism information: Click here

READ ME: https://github.com/dennorske/samp-packet.../README.md

Known issues:?
  • Under load, script tends to stop working after approximately a week. You can set up a simple bash script to restart it automatically (Fixed March 19th 2021)
  • game-state and SACNR monitor queries are not responded correctly, causing graphs to not show or show incorrectly.

Visual of the Query mechanism with the script running (Assuming iptables works correctly) :
[Image: 68747470733a2f2f706963732e6475636b792e72...322e706e67]


LINK TO REPOSITORY/Download https://github.com/dennorske/samp-packet-proxy


Disabling the cache/removing IPtable rules:
In order to remove the rules you've added from IPtables, please replace "-A" or "-I", with "-D" in the commands.
You need to make sure you write the exact same commands, else it will fail. (if you changed ports, use those ports, and replace -A with -D for example)


  Burgershot
Posted by: Mugsy - 2019-04-14, 07:56 AM - Forum: General Discussions - Replies (18)

Very good dear community.



I come to ask several questions.



Why Burgershoot? What is the purpose of the project? When will more official information be given?



I think that very soon news will be given and this project has a good path if it is administered well and does not pass up as SAMP.











Sorry for the google translator.


  SampBcrypt
Posted by: SyS - 2019-04-14, 07:41 AM - Forum: Plugins - Replies (14)

SampBcrypt

[Image: samp-bcrypt.svg?branch=master] [Image: 5rq55kukvy8xymly?svg=true] [Image: sampctl-SampBcrypt-2f2f2f.svg] [Image: samp-bcrypt.svg] [Image: samp-bcrypt.svg] [Image: samp-bcrypt.svg]

A bcrypt plugin for samp in Rust.

Installation

sampctl

If you are a sampctl user

sampctl p install Sreyas-Sreelal/samp-bcrypt

OR
  • Download suitable binary files from releases for your operating system
  • Add it your plugins folder
  • Add samp_bcrypt to server.cfg or? samp_bcrypt.so (for linux)
  • Add samp_bcrypt.inc in includes folder
Building
API
  • bcrypt_hash(playerid,callback[],input[],cost)
    • playerid - id of the player
    • callback[] - callback to execute after hashing
    • input[] - string to hash
    • cost - work factor (4 - 31)
  • Example

    PHP Code:
    main(){
     
    bcrypt_hash(0,"OnPassswordHash","text",12);
    }


    forward OnPassswordHash(playerid);
    public 
    OnPassswordHash(playerid){
     
    //hashing completed


  • bcrypt_get_hash(dest[],size = sizeof(hash))
    • dest[] - string to store hashed data
    • size - max size of dest string
  • Example

    PHP Code:
    main(){
     
    bcrypt_hash(0,"OnPassswordHash","text",12);
    }


    forward OnPassswordHash(playerid);
    public 
    OnPassswordHash(playerid){
     new 
    dest[250];
     
    bcrypt_get_hash(dest);
     
    printf("hash : %s",dest);


  • bcrypt_verify(playerid,callback[],input[],hash[])
    • playerid - id of the player
    • callback[] - callback to execute after hashing
    • input[] - text to compare with hash
    • hash[] - hash to compare with text
  • Example

    PHP Code:
    main(){
     
    bcrypt_hash(0,"OnPassswordHash","text",12);
    }


    forward OnPassswordHash(playerid);
    public 
    OnPassswordHash(playerid){
     new 
    dest[250];
     
    bcrypt_get_hash(dest);
     
    bcrypt_verify(playerid,"OnPassswordVerify","text",dest);
    }


    forward OnPassswordVerify(playerid,bool:success);
    public 
    OnPassswordVerify(playerid,bool:success){
     
    //success denotes verifying was successful or not
     
    if(success){
     
    //verfied
     
    } else{
     
    //hash doesn't match with text
     
    }


  • bcrypt_set_thread_limit(value)
    • value - number of worker threads at a time
  • Example

    PHP Code:
    main(){
     
    bcrypt_set_thread_limit(3);


  samp-ai-chatbot
Posted by: SyS - 2019-04-14, 07:27 AM - Forum: Releases - Replies (2)

samp-ai-chatbot



[Image: samp-ai-chatbot.svg] [Image: samp-ai-chatbot.svg] [Image: samp-ai-chatbot.svg]





This is? sample ai chatting bot using aiml,flask,pyaiml and pawn for sa-mp.You can add your own aiml files in sampai.aiml to change the bot behaviour.The current aiml files is from AI Foundation?s A.L.I.C.E. bot.





How to use this script?



  1. Clone this repository



    git clone https://www.github.com/sreyas-sreelal/sa...hatbot.git





  2. Compile the sample bot script in filterscripts folder and add them to your server project





  3. Install python (i recommend python 3.5 versions) dependencies using pip



    pip install flask python-aiml





  4. Start the web server using the script start.py in web-server folder



    python3 start.py





  5. Start your samp server and use the command /ask <message> to talk with the bot


Dependencies



pawn (to run sample script)



python (to run web server)


  • Flask

  • pyaiml


Images

[Image: pic1.png?raw=true]

[Image: pic2.png?raw=true]

[Image: pic3.png?raw=true]



Repository

https://github.com/Sreyas-Sreelal/samp-ai-chatbot


  deleted
Posted by: Atom - 2019-04-14, 07:20 AM - Forum: Discusi?n GTA SA Multijugador - Replies (13)

deleted


  matheval
Posted by: SyS - 2019-04-14, 07:19 AM - Forum: Libraries - Replies (1)

matheval



[Image: matheval.svg?branch=master] [Image: matheval.svg] [Image: matheval.svg] [Image: matheval.svg]



This is a simple library for evaluating mathematical expressions given as string literals.Currently supported operators are:
  • - addition?

  • - - subtraction?

  • ^ - exponential?

  • / - division?

  • * - product

If you have any issues or improvements to be made in this code just open an issue or pull request



Installation



If you are using sampctl just use



sampctl package install Sreyas-Sreelal/matheval



Otherwise just clone the repository



git clone https://www.github.com/sreyas-sreelal/matheval.git



and add matheval.inc to your pawno/includes folder



Usage



There is only one function



MathEval(expression[])



parameters


  • expression[] - mathmatical expression in string literal


returns


  • NaN if failed

  • if success,value in floating point



For example :




PHP Code:
#include<matheval>

main(){

? ?
printf("(1)^(32/3)-1 = %f",MathEval("(1)^(32/3)-1"));





Testing



To run the tests:



sampctl package run



Dependencies



Repository

https://github.com/Sreyas-Sreelal/matheval