Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 7,235
» Latest member: Jehn
» Forum threads: 2,373
» Forum posts: 12,282
Full Statistics
|
Online Users |
There are currently 127 online users. » 1 Member(s) | 124 Guest(s) Bing, Google, kmarco68
|
Latest Threads |
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,134
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 46
|
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 426
|
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 557
|
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,062
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 55
|
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 71
|
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 87
|
samp-cef
Forum: Questions and Suggestions
Last Post: jamespssamp
2025-06-18, 11:36 AM
» Replies: 0
» Views: 72
|
Offering Pawn Scripting S...
Forum: Pawn Scripting
Last Post: Mido
2025-06-07, 01:30 PM
» Replies: 0
» Views: 305
|
|
|
[mappeos] |
Posted by: MG0 - 2024-07-31, 03:43 AM - Forum: Programaci?n
- No Replies
|
 |
Oooluu
Tengo un problema a la hora de cambiar el color a un objecto, no sucede con todos.
Pero particularmente con algunos si intento cambiarles el color, simplemente el objeto se vuelve totalmente negro. Por más que solo haya seleccionado una sola parte para cambiar el color se volverá negro en su totalidad
Actualmente estoy usando Texture Studio,, pero parece un problema general
¿Alguna solución?
|
|
|
Selectable TEXT_DRAW_ALIGN_LEFT problem |
Posted by: LASEE - 2024-07-28, 10:14 PM - Forum: Support
- Replies (1)
|
 |
So i was making a register system with textdraw. The textdraw would be Selectable. The problem here is when the PlayerTextDrawAlignment is set to TEXT_DRAW_ALIGN_CENTER then the textdraw can be selected and everything works fine but when is changed to TEXT_DRAW_ALIGN_LEFT then the button is not selectable anymore. Using left or right this problem is happening but using center its working fine. Im using the omp version btw. I was told but also saw(saw on some server) on version 037 even if its ALIGN_LEFT OR RIGHT you can select the textdraw.
My question is, is that some type of bug on omp or something else?
Here is the code:
RegisterTD[playerid][18] = CreatePlayerTextDraw(playerid, 326.000000, 393.000000, "REGISTER NOW");
PlayerTextDrawFont(playerid, RegisterTD[playerid][18], TEXT_DRAW_FONT_2);
PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][18], 0.258332, 1.500000);
PlayerTextDrawTextSize(playerid, RegisterTD[playerid][18], 16.500000, 75.500000);
PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][18], 0);
PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][18], 0);
PlayerTextDrawAlignment(playerid, RegisterTD[playerid][18], TEXT_DRAW_ALIGN_CENTER);
PlayerTextDrawColour(playerid, RegisterTD[playerid][18], -1);
PlayerTextDrawBackgroundColour(playerid, RegisterTD[playerid][18], 255);
PlayerTextDrawBoxColour(playerid, RegisterTD[playerid][18], 200);
PlayerTextDrawUseBox(playerid, RegisterTD[playerid][18], false);
PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][18], true);
PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][18], true);
|
|
|
Build OpenMP sdk (cmake-conan) |
Posted by: PainFrenemy - 2024-07-28, 05:43 PM - Forum: Programming
- Replies (1)
|
 |
$ cmake .. -A Win32 -T ClangCL
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
usage: conan profile [-h] [-v [V]] [-cc CORE_CONF] {detect,list,path,show} ...
conan profile: error: argument subcommand: invalid choice: 'update' (choose from 'detect', 'list', 'path', 'show')
ERROR: Exiting with code: 2
CMake Error at lib/cmake-conan/conan-omp.cmake:20 (message):
Couldn't update build profile
Call Stack (most recent call first):
lib/cmake-conan/conan-omp.cmake:60 (conan_update_profile)
CMakeLists.txt:6 (include)
https://github.com/openmultiplayer/open.mp-sdk
|
|
|
Server Crash upon joining - client 'botting'? |
Posted by: valiantroleplay - 2024-07-27, 02:01 PM - Forum: Support
- No Replies
|
 |
