new uri[255]; format(uri, 255, "%s", "http://example.org"); new content[1024]; pwncurl_get(uri,content,1024); printf("Content of uri %s is %s", uri, content);
Originally Posted by lavamike
Looks very nice!
But it's not windows? ![]() ![]() |
Originally Posted by lavamike
Looks very nice!
But it's not windows? ![]() |
Originally Posted by Killerkid.
Quote:
|
Originally Posted by EvenemE date=1239165473
Doesn't work with windows yet : (
|
--------------------Configuration: pwncurl - Debug-------------------- Compiling source file(s)... pwncurl.cpp In file included from E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp:37: E:\Downloads\pwncurl_0_1\pwncurl_src\AMX_SDK\plugincommon.h:36: warning: ignoring #pragma message E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp: In function `cell n_pwncurl_get(AMX*, cell*)': E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp:95: error: `_alloca' undeclared (first use this function) E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp:95: error: (Each undeclared identifier is reported only once for each function it appears in.) pwncurl.dll - 2 error(s), 1 warning(s)
Originally Posted by max007
this plugin does not work for me
|
Originally Posted by CrαcK
Trying to compile the plugin on windows I get this:
Код:
--------------------Configuration: pwncurl - Debug-------------------- Compiling source file(s)... pwncurl.cpp In file included from E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp:37: E:\Downloads\pwncurl_0_1\pwncurl_src\AMX_SDK\plugincommon.h:36: warning: ignoring #pragma message E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp: In function `cell n_pwncurl_get(AMX*, cell*)': E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp:95: error: `_alloca' undeclared (first use this function) E:\Downloads\pwncurl_0_1\pwncurl_src\pwncurl.cpp:95: error: (Each undeclared identifier is reported only once for each function it appears in.) pwncurl.dll - 2 error(s), 1 warning(s) |
--------------------Configuration: pwncurl - Release-------------------- Linking... Creating library file: G:\pwncurl\Release\libpwncurl.dll.a G:\pwncurl\Release\pwncurl.o(.text+0xac):pwncurl.cpp: undefined reference to `pAMXFunctions' G:\pwncurl\Release\pwncurl.o(.text+0x14c):pwncurl.cpp: undefined reference to `amx_GetAddr' G:\pwncurl\Release\pwncurl.o(.text+0x15e):pwncurl.cpp: undefined reference to `amx_StrLen' G:\pwncurl\Release\pwncurl.o(.text+0x194):pwncurl.cpp: undefined reference to `amx_GetString' G:\pwncurl\Release\pwncurl.o(.text+0x1a9):pwncurl.cpp: undefined reference to `_imp__curl_easy_init' G:\pwncurl\Release\pwncurl.o(.text+0x1f9):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x20e):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x227):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x240):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x259):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x272):pwncurl.cpp: more undefined references to `_imp__curl_easy_setopt' follow G:\pwncurl\Release\pwncurl.o(.text+0x27b):pwncurl.cpp: undefined reference to `_imp__curl_easy_perform' G:\pwncurl\Release\pwncurl.o(.text+0x286):pwncurl.cpp: undefined reference to `_imp__curl_easy_cleanup' G:\pwncurl\Release\pwncurl.o(.text+0x2a3):pwncurl.cpp: undefined reference to `amx_GetAddr' G:\pwncurl\Release\pwncurl.o(.text+0x2ce):pwncurl.cpp: undefined reference to `amx_SetString' G:\pwncurl\Release\pwncurl.o(.text+0x38d):pwncurl.cpp: undefined reference to `amx_Register' pwncurl.dll - 15 error(s), 0 warning(s)
Originally Posted by CrαcK
I am a total newbie in this... that's why I simply don't know how to fix these ones
![]() Another couple of errors: Код:
--------------------Configuration: pwncurl - Release-------------------- Linking... Creating library file: G:\pwncurl\Release\libpwncurl.dll.a G:\pwncurl\Release\pwncurl.o(.text+0xac):pwncurl.cpp: undefined reference to `pAMXFunctions' G:\pwncurl\Release\pwncurl.o(.text+0x14c):pwncurl.cpp: undefined reference to `amx_GetAddr' G:\pwncurl\Release\pwncurl.o(.text+0x15e):pwncurl.cpp: undefined reference to `amx_StrLen' G:\pwncurl\Release\pwncurl.o(.text+0x194):pwncurl.cpp: undefined reference to `amx_GetString' G:\pwncurl\Release\pwncurl.o(.text+0x1a9):pwncurl.cpp: undefined reference to `_imp__curl_easy_init' G:\pwncurl\Release\pwncurl.o(.text+0x1f9):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x20e):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x227):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x240):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x259):pwncurl.cpp: undefined reference to `_imp__curl_easy_setopt' G:\pwncurl\Release\pwncurl.o(.text+0x272):pwncurl.cpp: more undefined references to `_imp__curl_easy_setopt' follow G:\pwncurl\Release\pwncurl.o(.text+0x27b):pwncurl.cpp: undefined reference to `_imp__curl_easy_perform' G:\pwncurl\Release\pwncurl.o(.text+0x286):pwncurl.cpp: undefined reference to `_imp__curl_easy_cleanup' G:\pwncurl\Release\pwncurl.o(.text+0x2a3):pwncurl.cpp: undefined reference to `amx_GetAddr' G:\pwncurl\Release\pwncurl.o(.text+0x2ce):pwncurl.cpp: undefined reference to `amx_SetString' G:\pwncurl\Release\pwncurl.o(.text+0x38d):pwncurl.cpp: undefined reference to `amx_Register' pwncurl.dll - 15 error(s), 0 warning(s) |
Originally Posted by Amit B
Don't work for me
![]() After writting "plugins pwncurl.so" in server.cfg, and running the server, the gamemode become "Unknown". |
Originally Posted by Gijsmin (Spot-host.co.uk)
Quote:
|