• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] sampctl again
#1
Sorry for asking for help again, feeling like a noob, but this is my first time using this package manager,

i've managed to compile the script, i guess everything from plugins to includes is as it is supposed to be, but now when I try to start the server using



sampctl server run



I get



ERROR: failed to interpret directory as Pawn package: failed to unmarshal samp.json: json: cannot unmarshal string into Go struct field Runtime.output of type bool



Same if I try to ensure, this is samp.json



Code:
{

"rcon_password": "hidden",

"port": 7777,

"hostname": "Balkan Underground",

"maxplayers": 32,

"entry": "balkan-underground.pwn",

"output": "balkan-underground.amx"

}
  Reply
#2
Hi, you seem to be using an deprecated system.



We are trying to phrase this out, as it's old and the new system works better. You can use this method still but,

you might have problems in the future when we decided to remove it entirely.



You should use `pawn.json` for everything and use `sampctl package run` instead of `sampctl server run`



Code:
{

? ?"entry": "balkan-underground.pwn",

? ?"output": "balkan-underground.amx"

? ?"local": true,

? ?"dependencies": [],

? ?"builds": [],

? ?"runtime": {

? ? ? ?"rcon_password": "hidden",

? ? ? ?"hostname": "Balkan Underground", ? ? ?

? ?},

? ?"runtimes": [

? ? ? ?{

? ? ? ? ? ?"name": "development",

? ? ? ? ? ?"port": 8888,

? ? ? ? ? ?"maxplayers": 10 ? ? ? ? ? ? ?

? ? ? ?},

? ? ? ?{

? ? ? ? ? ?"name": "production",

? ? ? ? ? ?"port": 7777,

? ? ? ? ? ?"maxplayers": 32 ?

? ? ? ?}

? ?]

}
Remember to always refer to J0sh as `J0sh...`



@ Networks/Servers

San Andreas Gaming Network (Owner/Founder)

San Andreas Gaming (Owner/Founder)

Grand Theft Cop's n Robber's (Owner)

Britannia Roleplay (Owner/Founder) [Retired]

Alpine RP (Owner/Founder)

Aluminium Network (Maintainer) [Disbanded]

AlphaDM (Tech Support) [Disbanded]



# Services