Type: Server
Operating System: Windows and Linux
Server Version: 0.3.7 R2-2
Plugins Installed: Yes
Plugins (If above is yes): MySQL - Whirlpool - CrashDetect
YSI Included: Yes
Output (Logs): [27/07/2024 14:45:40] [connection] incoming connection: REDACTED id: 7
[27/07/2024 14:45:54] [connection] incoming connection: REDACTED id: 7
[27/07/2024 14:45:56] [join] speed_x4 has joined the server (7:REDACTED)
[27/07/2024 14:45:56] speed_x4 has mask id 799
[27/07/2024 14:45:56] TPIng speed_x4 to 1785.183471, -981.335998, 235.626693
[debug] Server crashed due to an unknown error
[27/07/2024 14:47:03] Kicking REDACTED because they didn't logon to the game.
[27/07/2024 14:47:16] Kicking REDACTED - DIFFERENT IP because they didn't logon to the game.
[27/07/2024 14:47:36] Kicking REDACTED - DIFFERENT IP because they didn't logon to the game.
[27/07/2024 14:48:03] Kicking REDACTED - DIFFERENT IP because they didn't logon to the game.
[27/07/2024 14:48:14] Kicking REDACTED - DIFFERENT IP because they didn't logon to the game.
[27/07/2024 14:48:47] Kicking REDACTED - DIFFERENT IP because they didn't logon to the game.
[27/07/2024 14:54:53] Kicking REDACTED - DIFFERENT IP because they didn't logon to the game.
[27/07/2024 14:56:27] Kicking REDACTED - DIFFERENT IP because they didn't logon to the game.
So this is a server that has been running for nearly 10 years on SA:MP/Open MP. I have not changed anything severe in the script at all over several months but I am getting this random issue. Somebody joins with an unregistered name and various IPs join (sometimes several with the same ID) which forces the server to crash. I am confident that this is not a script issue as I have not changed anything in the login script save for client messages with URLs/etc. Any ideas?
|
|
|
D3D9on12.dll SAMP |
Posted by: elyandersoncp3 - 2024-07-24, 02:15 AM - Forum: Support
- Replies (1)
|
 |
O SAMP ABRE MAS TRAVA NA TELA DE LOGIN DO SERVIDOR BRASIL REAL LIFE
E APARECE QUE TEM UM ERRO NO D3D9on12.DLL. COMO RESOLVER ISSO?
REGISTRO DE FALHAS:
GTA SA 1.0.0.0 EUA
0x7725C08F RtlClearBits+0xbf em ntdll.dll (+0x6c08f) (0x130AFFEC)
Exceção não tratada em 0x69D166A2 no d3d9on12.dll (+0x266a2): 0xC0000005: Violação de acesso 0x00000059 local de leitura.
Despejo de registro:
EAX: 0x1A27A8A0 EBX: 0x09C4C970 ECX: 0x00000055 EDX: 0x00000000
EDI: 0x124510B8 ESI: 0x0000001D EBP: 0x130AFEA0 EIP: 0x69D166A2
ESP: 0x130AFEA0 EFL: 0x00010206 CS: 0x00000023 SS: 0x0000002B
GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B
Despejo de pilha:
0x130AFEA0: 130AFEBC 69D15B0F 00000000 12CED978 69D15490 09C49CF8
0x130AFEB8: 09C4C970 130AFF2C 69D1555E 09C4C970 0000001D 124510B8
0x130AFED0: 02F31733 12CEB040 69D15490 0000268C 69D16AC0 00002684
0x130AFEE8: 00000001 12CEB040 69DB0000 00000024 00000001 00000000
0x130AFF00: 00000000 00000000 00000000 00000000 02F3173B 02F31737
0x130AFF18: 02F31733 130AFED0 130AFFCC 69D64D6B 00000003 130AFF54
0x130AFF30: 69EEE600 09C49CF8 12CED978 12CEB040 00000001 69DB0000
0x130AFF48: 00000033 00000000 00000001 130AFF74 69EEF448 12CEB2DC
0x130AFF60: 00000001 69EEE090 69EEE090 12CEB040 69EEE09D 130AFF84
0x130AFF78: 74E97BA9 12CEB040 74E97B90 130AFFDC 7725C10B 12CEB040
Base: 0x12EB0000 parte superior: 0x130AFEA0 inferior: 0x130B0000
Backtrace (pode estar errado):
=>0x69D166A2 SetAppCompatData+0x17442 em d3d9on12.dll (+0x266a2) (0x130AFEA0)
0x69D15B0F SetAppCompatData+0x168af em d3d9on12.dll (+0x25b0f) (0x130AFEBC)
0x69D1555E SetAppCompatData+0x162fe em d3d9on12.dll (+0x2555e) (0x130AFF2C)
0x69EEE600 Direct3DShaderValidatorCreate9+0x49560 em d3d9.dll (+0x13e600) (0x130AFF54)
0x69EEF448 Direct3DShaderValidatorCreate9+0x4a3a8 em d3d9.dll (+0x13f448) (0x130AFF74)
0x74E97BA9 BaseThreadInitThunk+0x19 em KERNEL32.DLL (+0x17ba9) (0x130AFF84)
0x7725C10B RtlInitializeExceptionChain+0x6b em ntdll.dll (+0x6c10b) (0x130AFFDC)
|
|
|
[ENG] Project Los Angeles [Roleplay] |
Posted by: jarrad2002 - 2024-07-22, 10:02 AM - Forum: Advertisements
- Replies (1)
|
 |
