Re: 3DTryg Functions -
AbyssMorgan - 19.10.2017
Quote:
Originally Posted by ToiletDuck
IsPlayerOnPlayerScreen parameters? can't find it in the include.
|
Deprecated, use:
PHP код:
IsElementOnPlayerScreen(playerid,targetid,Item3D_Type:target_type=item_player,element_orientation:orientation=o_front,Float:rx=INVALID_ROTATION,Float:rz=INVALID_ROTATION,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true,bool:testVW=true,bool:veh_col=false);
IsElementOnFakeScreen(Float:x,Float:y,Float:z,targetid,Item3D_Type:target_type,Float:rx,Float:rz,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true,bool:veh_col=false);
Re: 3DTryg Functions -
kennydalglish - 04.12.2017
Hi. I'm trying to make sure that if a player walks out of the range, he drops it at a distance. With repeated use, the player can still exit the polygon. (tk tshshit not purely back, and still to the right). How can you solve this issue?
PHP код:
new Float: x_pos,
Float: y_pos,
Float: z_pos,
Float: angle,
Float: new_x_pos,
Float: new_y_pos,
Float: new_z_pos;
GetPlayerPos(playerid, x_pos, y_pos, z_pos);
GetPointInFront3D(x_pos, y_pos, z_pos, 0.0, 0.0, -7.5, new_x_pos, new_y_pos, new_z_pos);
SetPlayerPos(playerid, new_x_pos, new_y_pos, new_z_pos);
Re: 3DTryg Functions -
Uberanwar - 15.04.2018
Does anyone still have this include? The download link is no longer working.
Re: 3DTryg Functions -
BigETI - 15.04.2018
It looks like that his second GitHub account has vanished from the surface including his website.
Re: 3DTryg Functions -
Dayvison_ - 15.04.2018
https://github.com/SAMP-git/3DTryg-Source
Re: 3DTryg Functions -
Chaprnks - 25.04.2018
the shortened links (ct8.pl) are dead
Re: 3DTryg Functions -
Speaker - 21.05.2018
Код:
[ADM] Info: Load 3DTryg v4.6.1 for SA:MP 0.3.7 by Abyss Morgan
I Got This In Server Log, What To Do How To Fix It I Am Not Getting Him Plugin
Re: 3DTryg Functions -
Azaroth - 02.11.2018
Update v4.6.2:
- Update for Streamer v2.9.4
Download:
https://adm.ct8.pl/d/3DTryg.inc
Re: 3DTryg Functions -
tandytanz - 01.01.2019
Just want to remind you that FCNPC 2.0.0 updated and has changed a lot function call
https://github.com/ziggi/FCNPC/releases e.g FCNPC_Goto , u have to update it
Re: 3DTryg Functions -
NoahAntilles - 27.01.2019
Hello,
These functions look very promising, but I just cannot get it to work.
I've downloaded the following: (all of the versions posted below are the most recent)
3DTryg.inc - version 4.6.2
ColAndreas.inc - version 1.4.0
VehicleMissileCol.inc - version 1.9.0
Missile.inc - version 2.2.1
Streamer.inc - version 2.9.4
But whenever I try to compile it gives me one single error like this:
Код:
pawno\include\VehicleMissileCol.inc(248) : fatal error 111: user error: [ADM] You need ColAndreas v1.4.0 (github.com/Pottus/ColAndreas/releases)
pawno\include\VehicleMissileCol.inc(244) : fatal error 111: user error: [ADM] You need Streamer v2.9.4 (github.com/samp-incognito/samp-streamer-plugin/releases)
pawno\include\VehicleMissileCol.inc(262) : fatal error 111: user error: [ADM] You need 3DTryg.inc v4.6.2 (adm.ct8.pl/d/3DTryg.inc)
and so on...
The thing is, however. All those versions mentioned are already present WITH their respective version.
So what's going on here? I have tried to find a solution for hours now and I am completely lost
Re: 3DTryg Functions -
SymonClash - 27.01.2019
Just remove that version check from respective includes, in your case
VehicleMissileCol.
Re: 3DTryg Functions -
NoahAntilles - 28.01.2019
Thanks for your reply, I forgot to mention this in my previous post but I actually already tried that.
If I remove the version check Pawno simply doesn't compile the script. I get a blank output and an AMX file of 0kb. So that doesn't work either sadly.
Re: 3DTryg Functions -
Switel12 - 16.02.2019
Today 3DTryg has been updated to v4.7.0, now FCNPC v2.0.0 is supported.
Download:
https://adm.ct8.pl/d/3DTryg.inc
Updates:
https://adm.ct8.pl/#updates
Quote:
Originally Posted by NoahAntilles
Thanks for your reply, I forgot to mention this in my previous post but I actually already tried that.
If I remove the version check Pawno simply doesn't compile the script. I get a blank output and an AMX file of 0kb. So that doesn't work either sadly.
|
Check your include structure:
PHP код:
#include <Streamer>
#include <ColAndreas>
#include <3DTryg>
#include <Missile>
#include <VehicleMissileCol>
Never remove version check and other check because this prevent compiler some warnings/errors/crashes.
Re: 3DTryg Functions -
BigETI - 16.02.2019
Did you set up any unit tests yet?
Re: 3DTryg Functions -
Switel12 - 16.02.2019
Include has been tested by standard test script with use all functions, no warning and errors.
Re: 3DTryg Functions -
BigETI - 16.02.2019
Nice test script
https://github.com/AbyssMorgan/3DTry...aster/test.pwn
If it compiles fine then it doesn't mean that it is also semantically correct.
Re: 3DTryg Functions -
Switel12 - 17.02.2019
Quote:
Originally Posted by BigETI
|
This is not correct test script, now AbyssMorgan uploaded right test.
Re: 3DTryg Functions -
The King's Bastard - 17.02.2019
But it doesn’t have any assertions in the test script or am I blind?
Just because it compiles and doesn’t give you any warnings doesn’t mean that logic is correct.
Re: 3DTryg Functions -
Switel12 - 17.02.2019
Quote:
Originally Posted by The King's Bastard
But it doesn’t have any assertions in the test script or am I blind?
Just because it compiles and doesn’t give you any warnings doesn’t mean that logic is correct.
|
The logic was tested when the function was created, after the successful test an update was issued and the test code was deleted.
The "Fuze Test" test script applies to the compiler test to avoid simple errors with mass fixes.
Example: After syntax update
Re: 3DTryg Functions -
BigETI - 17.02.2019
Please add semantics checks to your test script.
You can use y_test to create an unit test. More about that is available at sampctl wiki and YSI documentation.