Step by step please :/ i want to make such commands like !login , !register , !aliases ect...
Printable View
Step by step please :/ i want to make such commands like !login , !register , !aliases ect...
You want to make or get?
Check Asynchronous Mysql
https://killtube.org/showthread.php?...ll=1#post13719
Add this as new gsc file into the mod folder and edit init variables at the beginning of the script.
Btw. Do you even have installed mysql?
https://killtube.org/showthread.php?...ead-this-first!
Focus on the last question.
I installed phpmyadmin & mysql whiskas :p
Whiskas i got a segmentation fault when starting the server ! how to fix it ? i tried to change bind line in /etc/init.d/my.cnf to localhost & my machine ip but i still get that problem..
Show me your init variables.
GUYS I JUST HAD A SEGFAULT OMFG HELP ME
Provide some info dude. Read how to ask for help. Learn some scripting. Learn how to debug your own problems.
This is what i got when i debuggedCode:Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb71327cb in mysql_options ()
from /usr/lib/i386-linux-gnu/libmysqlclient.so.18
(gdb) bt
#0 0xb71327cb in mysql_options ()
from /usr/lib/i386-linux-gnu/libmysqlclient.so.18
#1 0xb7740cb1 in gsc_mysql_real_connect () from libcod/bin/libcod2_1_0.so
#2 0x080806a0 in ?? ()
#3 0x080838ca in ?? ()
#4 0x080839eb in ?? ()
#5 0x08115eaf in ?? ()
#6 0x0810700e in ?? ()
#7 0x08090d12 in ?? ()
#8 0x08090dbf in ?? ()
#9 0x08091f94 in ?? ()
#10 0x0808ad5f in ?? ()
#11 0x08060724 in ?? ()
#12 0x0805fc79 in ?? ()
#13 0x0808b228 in ?? ()
#14 0x08060724 in ?? ()
#15 0x0805fdf5 in ?? ()
#16 0x0805fe07 in ?? ()
#17 0x08061ff1 in ?? ()
#18 0x08062038 in ?? ()
#19 0x080d2ace in ?? ()
#20 0xb7450a83 in __libc_start_main (main=0x80d2990, argc=24, argv=0xbf8f8014,
init=0x8049b90, fini=0x8139b50, rtld_fini=0xb7779180 <_dl_fini>,
Still only giving the output, not the input.
I think i fixed it ! I changed user & pass to my username & password and it's all good ! That was the problem , i don't get segfault anymore.. how do i know that mysql is running probably ?