Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 582 online users. » 0 Member(s) | 578 Guest(s) Bing, Google, Applebot, Yandex
|
Latest Threads |
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
6 hours ago
» Replies: 0
» Views: 20
|
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 28
|
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 49
|
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 449
|
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 48
|
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 63
|
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: 450
|
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,449
|
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,898
|
|
|
too resource-intensive array |
Posted by: Mark2 - 2019-04-19, 08:42 PM - Forum: Pawn Scripting
- Replies (5)
|
|
I need to create an array(i choosed iterator)?of streamed players for every player. So i got PHP Code: Iterator:StreamedPlayers[MAX_PLAYERS]<MAX_PLAYERS>
But it's very?resource-intensive, what?can be used instead or may be i don't know something about streaming players?
P.S. I know that i can redefine MAX_PLAYERS to less value but i don't want to do it (1000 default).
|
|
|
Client-side Scripts |
Posted by: Sasino97 - 2019-04-19, 05:20 PM - Forum: Questions and Suggestions
- Replies (6)
|
|
Client-side Scripts
A feature?that I discussed on Discord.
I think it would be an extremely useful feature, once the?open.mp team starts?working on the client.
This would have a lot of advantages, including optimization by removing the useless?amount of traffic sent between the server and the client, and a better responsiveness.
See the speedometer example in the image above. In a normal SA:MP server, the server is continuously asking the client for his velocity, the client answers, then the server tells the client to redraw the text draw, and so on. This forces the developer to be careful of how often to update the text draw, based on how many players does the server usually have, in order not to slow everything down.
Instead, if the server uploads a (compiled) script to the client upon the first connection, in a similar way to how 0.3DL models are uploaded, and then is able to tell the client when to start and stop its execution, then the speedometer example above can be made in a much more effective ways: the client itself, which knows its own vehicle speed, draws its own text draw as defined by the script, as many times per seconds as the developer wants. This creates a better responsiveness at zero bandwidth cost.
|
|
|
Multiplayer for the New Edition of GTA SA (Android, iOS, UWP, Xbox 360) |
Posted by: Sasino97 - 2019-04-19, 04:34 PM - Forum: Questions and Suggestions
- Replies (5)
|
|
Multiplayer support for the new edition of?GTA San Andreas
After having discussed this on the discord channel, I now think it's time to open a thread for this.?Let's start by saying that I know this isn't an easy task, at all. I know that there are major issues with this idea, but still I would like to put it forward.
The advantage of this is basically being able to play multiplayer in?GTA San Andreas in its newer version, that does not have a multiplayer yet (except for Android?which has this unofficial and unauthorized?SA:MP mod).
The main issues would be releated to:
- things that were added or removed in the new GTA SA
- the HUD placement, making it necessary for server developers to be aware on where to place text draw
- mantaining many different platforms all at once
- platform obstacles, mostly iOS and Xbox 360
Platforms that might be made:
- Android
- Windows 10 and Windows 10 Mobile
- iOS (most likely only jailbreaked devices)
- Xbox 360 (most likely?only on jailbreaked / flashed?devices, or maybe by using a proxy that runs out of the Xbox)
If there is enough interest in this thing, it's possible that in the future after the first open.mp client has been released,?I may start studying and developing it in my spare time,?based on open.mp source?code since it's open, and with the intention to keep it open source, aligned and up to date with open.mp.
|
|
|
|