04.06.2012, 15:19
[Plugin] Streamer Plugin
25.07.2012, 20:47
Quote:
Why is there a playerid parameter in the CreateDynamicPickup? :0
Others would be able to pickup, or not? (can't test it right now) |
26.07.2012, 15:24
mmm that is annoying ill look into it and see if i can help in anyway sounds like a challenge =D
28.07.2012, 03:47
It would be very nice to have a function to attach a dynamic object to another dynamic object (Like AttachObjectToObject).
28.07.2012, 08:41
(
Последний раз редактировалось nlrpvic; 28.07.2012 в 10:29.
)
----
28.07.2012, 13:37
30.07.2012, 09:51
(
Последний раз редактировалось SDraw; 31.07.2012 в 11:17.
)
02.08.2012, 21:27
I think that Icnognito did this for the future version of SA-MP, where pickups would be per player, so don't remove this.
Proposal:
Proposal:
Код:
AttachDynamicObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ);
03.08.2012, 11:26
Put up some binaries for r77:
IsPlayerInDynamicRaceCP has apparently been broken forever (it used the IsPlayerInDynamicCP function address), so kudos to HuSs3n for catching that.
NPCs should be able to trigger area and (race) checkpoint callbacks now. I don't think that they can trigger pickup callbacks, though I could be wrong. They don't process streamed objects, map icons, or 3D text labels, so there shouldn't be any additional overhead.
Streamer_ToggleItemUpdate enables or disables streaming for whole sets of item types.
Any code to reproduce?
Quote:
- Fixed IsPlayerInDynamicRaceCP - Removed IsPlayerNPC checks from include file - Added Streamer_ToggleItemUpdate |
NPCs should be able to trigger area and (race) checkpoint callbacks now. I don't think that they can trigger pickup callbacks, though I could be wrong. They don't process streamed objects, map icons, or 3D text labels, so there shouldn't be any additional overhead.
Streamer_ToggleItemUpdate enables or disables streaming for whole sets of item types.
Any code to reproduce?
03.08.2012, 12:05
06.08.2012, 13:46
06.08.2012, 15:10
07.08.2012, 18:59
09.08.2012, 13:30
I've decided to have some fun-test moment, so here's the (main) code if other's are interested as well:
Pictures:
http://zbsamp.info/slike/images/6G71W.png
http://zbsamp.info/slike/images/mPhca.png
http://zbsamp.info/slike/images/2VQc0.png
http://zbsamp.info/slike/images/JcX5h.png
It will create 796500 streamed glass-objects over whole San Andreas map on the height which is defined with with HEIGHT define (700.0 in my code).
pawn Код:
#include "a_samp"
#include "streamer"
#define DEFAULT_WORLD_ID (-1)
#define DEFAULT_INTERIOR_ID (-1)
#define NO_PLAYERID (-1)
#define MAX_DISTANCE_OBJECT (400.0)
#define HEIGHT (700.0)
public OnGameModeInit()
{
/*
-3000.0 -> 3000.0 (6000.0)
offX = +4.0
-3000.0 -> 3000.0 (6000.0)
offY = +11.3
*/
for(new a = 0; a < 1500; a++)
{
for(new b = 0; b < 531; b++)
CreateDynamicObject(3851, -3000.0 + (4.0 * a), -3000.0 + (11.3 * b), HEIGHT, 0.0, 90.0, 0.0, DEFAULT_WORLD_ID, DEFAULT_INTERIOR_ID, NO_PLAYERID, MAX_DISTANCE_OBJECT);
}
return true;
}
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
return SetPlayerPos(playerid, fX, fY, HEIGHT + 3.0);
http://zbsamp.info/slike/images/6G71W.png
http://zbsamp.info/slike/images/mPhca.png
http://zbsamp.info/slike/images/2VQc0.png
http://zbsamp.info/slike/images/JcX5h.png
It will create 796500 streamed glass-objects over whole San Andreas map on the height which is defined with with HEIGHT define (700.0 in my code).
09.08.2012, 13:53
Quote:
I've decided to have some fun-test moment, so here's the (main) code if other's are interested as well:
pawn Код:
http://zbsamp.info/slike/images/6G71W.png http://zbsamp.info/slike/images/mPhca.png http://zbsamp.info/slike/images/2VQc0.png http://zbsamp.info/slike/images/JcX5h.png It will create 796500 streamed glass-objects over whole San Andreas map on the height which is defined with with HEIGHT define (700.0 in my code). |
10.08.2012, 08:18
i have the R77 VERSION and INCLUDE but when i start it tells me its not the right include why??>??
10.08.2012, 10:20
Quote:
SA-MP Dedicated Server ---------------------- v0.3c, ©2005-2010 SA-MP Team [15:56:18] [15:56:18] Server Plugins [15:56:18] -------------- [15:56:18] Loading plugin: streamer [15:56:18] *** Streamer Plugin v2.6.1 by Incognito loaded *** [15:56:18] Loaded. [15:56:18] Loading plugin: sscanf [15:56:18] [15:56:18] =============================== [15:56:18] sscanf plugin loaded. [15:56:18] © 2009 Alex "Y_Less" Cole [15:56:18] =============================== [15:56:18] Loaded. [15:56:18] Loading plugin: audio [15:56:18] *** Audio Plugin v0.5 R2 by Incognito loaded *** [15:56:18] Loaded. [15:56:18] Loaded 3 plugins. [15:56:18] [15:56:18] Filter Scripts [15:56:18] --------------- [15:56:18] Loading filter script 'Objects.amx'... [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Include file version (unknown version) does not match plugin version (0x26105) (script needs to be recompiled with the latest include file) [15:56:18] Loading filter script 'Objects2.amx'... [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Include file version (unknown version) does not match plugin version (0x26105) (script needs to be recompiled with the latest include file) [15:56:18] Loading filter script '0.3cObjects.amx'... [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file) [15:56:18] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file) [15:56:19] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file) [15:56:19] *** Streamer Plugin: Include file version (unknown version) does not match plugin version (0x26105) (script needs to be recompiled with the latest include file) [15:56:19] Loaded 3 filter scripts. [15:56:19] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file) [15:56:19] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file) [15:56:19] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file) [15:56:19] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file) [15:56:19] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file) [15:56:19] *** Streamer Plugin: Include file version (unknown version) does not match plugin version (0x26105) (script needs to be recompiled with the latest include file) [15:56:19] Script[gamemodes/Broal.amx]: Run time error 19: "File or function is not found" [15:56:19] Number of vehicle models: 0 [15:56:56] --- Server Shutting Down. [15:56:56] *** Streamer Plugin v2.6.1 by Incognito unloaded *** [15:56:56] [15:56:56] =============================== [15:56:56] sscanf plugin unloaded. [15:56:56] =============================== [15:56:56] *** Audio Plugin v0.5 R2 by Incognito unloaded *** |
10.08.2012, 11:00
Recomplie these scripts with new include file.
10.08.2012, 11:02
i did recompiled it with latest plugin and new include files so now i get error's from gamemode
After i had new plugin and inc i have these errors
Quote:
C:\DOCUME~1\ADMINI~1\Desktop\SA-MP\COPYOF~1\GAMEMO~1\e.pwn(10386) : error 017: undefined symbol "Audio_RemoveEAX" C:\DOCUME~1\ADMINI~1\Desktop\SA-MP\COPYOF~1\GAMEMO~1\e.pwn(10387) : error 017: undefined symbol "Audio_SetEAX" C:\DOCUME~1\ADMINI~1\Desktop\SA-MP\COPYOF~1\GAMEMO~1\e.pwn(10391 -- 10392) : error 017: undefined symbol "Audio_RemoveEAX" ../ServerStocks/Stocks.pwn(1541) : error 017: undefined symbol "Audio_Seek" ../ServerStocks/Stocks.pwn(1603) : error 017: undefined symbol "Audio_Set3DOffsets" ../ServerStocks/Stocks.pwn(1621) : error 017: undefined symbol "Audio_SetEAX" ../ServerStocks/Stocks.pwn(1632) : error 017: undefined symbol "Audio_RemoveEAX" ../ServerStocks/Functions.pwn(2617) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase |
Quote:
C:\Documents and Settings\Administrator\Desktop\SA-MP\Copy of orignal\pawno\include\streamer.inc(157) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128" C:\Documents and Settings\Administrator\Desktop\SA-MP\Copy of orignal\pawno\include\streamer.inc(377) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject") C:\Documents and Settings\Administrator\Desktop\SA-MP\Copy of orignal\pawno\include\streamer.inc(399) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject") C:\Documents and Settings\Administrator\Desktop\SA-MP\Copy of orignal\pawno\include\streamer.inc(401) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
10.08.2012, 11:49
« Next Oldest | Next Newest »
Users browsing this thread: 20 Guest(s)