26.03.2009, 19:40
Hello again
I really wanted to do this since 2006 and never been enough experienced. but... Finally i did it! Got perfect idea and wrote.
It process text files (such as .txt) live to server, just like compilation but very simple.
You can put pawn lines such as SendRconCommand("gmx"); or print("lol"); in file you want process.
Also it has simple Object pickup and vehicles streamer by Luby.
And yes, it is very previous Aero Engine release.
Paste .inc file to include folder in pawno directory and open example.pwn file and edit by yourself.
Now you can use process rcon command to process new file into server.
example : process test.txt
It will NOT give you error messages because it will try to fix it.
Link to files : http://www.arf.yoyo.pl/files/Processor.rar
NEW VERSION! : http://www.arf.yoyo.pl/files/Processor2.rar
In new version :
* Added variables support!
* Added returns support!
* Added predefiniec variables support!
* Added comments support!
Now must run function with formatting variable for example
And then you can use 'playerid' variable in file
example :
or another example! :
in pwn file
and in file you process :
You see? Now you don't have to use format, you can just add strings, floats and integers without converting it!
Automatic error and warning correction
I hope you will enjoy it
In next (3rd) version I will add conditions support. I promise it will be soon
I really wanted to do this since 2006 and never been enough experienced. but... Finally i did it! Got perfect idea and wrote.
It process text files (such as .txt) live to server, just like compilation but very simple.
You can put pawn lines such as SendRconCommand("gmx"); or print("lol"); in file you want process.
Also it has simple Object pickup and vehicles streamer by Luby.
And yes, it is very previous Aero Engine release.
Paste .inc file to include folder in pawno directory and open example.pwn file and edit by yourself.
Now you can use process rcon command to process new file into server.
example : process test.txt
It will NOT give you error messages because it will try to fix it.
Link to files : http://www.arf.yoyo.pl/files/Processor.rar
NEW VERSION! : http://www.arf.yoyo.pl/files/Processor2.rar
In new version :
* Added variables support!
* Added returns support!
* Added predefiniec variables support!
* Added comments support!
Now must run function with formatting variable for example
Code:
new str[256]; format(str, 256, "playerid %d", playerid); Aero_ProcessFile("OnPlayerConnect", str);
example :
Code:
print(new player! id is playerid);
in pwn file
Code:
new str[256]; format(str, 256, "playername %s playerid %d", PlayerName(playerid), playerid); Aero_ProcessFile("OnPlayerConnect", str);
Code:
print(new player! nick is playername and id is playerid !);
Automatic error and warning correction
I hope you will enjoy it
In next (3rd) version I will add conditions support. I promise it will be soon