SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 28/08/2012, 05:49 PM   #51
JaTochNietDan
High-roller
 
JaTochNietDan's Avatar
 
Join Date: Apr 2007
Location: Republic of Ireland
Posts: 2,502
Reputation: 363
Default Re: [REL] Execute

Quote:
Originally Posted by DeathTone View Post
Is it possible to make a "dummy" windows plugin for this? Just so we won't get any errors while trying to run it on our PC, and not having to go back to your script and comment #include <exec> and the function.
I don't really know what you're asking, or what you are talking about.
__________________
Releases:
[Includes]: [jBan] | [jBanLite]
[Plugins]: [FileManager] | [Execute]
[Applications]: [Remote Administrator *NEW] | [Script King] | [RCON GUI]
JaTochNietDan is offline   Reply With Quote
Old 29/08/2012, 12:21 AM   #52
DeathTone
Big Clucker
 
Join Date: Dec 2010
Posts: 154
Reputation: 29
Default Re: [REL] Execute

Quote:
Originally Posted by JaTochNietDan View Post
I don't really know what you're asking, or what you are talking about.
When trying to run the server on windows, and we have #include <exec>

It will give us a runtime error, so is there any way to make it easier so we don't have to comment "#include <exec>" every time we are going to test the server on our windows PC?
DeathTone is offline   Reply With Quote
Old 29/08/2012, 06:47 AM   #53
Siralos
Big Clucker
 
Join Date: May 2011
Posts: 124
Reputation: 23
Default Respuesta: [REL] Execute

Is there any way to thread this plugin?
I'm trying to do a big operation with exec and the whole server is frozen until it finishes...

Thanks!
Siralos is offline   Reply With Quote
Old 29/08/2012, 08:37 AM   #54
Edvin
Gangsta
 
Edvin's Avatar
 
Join Date: Dec 2010
Posts: 856
Reputation: 71
Default Re: [REL] Execute

This is like a command processor or what?
Edvin is offline   Reply With Quote
Old 07/08/2014, 09:37 AM   #55
Siralos
Big Clucker
 
Join Date: May 2011
Posts: 124
Reputation: 23
Default Respuesta: [REL] Execute

Works like a charm with Python scripts
__________________
Siralos is offline   Reply With Quote
Old 08/08/2014, 07:26 AM   #56
Suxi
Big Clucker
 
Join Date: Jun 2013
Posts: 73
Reputation: 0
Default Re: [REL] Execute

How to do this on linux?
pawn Code:
new file2[256];
format(file2, 256, "pawno/pawncc.exe scriptfiles/%s.pwn",rec_name[p_rec_id[playerid]]), exec(file2);
Suxi is offline   Reply With Quote
Old 08/08/2014, 08:17 AM   #57
Siralos
Big Clucker
 
Join Date: May 2011
Posts: 124
Reputation: 23
Default Respuesta: Re: [REL] Execute

Quote:
Originally Posted by Suxi View Post
How to do this on linux?
pawn Code:
new file2[256];
format(file2, 256, "pawno/pawncc.exe scriptfiles/%s.pwn",rec_name[p_rec_id[playerid]]), exec(file2);
You have to use WINE.
http://dracoblue.net/dev/compile-sam...-exe-on-linux/
__________________
Siralos is offline   Reply With Quote
Old 08/08/2014, 05:38 PM   #58
Suxi
Big Clucker
 
Join Date: Jun 2013
Posts: 73
Reputation: 0
Default Re: [REL] Execute

and is there another way? D=
Suxi is offline   Reply With Quote
Old 08/08/2014, 06:33 PM   #59
iZN
High-roller
 
Join Date: Jun 2010
Posts: 2,369
Reputation: 569
Default Re: [REL] Execute

Why don't you just use edited pawn compiler by Zeex/xeeZ? He fixed several issues related to compiler bugs plus there's a Linux version aswell https://github.com/Zeex/pawn/releases
__________________
iZN is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samp linux server 03r5 doesn't run on 64 bits linux edelcat Server Support 2 08/09/2010 09:22 AM
Request to a Linux specialist:From Windows to Linux Thomas_Ahmey Help Archive 1 19/02/2010 11:37 AM
Mac vs PC... and Linux :D XPlatform Everything and Nothing 47 19/09/2009 03:57 AM
[IDEA] Shell printer StrickenKid Help Archive 4 08/07/2009 01:19 AM
0.2X - Linux ;] JonathanSmith General 7 01/01/2009 10:44 AM


All times are GMT. The time now is 11:07 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.