SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/03/2018, 07:20 AM   #11
iLearner
Gangsta
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 649
Reputation: 133
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Gives love.

Excellent work.
iLearner is offline   Reply With Quote
Old 15/03/2018, 07:50 AM   #12
X337
Gangsta
 
Join Date: Sep 2014
Location: Indonesia
Posts: 879
Reputation: 287
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

awesome, thank you
__________________
viva la sa-mp
X337 is offline   Reply With Quote
Old 15/03/2018, 09:04 AM   #13
Zeth
Gangsta
 
Zeth's Avatar
 
Join Date: Feb 2017
Location: Titan
Posts: 503
Reputation: 114
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Quote:
Originally Posted by Kaperstone View Post
why is it `sampctl package install` and not just `sampctl install` why did add that "package" as second parameter, its so long.
Thats because sampctl can also manage server, thats why there is pawn.json and samp.json.
You can use sampctl package --verbose to know about it.



Been using it for months and its amazing, i was waiting for it to be released here.
-discord squad
__________________
server.one-rp.com
Zeth is offline   Reply With Quote
Old 15/03/2018, 10:27 AM   #14
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,953
Reputation: 1548
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Thanks for all the kind words everyone!

Quote:
Originally Posted by xXitsgodzillaXx View Post
Absolutely beautiful! +REP

Edit: I'm having problems installing/running? I run it and the command prompt comes up and closes and that's it?
It sounds like you're double clicking it - command line applications arem't invoked by clicking but via a command line shell such as PowerShell, Command Prompt or Bash (on linux). What you want to do is install it globally via the installer wizard then open up either vscode's terminal (what I use in the screenshots) or PowerShell/Cmd and run the app from there by typing "sampctl" followed by whatever subcommands.

Quote:
Originally Posted by Kaperstone View Post
why is it `sampctl package install` and not just `sampctl install` why did add that "package" as second parameter, its so long.


?what?xddddd
You can use `p` and `s` as shorthand, or if you're using Bash or Git-Bash on Windows, you can install the auto-complete package so you can press Tab to complete commands - install this with `sampctl completion`.
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 15/03/2018, 10:58 AM   #15
BigETI
High-roller
 
BigETI's Avatar
 
Join Date: Mar 2010
Location: Germany
Posts: 1,005
Reputation: 323
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

sampctl is a great tool for server developers. For example SAMPLauncherNET uses this for its developer tools for quick server testing.
BigETI is offline   Reply With Quote
Old 15/03/2018, 03:57 PM   #16
renatog
Huge Clucker
 
Join Date: Mar 2016
Posts: 341
Reputation: 48
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Quote:
Originally Posted by Kaperstone View Post
?what?xddddd
Hahah just a joke from the unofficial SA:MP discord.
renatog is offline   Reply With Quote
Old 15/03/2018, 04:11 PM   #17
Jensenn
Big Clucker
 
Jensenn's Avatar
 
Join Date: Apr 2014
Location: PAWN Coder
Posts: 102
Reputation: 4
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

great work
__________________

Jensenn is offline   Reply With Quote
Old 15/03/2018, 04:54 PM   #18
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,418
Reputation: 1240
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

It's not often we see a breakthrough in SAMP 5-stars from me.
Pottus is offline   Reply With Quote
Old 16/03/2018, 01:44 AM   #19
xXitsgodzillaXx
Huge Clucker
 
xXitsgodzillaXx's Avatar
 
Join Date: Sep 2011
Location: Cloud nine baby.
Posts: 408
Reputation: 13
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
It sounds like you're double clicking it - command line applications arem't invoked by clicking but via a command line shell such as PowerShell, Command Prompt or Bash (on linux). What you want to do is install it globally via the installer wizard then open up either vscode's terminal (what I use in the screenshots) or PowerShell/Cmd and run the app from there by typing "sampctl" followed by whatever subcommands.
So I figured it all out and whatnot, but for some reason it will build my gamemode script fine, but no others? I'm building it with

pawn Code:
sampctl p build GMname

But it says that it builds any other script just fine but there is nothing being compiled it seems.
__________________
Server is still currently in development and is being worked on everyday. So come join on in and see what progress I've made!

xXitsgodzillaXx is offline   Reply With Quote
Old 16/03/2018, 03:20 AM   #20
Zeth
Gangsta
 
Zeth's Avatar
 
Join Date: Feb 2017
Location: Titan
Posts: 503
Reputation: 114
Default Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Quote:
Originally Posted by xXitsgodzillaXx View Post
So I figured it all out and whatnot, but for some reason it will build my gamemode script fine, but no others? I'm building it with

pawn Code:
sampctl p build GMname

But it says that it builds any other script just fine but there is nothing being compiled it seems.
There maybe something wrong in your pawn.json.

use sampctl package build and make sure to include "entry" and "output" in your pawn.json/yaml, get some more information here https://github.com/Southclaws/sampct...ow-Builds-Work
__________________
server.one-rp.com

Last edited by Zeth; 16/03/2018 at 05:11 AM.
Zeth 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 04:09 PM
[AJUDA]Perdendo vital ao decorrer do tempo vitorpedro PortuguÍs/Portuguese 7 03/10/2011 03:55 PM
Server owner resources: client management tools kaisersouse Server Support 20 29/12/2009 09:58 PM


All times are GMT. The time now is 03:58 AM.


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