Welcome to Project Los Angeles!
HostName: [P:LA] Project Los Angeles Roleplay [0.3.7]
Address: 51.89.164.224:7778
Players: 1 / 50
Ping: 31
Mode: Roleplay P:LA v5.3
Language: English
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Project Los Angeles is a brand new server coming to life today! featuring some immense roleplay scenarios and also a whole lot of fun! :)
We are looking for a lot of members for factions, or even some leaders if you prove yourself eligible.
Factions- Los Angeles Police Department
- Los Angeles Fire Department
- Fox News
- Rapid Recovery
- Gov - Closed due to insufficient members atm
- Los Angeles Sheriff's Department - Closed due to insufficient members
And lots more to choose from, or if you wanted to be on the other side of the law, then there is an Complete in game family / gang creation which would be done within 10/15 Minutes + Turf
We would also be looking for OOC Staff Members like Administrators, Moderators, Mappers
Thankyou for taking the time to read this advertisement, we really hope to see you in game :)
|
|
|
Network issue fix for remote items |
Posted by: Amr - 2024-07-21, 08:38 AM - Forum: Questions and Suggestions
- No Replies
|
 |
Please fix the network connection issues between the client and server by making it more stable and sending more acknowledgments in case of packet losses so the server can control the lost IDs of remote items such as world objects, textdraws, dialog boxes, etc.. since there are many bugs!
|
|
|
A code alternative for finding an empty slot properly |
Posted by: Amr - 2024-07-19, 11:23 AM - Forum: Programming
- No Replies
|
 |
Finding the First Empty Slot in an Array
Objective:
To determine the index of the first empty slot in a 0-indexed array Arr of size 1024, with an additional precaution against potential overflow.
Explanation:
Code: int SizeArr = 1024; // Size of the array
int Arr[SizeArr + 1]; // Array with additional slot
int i = 1; // Initialization of index i
while (Arr) // Loop until an empty slot is found
i++;
return i % (SizeArr + 1) - 1; // Return the index of the empty slot
Details:
- Array Declaration:
- int Arr[SizeArr + 1];
declares an array Arr with 1025 elements, including an additional slot to handle edge cases and prevent overflow.
- Initialization of i:
- int i = 1;
starts i at 1 to facilitate the search for the first empty slot while adjusting for 0-based indexing with Arr[i - 1].
- While Loop:
- while (Arr[i - 1]) i++;
iterates i until it finds an index where Arr[i - 1] is zero, indicating an empty slot in the array.
- Return Statement:
- return i % (SizeArr + 1) - 1;
calculates and returns the index of the first empty slot:
- i % (SizeArr + 1)
ensures i wraps within the array bounds, accounting for the extra slot.
- - 1
adjusts i to be a 0-based index, aligning with typical C/C++ array indexing conventions.
Benefits:- Overflow Protection: By allocating an extra element (`Arr[SizeArr]`), the code guards against potential overflow issues during array traversal.
- Robustness: Handles various scenarios by locating the first empty slot in the array Arr, accommodating specific conditions where zero signifies an empty slot.
Considerations:- Ensure the array initialization and usage align with application-specific requirements regarding empty slot definitions and array indexing conventions.
|
|
|
|