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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,509
» Latest member: crazyosman365
» Forum threads: 2,233
» Forum posts: 12,033

Full Statistics

Online Users
There are currently 347 online users.
» 1 Member(s) | 344 Guest(s)
Bing, Google, crazyosman365

Latest Threads
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 36
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 32
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 51
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 455
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 52
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 69
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 59
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 456
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,469
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,907

 
  Client/Server Crash Format
Posted by: JustMichael - 2019-05-27, 03:21 PM - Forum: Support - No Replies

Information



This will be our official format thread for crashes caused by the?SA-MP Client or Server. You should follow this format if you have experienced a crash and would like help in getting it solved. We

will advise all members to use this, and failing to do so, might mean that other members will be less inclined to help you.



This format ensures that the OP (original poster), provides all the needed details to his/her case so that we as a community can provide the correct support. The following code block

will provide you with the needed text. You can copy and paste this text into your thread and then alter it to provide information about your case.





Client Format



Code:
[color=#ff33cc]Type:[/color] Client

[color=#ff33cc]Crash Code:[/color] 0x00000000

[color=#ff33cc]Crash Extra Information:[/color] <paste a link to hastebin/pastebin with the error from the crash dialog box>

[color=#ff33cc]Client Version:[/color] 0.3.7 R2

[color=#ff33cc]Mods Installed:[/color] Yes/No

[color=#ff33cc]Mods (if above is yes):[/color]

crashfix - [url=https://github.com/Whitetigerswt/gtasa_crashfix/releases]https://github.com/Whitetigerswt/gtasa_crashfix[/url]

[color=#ff33cc]Explanation (Be detailed yet simple in your answers):[/color]

I spawned in San Fierro, walked around until I found a vehicle, upon entering that vehicle (turismo, modded wheels) my game crashed.



Server Format



Code:
[color=#ff33cc]Type:[/color] Server

[color=#ff33cc]Operating System:[/color] Windows/Linux/Mac

[color=#ff33cc]Server Version:[/color] 0.3.7 R2-2

[color=#ff33cc]Plugins Installed:[/color] Yes/No

[color=#ff33cc]Plugins (If above is yes):[/color]

discord-connector - [url=https://github.com/maddinat0r/samp-discord-connector]https://github.com/maddinat0r/samp-discord-connector[/url]

PawnPlus - [url=https://github.com/IllidanS4/PawnPlus/]https://github.com/IllidanS4/PawnPlus/[/url]

[color=#ff33cc]YSI Included:[/color] Yes/No

[color=#ff33cc]Output (Logs):[/color] <paste a link to hastebin/pastebin with the logs included> (please remove any sensitive information)



Please make sure to use this format and to give as much information as possible


  sampctl linux compiling
Posted by: 6cadilab9 - 2019-05-27, 02:41 PM - Forum: Support - Replies (13)

Hello,?

So I switched to ubuntu 16.04 bc of my job and now I decided to move whole project on to sampctl because of its included linux compiler, now i installed all packages, setted the whole project up, and when i run



sampctl package build



the amx of 0 bytes is generated but nothing happens, i get nothing in the terminal it looks like its running but I don't believe that it's supposed to take this long especially with the machine im running it on


  EditClientMessage
Posted by: Dev86 - 2019-05-27, 03:08 AM - Forum: Questions and Suggestions - Replies (7)

Code:
EditClientMessage(messageid, color, string[]);



would be a nice edition so we won't need to spam countdowns/percentages in chat.

but should be similar to CreateObject texturing, like:



[/code]

new lol = SendClientMessage(playerid, -1, "hi");



EditClientMessage(lol, 0xFF0000FF, "hello");


  Crashing when on desktop (Warning(opcode 0x812): Exception 0xC0000005 at 0x571A00)
Posted by: whadez - 2019-05-26, 07:36 PM - Forum: Support - Replies (16)

My favourite crash types are those without a solution yet. I've read that it can be caused by invalid animations, but all of my animations are filtered, and they are being read from correct library. If anyone could help me with this I'd be very grateful. This crash occurs at crowded places after coming back from ALT䰀.



In chatlog:

Code:
Warning(opcode 0x812): Exception 0xC0000005 at 0x571A00



Detailed crash log:

Code:
SA-MP 0.3.7-R3

Exception At Address: 0x00571A00

Base: 0x040B0000



Registers:

EAX: 0xFFFFFFFF EBX: 0x00000000 ECX: 0x3B83126E EDX: 0xFFFFFFFF

ESI: 0x00C0B1D4 EDI: 0x00C0B1E0 EBP: 0xFFFFFFFF ESP: 0x0177F2CC

EFLAGS: 0x00010202



Stack:

퍍: 0x006083A7? ?0x00C0B1E0? ?0x14CABB28? ?0x14BC68A8

퍍: 0x018EE750? ?0x00465E04? ?0x14BC68A8? ?0x00000812

퍍: 0x14CABB28? ?0x14C92E90? ?0x10E1A860? ?0x00000812

퍍: 0x0085B378? ?0x00000000? ?0x00000000? ?0x00000003

퍎: 0x14C92E90? ?0x0177F300? ?0x0177F37C? ?0x00837D18

퍎: 0x00000000? ?0x015696FB? ?0x00001005? ?0x14C92E90

퍎: 0x00000812? ?0x00000000? ?0x10E1A860? ?0x00000812

퍎: 0x00000000? ?0x00177D04? ?0x041A0F00? ?0x40833333

퍏: 0x00001005? ?0x14C92E90? ?0x00444550? ?0x00000000

퍏: 0x00000000? ?0x00000000? ?0x414D4F57? ?0x61775F4E

퍀: 0x65736B6C? ?0x00007978? ?0x00000000? ?0x00000000

퍀: 0x0177F538? ?0x00838121? ?0xFFFFFFFF? ?0x00473839

퍀: 0x00000812? ?0x00000000? ?0x00000812? ?0x0177F598

퍀: 0x00000000? ?0x00000000? ?0x00000000? ?0x0177F3BC

퍁: 0x00000000? ?0x00000000? ?0x00000000? ?0x00000000

퍁: 0x00000000? ?0x00000000? ?0x00000000? ?0x00000000

퍝: 0x0177F3E4? ?0x00000044? ?0x00000037? ?0x0177F810

퍝: 0xFFFFFFFF? ?0x00000000? ?0x0177F574? ?0x041124AB

퍝: 0x10ED5BA9? ?0x40000000? ?0x00000003? ?0x0177F558

퍝: 0x00000004? ?0x00000080? ?0x00000000? ?0x00000004

퍞: 0x00000080? ?0x00000000? ?0x00000000? ?0x00000000

퍞: 0x00000000? ?0x00000000? ?0x00000000? ?0x00000004

퍞: 0x76FDB499? ?0x75464180? ?0x00000000? ?0x00000000

퍞: 0x0177F45C? ?0x00000000? ?0x008E2EC0? ?0x00000000

퍟: 0x00B5D4A0? ?0x0177F468? ?0x008229E3? ?0x00B5D4A0

퍟: 0x0177F504? ?0x0177F504? ?0x00000000? ?0x0177F5B4

퍐: 0x004D395E? ?0x00B5D4A0? ?0x0177F504? ?0x000004EE

퍐: 0x10E1A860? ?0x0000FFFF? ?0x0048C3CE? ?0x00000001

퍐: 0x00000000? ?0x000004EE? ?0x0177F5B4? ?0x00000000

퍐: 0x00000001? ?0x00000000? ?0x00000000? ?0x00000000

퍑: 0x00000000? ?0x00000001? ?0x0177F605? ?0x1F513750

퍑: 0x04162711? ?0x1F513430? ?0x0177F604? ?0x00000320

퍭: 0x00000001? ?0x15A81340? ?0x15A38148? ?0x0177FFFF

퍭: 0x040CFFFF? ?0x040CC906? ?0x0177F938? ?0x0000002F

퍭: 0x1F510808? ?0x000001A0? ?0x000001A0? ?0x00000198

퍭: 0x0177F938? ?0x15A38100? ?0x00444550? ?0x00000000

퍮: 0x00000000? ?0x00000000? ?0x00000001? ?0x00000809

퍮: 0x00000030? ?0x00000030? ?0x00000028? ?0x0177F964

퍮: 0x00000000? ?0x00000000? ?0x00000000? ?0x0177F588

퍮: 0x0083821C? ?0xFFFFFFFF? ?0x00469EF7? ?0x00000812



SCM Op: 0x812, lDbg: 1 LastRendObj: 19482



Game Version: US 1.0



State Information: Ped Context: 0

P0 (0,0) P1 (0,0) P2 (0,0) P3 (17,0)?

P4 (0,0) P5 (17,0) P6 (17,0) P7 (0,0)?

P8 (0,0) P9 (17,0) P10 (17,0) P12 (0,0) P13 (0,0) P14 (33,0) P15 (0,0)?

P16 (0,0) P17 (17,0) P18 (17,0) P19 (0,0)?

P20 (0,0) P21 (0,0) P22 (17,0) P23 (19,123)?

P24 (17,0) P25 (33,0) P26 (0,0) P27 (17,0)?

P28 (0,0) P29 (0,0) P30 (19,111) P31 (17,0)?

P32 (0,0) P33 (0,0) P34 (0,0) P35 (17,0)?

P36 (0,0) P37 (0,0) P38 (17,0) P39 (17,0)?

P40 (17,0) P41 (0,0) P42 (17,0) P43 (0,0)?

P44 (17,0) P45 (0,0) P46 (0,0) P47 (0,0)?

P48 (0,0) P49 (0,0) P50 (0,0) P51 (19,40)?

P52 (0,0) P53 (0,0) P54 (0,0) P55 (0,0)?

P56 (0,0) P57 (0,0) P58 (0,0) P59 (0,0)?

P60 (17,0) P61 (0,0) P62 (0,0) P63 (17,0)?

P64 (0,0) P65 (17,0) P66 (0,0) P67 (19,70)?

P68 (0,0) P69 (0,0) P70 (0,0) P71 (0,0)?

P72 (0,0) P73 (33,0) P74 (0,0) P75 (17,0)?

P76 (18,40) P77 (0,0) P78 (17,0) P79 (0,0)?

P80 (0,0) P81 (17,0) P82 (0,0) P83 (17,0)?

P84 (0,0) P85 (0,0) P86 (19,85) P87 (0,0)?

P88 (0,0) P89 (0,0) P90 (0,0) P91 (17,0)?

P92 (0,0) P93 (17,0) P94 (19,58) P95 (0,0)?

P96 (0,0) P97 (0,0) P98 (0,0) P101 (0,0) P102 (0,0) P103 (0,0)?

P104 (17,0) P106 (17,0) P108 (0,0) P112 (0,0) P118 (17,0) P122 (0,0) P123 (17,0)?


  Dynamically loading / unloading plugins
Posted by: XeroX - 2019-05-25, 11:15 PM - Forum: Questions and Suggestions - Replies (7)

Hi,

not sure if this is already on your suggestion(s) list but would be nice to be able to (un)load plugins on the fly while the server is running.


  PAYDAY $A:MP - Masks Preview
Posted by: TheSlenderman - 2019-05-25, 09:11 PM - Forum: Videos and Screenshots - Replies (2)

[Image: smt3fyl.png]



Information

PAYDAY $A:MP is an upcoming server which will feature the possibilities of the actual PAYDAY 2 game to be found in our lovely game, SA:MP. Today we will have a look at some of the Masks that we have.







What are the masks?

Masks are worn by the Heisters during a Heist. Our server currently has over 50 masks and we keep adding! You can find an album below with some of the masks.



Album: https://imgur.com/a/7SXzAZP








How can I stay updated with the server progress?

You can stay tuned with the server news by simply joining the Discord below!







[Image: widget.png?style=banner2]


  HELP!
Posted by: mouiz - 2019-05-25, 08:14 PM - Forum: Pawn Scripting - Replies (4)

I am using ColAndreas for raycasting.

I have 2 points, for instance (0, 0, 0) and (100, 100, 20)

It will cast a really long ray but i want to cast a small ray from one?point?in the 'direction' of the other but a smaller ray (like 4.0 to?5.0 meters or whatever measurement unit is used in this game).

It can be done by finding the coords between these two points. Any math genius here ?


  Tattoo and change clothes
Posted by: SamuelJ - 2019-05-25, 04:41 PM - Forum: Questions and Suggestions - Replies (2)

After a 30-minute registration, I can finally offer my idea.

My idea is that the character can be tattooed or change clothes in a standard GTA.


  Visual Studio Code - Updated Pawn Tools for vscode
Posted by: Graber - 2019-05-25, 12:46 PM - Forum: Releases - Replies (1)

vscode-pawn



Pawn tools for vscode.



Currently this is a port of the Sublime Text package which includes proper Pawn syntax highlighting, autocompletions for the standard library and some popular libraries.



If you like development tools that speed up your workflow and increase productivity, check out sampctl!



This post was originally from Southclaws, I managed to rescue it from the deleted SA-MP forums thread thanks to the post still being in Google's cache.



Installation



Just search for ?Pawn Tools? in the vscode extensions and install it.



Alternatively, you can check out the source code or view the marketplace page:





Installation



To actually compile after you?ve set up the tasks.json below, press CTRL䨘龷 (Windows) or CMD䨘龷 (Mac), or alternatively open up the command palette with CTRL䨘龷 (Windows) or CMD䨘龷 (Mac) and type Run Task, hit enter and select build-normal.



If you use sampctl it?s the same process except you?ll have four options in the Run Task list:
  • build only - build the package

  • build watcher - build the package on every file change

  • run tests - run the package

  • run tests watcher - run the package on every file change




It is recommended that you set a PawnPlus version explicitely on your pawn.json (preferibly the latest) to avoid always downloading the latest one.



If you don?t use sampctl, just download the pp-mysql.inc include and drop it to your includes/ folder, and then download the PawnPlus plugin and include from here.



With sampctl package init



If you?re using sampctl, the sampctl package init command will automatically generate a vscode tasks.json if you selected vscode in the editor part of the setup menu.[/font]



If you?ve already got a package but you didn?t do this, you can simply download the tasks.json from the Pawn Package template repo.



Once you?ve done that, there?s no more setup needed!



Creating tasks.json



Code uses a method called ?Tasks? to run compilers and build tools. All you need to do is create a folder named .vscode in your project?s directory and in there, create a file named tasks.json



[img=https://i.imgur.com/ywElfTy.gif][/img]



Then paste this into that file:



PHP Code:
{

 
"version""2.0.0",

 
"tasks": [

   {

     
"label""build-normal",

     
"type""shell",

     
"command""${workspaceRoot}/pawno/pawncc.exe",

     
"args": ["${file}""-Dgamemodes""-;""-(""-d3"],

     
"group": {

       
"kind""build",

       
"isDefault"true

     
},

     
"isBackground"false,

     
"presentation": {

       
"reveal""silent",

       
"panel""dedicated"

     
},

     
"problemMatcher""$pawncc"

   
}

 ]





Explanation





"command": "${workspaceRoot}/pawno/pawncc.exe", is the important bit here, this is the path to your Pawn compiler and I?ve assumed most of you have a left-over pawno folder from that long dead text editor! This folder not only contains Pawno but also the Pawn code compiler (pawncc.exe). You can safely delete pawno.exe forever.



"args": [...], is also important, this is where you define the arguments passed to the compiler. Pawno also did this but you might not have known. The defaults have always been -; to force semicolon usage and -( to force brackets in statements.



If you store your Pawn compiler elsewhere, just replace the entire command setting with the full path to your compiler.



Also, if you want to disable debug symbols (you won?t be able to use crashdetect) just remove -d3 from "args".



problemMatcher is the part that allows recognising the Pawn compiler output and presenting it in the problems panel of the editor. This doesn?t work well with external includes because the paths change from relative to absolute. sampctl fortunately fixes this (and a lot of other annoying things).



Features



Currently just syntax highlighting and completions from the Sublime project.



Once the Pawn-Parser project reaches a workable state, this extension will feature more language features such as intellisense support, go-to-definition, view-all-references, etc?



Here?s what the problems panel looks like when the tasks.json is set up properly:


  ?????????? / Ukrainian
Posted by: Archivarius - 2019-05-25, 09:10 AM - Forum: Other - Replies (2)

? ??? ????? ?????? ?? ??????? ? ???????? :D



??????? ? ??????.