Raised This Month: $ Target: $400
 0% 

Can anyone help?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
silversinner
Member
Join Date: Feb 2006
Location: England
Old 03-01-2006 , 12:14   Can anyone help?
Reply With Quote #1

Hey im new to these forums... For the last 2 years ive been using amxmodx plugins for not only my server but with helping friends with their servers aswell, and its come to the time where I'd like to start scripting amx plugins my self, not only for my benifit but for my friends and plain stranger's who would like to use them. Anyway my question is can anyone help me with this plugin i am going to make? It is going to be an amx_restart plugin (Yes i know its already posted but its not what i needed) basicly my friend who has a wicked ass dedicated! After about 11 - 13 hours of it being conastantly up HLTV fails and closes the server down... Now i just need a little help on how to create a plugin that will restart the server automaticly rather then him having to come on every 10 hours and resetting it him self cause its basicly becoming his life making sure the server up!... But also for the sake of it i thought "Why not also add a amx_restart command" That non-god admins can use to reset server anyway.. now all i am asking for is someone can help me witha command that completly restarting a server? Now i know there is sv_restart but that just restarts the rounds back to 0 and all the frags ect. I want something that will restart the ENTIRE server?

If anyone can help i'll really appreciate it!

Sincerly
Silversinner
silversinner is offline
Send a message via AIM to silversinner Send a message via MSN to silversinner Send a message via Yahoo to silversinner
VEN
Veteran Member
Join Date: Jan 2005
Old 03-01-2006 , 12:26  
Reply With Quote #2

You can't do that with simple command. You can shutdown the server and then start it again with some kind of program automatically.
VEN is offline
silversinner
Member
Join Date: Feb 2006
Location: England
Old 03-01-2006 , 12:39  
Reply With Quote #3

well something has to go into register_srvcmd("amx_restart" "" "") And i know it is possilbe to restart a server from a command maybe not a simple one... i said that wrong.... BUt i do know it is possilb eot restart theenitre server from a command ! Look at this:

http://forums.alliedmods.net/showthread.php?p=204799

Surely there is a way to make that automatic and restart the server after a desired amount of time... And also make a command that can set the amount of time ? I may be going totally down the wrong road with this... Well anyway... Ive searched high and low for a program that does that.... i know there are scripts that do it but i havnt been able to find any
__________________
My website
(under contruction)
silversinner is offline
Send a message via AIM to silversinner Send a message via MSN to silversinner Send a message via Yahoo to silversinner
VEN
Veteran Member
Join Date: Jan 2005
Old 03-01-2006 , 13:42  
Reply With Quote #4

That plugin simply executes two command from the server console ("restart" and "quit") but this is not same as ENTIRE server restart.
You can't do what you want with plugin.
VEN 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 20:20.


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