Raised This Month: $51 Target: $400
 12% 

00000


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
omer
Senior Member
Join Date: Nov 2011
Old 04-16-2012 , 14:57   00000
Reply With Quote #1

.......

Last edited by omer; 05-27-2012 at 09:43. Reason: .
omer is offline
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-16-2012 , 15:27   Re: Want an plugin send information to website mySQl
Reply With Quote #2

I don't think u can do this with a plugin on the server since if the server crashes it crashes everything. So u should not be able to send anything(correct if im wrong), so it has to be outside the server.
U could do a script in php that checks every x seconds if the server is off if so send chat message to the "chatbox".
Or if u have a virtual machine use the restart script to send that message everytime it starts, i did that with my mw2-server, (in my case it logged in a file)

Last edited by kapzz; 04-16-2012 at 15:40.
kapzz is offline
omer
Senior Member
Join Date: Nov 2011
Old 04-16-2012 , 15:43   Re: Want an plugin send information to website mySQl
Reply With Quote #3

Thanks to all who help

Solved

Last edited by omer; 05-02-2012 at 21:01.
omer is offline
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-16-2012 , 16:18   Re: Want an plugin send information to website mySQl
Reply With Quote #4

How do the colors are shown on the sql table? using html?
kapzz is offline
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-16-2012 , 16:44   Re: Want an plugin send information to website mySQl
Reply With Quote #5

I have feeling that the plugin_int() reloads everytime map changes( someone answer - me this question )

Last edited by kapzz; 04-16-2012 at 16:59. Reason: forget the code lolz
kapzz is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-16-2012 , 16:57   Re: Want an plugin send information to website mySQl
Reply With Quote #6

Quote:
Originally Posted by kapzz View Post
I have feeling that the plugin_int() reloads everytime map changes( someone answer - me this question )
Well, yeah. Plugins are initialized on map start.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-16-2012 , 17:01   Re: Want an plugin send information to website mySQl
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
Well, yeah. Plugins are initialized on map start.
Though so, it will not work well on the plugin_init.
kapzz is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-16-2012 , 17:31   Re: Want an plugin send information to website mySQl
Reply With Quote #8

This should work.

All crashes are logged to:
addons/amxmodx/logs/crash.log
Attached Files
File Type: sma Get Plugin or Get Source (crash_logs.sma - 703 views - 2.1 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 04-19-2012 at 11:17.
Exolent[jNr] is offline
omer
Senior Member
Join Date: Nov 2011
Old 04-17-2012 , 03:23   Re: Want an plugin send information to website mySQl
Reply With Quote #9

Thanks to all who help

Solved

Last edited by omer; 05-02-2012 at 21:01.
omer is offline
omer
Senior Member
Join Date: Nov 2011
Old 04-17-2012 , 04:43   Re: Want an plugin send information to website mySQl
Reply With Quote #10

Thanks to all who help

Solved

Last edited by omer; 05-02-2012 at 21:01.
omer is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 16:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode