[HELP] SQLite undefined symbol
#1

Hello guys,
so the problem is, when I compile the gamemode, it get this error:
Код:
error 017: undefined symbol "db_get_field_assoc_int"
I thought that SQLite functions are all in a_samp.inc so there is so need to install any plugins/includes, but why do I keep having this error?

The same problem occurs whenever I use these functions:
Код:
db_get_field_int(); 
db_get_field_float(); 
db_get_field_assoc_int(); 
db_get_field_assoc_float(); 
db_get_mem_handle(); 
db_get_result_mem_handle(); 
db_debug_openfiles(); 
db_debug_openresults();
What should I do or add to fix this?
Thanks in advance:
Reply
#2

Update your server package (including your includes).

https://sampforum.blast.hk/showthread.php?tid=581259

-----

SQLite functions are in a_sampdb.inc.
Reply
#3

update the server package.

Edit: crappy keyboard why couldn't type fast -_-
Reply
#4

Well, I'm pretty sure I have the latest samp server version,
even though I re-install it, it still gives me the same error;
Reply
#5

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
Well, I'm pretty sure I have the latest samp server version,
even though I re-install it, it still gives me the same error;
https://sampforum.blast.hk/showthread.php?tid=581259

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
SQLite stuff:
- The sqlite functions db_open and db_query now return indexes (starting at 1) instead of memory handles. That means the server tracks the memory handles internally and won't crash if invalid handles are used.
- Several extra sqlite db_* functions have been added. Please see the a_sampdb.inc for a full list.
- Adds %q to format(). %q is the same as %s although the input will first be passed through sqlite's string escaping function.
- Adds console variable 'db_logging'. Logs sqlite db_* function errors to the main server_log.
- Adds console variable 'db_log_queries'. Logs all sqlite db_query() calls including the query string.
Reply
#6

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
I have no clue whatsoever,
Reply
#7

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
I have no clue whatsoever,
Then clueless you may remain.

Update your files! Drag and drop the files you downloaded to your server directory, replace all.
Reply
#8

It's like the third time I'm downloading the server files and replacing them with my current ones, it still giving me that same error
Reply
#9

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
It's like the third time I'm downloading the server files and replacing them with my current ones, it still giving me that same error
are using same pawno ?( i mean updated one) check that too.
Reply
#10

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
are using same pawno ?( i mean updated one) check that too.
I use sublime text
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)