SA-MP Forums Archive
PWN to AMX Compiler - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PWN to AMX Compiler (/showthread.php?tid=478746)



PWN to AMX Compiler - Deduction - 01.12.2013

Hey, so I was wondering, is it possible to compile a script with only using a website without needing to run an executable file. This is a question for more the very experienced scripters who know php, and coding with pawno.
My reason is because I am setting up a development team with about 10 people, and to prevent the script being leaked none of the scripters will have access to it on their own system. I am planning to protect the file by encryption on the website, and allowing access to it by a login, but I need to know whether or not I could allow the scripters to only view it on the site, and edit it on the site then compile it to an amx which is ready and they can download the amx.


Re: PWN to AMX Compiler - Pottus - 01.12.2013

I think the best person to answer your question would be Slice I will let him know to respond to your request here is what he did.

http://slice-vps.nl:7070/


Re: PWN to AMX Compiler - Kyosaur - 01.12.2013

Quote:
Originally Posted by Deduction
Посмотреть сообщение
Hey, so I was wondering, is it possible to compile a script with only using a website without needing to run an executable file. This is a question for more the very experienced scripters who know php, and coding with pawno.
My reason is because I am setting up a development team with about 10 people, and to prevent the script being leaked none of the scripters will have access to it on their own system. I am planning to protect the file by encryption on the website, and allowing access to it by a login, but I need to know whether or not I could allow the scripters to only view it on the site, and edit it on the site then compile it to an amx which is ready and they can download the amx.
Uhhhhh, what if they copy all the text?

Edit: I should have answered either way, I believe it is possible, yes with "exec". Check out the documentation here: http://us2.php.net/function.exec


Re: PWN to AMX Compiler - Deduction - 01.12.2013

Quote:
Originally Posted by Kyosaur
Посмотреть сообщение
Uhhhhh, what if they copy all the text?

Edit: I should have answered either way, I believe it is possible, yes with "exec". Check out the documentation here: http://us2.php.net/function.exec
I'm not that stupid, I will be doing something to secure that. Well the basic stuff like disable copying with right click with javascript, but that can be disabled by browsers. But I can also set it up so cannot copy either using java or something, but I will look into that afterwards. All I am focusing on is the main thing which is how to compile a script directly on a website which is ready to go onto a website.
Mainly thinking of a system so players don't overwrite someone else's work. Like the can set where they are editing in the script, similar to the ****** documents editor, where multiple people can access and edit the document. But I don't want people to download the document, or copy. And I want it to compile. Once I know how to compile, I can have it save to any file like 1-12-2013-18-00.amx Where the first part is the date and the second part is the time.


Re: PWN to AMX Compiler - Ballu Miaa - 01.12.2013

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
I think the best person to answer your question would be Slice I will let him know to respond to your request here is what he did.

http://slice-vps.nl:7070/
Damn i never knew Slice made an online Compiler for PAWN. Oh my god, thats classic. Thanks for sharing it.


Re: PWN to AMX Compiler - Kyosaur - 01.12.2013

Quote:
Originally Posted by Deduction
Посмотреть сообщение
I'm not that stupid, I will be doing something to secure that. Well the basic stuff like disable copying with right click with javascript, but that can be disabled by browsers. But I can also set it up so cannot copy either using java or something, but I will look into that afterwards. All I am focusing on is the main thing which is how to compile a script directly on a website which is ready to go onto a website.
Mainly thinking of a system so players don't overwrite someone else's work. Like the can set where they are editing in the script, similar to the ****** documents editor, where multiple people can access and edit the document. But I don't want people to download the document, or copy. And I want it to compile. Once I know how to compile, I can have it save to any file like 1-12-2013-18-00.amx Where the first part is the date and the second part is the time.
It would honestly be muuuuch easier if you cut your team down to those who you trust, and just use something like github. If you do not want to do that, and wish to build the system, good luck! Its a cool little project. Check out the documentation on exec I put in my edit above.