Git Product home page Git Product logo

samp-gps-plugin's People

Contributors

amyrahmady avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

samp-gps-plugin's Issues

Streamer plugin error

Hello, i've just added this GPS plugin and script compiles with no errors, but when I start server this is what I get:

[19:22:55] *** Streamer Plugin: The plugin version (0x295) is older than the include file version (0x296) for this script. The plugin might need to be updated to the latest version. [19:22:55] [debug] Run time error 19: "File or function is not found" [19:22:55] [debug] GetClosestMapNodeToPoint [19:22:55] [debug] FindPath [19:22:55] [debug] GetPathNode [19:22:55] [debug] GetMapNodePos [19:22:55] [debug] GetMapNodeAngleFromPoint [19:22:55] [debug] Run time error 19: "File or function is not found" [19:22:55] [debug] GetClosestMapNodeToPoint [19:22:55] [debug] FindPath [19:22:55] [debug] GetPathNode [19:22:55] [debug] GetMapNodePos [19:22:55] [debug] GetMapNodeAngleFromPoint

I don't understand why. Streamer plugin and include version are both 2.96. I've also tried to download plugin/include version of 2.95 but same problem.

Run time error 4 , run time error 29

04:33:48] [debug] Run time error 4: "Array index out of bounds"
[04:33:48] [debug] Attempted to read/write array element at index 29 in array of size 29
[04:33:48] [debug] AMX backtrace:
[04:33:48] [debug] #0 00467a0c in public AC_OnPlayerSpawn (3) in nexalrp.amx
[04:33:48] [debug] #1 00089908 in public WC_OnPlayerSpawn (3) in nexalrp.amx
[04:33:48] [debug] #2 00071740 in public ac_OnPlayerSpawn (3) in nexalrp.amx
[04:33:48] [debug] #3 00038f0c in public OnPlayerSpawn (3) in nexalrp.amx

[14:41:36] [debug] Run time error 4: "Array index out of bounds"
[14:41:36] [debug] Attempted to read/write array element at index 29 in array of size 29
[14:41:36] [debug] AMX backtrace:
[14:41:36] [debug] #0 004646c0 in public AC_OnPlayerSpawn (0) in nexalrp.amx
[14:41:36] [debug] #1 00089908 in public WC_OnPlayerSpawn (0) in nexalrp.amx
[14:41:36] [debug] #2 00071740 in public ac_OnPlayerSpawn (0) in nexalrp.amx
[14:41:36] [debug] #3 00038f0c in public OnPlayerSpawn (0) in nexalrp.amx

How to fix this errors

Run time error

Server cfg:

plugins crashdetect streamer sscanf Whirlpool pawncmd mapandreas mysql GPS nativechecker

Errors:

