<old>(map.h)<old> <new>problem with chars</new>
Just started to write first module and stuck.
I'm using map.h to fill a map with certain values. The code: Code:
#include <map.h> When server starts, it says that module is bad load. When i remove this part of code (admin_map[auth] = node;) and recompile - everything (two natives) works fine. Any help? Linux, gcc-4.2.3. |
Re: Module help (map.h)
You should have some message. Try meta refresh and see what it says.
|
Re: Module help (map.h)
meta load addons/amxmodx/modules/epic_admin_amxx_i386.so
Couldn't load plugin '<epic_admin_amxx_i386.so>'; see log Currently loaded plugins: description stat pend file vers src load unlod [ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2-d ini Start ANY [ 2] MySQL RUN - mysql_amxx_i386. v1.8.2-d pl1 ANY ANY [ 3] Orpheu RUN - orpheu_amxx_i386 v2.3 pl1 ANY ANY [ 4] Fun RUN - fun_amxx_i386.so v1.8.2-d pl1 ANY ANY [ 5] CStrike RUN - cstrike_amxx_i38 v1.8.2-d pl1 ANY ANY [ 6] CSX RUN - csx_amxx_i386.so v1.8.2-d pl1 ANY ANY [ 7] Engine RUN - engine_amxx_i386 v1.8.2-d pl1 ANY ANY [ 8] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2-d pl1 ANY ANY [ 9] Ham Sandwich RUN - hamsandwich_amxx v1.8.2-d pl1 ANY ANY [10] <epic_admin_amx badf load epic_admin_amxx_ v - cmd - - 10 plugins, 9 running Nothing in logs. -debug -dev is enabled. +log on. |
Re: Module help (map.h)
Attach the .so to see myself.
|
Re: Module help (map.h)
1 Attachment(s)
Here.
L 08/10/2011 - 17:58:28: [META] (debug:9) Calling engine:IsDedicatedServer() L 08/10/2011 - 17:58:28: [META] (debug:9) Calling engine:IsDedicatedServer() meta load addons/amxmodx/modules/epic_admin_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Calling engine:IsDedicatedServer() L 08/10/2011 - 17:58:29: [META] (debug:2) Resolved 'addons/amxmodx/modules/epic_admin_amxx_i386.so' to file '/home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/epic_admin_amxx_i386.so' L 08/10/2011 - 17:58:29: [META] (debug:8) Looking for loaded plugin with dlfnamepath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/epic_admin_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin amxmodx_mm_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin mysql_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/mysql_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin orpheu_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/orpheu_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin fun_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/fun_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin cstrike_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin csx_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/csx_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin engine_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/engine_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin fakemeta_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:9) Looking at: plugin hamsandwich_amxx_i386.so loadedpath: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so L 08/10/2011 - 17:58:29: [META] (debug:8) No loaded plugin found with path: /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/epic_admin_amxx_i386.so L 08/10/2011 - 17:58:29: [META] ERROR: dll: Failed query plugin '<epic_admin_amxx_i386.so>'; Couldn't open file '/home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/epic_admin_amxx_i386.so': /home/hlds_servers/hlds_cw/cstrike/addons/amxmodx/modules/epic_admin_amxx_i386.so: undefined symbol: _ZNSaIcEC1Ev L 08/10/2011 - 17:58:29: [META] ERROR: dll: Skipping plugin '<epic_admin_amxx_i386.so>'; couldn't query Couldn't load plugin '<epic_admin_amxx_i386.so>'; see log Currently loaded plugins: description stat pend file vers src load unlod [ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2-d ini Start ANY [ 2] MySQL RUN - mysql_amxx_i386. v1.8.2-d pl1 ANY ANY [ 3] Orpheu RUN - orpheu_amxx_i386 v2.3 pl1 ANY ANY [ 4] Fun RUN - fun_amxx_i386.so v1.8.2-d pl1 ANY ANY [ 5] CStrike RUN - cstrike_amxx_i38 v1.8.2-d pl1 ANY ANY [ 6] CSX RUN - csx_amxx_i386.so v1.8.2-d pl1 ANY ANY [ 7] Engine RUN - engine_amxx_i386 v1.8.2-d pl1 ANY ANY [ 8] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2-d pl1 ANY ANY [ 9] Ham Sandwich RUN - hamsandwich_amxx v1.8.2-d pl1 ANY ANY [10] <epic_admin_amx badf load epic_admin_amxx_ v - cmd - - 10 plugins, 9 running L 08/10/2011 - 17:58:29: [META] (debug:9) Calling fakemeta_amxx_i386.so:GetGameDescription() L 08/10/2011 - 17:58:29: [META] (debug:9) Skipped (supercede) cs_i386.so:GetGameDescription() L 08/10/2011 - 17:58:29: [META] (debug:9) Calling engine:IsDedicatedServer() L 08/10/2011 - 17:58:29: [META] (debug:9) Calling engine:IsDedicatedServer() L 08/10/2011 - 17:58:30: [META] (debug:9) Calling engine:IsDedicatedServer() L 08/10/2011 - 17:58:30: [META] (debug:9) Calling engine:IsDedicatedServer() |
Re: Module help (map.h)
I got :
Quote:
|
Re: Module help (map.h)
Found the solution.
CPP = gcc-4.2.4 >>>> CPP = g++-4.2.4 |
Re: <old>(map.h)<old> <new>problem with chars</new>
Another problem.
I'm new in C/C++ Someone can help and say me how to copy pointer value to variable without effect that i encountered? Code:
#include <map.h> Code:
L 08/13/2011 - 14:23:55: [eAdm] Was .:MoMo_L:.>> |
Re: <old>(map.h)<old> <new>problem with chars</new>
You copying from destination to source lol.
BTW: Code:
struct t_Node |
Re: <old>(map.h)<old> <new>problem with chars</new>
Lol. My bad. Thank you!
|
All times are GMT -4. The time now is 15:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.