famnero.blogg.se

Assaultcube admin commands
Assaultcube admin commands











assaultcube admin commands
  1. Assaultcube admin commands how to#
  2. Assaultcube admin commands full#
  3. Assaultcube admin commands password#

Assaultcube admin commands how to#

You can learn how to use threads in your application here.Īnd as a side-note: that is probably not what you want to create a loop spinning code every cycle. So, what you actually need in your code is to inform the operating system to put the execution of each one of those "inner while(true)" loops inside a thread other than the main one and leaving the main thread to execute only code that can sequentially be executed. When you don't deal with threads directly in your code, the compiler will automatically asks the operating system to create a thread to run your code at - this is usually referred to as the main thread. You can think of a thread as an isolated machine where every code is executed. The other part you need to know is what is a thread. What I described is how instructions are executed. Therefore when the execution reaches one of these while(true) loops it will be trapped inside them looping its embedded statements forever. If you put another while loop inside the "outer one", and say it will not have an exit condition (by declaring while(true) you are creating a loop that will never stop executing its embedded statements). When you create the "outer while loop" (as you called), everything inside the loop will execute 1 instruction at a time following the order they are written and when the last instruction inside the loop is executed, the execution will jump back to the first line of code inside the loop. For example the line if (answer = "1") will only executed when the line before it (that is answer = Console.ReadLine() ) completes its execution. Each instruction in your code is executing one after the other (superficially thinking - this might not be exactly true at assembly execution level but you get the idea). Think about what is happening in your code.

  • The function activates and loops, but does not show opening text and disallows my to type further.
  • I enter the corresponding digit to activate the function.
  • The function that was activated loops, and original text appears which allows me to navigate to another function.
  • I enter the corresponding digit to activate the function.
  • Vam.WriteInt32((IntPtr)address2, 6969) //value to loop. Vam.WriteInt32((IntPtr)address1, 6969) //value to loop.Ĭonsole.WriteLine("Infinite Armor Enabled") while (true) //outer loopĬonsole.WriteLine("-SlavScripts v2.0-") It may not be because they don't work, it may just be me using them wrong.

    assaultcube admin commands

    I tried Booleans, Breaks, Returns.īut nothing I have tried has fixed my problem. I would like multiple inner loops to run along with the outer one. The inner while loops are there to loop the function but it stops the outer while loop. I have one outer while loop with multiple loops inside. Without the inner while loops, it just changes the values, I would like them to loop. The program I am trying to make changes values in the game (Assault Cube). atools_server IP PORT - add a server to the last added server group, or set description if it already exists.I'm pretty new to C# and coding in general so it is hard for me to explain.

    Assaultcube admin commands password#

  • atools_group NAME - add a server group, or set password if it already exists.
  • assaultcube admin commands

    withadmin COMMAND - execute a command as admin.findcnbyip - get client number by (partial) IP.

    Assaultcube admin commands full#

    awhoare - list full IPs of all players.whoare - list IPs of all players without claiming admin.akick CN REASON - instant kick by client number.abanip IP - instant ban by (partial) IP.aban CN - instant ban by client number.It may be easier to use top-level Add current server menu that automatically fills in IP and port from current server.Īlternatively, put atools_group and atools_server commands after exec config/atools.cfg in autoexec.cfg, see below. Each group has a sub menu where you can add server information. Inside Manage server groups menu you can add new server groups or edit in passwords for predefined ones (w00p, frag.gq, etc.). To do that, it organizes servers into groups that share same password. The script needs to know which admin passwords to use on which servers. Admin tools for AssaultCube (v0.5.0) Installationĭownload atools.cfg and put it into config/ directory and add exec config/atools.cfg to autoexec.cfg.













    Assaultcube admin commands