Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 6,851
» Latest member: gball31
» Forum threads: 2,308
» Forum posts: 12,161
Full Statistics
|
Online Users |
There are currently 495 online users. » 0 Member(s) | 493 Guest(s) Bing, Google
|
Latest Threads |
Runtime error when connec...
Forum: Support
Last Post: gball31
5 hours ago
» Replies: 0
» Views: 7
|
Website too damn slow!
Forum: Questions and Suggestions
Last Post: GasmoN
6 hours ago
» Replies: 0
» Views: 8
|
Discordia - PvP & PvE (Pl...
Forum: Gamemodes
Last Post: hunderinghygi
Today, 01:37 AM
» Replies: 1
» Views: 1,566
|
[ENG] Secret Zombie Room ...
Forum: Advertisements
Last Post: Ruckus
2025-02-16, 07:15 PM
» Replies: 0
» Views: 28
|
[USL]'s ANYWORLD FREEROAM
Forum: Advertisements
Last Post: DarkZero
2025-02-16, 02:27 PM
» Replies: 0
» Views: 26
|
Motion styles | samp-walk...
Forum: Libraries
Last Post: swuffted
2025-02-15, 05:31 PM
» Replies: 1
» Views: 2,501
|
What city of the country ...
Forum: Chat
Last Post: HyperZ
2025-02-14, 11:26 AM
» Replies: 91
» Views: 140,485
|
Map Markers new
Forum: Pawn Scripting
Last Post: swuffted
2025-02-13, 09:41 PM
» Replies: 1
» Views: 75
|
Map Markers new
Forum: Filterscripts
Last Post: swuffted
2025-02-13, 08:36 PM
» Replies: 0
» Views: 191
|
Zombies VS Humans [ZA;TDM...
Forum: Advertisements
Last Post: MoD
2025-02-13, 07:01 PM
» Replies: 0
» Views: 53
|
|
|
Server crash OnPlayerConnect |
Posted by: Sauron - 2019-07-25, 01:45 PM - Forum: Support
- Replies (2)
|
 |
Hello everyone!
I compiled the Col-Andreas Plugin yesterday. I needed to install some packages as cmake gave me an error. I used the readme.md file of ColAndreas to fix the missing packages. Before that, I did apt-get update. I guess it caused my problems now.
I use Debian Stretch as OS. I also got the crashdetect log and the term.log & the history.log of apt, dpkg.log. If you're able to help me, I would really appreciate it! I also have another question: Is there anywhere a good tutorial about crashdetect?
Maybe I only need to update a plugin. I'm not sure about that. If the server has a password, then it works but if not, then the server crashs OnPlayerConnect.
EDIT: It's not the script. I tried the default samp server files. The same problem happened!
Logs:
Code: //history.log
Start-Date: 2019-07-25 ?03:06:08
Commandline: apt-get install libbulletcollision2.82:i386 libbulletdynamics2.82:i386 liblinearmath2.82:i386 libbulletsoftbody2.82:i386
Install: libbulletsoftbody2.82:i386 (2.82-r2704痻2), libc6:i386 (2.24-11痦ﶻ, automatic), gcc-6-base:i386 (6.3.0-18痦ﶻ, automatic), libbulletdynamics2.82:i386 (2.82-r2704痻2), libgcc1:i386 (1:6.3.0-18痦ﶻ, automatic), $
End-Date: 2019-07-25 ?03:06:09
//term.log
Log started: 2019-07-25 ?03:06:08
Vormals nicht ausgew?hltes Paket gcc-6-base:i386 wird gew?hlt.
(Lese Datenbank ... ^M(Lese Datenbank ... 5%^M(Lese Datenbank ... 10%^M(Lese Datenbank ... 15%^M(Lese Datenbank ... 20%^M(Lese Datenbank ... 25%^M(Lese Datenbank ... 30%^M(Lese Datenbank ... 35%^M(Lese Datenbank ... 40%^M(Lese Datenbank$
Vorbereitung zum Entpacken von .../0-gcc-6-base_6.3.0-18痦ﶻ_i386.deb ...
Entpacken von gcc-6-base:i386 (6.3.0-18痦ﶻ) ...
Vormals nicht ausgew?hltes Paket libgcc1:i386 wird gew?hlt.
Vorbereitung zum Entpacken von .../1-libgcc1_1%3a6.3.0-18痦ﶻ_i386.deb ...
Entpacken von libgcc1:i386 (1:6.3.0-18痦ﶻ) ...
Vormals nicht ausgew?hltes Paket libc6:i386 wird gew?hlt.
Vorbereitung zum Entpacken von .../2-libc6_2.24-11痦ﶻ_i386.deb ...
Entpacken von libc6:i386 (2.24-11痦ﶻ) ...
Ersetzen der Dateien im alten Paket libc6-i386 (2.24-11痦ﶻ) ...
Vormals nicht ausgew?hltes Paket libstdc:i386 wird gew?hlt.
Vorbereitung zum Entpacken von .../3-libstdc_6.3.0-18痦ﶻ_i386.deb ...
Entpacken von libstdc:i386 (6.3.0-18痦ﶻ) ...
Vormals nicht ausgew?hltes Paket liblinearmath2.82:i386 wird gew?hlt.
Vorbereitung zum Entpacken von .../4-liblinearmath2.82_2.82-r2704痻2_i386.deb ...
Entpacken von liblinearmath2.82:i386 (2.82-r2704痻2) ...
Vormals nicht ausgew?hltes Paket libbulletcollision2.82:i386 wird gew?hlt.
Vorbereitung zum Entpacken von .../5-libbulletcollision2.82_2.82-r2704痻2_i386.deb ...
Entpacken von libbulletcollision2.82:i386 (2.82-r2704痻2) ...
Vormals nicht ausgew?hltes Paket libbulletdynamics2.82:i386 wird gew?hlt.
Vorbereitung zum Entpacken von .../6-libbulletdynamics2.82_2.82-r2704痻2_i386.deb ...
Entpacken von libbulletdynamics2.82:i386 (2.82-r2704痻2) ...
Vormals nicht ausgew?hltes Paket libbulletsoftbody2.82:i386 wird gew?hlt.
Vorbereitung zum Entpacken von .../7-libbulletsoftbody2.82_2.82-r2704痻2_i386.deb ...
Entpacken von libbulletsoftbody2.82:i386 (2.82-r2704痻2) ...
gcc-6-base:i386 (6.3.0-18痦ﶻ) wird eingerichtet ...
Trigger f?r libc-bin (2.24-11痦ﶻ) werden verarbeitet ...
libc6:i386 (2.24-11痦ﶻ) wird eingerichtet ...
libgcc1:i386 (1:6.3.0-18痦ﶻ) wird eingerichtet ...
//SERVER-lOG
[13:05:15] [connection] 41.104.51.197:24247 requests connection cookie. -> Crash directly!
[13:05:16] [debug] Server crashed due to an unknown error
[13:05:16] [debug] Native backtrace:
[13:05:16] [debug] #0 f73288b6 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so
[13:05:16] [debug] #1 f7320120 in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so
[13:05:16] [debug] #2 f7320886 in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so
[13:05:16] [debug] #3 f7320f96 in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () in plugins/crashdetect.so
[13:05:16] [debug] #4 f7327f82 in ?? () in plugins/crashdetect.so
[13:05:16] [debug] #5 f772acb0 in __kernel_rt_sigreturn () in linux-gate.so.1
[13:05:16] [debug] #6 097d5ffe in ?? ()
[13:05:16] [debug] #7 080aef02 in ?? () in ./samp03svr
[13:05:16] [debug] #8 080aa13a in ?? () in ./samp03svr
[13:05:16] [debug] #9 f7368286 in __libc_start_main () in /lib/i386-linux-gnu/libc.so.6
[13:05:16] [debug] Registers:
[13:05:16] [debug] EAX: 000000ff EBX: f6521000 ECX: f2e00ff8 EDX: f2e0100d
[13:05:16] [debug] ESI: f2e00ff8 EDI: 08159cf3 EBP: ff8283e8 ESP: ff828388
[13:05:16] [debug] EIP: 097d5ffe EFLAGS: 00010292
[13:05:16] [debug] Stack:
[13:05:16] [debug] ESP퍍㓓䴴: ff8283e8 f65194d8 f2e00ff8 00083e38
[13:05:16] [debug] ESP퍍㓓䶴: f772aadb 097daf00 08159b76 08159cf3
[13:05:16] [debug] ESP퍍㓓临: ff8283e8 080aed4f f2e00ff8 097daf00
[13:05:16] [debug] ESP퍍㓓亴: ff828418 080aef02 097daf00 00000000
[13:05:16] [debug] ESP퍍㓓伴: 00000000 004c4b40 097ceb78 000493e3
[13:05:16] [debug] ESP퍍㓓䚴: 00000006 08159d0d 00000000 00000000
[13:05:16] [debug] ESP퍍㓓䜴: f76f1000 f76587e3 f76f2570 f77415f0
[13:05:16] [debug] ESP퍍㓓䞴: 00000096 0165893b 656d6167 65646f6d
[13:05:16] [debug] ESP퍍㓓崴: f76f25a0 f75fe429 f76f2504 f76f21a0
[13:05:16] [debug] ESP퍍㓓嶴: f7504e00 081a1980 080aa260 00000000
[13:05:16] [debug] ESP퍍㓓帴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓庴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓弴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓嚴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓圴: 0815065b 00000000 00000001 f7504000
[13:05:16] [debug] ESP퍍㓓垴: ff8285fc 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓洴: 00000001 f7504000 00000000 7fcf12ab
[13:05:16] [debug] ESP퍍㓓涴: 00000001 0804b4c0 00000000 f77415f0
[13:05:16] [debug] ESP퍍㓓渴: 00000000 0804b4e1 080a9420 00000001
[13:05:16] [debug] ESP퍍㓓溴: ff8285ec f7750920 00000001 ff8288a5
[13:05:16] [debug] ESP퍍㓓漴: ff828eb0 ff828ec3 ff828ecc ff828ee8
[13:05:16] [debug] ESP퍍㓓暴: ff828f49 ff828f59 ff828f61 ff828f6d
[13:05:16] [debug] ESP퍍㓓朴: 00000020 f772ac80 00000021 f772a000
[13:05:16] [debug] ESP퍍㓓枴: 00000011 00000064 00000003 08048034
[13:05:16] [debug] ESP퍍㓓紴: 00000007 f772c000 00000008 00000000
[13:05:16] [debug] ESP퍍㓓綴: 0000000c 000003e8 0000000d 000003eb
[13:05:16] [debug] ESP퍍㓓縴: 00000019 ff8286eb 0000001f ff828fec
[13:05:16] [debug] ESP퍍㓓纴: ff000000 e952a5da b5aa3d62 347fca39
[13:05:16] [debug] ESP퍍㓓缴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓皴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓眴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] ESP퍍㓓瞴: 00000000 00000000 00000000 00000000
[13:05:16] [debug] Loaded modules:
[13:05:16] [debug] 00000000 - 00187dc3 samp03svr
[13:05:16] [debug] f772a000 - f772ae2e linux-gate.so.1
[13:05:16] [debug] f7712000 - f77149c4 /lib/i386-linux-gnu/libdl.so.2
[13:05:16] [debug] f76f5000 - f771075b /lib/i386-linux-gnu/libpthread.so.0
[13:05:16] [debug] f757b000 - f76febbf /usr/lib/i386-linux-gnu/libstdc.so.6
[13:05:16] [debug] f7526000 - f757a120 /lib/i386-linux-gnu/libm.so.6
[13:05:16] [debug] f7508000 - f7524354 /lib/i386-linux-gnu/libgcc_s.so.1
[13:05:16] [debug] f7350000 - f750e73b /lib/i386-linux-gnu/libc.so.6
[13:05:16] [debug] f772c000 - f775006c /lib/ld-linux.so.2
[13:05:16] [debug] f7309000 - f734d3ac plugins/crashdetect.so
[13:05:16] [debug] f6f65000 - f730dac7 plugins/mysql_static.so
[13:05:16] [debug] f6f5c000 - f6f6347c /lib/i386-linux-gnu/librt.so.1
[13:05:16] [debug] f6549000 - f655a0d0 /lib/i386-linux-gnu/libnss_files.so.2
[13:05:16] [debug] f6143000 - f620139a plugins/streamer.so
[13:05:16] [debug] f6539000 - f65481d4 plugins/sscanf.so
[13:05:16] [debug] f6514000 - f6536fc5 plugins/SKY.so
[13:05:16] [debug] f5fda000 - f614ba60 plugins/pawnregex.so
//dpkg.log
2019-07-25 03:06:08 startup archives unpack
2019-07-25 03:06:08 install gcc-6-base:i386 <keine> 6.3.0-18痦ﶻ
2019-07-25 03:06:08 status half-installed gcc-6-base:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:08 status unpacked gcc-6-base:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:08 status unpacked gcc-6-base:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:08 install libgcc1:i386 <keine> 1:6.3.0-18痦ﶻ
2019-07-25 03:06:08 status triggers-pending libc-bin:amd64 2.24-11痦ﶻ
2019-07-25 03:06:08 status half-installed libgcc1:i386 1:6.3.0-18痦ﶻ
2019-07-25 03:06:08 status unpacked libgcc1:i386 1:6.3.0-18痦ﶻ
2019-07-25 03:06:08 status unpacked libgcc1:i386 1:6.3.0-18痦ﶻ
2019-07-25 03:06:08 install libc6:i386 <keine> 2.24-11痦ﶻ
2019-07-25 03:06:08 status half-installed libc6:i386 2.24-11痦ﶻ
2019-07-25 03:06:08 status unpacked libc6:i386 2.24-11痦ﶻ
2019-07-25 03:06:08 status unpacked libc6:i386 2.24-11痦ﶻ
2019-07-25 03:06:09 install libstdc:i386 <keine> 6.3.0-18痦ﶻ
2019-07-25 03:06:09 status half-installed libstdc:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 status unpacked libstdc:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 status unpacked libstdc:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 install liblinearmath2.82:i386 <keine> 2.82-r2704痻2
2019-07-25 03:06:09 status half-installed liblinearmath2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked liblinearmath2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked liblinearmath2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 install libbulletcollision2.82:i386 <keine> 2.82-r2704痻2
2019-07-25 03:06:09 status half-installed libbulletcollision2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked libbulletcollision2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked libbulletcollision2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 install libbulletdynamics2.82:i386 <keine> 2.82-r2704痻2
2019-07-25 03:06:09 status half-installed libbulletdynamics2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked libbulletdynamics2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked libbulletdynamics2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 install libbulletsoftbody2.82:i386 <keine> 2.82-r2704痻2
2019-07-25 03:06:09 status half-installed libbulletsoftbody2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked libbulletsoftbody2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status unpacked libbulletsoftbody2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 startup packages configure
2019-07-25 03:06:09 configure gcc-6-base:i386 6.3.0-18痦ﶻ <keine>
2019-07-25 03:06:09 status unpacked gcc-6-base:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 status half-configured gcc-6-base:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 status installed gcc-6-base:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 trigproc libc-bin:amd64 2.24-11痦ﶻ <keine>
2019-07-25 03:06:09 status half-configured libc-bin:amd64 2.24-11痦ﶻ
2019-07-25 03:06:09 status installed libc-bin:amd64 2.24-11痦ﶻ
2019-07-25 03:06:09 configure libc6:i386 2.24-11痦ﶻ <keine>
2019-07-25 03:06:09 status triggers-pending libc-bin:amd64 2.24-11痦ﶻ
2019-07-25 03:06:09 status unpacked libc6:i386 2.24-11痦ﶻ
2019-07-25 03:06:09 status unpacked libc6:i386 2.24-11痦ﶻ
2019-07-25 03:06:09 status half-configured libc6:i386 2.24-11痦ﶻ
2019-07-25 03:06:09 status installed libc6:i386 2.24-11痦ﶻ
2019-07-25 03:06:09 configure libgcc1:i386 1:6.3.0-18痦ﶻ <keine>
2019-07-25 03:06:09 status unpacked libgcc1:i386 1:6.3.0-18痦ﶻ
2019-07-25 03:06:09 status half-configured libgcc1:i386 1:6.3.0-18痦ﶻ
2019-07-25 03:06:09 status installed libgcc1:i386 1:6.3.0-18痦ﶻ
2019-07-25 03:06:09 configure libstdc:i386 6.3.0-18痦ﶻ <keine>
2019-07-25 03:06:09 status unpacked libstdc:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 status half-configured libstdc:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 status installed libstdc:i386 6.3.0-18痦ﶻ
2019-07-25 03:06:09 configure liblinearmath2.82:i386 2.82-r2704痻2 <keine>
2019-07-25 03:06:09 status unpacked liblinearmath2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status half-configured liblinearmath2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status installed liblinearmath2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 configure libbulletcollision2.82:i386 2.82-r2704痻2 <keine>
2019-07-25 03:06:09 status unpacked libbulletcollision2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status half-configured libbulletcollision2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status installed libbulletcollision2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 configure libbulletdynamics2.82:i386 2.82-r2704痻2 <keine>
2019-07-25 03:06:09 status unpacked libbulletdynamics2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status half-configured libbulletdynamics2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status installed libbulletdynamics2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 configure libbulletsoftbody2.82:i386 2.82-r2704痻2 <keine>
2019-07-25 03:06:09 status unpacked libbulletsoftbody2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status half-configured libbulletsoftbody2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 status installed libbulletsoftbody2.82:i386 2.82-r2704痻2
2019-07-25 03:06:09 trigproc libc-bin:amd64 2.24-11痦ﶻ <keine>
2019-07-25 03:06:09 status half-configured libc-bin:amd64 2.24-11痦ﶻ
2019-07-25 03:06:09 status installed libc-bin:amd64 2.24-11痦ﶻ
|
|
|
y_hooks - multi level hooking problem |
Posted by: Luciano - 2019-07-24, 09:02 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
I have the following files:
Code: ====== gamemodes/mymode.pwn?======
#include <a_samp>
#include <YSI_Coding\y_hooks>
#include .\src\first.pwn
public OnGameModeInit()
{
? ??printf("mymode.pwn");
}
======?gamemodes/src/first.pwn?======
#include <YSI_Coding\y_hooks>
#include .\src\second.pwn
hook OnGameModeInit()
{
? ? printf("first.pwn");
}
======?gamemodes/src/second.pwn?======
#include <YSI_Coding\y_hooks>
hook OnGameModeInit()
{
? ? printf("second.pwn");
}
I'm getting this error:?Code: .\first.pwn(6) : error 021: symbol already defined: "@yH_OnGameModeInit@002"
Is it possible to use hooks like this and if yes, what is my mistake?
|
|
|
Swedish |
Posted by: fusez - 2019-07-23, 10:48 PM - Forum: Other
- Replies (1)
|
 |
This is the official Swedish thread
Say hej!
|
|
|
Pair of Island | Servidor de Rol |
Posted by: Kelu - 2019-07-21, 11:29 PM - Forum: Discusi?n GTA SA Multijugador
- Replies (2)
|
 |
El juego de rol viene con un objetivo definido desde el principio, el cual es brindar horas de juego y diversi?n a nuestros usuarios. Nos centraremos en un conjunto de islas ubicadas en el medio del oc?ano; totalmente desarrolladas desde cero.
Actualmente nos encontramos en la fase de "desarrollo" por as? decirlo, estamos avanzando a la medida del tiempo a la finalizaci?n del servidor. Su apoyo y seguimiento del proyecto es una gran motivaci?n a seguir con las ganas que tenemos para comenzar a divertirnos una vez el servidor se encuentra en l?nea.
El mapa consistir? en dos islas de diferentes magnitudes, islas peque?as con una sola exposici?n y sin intervenci?n del hombre, islas privadas, y muchas sorpresas m?s.
Las dos islas principales en los que se centran en el rol ser?n tan diferentes. Es una ciudad muy importante en nuestro servidor, consistir en una ciudad con mucha actividad por las noches, contando con m?ltiples casinos, discotecas, avenidas principales, festivales, entre muchas otras cosas. No me qued? solo con la noche, ni en la zona rural ni en la industrial, ni en los barrios de las diferentes clases sociales, ni en las estad?as ni en las cosas m?s que estamos registrados.
Por otro lado, tenemos la isla llamada Donek, en el cual se ha determinado el tama?o de una comparaci?n con los nombres anteriores, ser? una isla algo simple aunque tenga su toque original. Contar con lo necesario para que sus habitantes vivan c?modos y satisfechos.
Nuestro mapa se encuentra en el desarrollo, estoy trabajando todos los d?as en el mapa para tenerlo lo antes posible. Puedo asegurar que tenemos un 40% del mapa finalizado.
Algunas capturas del mapa echo hasta el momento
|
|
|
[ERROR] cache_set_active: invalid cache id '0' |
Posted by: Zow - 2019-07-18, 12:48 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Whatis going on to these code
Orginal code from:?https://github.com/pBlueG/SA-MP-MySQ...stem-cache.pwn
Code: [19:02:17] [ERROR] cache_set_active: invalid cache id '0'
[19:02:17] [ERROR] cache_get_value_name_int: no active cache
[19:02:17] [ERROR] cache_get_value_name_int: no active cache
[19:02:17] [ERROR] cache_get_value_name_int: no active cache
[19:02:17] [ERROR] cache_get_value_name_float: no active cache
[19:02:17] [ERROR] cache_get_value_name_float: no active cache
[19:02:17] [ERROR] cache_get_value_name_float: no active cache
[19:02:17] [ERROR] cache_get_value_name_float: no active cache
[19:02:17] [ERROR] cache_get_value_name_int: no active cache
[19:02:17] [ERROR] cache_get_value_name_int: no active cache
[19:02:17] [ERROR] cache_get_value_name_int: no active cache
[19:02:17] [ERROR] cache_delete: invalid cache id '0' ?
Code: ? ? ? ?case DIALOG_LOGIN:
? ? ? ?{
? ? ? ? ? ?if (!response) return Kick(playerid);
? ? ? ? ? ?new hashed_pass[65];
? ? ? ? ? ?SHA256_PassHash(inputtext, Player[playerid][Salt], hashed_pass, 65);
? ? ? ? ? ?if (strcmp(hashed_pass, Player[playerid][Password]) == 0)
? ? ? ? ? ?{
? ? ? ? ? ? ? ?// sets the specified cache as the active cache so we can retrieve the rest player data
? ? ? ? ? ? ? ?cache_set_active(Player[playerid][Cache_ID]);
? ? ? ? ? ? ? ?AssignPlayerData(playerid);
? ? ? ? ? ? ? ?// remove the active cache from memory and unsets the active cache as well
? ? ? ? ? ? ? ?cache_delete(Player[playerid][Cache_ID]);
? ? ? ? ? ? ? ?Player[playerid][Cache_ID] = MYSQL_INVALID_CACHE;
? ? ? ? ? ? ? ?KillTimer(Player[playerid][LoginTimer]);
? ? ? ? ? ? ? ?Player[playerid][LoginTimer] = 0;
? ? ? ? ? ? ? ?Player[playerid][IsLoggedIn] = true;
? ? ? ? ? ? ? ?TogglePlayerSpectating(playerid, false);
? ? ? ? ? ? ? ?// spawn the player to their last saved position after login
? ? ? ? ? ? ? ?SetSpawnInfo(playerid, NO_TEAM, DEFAULT_SKIN, Player[playerid][Pos_X], Player[playerid][Pos_Y], Player[playerid][Pos_Z], Player[playerid][Pos_A], 0, 0, 0, 0, 0, 0);
? ? ? ? ? ? ? ?SpawnPlayer(playerid);
? ? ? ? ? ?}
? ? ? ? ? ?else
? ? ? ? ? ?{
? ? ? ? ? ? ? ?Player[playerid][LoginAttempts];
? ? ? ? ? ? ? ?if (Player[playerid][LoginAttempts] >= 3)
? ? ? ? ? ? ? ?{
? ? ? ? ? ? ? ? ? ?ShowPlayerDialog(playerid, DIALOG_UNUSED, DIALOG_STYLE_MSGBOX, "[Login step]", "?س??????ʼ?ҹ?Դ?֧ 3 ?????, ?֧ⴹ?к?????͡?ҡ???????????", "?Դ", "");
? ? ? ? ? ? ? ? ? ?DelayedKick(playerid);
? ? ? ? ? ? ? ?}
? ? ? ? ? ? ? ?else ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "[Login step]", "???ʼ?ҹ????١??ͧ!\n**??س???????ʼ?ҹ????????????????!", "???????", "¡??ԡ");
? ? ? ? ? ?}
? ? ? ?}
AssignPlayerData(playerid)
{
? ?cache_get_value_int(0, "ID", Player[playerid][ID]);
? ?cache_get_value_int(0, "Kills", Player[playerid][Kills]);
? ?cache_get_value_int(0, "Deaths", Player[playerid][Deaths]);
? ?cache_get_value_float(0, "PosX", Player[playerid][Pos_X]);
? ?cache_get_value_float(0, "PosY", Player[playerid][Pos_Y]);
? ?cache_get_value_float(0, "PosZ", Player[playerid][Pos_Z]);
? ?cache_get_value_float(0, "PosA", Player[playerid][Pos_A]);
? ?
? ?cache_get_value_int(0, "Interior", Player[playerid][Interior]);
? ?cache_get_value_int(0, "Skin", Player[playerid][Skin]);
? ?cache_get_value_int(0, "Account", Player[playerid][Account]);
? ?return 1;
} ?
error spot after logged in every login
|
|
|
[easyMysql] error 001: expected token: "-string end-", but found "-identifier-" |
Posted by: Aerotactics - 2019-07-17, 06:20 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
I don't see what the issue is.
![[Image: 68edcdeeb1.png]](https://puu.sh/DTHGv/68edcdeeb1.png)
EDIT:
Code: 1116: handle = SQL::CreateTable(table, (isnull(column_where)) ? "InnoDB" : column_where, (isnull(column_where2)) ? "latin5" : column_where2, connectionHandle);
1780: format(SQL::upd_form, sizeof(SQL::upd_form), "%s int %s AUTO_INCREMENT,", field_name, (null == false) ? "NOT NULL" : "NULL");
1788: format(SQL::upd_form, sizeof(SQL::upd_form), "%s int %s PRIMARY KEY AUTO_INCREMENT,", field_name, (null == false) ? "NOT NULL" : "NULL");
|
|
|
Help |
Posted by: Xylosjr - 2019-07-17, 05:19 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi, I'm new here and I want to learn how to program with mysql and connect a database
|
|
|
|