Jump to content

Dark Theme was set as default for all members. Please report any issues here.

Recommended Posts

^ Thanks for your info.

 

I will check it this weekend, However it is only a warning and you can still use it on game.

 

Thanks. I thought it's an error because I cannot use the plugins. Though it's ok on my Windows system sandbox

Share this post


Link to post
Share on other sites

It's broken.

 

 

 

2>..srcpluginsautopots.c(120): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(120): error C2223: left of '->add' must point to struct/union2>..srcpluginsautopots.c(120): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(120): error C2223: left of '->gettick' must point to struct/union2>..srcpluginsautopots.c(172): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(172): error C2223: left of '->add' must point to struct/union2>..srcpluginsautopots.c(172): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(172): error C2223: left of '->gettick' must point to struct/union2>..srcpluginsautopots.c(214): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(214): error C2223: left of '->add' must point to struct/union2>..srcpluginsautopots.c(214): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(214): error C2223: left of '->gettick' must point to struct/union2>..srcpluginsautopots.c(256): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(256): error C2223: left of '->add' must point to struct/union2>..srcpluginsautopots.c(256): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(256): error C2223: left of '->gettick' must point to struct/union2>..srcpluginsautopots.c(270): error C2065: 'timer' : undeclared identifier2>..srcpluginsautopots.c(270): warning C4047: '=' : 'int' differs in levels of indirection from 'void *' 

 

 

Share this post


Link to post
Share on other sites

