Compiled Distro FS for Pol099 by StartHere.bat
Compilation Summary:
Compiled 1236 scripts in 105144 ms.
2 of those scripts had errors.
ERROR 1
Compiling: C:/Mutley WarShard/Pol/pkg/commands/admin/test.src
Don't know what to do with 'Unknown Token: (275,8,'to')' in SmartParser::parseToken
File: C:\Mutley WarShard\Pol\pkg\commands\admin\test.src, Line 32
Error compiling statement at C:\Mutley WarShard\Pol\pkg\commands\admin\test.src, Line 32
Error detected in program body.
Error occurred at C:\Mutley WarShard\Pol\pkg\commands\admin\test.src, Line 32
========================================
\test.src
========================================
/*
Created by *Edwards
For FantasiaShard.com
Edwards@FantasiaShard.com
2010-05-18
*/
use uo;
use os;
use polsys;
program textcommand_summonSerial( mobile )
//time stamp: POLCore().systime
//format string: %M-%D-%Y %L:%M:%S %P
//time: StrFormatTime( format_string, CInt( time_stamp )) --> 04-24-2011 10:50:11 PM
//we have to know hour. PM or AM.
//year
//month
//day
//hour
//minute
//second
//pm or am
var time_stamp := POLCore().systime; //temps du server...
need to parse strformattime.... <---------------------------------------------------# Line 32 is here #
if( %M == month )
elseif( %d == day )
elseif( %y == year )
elseif( %l == hour )
elseif( %m > minute && %m < minute+1 )
elseif( %p == day )
endif
return 1;
endprogram
========================================
========================================
ERROR 2
Compiling: C:/Mutley WarShard/Pol/pkg/systems/remoteScripts/commands/dev/restartRemoteScripts.src
Token '(' cannot follow token 'Remote_GetProcess'
Function Remote_GetProcess() is not defined.
Error compiling statement at C:\Mutley WarShard\Pol\pkg\systems\remoteScripts\commands\dev\restartRemoteScripts.src, Line 18
Error detected in program body.
Error occurred at C:\Mutley WarShard\Pol\pkg\systems\remoteScripts\commands\dev\restartRemoteScripts.src, Line 18
========================================
\restartRemoteScripts.src
========================================
/*
Created by *Edwards
2011-06-26
*/
use uo;
include "include/security";
include ":remoteScripts:settings";
program textcmd_disconnectBot( mobile )
if( !AuthorizationCode( mobile ))
SendSysMessage( mobile, "Cancelled." );
return 0;
endif
var kill_bots := Remote_GetProcess().Kill(); <------------------------------------------------------# Line 18 is here #
if( kill_bots.errortext )
SendSysMessage( mobile, "Error couldn't kill bots -->"+kill_bots.errortext );
return 0;
endif
var script := Start_Script( ":remoteScripts:remoteScriptsControl" );
if( script.errortext )
SendSysMessage( mobile, "Error starting script <:remoteScripts:remoteScriptsControl> -->"+script.errortext );
return 0;
endif
SendSysMessage( mobile, "Done!" );
return 1;
endprogram
==========================================
==========================================
I'll be very grateful if you can help me
Big Hug,
Mutley