SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 12/09/2018, 02:28 AM   #41
Crystallize
Banned
 
Join Date: Aug 2013
Posts: 1,582
Reputation: 314
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Whoa! This is perfect.

You also got a 5 star rating from our master Pottus!
Crystallize is offline   Reply With Quote
Old 27/12/2018, 04:52 AM   #42
IdonTmiss
Big Clucker
 
Join Date: Dec 2016
Posts: 138
Reputation: 0
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Can't get build to work correctly even tho I set it up good?


When I run the build this come's out
PHP Code:
sampctl package build dev
INFO
Build dev successful with 0 problems 
pawn.json
PHP Code:
"name""dev",
"args": ["-d3""-;+""-(+""-Z+"],
"includes": ["dependencies/samp-stdlib"],
"constants": {
    
"MAX_PLAYERS""10"

EDIT: The "-d3" debug message isn't coming out, that's what I'm saying
IdonTmiss is offline   Reply With Quote
Old 27/12/2018, 10:27 AM   #43
[HLF]Southclaw
Godfather
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 5,008
Reputation: 1578
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

That all looks fine it says the build was successful, is the .amx created?

The debug output is visible while running with `--verbose`.
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 27/12/2018, 11:23 AM   #44
IdonTmiss
Big Clucker
 
Join Date: Dec 2016
Posts: 138
Reputation: 0
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Quote:
Originally Posted by [HLF]Southclaw View Post
That all looks fine it says the build was successful, is the .amx created?

The debug output is visible while running with `--verbose`.
.amx is there but that "sampctl server init --verbose" just keeps creating samp.yaml(.json) file
IdonTmiss is offline   Reply With Quote
Old 27/12/2018, 08:58 PM   #45
[HLF]Southclaw
Godfather
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 5,008
Reputation: 1578
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

server commands are deprecated, package is what you want (my fault for communicating this badly, read this: https://github.com/Southclaws/sampct...n-To-pawn.json)

Server init was just for initialising a server anyway, thats not something you need to ever run multiple times (hence "init", short for "initialise").

If you're building a package, you can simply run it with `sampctl package run`.
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 27/12/2018, 11:18 PM   #46
IdonTmiss
Big Clucker
 
Join Date: Dec 2016
Posts: 138
Reputation: 0
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Quote:
Originally Posted by [HLF]Southclaw View Post
server commands are deprecated, package is what you want (my fault for communicating this badly, read this: https://github.com/Southclaws/sampct...n-To-pawn.json)

Server init was just for initialising a server anyway, thats not something you need to ever run multiple times (hence "init", short for "initialise").

If you're building a package, you can simply run it with `sampctl package run`.
Yeah I get most of that all tho I u just want the "-d3" message to appear with `sampctl package build`

Also I get this error with `sampctl package run`

PHP Code:
ERRORFailed to create scriptfiles symlinksymlink D:\filename\scriptfiles C:\Users\myName\.samp\runtime\0.3.7\scriptfilesA required privilege
is not held by the client
.
// I should have administrator privileges already 
IdonTmiss is offline   Reply With Quote
Old 27/12/2018, 11:33 PM   #47
[HLF]Southclaw
Godfather
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 5,008
Reputation: 1578
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Use `--verbose` to see that output.

That error is related to your permissions, sampctl doesn't have permission to create a symlink.

If you're working on a gamemode, set `local` to true so it doesn't need to use the temporary runtime environment. More info: https://github.com/Southclaws/sampct...eference#local
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 28/12/2018, 12:18 AM   #48
Manyula
Huge Clucker
 
Manyula's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 286
Reputation: 47
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Quote:
Originally Posted by [HLF]Southclaw View Post
server commands are deprecated [...]
Wouldn't it be easier to just remove those deprecated commands?
__________________
Manyula is offline   Reply With Quote
Old 28/12/2018, 02:13 AM   #49
IdonTmiss
Big Clucker
 
Join Date: Dec 2016
Posts: 138
Reputation: 0
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Quote:
Originally Posted by [HLF]Southclaw View Post
Use `--verbose` to see that output.

That error is related to your permissions, sampctl doesn't have permission to create a symlink.

If you're working on a gamemode, set `local` to true so it doesn't need to use the temporary runtime environment. More info: https://github.com/Southclaws/sampct...eference#local
Thanks for all the help but Sublime 3 is still better than vscode for me
IdonTmiss is offline   Reply With Quote
Old 28/12/2018, 10:50 PM   #50
Manyula
Huge Clucker
 
Manyula's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 286
Reputation: 47
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

I couldn't compile any scripts anymore due to this error:

Code:
failed to compile package entry: exit status 3221225781
According to this issue, this error occures if any .dll's are missing.

1. I downloaded the server binaries from the sa-mp page and manually added the libpawn.dll file to the C:\Users\<User>\.samp\pawn\3.10.4 directory since that what you suggested in the issue mentioned above. That didn't work.

2. I removed everything related to sampctl and did a fresh install. Here's what I got.
Code:
$ sampctl package build
updating compiler list...
INFO: Downloading compiler package v3.10.4
failed to compile package entry: exit status 3221225781
Am I missing something?
__________________
Manyula is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] Developer's swiss knife therainycat Tools and Files 29 18/09/2015 05:09 PM
[AJUDA]Perdendo vital ao decorrer do tempo vitorpedro PortuguÍs/Portuguese 7 03/10/2011 04:55 PM
Server owner resources: client management tools kaisersouse Server Support 20 29/12/2009 10:58 PM


All times are GMT. The time now is 05:18 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.