[Release] New GM commands

mar

Newbie Spellweaver
Joined
Nov 16, 2006
Messages
79
Reaction score
44
Patch ver.4.3 for MainSvrT.exe. New functions after applying:

1) /addotp
2) /addevasion
3) /addabsorb
4) /addresist
5) /warbegin
6) /warend
7) /declare
8) /buffoff - u can takeoff assassin mask and cancel some buffs - details in readme.txt

*NEW in 4.3*

9) /jmp change your position in Z axis. Argument can be positive or negative. Someting like jump ;)
10) modified existing /portuser - porting players works also in Z axis now.


buffoff argument is 0-255 value. Every bit is specific buff. You must play to learn. For example Assassin mask is 1...
 

Attachments

hehe, thanks.....usefull i quess^^ btw i got a lil tip what u could add^^

add a command like /rgt = reset guild time
 
do you need the patches before this one to apply this one?

Because if i patch mainserver it crashed when command is entered
 
Patch works only with exaclty one version of mainsvrt I suppose. I dont know wihich ver i got. I changed even its length so i cant say which verion it was

There is no need to make another command for guild quitting pelnalty time. Simple kosp script is enough.:thumbup1:
 
For the ones who need it, simple php script I made to reset guild time:
PHP:
<?php
if($_SERVER['REQUEST_METHOD'] == 'POST')
{
	if(isset($_SESSION['reset']))
	{
		echo "Dont spam my reset script nubcake!";
	}
	else
		{
		$connect = mssql_connect('localhost', 'username', 'password');
                mssql_select_db('kal_db', $connect);
		$update = mssql_query("UPDATE GuildMember SET [Date] ='0' WHERE [Date] != '0' ");
		if($update)
		{
			$_SESSION['reset'] = 'done';
			echo "Succesfully reset all guild timers.";
		}
		else
		{
			echo"Something went wrong, timers not reset.";
		}
	}
}

?>
<form method="POST" action="">
	<table>
		<tr>
			<td><input type="submit" name="POST" value="Reset" /></td>
		</tr>
	</table>
</form>
 
Back