[Plugin] Streamer Plugin with Vehicle Streamer
#41

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Thanks, I'll upgrade my github version to this version. (Hope my fucking slow 8KB/s phone internet will download this )
Already made a pull request
Reply
#42

Thanks, i have merged it.
Reply
#43

Quote:
Originally Posted by Chaprnks
Посмотреть сообщение
I manually recoded the vehicle streamer into the latest (v2.8.2) streamer plugin. Right now I'm fixing some compile errors (since so much has changed, its not as easy as I originally thought). I should have a download link shortly


--- UPDATE ---

Finally! This was one major pain in the ass, but worth it! Hopefully the newest version of the streamer plugin will fix the mysterious error; or atleast point us into the right direction to eventually fix it..


Downloads:
Binary (VS 2012):
Source:
What is this problem ?

Код:
D:\Server\pawno\include\streamer.inc(434) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#44

Where version .so? Please
Reply
#45

Quote:
Originally Posted by sampkinq
Посмотреть сообщение
What is this problem ?

Код:
D:\Server\pawno\include\streamer.inc(434) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Try using ZeeX's compiler patches compiler, this seems to be a length error (especially with the newer 3dTexts definitions added, the line is way too long for the original compiler to parse). Alternatively you can try this include (if you don't use CreateDynamic3DTextLabelEx); adding the vehicletype = STREAMER_VEHICLE_TYPE_DYNAMIC seemed to cause it to become too long.

Download: (.inc)


Quote:
Originally Posted by sampkinq
Посмотреть сообщение
What is this problem ?

Код:
D:\Server\pawno\include\streamer.inc(434) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Quote:
Originally Posted by Pershing
Посмотреть сообщение
Where version .so? Please
Download: (.so)


Fixed some compile errors on the GitHub repo
Reply
#46

Quote:
Originally Posted by Chaprnks
Посмотреть сообщение
Try using ZeeX's compiler patches compiler, this seems to be a length error (especially with the newer 3dTexts definitions added, the line is way too long for the original compiler to parse). Alternatively you can try this include (if you don't use CreateDynamic3DTextLabelEx); adding the vehicletype = STREAMER_VEHICLE_TYPE_DYNAMIC seemed to cause it to become too long.

Download: (.inc)







Download: (.so)


Fixed some compile errors on the GitHub repo

Don't spawn vehicles. What is the reason ?

Код:
public OnGameModeInit()
{
	new aSlot, ba[70];
	for(new i = 1; i < 5000; i++)
	{
	    aSlot = CreateDynamicVehicle(560, 2074.4829, 1066.2476, 10.3773, 0.0, -1, -1, 99999);
	    format(ba, sizeof(ba), "Car ID: %d - For ID: %d", aSlot, i);
	    printf("%s", ba);
	}
	return 1;
}
Command is working.

Код:
CMD:car(playerid, params[])
{
	new Float:Pos[4], tmp;
	GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
	GetPlayerFacingAngle(playerid, Pos[3]);
	tmp = CreateDynamicVehicle(560, Pos[0], Pos[1], Pos[2], Pos[3], -1, -1, 99999);
	PutPlayerInDynamicVehicle(playerid, tmp, 0);
	return 1;
}
Reply
#47

Now with increased c++ skill, im going to debug this plugin soon why doesnt working in some cases.
Reply
#48

Quote:
Originally Posted by Calgon
View Post
Agreed with this, for some reason I've always had problems in SA-MP with vehicle IDs swapping (so you lose track of the vehicle but it still exists, or doesn't, etc) which I've known many others to have problems with also, this streamer would not only make that worse but also the idea itself is just generally not the best for SA-MP.
Well I agree with you.
Reply
#49

If you dont need, then dont use it.

I have made a commit anyway which Hopefully finaly fixed vehicle disappearing bug. (ive chaned a few thing in vehicle streaming method)

https://github.com/kurta999/samp-str...b045ba1c995ae0
Reply
#50

Was this plugin updated to the latest streamer version?
Reply
#51

Not, im waiting to incognito when he release 2.9
Reply
#52

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Not, im waiting to incognito when he release 2.9
Its already released
https://github.com/samp-incognito/sa...lugin/releases
Reply
#53

Will this get updated to the last streamer? I need it so bad.
Reply
#54

It will be updated during the weekend. Now i see that incognito released 2.9.1
Reply
#55

Nice Script.
Reply
#56

Hello again, I found a mistake.

My objects are not loaded when I try to get data via mysql.

I installed the original plugin and it worked fine.
Reply
#57

What is happening in this case:

[code]new VehicleID;
VehicleID = CreateDynamicVehicle(...); // ok, now VehicleID = 5 (example)
// imagine there is no1 in stream distance (so vehicle will be destroyed by streamer?) Also if I go to the spawn place, and vehicle appear is it still be 5 ID or ?
CMD:doforVehicleID(id, pr[]) {
RepairVehicle(VehicleID); //
return 1;
}
Reply
#58

RAR file is damaged
Reply
#59

https://www.anonfiles.cc/file/c611eb...de48e8c4436c08 new binaries
Reply
#60

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Maybe use your GitHub :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)