| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,695
» Latest member: Elizabeth
» Forum threads: 2,355
» Forum posts: 12,302
Full Statistics
|
| Online Users |
There are currently 432 online users. » 0 Member(s) | 428 Guest(s) Baidu, Google, Bing, Yandex
|
| Latest Threads |
A Gentle Everyday Compani...
Forum: Chat
Last Post: Elizabeth
7 hours ago
» Replies: 0
» Views: 14
|
[Include] OpenGate (Abrir...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
Yesterday, 06:49 PM
» Replies: 0
» Views: 18
|
OpenGate (Open Proximity ...
Forum: Libraries
Last Post: Crazy_ArKzX
Yesterday, 06:46 PM
» Replies: 0
» Views: 18
|
LS City Hall
Forum: Maps
Last Post: cosminupgaming
2025-11-12, 04:22 PM
» Replies: 3
» Views: 2,643
|
Crime Base
Forum: Maps
Last Post: cosminupgaming
2025-11-12, 04:19 PM
» Replies: 2
» Views: 1,244
|
GTA SA-MP Scripting: Issu...
Forum: General Discussions
Last Post: williamrhein
2025-11-12, 10:16 AM
» Replies: 0
» Views: 29
|
is it worth creating a se...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:30 PM
» Replies: 13
» Views: 18,299
|
Looking for an English De...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:21 PM
» Replies: 2
» Views: 2,800
|
Awakeninga an old server.
Forum: Support
Last Post: drwnrbbt
2025-11-11, 02:26 PM
» Replies: 0
» Views: 40
|
Starting a RP Server
Forum: General Discussions
Last Post: JakeFalcone
2025-11-11, 01:58 AM
» Replies: 0
» Views: 41
|
|
|
| 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
![[Image: zXSrDGv.png]](http://i.imgur.com/zXSrDGv.png)
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
![[Image: GTA-San-Andreas-for-Android-Features.png]](https://oceanofapk.com/wp-content/uploads/2016/07/GTA-San-Andreas-for-Android-Features.png)
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.
|
|
|
|
|