SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 30/07/2018, 08:15 PM   #501
MrStead
Little Clucker
 
MrStead's Avatar
 
Join Date: Jul 2014
Location: Russia
Posts: 24
Reputation: 0
Default Re: ColAndreas - Collision Detection

Please, help me. Nobody answer me for a long time. I need to create AI in SAMP, but...

http://forum.sa-mp.com/showthread.php?t=657051
__________________
Bot system with PathFinder on CA
Bot police and AI in samp
Bot police #2
HELP ME PLEASE HERE to let me create AI in SAMP!
MrStead is offline   Reply With Quote
Old 13/09/2018, 07:31 AM   #502
corne
Gangsta
 
corne's Avatar
 
Join Date: Jul 2010
Location: The Netherlands
Posts: 720
Reputation: 203
Default Re: ColAndreas - Collision Detection

Little request, don't think it's possible at the moment but correct me if I'm wrong, it'd be nice if there was a way to check if the object CA_RayCastLine collided with is a part of the default GTA SA map or if it's an object you placed using SA:MP.

EDIT: Actually, should be possible using the Extra IDs feature.
__________________
corne is online now   Reply With Quote
Old 14/09/2018, 05:13 AM   #503
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,824
Reputation: 607
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by corne View Post
Little request, don't think it's possible at the moment but correct me if I'm wrong, it'd be nice if there was a way to check if the object CA_RayCastLine collided with is a part of the default GTA SA map or if it's an object you placed using SA:MP.

EDIT: Actually, should be possible using the Extra IDs feature.
Yup, that's kind of the reason I wanted to add Extra IDs. I needed to differentiate between SA objects, regular objects, and streamer objects.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 22/09/2018, 11:17 PM   #504
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,814
Reputation: 831
Default Re: ColAndreas - Collision Detection

Code:
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1047) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1050) : error 021: symbol already defined: "CA_CreateObject_DC"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1050) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1053) : error 021: symbol already defined: "CA_DestroyObject_DC"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1053) : error 017: undefined symbol "Destoys"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1056) : error 021: symbol already defined: "CA_DestroyAllObjects_DC"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1056) : error 017: undefined symbol "MapAndreas"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1059) : error 021: symbol already defined: "CA_FindZ_For2DCoord"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1059) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1062) : error 021: symbol already defined: "CA_RayCastExplode"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1062) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1065) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1068) : error 021: symbol already defined: "CA_RemoveBarriers"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1068) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1071) : error 021: symbol already defined: "CA_RemoveBreakableBuildings"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1071) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1075) : error 021: symbol already defined: "CA_IsPlayerInWater"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1075) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1085) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1090) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1092) : error 010: invalid function or declaration
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1115) : error 021: symbol already defined: "CA_Init"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1116) : error 021: symbol already defined: "CA_RemoveBuilding"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1117) : error 021: symbol already defined: "CA_RayCastLine"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1118) : error 021: symbol already defined: "CA_RayCastLineID"
C:\Users\agnee\Desktop\SA-MP 0.3.7\Untitled2.pwn(1119) : error 021: symbol already defined: "CA_RayCastLineExtraID"
Compiling with the latest version include gives these errors.
__________________

My GitHub:

Gammix is online now   Reply With Quote
Old 23/09/2018, 07:42 AM   #505
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,824
Reputation: 607
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by Gammix View Post
Compiling with the latest version include gives these errors.
Looks like GitHub's bullshit again. Why does this always happen to TStudio and CA? Like it's getting annoying and no matter how many times I fix it and make sure it's fixed someone still comes and points out this happening. It's like my releases get old includes appended to them. I've fixed this many times, you can scroll through the comments here and on TS to see how many times I have, it still happens... xD

Anyways, the include in the repo is fine, I'll fix it again.

EDIT: I didn't have to fix it this time, it's fine, you must've downloaded an old version.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 23/09/2018, 05:32 PM   #506
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 106
Reputation: 15
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by Crayder View Post
Looks like GitHub's bullshit again. Why does this always happen to TStudio and CA? Like it's getting annoying and no matter how many times I fix it and make sure it's fixed someone still comes and points out this happening. It's like my releases get old includes appended to them. I've fixed this many times, you can scroll through the comments here and on TS to see how many times I have, it still happens... xD

Anyways, the include in the repo is fine, I'll fix it again.

EDIT: I didn't have to fix it this time, it's fine, you must've downloaded an old version.
Actually, downloading the latest include gives me the same errors.

Edit: Downloading it from here works perfectly but if you download it directly from the release page it gives a messed up version where some stuff is repeated.

Last edited by CantBeJohn; 23/09/2018 at 10:15 PM.
CantBeJohn is offline   Reply With Quote
Old 24/09/2018, 06:09 AM   #507
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,824
Reputation: 607
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by CantBeJohn View Post
Actually, downloading the latest include gives me the same errors.

Edit: Downloading it from here works perfectly but if you download it directly from the release page it gives a messed up version where some stuff is repeated.
I just downloaded it and it works fine. 1.4.0.3.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 24/09/2018, 12:33 PM   #508
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 106
Reputation: 15
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by Crayder View Post
I just downloaded it and it works fine. 1.4.0.3.
I still get the messed up version when I directly download from the releases section, here is the direct link. This is the output of that file (copy/pasted), which contains some repeated code. (for instance, line 24 and 1138, etc.)
CantBeJohn is offline   Reply With Quote
Old 24/09/2018, 09:06 PM   #509
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,824
Reputation: 607
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by CantBeJohn View Post
I still get the messed up version when I directly download from the releases section, here is the direct link. This is the output of that file (copy/pasted), which contains some repeated code. (for instance, line 24 and 1138, etc.)
Yeah, I literally just downloaded it again, for the third time in this conversation. It's fine for me, it compiles and has 1040 lines. Just like it should. It wouldn't make since for it to work for me and some people and not you and other people. I don't understand what the fuck is going on.

I'm going to do this again, mark this moment.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 24/09/2018, 09:53 PM   #510
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 106
Reputation: 15
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by Crayder View Post
Yeah, I literally just downloaded it again, for the third time in this conversation. It's fine for me, it compiles and has 1040 lines. Just like it should. It wouldn't make since for it to work for me and some people and not you and other people. I don't understand what the fuck is going on.

I'm going to do this again, mark this moment.
I had a couple people go ahead and download it as well to see if they'd end up with the correct version (1040 lines); but they all ended up with the bugged version just like me. That's pretty weird if some people get the correct version and some people (like myself) get the bugged version.
CantBeJohn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] ColAndreas - (Released) Pottus Plugin Development 415 19/08/2015 01:31 AM
No veh collision vs vehicles with collision issue Kar Scripting Help 5 11/05/2015 12:08 AM
Collision Detection (Plugin) Deduction Scripting Help 0 27/12/2013 05:24 AM
Collision Detection? NumbSkull Scripting Help 4 13/11/2012 04:27 AM


All times are GMT. The time now is 08:20 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.