SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 31/05/2018, 08:16 AM   #491
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 822
Default Re: ColAndreas - Collision Detection

Cannot use the static version as it crash the server.

While in-game, there is a weird random disconnection of all clients.

When the server shuts down
Code:
05/30/18 06:40:56 --- Server Shutting Down.
05/30/18 06:40:56 [ADM] Info: Unload 3DTryg v4.4.3 for SA:MP 0.3.7 by Abyss Morgan
05/30/18 06:40:56 [debug] Server crashed while executing b9-5.amx
05/30/18 06:40:56 [debug] AMX backtrace:
05/30/18 06:40:56 [debug] #0 0000002e in ?? (56, 0, 5013232, 25738328, 7075668, 0, 25738340, 6994884, 0, 25738352, ... <3 arguments>) f$
05/30/18 06:40:56 [debug] #1 0000002e in public CA_OnGameModeExit () from b9-5.amx
05/30/18 06:40:56 [debug] #2 native CallLocalFunction () from samp03svr
05/30/18 06:40:56 [debug] #3 00024684 in public ScriptInit_OnGameModeExit () from b9-5.amx
05/30/18 06:40:56 [debug] #4 000062ac in public OnGameModeExit () from b9-5.amx
05/30/18 06:40:56 [debug] Native backtrace:
05/30/18 06:40:56 [debug] #0 f72ed180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
05/30/18 06:40:56 [debug] #1 f72e5064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
05/30/18 06:40:56 [debug] #2 f72e5d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
05/30/18 06:40:56 [debug] #3 f72e7cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
05/30/18 06:40:56 [debug] #4 f72ec4d5 in ?? () from plugins/crashdetect.so
05/30/18 06:40:56 [debug] #5 f76e8b20 in __kernel_rt_sigreturn () from linux-gate.so.1
05/30/18 06:40:56 [debug] #6 14000000 in ?? () from DGk�xEk�\f^]^H\f^]^H]h^]^H\f^]^Huh^]^H\j^]^H��k�^X
05/30/18 06:40:56 [debug] #7 22008f58 in ?? () from DGk�xEk�\f^]^H\f^]^H]h^]^H\f^]^H�h^]^H\j^]^H��k�^X
(Using ColAndreas_static v1.4.0)

Using Debian 9.4
Code:
  Operating System: Debian GNU/Linux 9 (stretch)
            Kernel: Linux 4.9.87-xxxx-std-ipv6-64
      Architecture: x86-64
The instructions that you specify on the README.md on GitHub for Ubuntu, unfortunately aren't relevant to my OS as it does not have them
https://packages.debian.org/stretch/...?format=txt.gz

I've tried to install the libbullet-dev and the server kept restarting when it reached ColAndreas (it installed 2.83.5)
I've compiled 2.82 and it still give the same response, restart when it starts to load ColAndreas, it shows the print and restarts.
__________________
Kaperstone is offline   Reply With Quote
Old 06/06/2018, 11:34 AM   #492
CodeStyle175
Huge Clucker
 
CodeStyle175's Avatar
 
Join Date: Apr 2014
Posts: 349
Reputation: 19
Default Re: ColAndreas - Collision Detection

what is wrong with the latest colandreas.inc
why it contains same natives 2 times?
CodeStyle175 is offline   Reply With Quote
Old 08/06/2018, 10:02 AM   #493
NeamPojma
Big Clucker
 
Join Date: Jan 2015
Location: Serbia
Posts: 73
Reputation: 5
Default Re: ColAndreas - Collision Detection

I have created map using MTA,now when i converted it to CreateObject() and load it there is no collision for that objects.
I have tried to create every of them with CA_CreateObject but nothing changes.
Also i tried CA_CreateObject_SC and CA_CreateObject_DC but then OnPlayerKeyStatChange is not triggered.

tl;dr How to make collision for objects from MTA?
NeamPojma is offline   Reply With Quote
Old 08/06/2018, 02:01 PM   #494
DeadBrain
Little Clucker
 
Join Date: Apr 2018
Posts: 16
Reputation: 0
Default Re: ColAndreas - Collision Detection

Change createobject toCA_CreateObject_SC
I use colandreas_static.so and normall dll and it works fine .even i create a skateboatd with it trust me
DeadBrain is offline   Reply With Quote
Old 12/06/2018, 07:07 PM   #495
Ghazal
Gangsta
 
Ghazal's Avatar
 
Join Date: Oct 2013
Location: Egypt
Posts: 513
Reputation: 160
Default Re: ColAndreas - Collision Detection

When I try to launch the server with ColAndreas (non static one because the static one used to crash my server) I am getting this error:
Code:
06/12/18 07:18:13  Loading plugin: ColAndreas.so
06/12/18 07:18:13   Failed (libBulletDynamics.so.2.83: cannot open shared object file: No such file or directory)
Any idea how to install that libBulletDynamics 2.83?
__________________

Stunt Evolution Freeroam
Website .:. Forum .:. Join now

Ghazal is offline   Reply With Quote
Old 12/06/2018, 08:53 PM   #496
ball
Huge Clucker
 
ball's Avatar
 
Join Date: Jul 2012
Location: Poznan, Poland
Posts: 288
Reputation: 33
Default Re: ColAndreas - Collision Detection

Use static version.
ball is offline   Reply With Quote
Old 13/06/2018, 12:18 AM   #497
Ghazal
Gangsta
 
Ghazal's Avatar
 
Join Date: Oct 2013
Location: Egypt
Posts: 513
Reputation: 160
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by ball View Post
Use static version.
As I mentioned, the static version used to crash my server, aren't there any other solutions? My OS is Debian 8 just for information.
__________________

Stunt Evolution Freeroam
Website .:. Forum .:. Join now

Ghazal is offline   Reply With Quote
Old 13/06/2018, 12:31 AM   #498
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,420
Reputation: 1224
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by Ghazal View Post
As I mentioned, the static version used to crash my server, aren't there any other solutions? My OS is Debian 8 just for information.
http://bulletphysics.org/mediawiki-1...p/Installation
Pottus is offline   Reply With Quote
Old 14/06/2018, 01:46 AM   #499
Ghazal
Gangsta
 
Ghazal's Avatar
 
Join Date: Oct 2013
Location: Egypt
Posts: 513
Reputation: 160
Default Re: ColAndreas - Collision Detection

Quote:
Originally Posted by Pottus View Post
Things got fixed when I compiled ColAndreas on my OS, thanks anyway!
__________________

Stunt Evolution Freeroam
Website .:. Forum .:. Join now

Ghazal is offline   Reply With Quote
Old 14/06/2018, 03:02 AM   #500
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,420
Reputation: 1224
Default Re: ColAndreas - Collision Detection

Yeah I think bullet physics is very finicky when it comes to OS's it is always best to compile on the OS you are using if you can.
Pottus 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 12:31 AM
No veh collision vs vehicles with collision issue Kar Scripting Help 5 10/05/2015 11:08 PM
ColAndreas Pottus Screenshots and Videos 73 17/12/2014 08:32 PM
Collision Detection (Plugin) Deduction Scripting Help 0 27/12/2013 04:24 AM
Collision Detection? NumbSkull Scripting Help 4 13/11/2012 03:27 AM


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


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