SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/06/2018, 09:38 AM   #31
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,439
Reputation: 102
Default Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by NaS View Post
Why don't you use a standalone webserver for that? There are super simple webservers and they will not interfere with your SAMP Server whatsoever. For what we know there could be exploits, bugs and crashes in the plugin that will also take down your SAMP Server.

This plugin uses Mongoose, which also has a standalone version for both Windows and Linux. I don't see any reason for using a SAMP Plugin over a standalone server when the plugin doesn't offer any natives or other functions for the SAMP Server itself.
The only reason is because during development it's handy to start and end the SA-MP Server and the Web Server at the same time, and to have all the files in the same main folder. Surely, if I was to put my server online, then I would not use this.
Sasino97 is online now   Reply With Quote
Old 04/06/2018, 02:03 PM   #32
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Posts: 1,548
Reputation: 457
Default Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by Sasino97 View Post
The only reason is because during development it's handy to start and end the SA-MP Server and the Web Server at the same time, and to have all the files in the same main folder. Surely, if I was to put my server online, then I would not use this.
Why? The webserver can be online at all times during testing as well. The files can be in your SAMP Folder regardless of using a standalone webserver either.
NaS is online now   Reply With Quote
Old 04/06/2018, 05:27 PM   #33
Maxandmov
Big Clucker
 
Maxandmov's Avatar
 
Join Date: Feb 2011
Location: Moscow, Russia.
Posts: 154
Reputation: 11
Question Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by Spmn View Post
Here is a version of this plugin with sampgdk dependency removed: https://mega.nz/#!uIZRxICL!mBb-QkqYy...dT-oncSBnFd6cE

Sorry, but I couldn't be bothered to host a github repo.
Yep, it crashes the server... Any chance to actually recompile it with newer SAMPGDK instead? I insist, if it means anything
__________________
Give me rep, SAMPercluckers! (As long as I deserve it)
Maxandmov is offline   Reply With Quote
Old 05/06/2018, 07:24 AM   #34
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,439
Reputation: 102
Thumbs up Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by NaS View Post
Why? The webserver can be online at all times during testing as well. The files can be in your SAMP Folder regardless of using a standalone webserver either.
Yes you are right.
I now thought about that, and I removed the plugin.
Thanks
Sasino97 is online now   Reply With Quote
Old 05/06/2018, 07:54 AM   #35
Maxandmov
Big Clucker
 
Maxandmov's Avatar
 
Join Date: Feb 2011
Location: Moscow, Russia.
Posts: 154
Reputation: 11
Default Re: SATTP - SA:MP Embedded Web server

Do you think I can use a webserver along with the server? Wouldn't hosting mind that this way or another? Or then I am just forced to buy a whole machine instead of SAMP-only hosting or whatsoever?
__________________
Give me rep, SAMPercluckers! (As long as I deserve it)
Maxandmov is offline   Reply With Quote
Old 05/06/2018, 08:03 AM   #36
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,439
Reputation: 102
Default Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by Maxandmov View Post
Do you think I can use a webserver along with the server? Wouldn't hosting mind that this way or another? Or then I am just forced to buy a whole machine instead of SAMP-only hosting or whatsoever?
I would buy a VPS to host SA-MP Server, MySQL and the Web Server together. I noticed that the SA-MP-Only hostings usually go per player slots, and they are more expensive compared to VPSs.
Sasino97 is online now   Reply With Quote
Old 05/06/2018, 12:43 PM   #37
Maxandmov
Big Clucker
 
Maxandmov's Avatar
 
Join Date: Feb 2011
Location: Moscow, Russia.
Posts: 154
Reputation: 11
Default Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by Sasino97 View Post
I would buy a VPS to host SA-MP Server, MySQL and the Web Server together. I noticed that the SA-MP-Only hostings usually go per player slots, and they are more expensive compared to VPSs.
Then I am obliged to consider this option instead, cheers.
__________________
Give me rep, SAMPercluckers! (As long as I deserve it)
Maxandmov is offline   Reply With Quote
Old 15/06/2018, 04:50 PM   #38
CoaPsyFactor
Gangsta
 
Join Date: Jul 2010
Location: Belgrade, Serbia
Posts: 900
Reputation: 52
Default Re: SATTP - SA:MP Embedded Web server

mongoose,web server? isn't that nodejs library for connecting abd working with mongodb?
__________________
Quote:
Originally Posted by ThaiLuan View Post
Code:
C:\Users\Administrator\Downloads\Viet-RP\gamemodes\3mien.pwn(112016) : fatal error 101: cannot write to file: "disk full"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Help me! How to fix error
CoaPsyFactor is offline   Reply With Quote
Old 11/08/2018, 10:41 PM   #39
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 738
Reputation: 64
Default Re: SATTP - SA:MP Embedded Web server

What benefit would this have over the traditional method? (SATTP vs LAMP stack on a linux distro)
__________________
Chaprnks 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
[Plugin] SATTP - SA:MP Web Server GWMPT Lançamentos/Releases 21 09/04/2015 06:57 PM
[Projeto] SATTP - HTTP PLUGIN GWMPT Português/Portuguese 36 05/04/2015 09:09 PM
Embedded Colours! Chrillzen Scripting Help 3 07/11/2013 07:02 PM
Embedded colours Luis- Scripting Help 5 08/08/2012 05:13 PM
Embedded color healp Unknown123 Help Archive 3 23/04/2011 10:23 PM


All times are GMT. The time now is 01:35 AM.


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