SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 27/06/2015, 05:09 PM   #21
GWMPT
High-roller
 
Join Date: Nov 2012
Location: Portugal.
Posts: 1,020
Reputation: 287
Default Re: SATTP - SA:MP Embedded Web server

That warnings are caused by the streamer plugin and not about SATTP(AFAIK).
Had you tested SATTP with another plugin besides Streamer? If so, does it gives warnings?
If not, it has nothing to do with this plugin.
If so, I'm not updating this plugin anymore related to new functionality, however I would fix this issue.

Thanks.
GWMPT is offline   Reply With Quote
Old 28/06/2015, 08:50 AM   #22
ShooteR1990
Little Clucker
 
ShooteR1990's Avatar
 
Join Date: Aug 2012
Location: Russia
Posts: 42
Reputation: 0
Default Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by GWMPT View Post
That warnings are caused by the streamer plugin and not about SATTP(AFAIK).
Had you tested SATTP with another plugin besides Streamer? If so, does it gives warnings?
If not, it has nothing to do with this plugin.
If so, I'm not updating this plugin anymore related to new functionality, however I would fix this issue.

Thanks.
Besides Streamer I've tested this plugin with Jit, crashdetect, nativechecker, sscanf and mysql plugins. All plugins are latest. And no warnings. I understand, this errors caused probably streamer plugin, and nothing to do with SATTP. I need to write author of Streamer, maybe he knows about that. Anyway thanks. P.S. sorry for my bad English
__________________
Best wishes, ShooteR1990
Play in SA:MP since 2009 / Pawn scripting since 2010
Do not pm me.
ShooteR1990 is offline   Reply With Quote
Old 28/06/2015, 01:00 PM   #23
CoaPsyFactor
Gangsta
 
Join Date: Jul 2010
Location: Belgrade, Serbia
Posts: 883
Reputation: 47
Default Re: SATTP - SA:MP Embedded Web server

This is awesome, now you can combine PAWN script and PHP to work along , for fetching or saving data, so script doesn't need to do that. ++REP
__________________
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 01/06/2018, 10:59 AM   #24
Maxandmov
Big Clucker
 
Maxandmov's Avatar
 
Join Date: Feb 2011
Location: Moscow, Russia.
Posts: 153
Reputation: 11
Default Re: SATTP - SA:MP Embedded Web server

Is there any chance this plugin will be recompiled by anyone for 0.3DL with newest SAMPGDK version?
__________________
Give me rep, SAMPercluckers! (As long as I deserve it)
Maxandmov is offline   Reply With Quote
Old 02/06/2018, 01:13 AM   #25
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Posts: 1,481
Reputation: 451
Default Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by Maxandmov View Post
Is there any chance this plugin will be recompiled by anyone for 0.3DL with newest SAMPGDK version?
SAMPGDK is not required for the plugin to work. There are no Pawn Natives or other communication between the SAMP Server/PAWN and the Plugin.

So, it should still work as expected. I tried it and got no problems, on both 0.3.7 and 0.3DL.
NaS is online now   Reply With Quote
Old 02/06/2018, 10:03 AM   #26
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,438
Reputation: 102
Default Re: SATTP - SA:MP Embedded Web server

Thanks for releasing. It is very useful to host the music used ingame.

I have these problems
Code:
[12:26:22] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:23] [sampgdk:warning] Index mismatch for OnVehicleStreamIn (-10058 != -10057)
[12:26:23] [sampgdk:warning] Index mismatch for OnVehicleStreamIn (-10058 != -10057)
[12:26:23] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:28] [sampgdk:warning] Index mismatch for OnVehicleStreamIn (-10058 != -10057)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:33] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
Sasino97 is offline   Reply With Quote
Old 02/06/2018, 01:28 PM   #27
Spmn
Gangsta
 
Join Date: Jun 2015
Location: Romania
Posts: 540
Reputation: 129
Default Re: SATTP - SA:MP Embedded Web server

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.
Spmn is offline   Reply With Quote
Old 02/06/2018, 03:51 PM   #28
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,438
Reputation: 102
Thumbs up 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.
Hi, thank you, but it crashes

Code:
[17:52:37]  Loading plugin: SATTP
[17:52:37]   |------------------------------------------|
[17:52:37]   |                                          |
Sasino97 is offline   Reply With Quote
Old 02/06/2018, 04:18 PM   #29
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Posts: 1,481
Reputation: 451
Default Re: SATTP - SA:MP Embedded Web server

Quote:
Originally Posted by Sasino97 View Post
Thanks for releasing. It is very useful to host the music used ingame.

I have these problems
Code:
[12:26:22] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:23] [sampgdk:warning] Index mismatch for OnVehicleStreamIn (-10058 != -10057)
[12:26:23] [sampgdk:warning] Index mismatch for OnVehicleStreamIn (-10058 != -10057)
[12:26:23] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:28] [sampgdk:warning] Index mismatch for OnVehicleStreamIn (-10058 != -10057)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:29] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
[12:26:33] [sampgdk:warning] Index mismatch for OnVehicleStreamOut (-10059 != -10058)
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.
NaS is online now   Reply With Quote
Old 02/06/2018, 04:27 PM   #30
Spmn
Gangsta
 
Join Date: Jun 2015
Location: Romania
Posts: 540
Reputation: 129
Default Re: SATTP - SA:MP Embedded Web server

I'm sure that the bug lies in the original code since the plugin gets loaded and then crashes while initializing the webserver.
Also, the linux build loads without errors, so my guess is that these 2 _getcwd calls are somehow invalid: https://github.com/crodrigues96/SATT...er.cpp#L32-L37
If you have MSVC installed, remove those _getcwd's and see if it runs.

// LE: Or better do what NaS said. There is no point in using this plugin over any other standalone (and more powerful, configurable, secure etc) webserver.
Spmn 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 10:09 PM.


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