failed to load plugins map server and also other servers :( i completely followed it as mentioned no need to recompile for Windows

 

false alarm I made it to work :D hihihihi

 

Thank you vm for sharing Mhalicot

Edited by iZeal

Share this post


Link to post
Share on other sites

@Mahlicot need some help with CentOS

 

        CC      autopots.c
autopots.c: In function ‘autoatpots_timer’:
autopots.c:79: warning: unused variable ‘item’
autopots.c:114: warning: array subscript is above array bounds
autopots.c:120: warning: array subscript is above array bounds
 

Share this post


Link to post
Share on other sites

 


Hercules Development Team presents
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ '__/ __| | | | |/ _ / __|
| | | | __/ | | (__| |_| | | __/__
_| |_/___|_| ___|__,_|_|___||___/

http://herc.ws/board/

[info]: Hercules 32-bit for Linux
[info]: Git revision (src): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'
[info]: Git revision (scripts): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'
[info]: OS version: 'Debian GNU/Linux 6.0.5 (squeeze) [i686]'
[info]: CPU: 'Intel® Xeon® CPU E3-1270 v3 @ 3.50GHz [1]'
[info]: Compiled with GCC v4.4.5
[info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -march=i686 -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wformat-security -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -fno-strict-aliasing -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -I/usr/include -DHAVE_MONOTONIC_CLOCK
[info]: Server supports up to '1024' concurrent connections.
[Warning]: HPM:plugin_load: failed to load 'plugins/autopots.so' (error: plugins/autopots.so: cannot open shared object file: No such file or directory), skipping...

[status]: HPM: There are '1' plugins loaded, type 'plugins' to list them

 


make[1]: Entering directory `/home/xxx/trunk/src/plugins'
PLUGIN sample
PLUGIN db2sql
PLUGIN HPMHooking_char
PLUGIN HPMHooking_login
PLUGIN HPMHooking_map
PLUGIN auraset
CC autopots.c
autopots.c: In function 'autoatpots_timer':
autopots.c:79: warning: unused variable 'item'
autopots.c: In function 'atcommand_autopots':
autopots.c:133: warning: implicit declaration of function 'sscanf_s'
autopots.c: In function 'autoatpots_timer':
autopots.c:114: warning: array subscript is above array bounds
autopots.c:120: warning: array subscript is above array bounds
/tmp/ccxwrLU2.o: In function `atcommand_autosp':
/home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'
/home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'
/home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'
/tmp/ccxwrLU2.o: In function `atcommand_autohp':
/home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'
/home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'
/tmp/ccxwrLU2.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow
collect2: ld returned 1 exit status
make[1]: *** [../../plugins/autopots.so] Error 1
make[1]: Leaving directory `/home/xxx/trunk/src/plugins'
make: *** [plugins] Error 2
[email protected]:~/trun


 
 
Any solutions ?

Edited by - Mariel

Share this post


Link to post
Share on other sites

 

 

Hercules Development Team presents

_ _ _

| | | | | |

| |_| | ___ _ __ ___ _ _| | ___ ___

| _ |/ _ '__/ __| | | | |/ _ / __|

| | | | __/ | | (__| |_| | | __/__

_| |_/___|_| ___|__,_|_|___||___/

 

http://herc.ws/board/

 

[info]: Hercules 32-bit for Linux

[info]: Git revision (src): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

[info]: Git revision (scripts): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

[info]: OS version: 'Debian GNU/Linux 6.0.5 (squeeze) [i686]'

[info]: CPU: 'Intel® Xeon® CPU E3-1270 v3 @ 3.50GHz [1]'

[info]: Compiled with GCC v4.4.5

[info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -march=i686 -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wformat-security -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -fno-strict-aliasing -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -I/usr/include -DHAVE_MONOTONIC_CLOCK

[info]: Server supports up to '1024' concurrent connections.

[Warning]: HPM:plugin_load: failed to load 'plugins/autopots.so' (error: plugins/autopots.so: cannot open shared object file: No such file or directory), skipping...

[status]: HPM: There are '1' plugins loaded, type 'plugins' to list them

 

 

make[1]: Entering directory `/home/xxx/trunk/src/plugins'

PLUGIN sample

PLUGIN db2sql

PLUGIN HPMHooking_char

PLUGIN HPMHooking_login

PLUGIN HPMHooking_map

PLUGIN auraset

CC autopots.c

autopots.c: In function 'autoatpots_timer':

autopots.c:79: warning: unused variable 'item'

autopots.c: In function 'atcommand_autopots':

autopots.c:133: warning: implicit declaration of function 'sscanf_s'

autopots.c: In function 'autoatpots_timer':

autopots.c:114: warning: array subscript is above array bounds

autopots.c:120: warning: array subscript is above array bounds

/tmp/ccxwrLU2.o: In function `atcommand_autosp':

/home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'

/tmp/ccxwrLU2.o: In function `atcommand_autohp':

/home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'

/tmp/ccxwrLU2.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow

collect2: ld returned 1 exit status

make[1]: *** [../../plugins/autopots.so] Error 1

make[1]: Leaving directory `/home/xxx/trunk/src/plugins'

make: *** [plugins] Error 2

[email protected]:~/trun

 

 

 

Any solutions ?

Cant reproduce. Make sure you are using version 4.1

Share this post


Link to post
Share on other sites

 

 

 

Hercules Development Team presents

_ _ _

| | | | | |

| |_| | ___ _ __ ___ _ _| | ___ ___

| _ |/ _ '__/ __| | | | |/ _ / __|

| | | | __/ | | (__| |_| | | __/__

_| |_/___|_| ___|__,_|_|___||___/

 

http://herc.ws/board/

 

[info]: Hercules 32-bit for Linux

[info]: Git revision (src): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

[info]: Git revision (scripts): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

[info]: OS version: 'Debian GNU/Linux 6.0.5 (squeeze) [i686]'

[info]: CPU: 'Intel® Xeon® CPU E3-1270 v3 @ 3.50GHz [1]'

[info]: Compiled with GCC v4.4.5

[info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -march=i686 -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wformat-security -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -fno-strict-aliasing -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -I/usr/include -DHAVE_MONOTONIC_CLOCK

[info]: Server supports up to '1024' concurrent connections.

[Warning]: HPM:plugin_load: failed to load 'plugins/autopots.so' (error: plugins/autopots.so: cannot open shared object file: No such file or directory), skipping...

[status]: HPM: There are '1' plugins loaded, type 'plugins' to list them

 

 

make[1]: Entering directory `/home/xxx/trunk/src/plugins'

PLUGIN sample

PLUGIN db2sql

PLUGIN HPMHooking_char

PLUGIN HPMHooking_login

PLUGIN HPMHooking_map

PLUGIN auraset

CC autopots.c

autopots.c: In function 'autoatpots_timer':

autopots.c:79: warning: unused variable 'item'

autopots.c: In function 'atcommand_autopots':

autopots.c:133: warning: implicit declaration of function 'sscanf_s'

autopots.c: In function 'autoatpots_timer':

autopots.c:114: warning: array subscript is above array bounds

autopots.c:120: warning: array subscript is above array bounds

/tmp/ccxwrLU2.o: In function `atcommand_autosp':

/home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'

/tmp/ccxwrLU2.o: In function `atcommand_autohp':

/home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'

/tmp/ccxwrLU2.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow

collect2: ld returned 1 exit status

make[1]: *** [../../plugins/autopots.so] Error 1

make[1]: Leaving directory `/home/xxx/trunk/src/plugins'

make: *** [plugins] Error 2

[email protected]:~/trun

 

 

 

Any solutions ?

Cant reproduce. Make sure you are using version 4.1

Im using 4.1

 

now this

 

CC autopots.c

autopots.c: In function 'autoatpots_timer':

autopots.c:79: warning: unused variable 'item'

autopots.c: In function 'atcommand_autopots':

autopots.c:133: warning: implicit declaration of function 'sscanf_s'

autopots.c: In function 'autoatpots_timer':

autopots.c:114: warning: array subscript is above array bounds

autopots.c:120: warning: array subscript is above array bounds

/tmp/cccZYPnY.o: In function `atcommand_autosp':

/home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'

/tmp/cccZYPnY.o: In function `atcommand_autohp':

/home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'

/tmp/cccZYPnY.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow

collect2: ld returned 1 exit status

make[1]: *** [../../plugins/autopots.so] Error 1

make[1]: Leaving directory `/home/xxx/trunk/src/plugins'

make: *** [plugins] Error 2

 

 

Share this post


Link to post
Share on other sites

 

 

 

 

Hercules Development Team presents

_ _ _

| | | | | |

| |_| | ___ _ __ ___ _ _| | ___ ___

| _ |/ _ '__/ __| | | | |/ _ / __|

| | | | __/ | | (__| |_| | | __/__

_| |_/___|_| ___|__,_|_|___||___/

 

http://herc.ws/board/

 

[info]: Hercules 32-bit for Linux

[info]: Git revision (src): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

[info]: Git revision (scripts): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

[info]: OS version: 'Debian GNU/Linux 6.0.5 (squeeze) [i686]'

[info]: CPU: 'Intel® Xeon® CPU E3-1270 v3 @ 3.50GHz [1]'

[info]: Compiled with GCC v4.4.5

[info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -march=i686 -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wformat-security -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -fno-strict-aliasing -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -I/usr/include -DHAVE_MONOTONIC_CLOCK

[info]: Server supports up to '1024' concurrent connections.

[Warning]: HPM:plugin_load: failed to load 'plugins/autopots.so' (error: plugins/autopots.so: cannot open shared object file: No such file or directory), skipping...

[status]: HPM: There are '1' plugins loaded, type 'plugins' to list them

 

 

make[1]: Entering directory `/home/xxx/trunk/src/plugins'

PLUGIN sample

PLUGIN db2sql

PLUGIN HPMHooking_char

PLUGIN HPMHooking_login

PLUGIN HPMHooking_map

PLUGIN auraset

CC autopots.c

autopots.c: In function 'autoatpots_timer':

autopots.c:79: warning: unused variable 'item'

autopots.c: In function 'atcommand_autopots':

autopots.c:133: warning: implicit declaration of function 'sscanf_s'

autopots.c: In function 'autoatpots_timer':

autopots.c:114: warning: array subscript is above array bounds

autopots.c:120: warning: array subscript is above array bounds

/tmp/ccxwrLU2.o: In function `atcommand_autosp':

/home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'

/tmp/ccxwrLU2.o: In function `atcommand_autohp':

/home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'

/tmp/ccxwrLU2.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow

collect2: ld returned 1 exit status

make[1]: *** [../../plugins/autopots.so] Error 1

make[1]: Leaving directory `/home/xxx/trunk/src/plugins'

make: *** [plugins] Error 2

[email protected]:~/trun

 

 

 

Any solutions ?

Cant reproduce. Make sure you are using version 4.1

Im using 4.1

 

now this

 

CC autopots.c

autopots.c: In function 'autoatpots_timer':

autopots.c:79: warning: unused variable 'item'

autopots.c: In function 'atcommand_autopots':

autopots.c:133: warning: implicit declaration of function 'sscanf_s'

autopots.c: In function 'autoatpots_timer':

autopots.c:114: warning: array subscript is above array bounds

autopots.c:120: warning: array subscript is above array bounds

/tmp/cccZYPnY.o: In function `atcommand_autosp':

/home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'

/tmp/cccZYPnY.o: In function `atcommand_autohp':

/home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'

/home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'

/tmp/cccZYPnY.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow

collect2: ld returned 1 exit status

make[1]: *** [../../plugins/autopots.so] Error 1

make[1]: Leaving directory `/home/xxx/trunk/src/plugins'

make: *** [plugins] Error 2

 

 

Im sorry but I cant reproduce, I'm using the latest hercules version and autopots v4.1 it doesn't show any error upon compiling and I can use the command in game..

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.