Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 287 online users. » 0 Member(s) | 285 Guest(s) Google, Bing
|
Latest Threads |
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,152
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 50
|
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 429
|
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 564
|
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,068
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 59
|
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 76
|
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 92
|
samp-cef
Forum: Questions and Suggestions
Last Post: jamespssamp
2025-06-18, 11:36 AM
» Replies: 0
» Views: 81
|
Offering Pawn Scripting S...
Forum: Pawn Scripting
Last Post: Mido
2025-06-07, 01:30 PM
» Replies: 0
» Views: 309
|
|
|
Server crash (INI_AddToBuffer) and Packet was modified problem |
Posted by: Godfather - 2020-11-04, 08:58 PM - Forum: Pawn Scripting
- No Replies
|
 |
I have this on online linux server and I'm getting errors for local files which is strange.
I guess he is trying to find .ini file of the user on?OnPlayerDisconnect but fails to process it somehow.
Code: [debug] Server crashed while executing script.amx
[debug] AMX backtrace:
[debug] #0 00000035 in INI_AddToBuffer (INI:file=52, name[]=@00000000 "", data[]=@01d43894 "0000001600676554") at <unknown file>:0
[debug] #1 000147f0 in ?? (... <13 arguments>) at C:\Users\test\Desktop\sampserver\pawno\include\YSI\y_ini.inc:1076
[debug] #2 00000035 in public OnPlayerDisconnect () at <unknown file>:0
Also other problem that I have sometimes on other server is people get reconnected. Here is an example of the log:
Code: Packet was modified, sent by id: *id*, ip: *ip*
|
|
|
Kyosaur's Plugin Development Guide |
Posted by: Bee - 2020-11-03, 06:19 PM - Forum: Tutorials
- Replies (1)
|
 |
Hey everyone,
I recently started learning about plugin development for SA:MP. I asked around for a good tutorial and a super awesome guy in Discord suggested me to take a look at Kyosaur's Plugin Development Guide. I read it and it is pretty amazing. He also suggested that someone should port over the guide to burgershot.gg. So here it is.
View in Github
Is it exactly the same?
The content is 99.9% same. 99.9% because some threads were removed and I couldn't link it. It was broken even in the original post. I updated the existing links and made some formatting changes while converting it into Markdown.
Why is it in Markdown?
I tried use the BB Code in Burgershot. It was messed up and insanely buggy. I kept losing content and had to start over again and again. Also, Why not in Markdown?
|
|
|
Discord Connector invalid message author. |
Posted by: XeroX - 2020-11-03, 04:47 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hi,
it's been sometime since I last scritped for sa-mp. Anyway my problem is that DCC_GetMessageAuthor returns an invalid user and I'm not entirely sure why.
Plugin version is 0.3.3
PHP Code: public DCC_OnMessageCreate(DCC_Message:message)
{
new DCC_Channel:msgChannel;
DCC_GetMessageChannel(message, msgChannel);
new channelName[128];
DCC_GetChannelName(msgChannel, channelName, sizeof(channelName));
printf("channelName: %s", channelName);
if(strcmp(channelName, "sa-mp", true, 5) == 0)
{
new DCC_User:author;
DCC_GetMessageAuthor(message, author); // This always fails
if(author == DCC_INVALID_USER)
{
print("Invalid User");
return;
}
new bool:IsBot, bool:IsVerified;
DCC_IsUserBot(author, IsBot);
DCC_IsUserVerified(author, IsVerified);
new authorName[DCC_USERNAME_SIZE];
DCC_GetUserName(author, authorName, sizeof(authorName));
printf("Author: %s | IsBot: %d | IsVerified: %d", authorName, IsBot, IsVerified );
if(!IsBot && IsVerified)
{
new string[128];
new authorMessage[128];
DCC_GetMessageContent(message, authorMessage, sizeof(authorMessage));
format(string, sizeof(string), "[Discord/%s]: %s", authorName, authorMessage);
SendClientMessageToAll(0x00C7FFAA, string);
}
}
}
|
|
|
OnServerCrashes callback? |
Posted by: Turk - 2020-11-03, 01:32 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hello, OnGameModeExit callback note says that: (This callback will NOT be called if the server crashes or the process is killed by other means?pressing the close-button on the Windows console.) So how can I detect when server is crashes or has been killed? Is there a callback like?OnGamemodeCrashes or smth like that?
|
|
|
Searching Advisor |
Posted by: Palps - 2020-11-02, 10:14 PM - Forum: Chat
- Replies (3)
|
 |
Hey,
so I developed a server since June, its very unique
and of course selfmade. The only problem is, I really
dont know how to promote it nowadays.
Since the samp forum is down, there is a lack of advertisment-platforms.
Please contact me, if youre experienced in this area.
Discord: Tec9#3343
Server showoff: discord.gg/b28JTaC
Sincerly,
Palps
|
|
|
SKy Compatibility |
Posted by: Grate Maharlika - 2020-11-02, 05:45 PM - Forum: Pawn Scripting
- No Replies
|
 |
Somebody told me that the error I am facing in my SKY plugin is MSVC dll, but I don't know which one? Can you give me an specific .dll of MSVC or links? I am using Windows.
|
|
|
|