[01:33:19] [debug] Run time error 4: "Array index out of bounds"
[01:33:19] [debug] AMX backtrace:
[01:33:19] [debug] #0 0001ba58 in CodeScanAddJumpTarget (cip=-2392276, stk=0, hea=0, jumpTargets[CodeScanner:164]=@01ab64b0, next=32, sip=-2455984) at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Coding\y_hooks..\y_cgen....\YSI_Core\y_core....\amx\codescan.inc:262
[01:33:19] [debug] #1 0001c0bc in CodeScanAddSwitchTarget (dctx[DisasmContext:22]=@01ab5c44, stk=0, hea=0, jumpTargets[CodeScanner:164]=@01ab64b0, next=-2455984) at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Coding\y_hooks..\y_cgen....\YSI_Core\y_core....\amx\codescan.inc:294
[01:33:19] [debug] #2 0001e53c in bool:CodeScanStepInternal (dctx[DisasmContext:22]=@01ab5c44, csState[CodeScanner:164]=@01ab64b0, &parseState=@01ab5c38 0, &parseParam=@01ab5c34 0) at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Coding\y_hooks..\y_cgen....\YSI_Core\y_core....\amx\codescan.inc:747
[01:33:19] [debug] #3 0001ea88 in bool:CodeScanRun (csState[CodeScanner:164]=@01ab64b0) at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Coding\y_hooks..\y_cgen....\YSI_Core\y_core....\amx\codescan.inc:817
[01:33:19] [debug] #4 0001ffc0 in AddressofResolve () at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Coding\y_hooks..\y_cgen....\YSI_Core\y_core....\amx\addressof_jit.inc:130
[01:33:19] [debug] #5 0002058c in public AMX_OnCodeInit () at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Coding\y_hooks..\y_cgen....\YSI_Core\y_core\y_thirdpartyinclude.inc:379
[01:33:19] [debug] #6 00010ecc in public Debug_OnCodeInit () at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Core\y_core\y_amx_impl.inc:206
[01:33:19] [debug] #7 00010820 in public ScriptInit_OnCodeInit () at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Core\y_core\y_debug_impl.inc:659
[01:33:19] [debug] #8 0000fc38 in public FIXES_OnGameModeInit () at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Data\y_foreach....\YSI_Core\y_core\y_scriptinit_impl.inc:319
[01:33:19] [debug] #9 00004344 in public OnGameModeInit () at C:\Users\pc\Desktop\Gamemode\pawno\include\fixes.inc:6015
[01:33:19] [debug] Run time error 4: "Array index out of bounds"
[01:33:19] [debug] AMX backtrace:
[01:33:19] [debug] #0 0004a12c in Malloc_TrySetup () at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Coding\y_timers..\y_malloc\y_malloc_heapalloc.inc:226
[01:33:19] [debug] #1 00049b24 in main () at C:\Users\pc\Desktop\Gamemode\pawno\include\YSI_Coding\y_timers..\y_malloc\y_malloc_heapalloc.inc:78
[01:33:19] Script[gamemodes/mode.amx]: Run time error 4: "Array index out of bounds"
[01:33:19] Number of vehicle models: 0

All everything up to date.

AddNodeToPath & RemoveNodeToPath

lets say im on a gps route and I go off path, or take a shortcut, must I recalculate the route instantly? No. That's a CPU shink. Let us add nodes to the path and its not until you go wayyy off path then we should consider recaulcating.

Failed to load plugin

[20/04/2019 01:58:24] Loading plugin: GPS.so
[20/04/2019 01:58:24] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/GPS.so))

Error plugin load CXXABI_1.3.9

Hi, please make static version for

Loading plugin: GPS.so
Failed (/usr/lib/i386-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by plugins/GPS.so))

I can't run plugin on host

error occurs when i use gps plugin for openmp

use plugins folder:
[2023-11-05T13:40:25+0700] [Info] Loading plugin: GPS.dll
[2023-11-05T13:40:25+0700] [Info] This file is not a SA-MP plugin.

use components folder:
Loading component GPS.dll
Failed to load component: it is neither an open.mp component nor a SA-MP plugin.

please help me.
I used google translate to compose this text.

Plugin not loading

I've added gps to the plugin line in the server cfg, and I'm getting this error in the console:

Loading plugin: gps
Plugin does not conform to architecture.

Error trying to compile in Centos6. Problem with 32bit library compiled with 64bit system

Hello, I'm tryng to compile the plugin because when I run the release version on my samp server I have this error: Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/GPS.so))
//////////////////////////////////////////////////// make ///////////////
root: make
gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./lib/sdk/amxplugin.cpp
gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./lib/sdk/amxplugin2.cpp
gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./src/*.cpp
In file included from /usr/local/include/c++/9.2.0/random:49,
from ./src/natives.cpp:4:
/usr/local/include/c++/9.2.0/bits/random.h:103:26: error: expected unqualified-id before โ€˜__int128โ€™
103 | { typedef unsigned __int128 type; };
| ^~~~~~~~
make: *** [all] Error 1

//////////////////////////////////////////////////////////////////
samp-gps-plugin-master]# gcc --version: gcc (GCC) 9.2.0
//////////////////////////////////////////////////////////////////

What can be the problem? thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.