forum.open.mp (Forum Manager) (Formerly Burgershot.gg

open.mp (Member)



~ Languages/Frameworks

Pawn, C, C, C#, Javascript, Typescript, Lua, Python, Go, Rust, PHP, SQL,

Angular, React, Vue, Svelte, Laravel, Rocket
  Reply
#3
Thanks, tried it with sampctl package run and it works, but now I'm getting some errors thrown which I have never seen, can't seem to get this thing running ... :/



Code:
[00:20:28] [debug] Server crashed due to an unknown error

[00:20:28] [debug] Native backtrace:

[00:20:28] [debug] #0 f67638b6 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so

[00:20:28] [debug] #1 f675b120 in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so

[00:20:28] [debug] #2 f675b886 in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so

[00:20:28] [debug] #3 f675bf96 in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () in plugins/crashdetect.so

[00:20:28] [debug] #4 f6762f82 in ?? () in plugins/crashdetect.so

[00:20:28] [debug] #5 f7f44010 in ?? ()

[00:20:28] [debug] #6 091b1ffd in ?? ()

[00:20:28] [debug] #7 f639d062 in ?? () in plugins/streamer.so

[00:20:28] [debug] #8 0809b463 in ?? () in samp03svr

[00:20:28] [debug] #9 080a4f1b in ?? () in samp03svr

[00:20:28] [debug] #10 080ab922 in ?? () in samp03svr

[00:20:28] [debug] #11 080aa0fd in ?? () in samp03svr

[00:20:28] [debug] #12 f7b76637 in __libc_start_main () in /lib/i386-linux-gnu/libc.so.6

[00:20:28] [debug] Registers:

[00:20:28] [debug] EAX: 091b1ff8 EBX: f642f7d4 ECX: 093164a8 EDX: ffffffff

[00:20:28] [debug] ESI: 08158ac0 EDI: f64191dd EBP: ffd18008 ESP: ffd18000

[00:20:28] [debug] EIP: 091b1ffd EFLAGS: 00010246

[00:20:28] [debug] Stack:

[00:20:28] [debug] ESP퍍㓓䴴: 08158ac0 f64191dd ffd18048 f639d062

[00:20:28] [debug] ESP퍍㓓䶴: 0081cdb0 000026a8 013467c8 007b0bb4

[00:20:28] [debug] ESP퍍㓓临: 081ab7e0 00000002 ffd18068 0809b463

[00:20:28] [debug] ESP퍍㓓亴: 081ab7e0 00000002 ffd18098 080a4f1b

[00:20:28] [debug] ESP퍍㓓伴: 0815a028 00000000 00000400 091bc1b8

[00:20:28] [debug] ESP퍍㓓䚴: 093164a8 081cb540 ffd180b8 091bc1b8

[00:20:28] [debug] ESP퍍㓓䜴: 091bc1b8 00000001 00000006 08159dcd

[00:20:28] [debug] ESP퍍㓓䞴: ffd180f8 f7e96f96 f7efa000 f7e62a93

[00:20:28] [debug] ESP퍍㓓崴: 00010001 00001e61 00000032 01e62bfb

[00:20:28] [debug] ESP퍍㓓嶴: f7efa000 f7efb660 f7efb7a0 f7e0814c

[00:20:28] [debug] ESP퍍㓓帴: f7f69000 080494b0 f7efb844 f7d10e00

[00:20:28] [debug] ESP퍍㓓庴: 00000000 00000000 00000000 00000000

[00:20:28] [debug] ESP퍍㓓弴: 00000000 00000000 00000000 00000000

[00:20:28] [debug] ESP퍍㓓嚴: 00000000 00000000 00000000 00000000

[00:20:28] [debug] ESP퍍㓓圴: 00000000 00000000 00000000 00000000

[00:20:28] [debug] ESP퍍㓓垴: f7d103dc 08048b10 0815072b 00000000

[00:20:28] [debug] ESP퍍㓓洴: 00000001 ffd18294 ffd1829c 00000000

[00:20:28] [debug] ESP퍍㓓涴: f7f69000 00000000 f7d10000 f7d10000

[00:20:28] [debug] ESP퍍㓓渴: 00000000 00000000 00000001 0804b4c0

[00:20:28] [debug] ESP퍍㓓溴: 00000001 0804b4c0 00000000 0804b4e1

[00:20:28] [debug] ESP퍍㓓漴: 08150710 f7f54880 ffd1828c f7f69918

[00:20:28] [debug] ESP퍍㓓暴: ffd19127 ffd1913c ffd19153 ffd19165

[00:20:28] [debug] ESP퍍㓓朴: ffd19223 ffd19237 ffd19248 ffd1925f

[00:20:28] [debug] ESP퍍㓓枴: ffd192dd ffd19321 ffd19338 ffd19365

[00:20:28] [debug] ESP퍍㓓紴: ffd1996d ffd19987 ffd199bb ffd199e4

[00:20:28] [debug] ESP퍍㓓綴: ffd19b3b ffd19b4d ffd19b6e ffd19b8c

[00:20:28] [debug] ESP퍍㓓縴: ffd19c0c ffd19c1d ffd19c2c ffd19c62

[00:20:28] [debug] ESP퍍㓓纴: ffd19cd8 ffd19cf7 ffd19cff ffd19d1f

[00:20:28] [debug] ESP퍍㓓缴: ffd19d9b ffd19db6 ffd19dd3 ffd19ded

[00:20:28] [debug] ESP퍍㓓皴: ffd19ec9 ffd19edc ffd19efb ffd19f06

[00:20:28] [debug] ESP퍍㓓眴: ffd19f7d ffd19faf 00000000 00000020

[00:20:28] [debug] ESP퍍㓓瞴: bfebfbff 00000006 00001000 00000011

[00:20:28] [debug] Loaded modules:

[00:20:28] [debug] 00000000 - 00187f43 samp03svr

[00:20:28] [debug] f7f43000 - f7f441e6

[00:20:28] [debug] f7f1b000 - f7f1da04 /lib/i386-linux-gnu/libdl.so.2

[00:20:28] [debug] f7efe000 - f7f196ef /lib/i386-linux-gnu/libpthread.so.0

[00:20:28] [debug] f7d87000 - f7f07b4b /usr/lib/i386-linux-gnu/libstdc.so.6

[00:20:28] [debug] f7d32000 - f7d86010 /lib/i386-linux-gnu/libm.so.6

[00:20:28] [debug] f7d15000 - f7d311e4 /lib/i386-linux-gnu/libgcc_s.so.1

[00:20:28] [debug] f7b5e000 - f7d1ab6b /lib/i386-linux-gnu/libc.so.6

[00:20:28] [debug] f7f45000 - f7f689c4 /lib/ld-linux.so.2

[00:20:28] [debug] f77cb000 - f7b60eb2 plugins/mysql.so

[00:20:28] [debug] f77a7000 - f77cad32 /home/hidden/Cadilab/BU/plugins/../log-core.so

[00:20:28] [debug] f779e000 - f77a5714 /lib/i386-linux-gnu/librt.so.1

[00:20:28] [debug] f6789000 - f679a2ec /lib/i386-linux-gnu/libnss_files.so.2

[00:20:28] [debug] f6744000 - f67883ac plugins/crashdetect.so

[00:20:28] [debug] f7f2e000 - f7f3d9b4 plugins/sscanf.so

[00:20:28] [debug] f651b000 - f6602b50 plugins/pawncmd.so

[00:20:28] [debug] f7f28000 - f7f2beec plugins/mapandreas.so

[00:20:28] [debug] f6432000 - f651e778 plugins/pawnregex.so

[00:20:28] [debug] f635c000 - f64327f0 plugins/streamer.so
  Reply
#4
I'm not entirely sure but it's possible this is caused by either the streamer plugin or map andreas.



We are going to need more details about your setup, before we can make a more accurate pinpoint on the problem.



Could you please follow this format: https://www.burgershot.gg/showthread.php?tid=609
Remember to always refer to J0sh as `J0sh...`



@ Networks/Servers

San Andreas Gaming Network (Owner/Founder)

San Andreas Gaming (Owner/Founder)

Grand Theft Cop's n Robber's (Owner)

Britannia Roleplay (Owner/Founder) [Retired]

Alpine RP (Owner/Founder)

Aluminium Network (Maintainer) [Disbanded]

AlphaDM (Tech Support) [Disbanded]



# Services

forum.open.mp (Forum Manager) (Formerly Burgershot.gg

open.mp (Member)



~ Languages/Frameworks

Pawn, C, C, C#, Javascript, Typescript, Lua, Python, Go, Rust, PHP, SQL,

Angular, React, Vue, Svelte, Laravel, Rocket
  Reply


Forum Jump: