Englisch Searching for a command processor.

17 Antworten
Gehe zu Seite
Zum Anfang Vorherige 1 Nächste Zum Anfang
Hoch
script favor
User
Offline Off
Hello us,
I'm searching for command processor and adding my own commands on , so you will do a big favor for me.

Here some cookies .
Visit my website : https://bounty-mafia.tk , Discord : https://discord.gg/ntNd6TX, IMG:http://i60.tinypic.com/5kixc8.gif
12.02.18 17:59:38
Hoch
Yates
Reviewer
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
commands = {}

function commands.help()
    msg("ayyy")
end

local command = "help"

func = loadstring("commands."..command.."()")
func()


That's all you need. Probably works, didn't test it.
12.02.18 18:06:37
Hoch
script favor
User
Offline Off
@user Yates: If you can add msg "unknown command" would be great as well, here cookies x2.Thank you
Visit my website : https://bounty-mafia.tk , Discord : https://discord.gg/ntNd6TX, IMG:http://i60.tinypic.com/5kixc8.gif
12.02.18 18:08:01
Hoch
Yates
Reviewer
Offline Off
Just copy lines 3 to 5 then rename
help
to whatever you want and change the local
command
parameter to the same thing.

Example:

Code:
1
2
3
4
5
6
7
8
9
10
commands = {}

function commands.thisisashittyfunction()
    msg("hey look at me")
end

local command = "thisisashittyfunction"

func = loadstring("commands."..command.."()")
func()
12.02.18 18:15:57
Hoch
script favor
User
Offline Off
Code:
1
LUA ERROR:20: attempt to call global 'func' (a nil value)


This acutally what shown
Visit my website : https://bounty-mafia.tk , Discord : https://discord.gg/ntNd6TX, IMG:http://i60.tinypic.com/5kixc8.gif
13.02.18 10:05:29
Hoch
Gaios
Security Supporter
Offline Off
@user script favor: You must programm it and add hooks.. There's no magic.
IMG:https://i.imgur.com/itOslkM.gif
This community is a meme.
13.02.18 13:48:48
Hoch
px20
GAME BANNED
Offline Off
@user script favor: Judging from your name, imo people doesn't need to write full explanation/code.
13.02.18 13:58:42
Hoch
script favor
User
Offline Off
close the thread ~
Visit my website : https://bounty-mafia.tk , Discord : https://discord.gg/ntNd6TX, IMG:http://i60.tinypic.com/5kixc8.gif
13.02.18 19:36:49
Hoch
Waldin
User
Offline Off
@user script favor: why lol the problem isnt solved right?
user Waldin (2014) hat geschrieben:
can be create 3D option for tiles on 3D
user DC (2014) hat geschrieben:
@user Waldin: This is a 2D game. there are no 3D tiles.
changelog (2017) hat geschrieben:
ADDED Experimental 3D rendering mode
14.02.18 21:42:05
Hoch
script favor
User
Offline Off
Cause everyone , posting shiet i'm just searching for a help !.
Visit my website : https://bounty-mafia.tk , Discord : https://discord.gg/ntNd6TX, IMG:http://i60.tinypic.com/5kixc8.gif
14.02.18 23:51:35
Hoch
px20
GAME BANNED
Offline Off
@user script favor: Didn't you realised that user Yates helped you?
15.02.18 02:24:16
Hoch
VADemon
User
Offline Off
@user px20: it's the worst way possible, enabling Remote Code Execution on server.
https://youtu.be/OlX8havmldo | thread cs2d 【東方】Bad Apple!! 【影絵】 in CS2D | Propaganda, Werbung für Waren (Reklame), Lehren und Ideen, besonders auf dem Gebiete der Politik, um Anhänger zu werben; z.B. Wahlpropaganda durch Versammlungen, Rundfunkreden, Plakate und Flugblätter
15.02.18 08:56:01
Hoch
Gaios
Security Supporter
Offline Off
If you can't use search engine, that's your fault..

file cs2d Y.A.T.E.S (2.0.4) - Admin Script / Framework (39)
IMG:https://i.imgur.com/itOslkM.gif
This community is a meme.
15.02.18 09:30:08
Hoch
Yates
Reviewer
Offline Off

Thanks!

https://github.com/IvaWonderbush/Y.A.T.E.S/tree/development

Development branch is better

@user script favor:

• Command execution line 41
• Say hook (with checks) line 299

Should get you far enough for your own implementation.

@user VADemon: It's fine as long as you don't do or allow anything to do any weird things
1× editiert, zuletzt 15.02.18 11:37:08
15.02.18 09:55:42
Hoch
script favor
User
Offline Off
I don't need admin script at the moment , i created my own so.
Visit my website : https://bounty-mafia.tk , Discord : https://discord.gg/ntNd6TX, IMG:http://i60.tinypic.com/5kixc8.gif
15.02.18 10:52:34
Hoch
Gaios
Security Supporter
Offline Off
user script favor hat geschrieben:
I'm searching for command processor and adding my own commands on , so you will do a big favor for me.

Command Processor = Admin Script..

This is your solution
> https://github.com/IvaWonderbush/Y.A.T.E.S/tree/development



Anyway file cs2d Competitive Admin Script (11) also has good Command Processor, but the script isn't well written.

Spoiler >
IMG:https://i.imgur.com/itOslkM.gif
This community is a meme.
15.02.18 11:39:15
Hoch
Yates
Reviewer
Offline Off
user script favor hat geschrieben:
I don't need admin script at the moment , i created my own so.

If you click on both links you'll see my implementation of processing commands, you can just copy parts of it to your own script. You don't need to use the whole thing if you don't want to.
15.02.18 12:33:24
Hoch
script favor
User
Offline Off
@user Yates: Wow that's so fabulous thank you !.
Visit my website : https://bounty-mafia.tk , Discord : https://discord.gg/ntNd6TX, IMG:http://i60.tinypic.com/5kixc8.gif
Zum Anfang Vorherige 1 Nächste Zum Anfang