[INC+FS] Aero File Processor by Luby * Updated!
#1

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

Code:
new str[256];
format(str, 256, "playerid %d", playerid);
Aero_ProcessFile("OnPlayerConnect", str);
And then you can use 'playerid' variable in file
example :
Code:
print(new player! id is playerid);
or another example! :
in pwn file
Code:
new str[256];
format(str, 256, "playername %s playerid %d", PlayerName(playerid), playerid);
Aero_ProcessFile("OnPlayerConnect", str);
and in file you process :
Code:
print(new player! nick is playername and id is playerid !);
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
Reply
#2

what does this do? i am baffled, i am stuck, i am puzzled, have no idea what this should do...
Reply
#3

It allows you to load a text file containing Pawn functions, Nice Idea
Reply
#4

Quote:
Originally Posted by JeNkStAX
It allows you to load a text file containing Pawn functions, Nice Idea
I dont get it
Reply
#5

Quote:
Originally Posted by propilot
Quote:
Originally Posted by JeNkStAX
It allows you to load a text file containing Pawn functions, Nice Idea
I dont get it
You can create file named lol.txt in scriptfiles and put there your vehicles and other pawn functions
for example
Code:
print("hello world!");
printf("hello %d mutha!", 0);
AddStaticVehicle(592,1635.0134,-2451.3809,14.7485,215.1346,1,1); //
and then /rcon process lol.txt
it will execute this file
Reply
#6

do you do the command ingame?
Reply
#7

Quote:
Originally Posted by Shadow - Emerald RP
do you do the command ingame?
You can type it ingame and in console
and make script which will run it.
Reply
#8

New version released! Check first post!
Reply
#9

link is dead but if it works it would be nice
Reply
#10

Quote:
Originally Posted by Luby
New version released! Check first post!
well done at making this, i now understand it,
but
we might aswell just make a FS and use that.
i can see why you done it, but there is no need for it.
good work

bye
P.S make this so we can do better stuff like load map files from it. like .ipl files like normal gta.
Reply
#11

Quote:
Originally Posted by darkrider366
Quote:
Originally Posted by Luby
New version released! Check first post!
well done at making this, i now understand it,
but
we might aswell just make a FS and use that.
i can see why you done it, but there is no need for it.
good work

bye
P.S make this so we can do better stuff like load map files from it. like .ipl files like normal gta.
I have done it because I want to get experience and it was my dream since I started programming.
I will develop it to the moment you can paste pwn file into txt and run it (live compiler).
Reply
#12

Good idea but like darkrider said, we could just make an FS. Good job achieving your dream though!
Reply
#13

Quote:
Originally Posted by Luby
Quote:
Originally Posted by darkrider366
Quote:
Originally Posted by Luby
New version released! Check first post!
well done at making this, i now understand it,
but
we might aswell just make a FS and use that.
i can see why you done it, but there is no need for it.
good work

bye
P.S make this so we can do better stuff like load map files from it. like .ipl files like normal gta.
I have done it because I want to get experience and it was my dream since I started programming.
I will develop it to the moment you can paste pwn file into txt and run it (live compiler).
its a great idea. just not my cuppa tea catch my flow?? lol,
its a great script, nice code. you are a good scripter.
make a RPG server then you will get lots of experience.

EDIT: Also, download a RP script, not GF its shit, old, boring, too many ppl have it, not good for starters. get a script like
citywide roleplay. thats good. Then look at the script and what each part does. lol
Reply
#14

I will not make RP mode. I hate RP, GTA was created to shoot, kill, drive not to play RP!
Reply
#15

Quote:
Originally Posted by Luby
I will not make RP mode. I hate RP, GTA was created to shoot, kill, drive not to play RP!
actually for this reason any scripter must make 2 servers: RP for booring play and DM for killing fuckn assholes xD
Reply
#16

yep nice idea
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)