Jump to content

glemor123

Members
  • Content Count

    287
  • Joined

  • Last visited

Everything posted by glemor123

  1. nope sir is does not change the offline thing this is my status from that default flux <?phpif (!defined('FLUX_ROOT')) exit; $title = Flux::message('ServerStatusTitle');$cache = FLUX_DATA_DIR.'/tmp/ServerStatus.cache'; if (file_exists($cache) && (time() - filemtime($cache)) < (Flux::config('ServerStatusCache') * 60)) { $serverStatus = unserialize(file_get_contents($cache));}else { $serverStatus = array(); foreach (Flux::$loginAthenaGroupRegistry as $groupName => $loginAthenaGroup) { if (!array_key_exists($groupName, $serverStatus)) { $serverStatus[$groupName] = array(); } $loginServerUp = $loginAthenaGroup->loginServer->isUp(); foreach ($loginAthenaGroup->athenaServers as $athenaServer) { $serverName = $athenaServer->serverName; $sql = "SELECT COUNT(char_id) AS players_online FROM {$athenaServer->charMapDatabase}.char WHERE online > 0"; $sth = $loginAthenaGroup->connection->getStatement($sql); $sth->execute(); $res = $sth->fetch(); $serverStatus[$groupName][$serverName] = array( 'loginServerUp' => $loginServerUp, 'charServerUp' => $athenaServer->charServer->isUp(), 'mapServerUp' => $athenaServer->mapServer->isUp(), 'playersOnline' => intval($res ? $res->players_online : 0) ); } } $fp = fopen($cache, 'w'); if (is_resource($fp)) { fwrite($fp, serialize($serverStatus)); fclose($fp); }}?>
  2. where can i modify my vit=hp?
  3. using the default 1 http://3rdjob.reviserogaming.org/
  4. doesnt work..your status is different to my status You should have told me that you're not using a default theme. sorry about that..the status i posted above is my status
  5. doesnt work..your status is different to my status
  6. it is already set i think it does not allow.. how can i fake the offline text there and make it to online? themes/status/status.php if i'm not mistaken.. what to edit here <?phpif (!defined('FLUX_ROOT')) exit;$title = Flux::message('ServerStatusTitle');$cache = FLUX_DATA_DIR.'/tmp/ServerStatus.cache';if (file_exists($cache) && (time() - filemtime($cache)) < (Flux::config('ServerStatusCache') * 60)) { $serverStatus = unserialize(file_get_contents($cache));}else { $serverStatus = array(); foreach (Flux::$loginAthenaGroupRegistry as $groupName => $loginAthenaGroup) { if (!array_key_exists($groupName, $serverStatus)) { $serverStatus[$groupName] = array(); } $loginServerUp = $loginAthenaGroup->loginServer->isUp(); foreach ($loginAthenaGroup->athenaServers as $athenaServer) { $serverName = $athenaServer->serverName; $sql = "SELECT COUNT(char_id) AS players_online FROM {$athenaServer->charMapDatabase}.char WHERE online > 0"; $sth = $loginAthenaGroup->connection->getStatement($sql); $sth->execute(); $res = $sth->fetch(); $serverStatus[$groupName][$serverName] = array( 'loginServerUp' => $loginServerUp, 'charServerUp' => $athenaServer->charServer->isUp(), 'mapServerUp' => $athenaServer->mapServer->isUp(), 'playersOnline' => intval($res ? $res->players_online : 0) ); } } $fp = fopen($cache, 'w'); if (is_resource($fp)) { fwrite($fp, serialize($serverStatus)); fclose($fp); }}?>
  7. it is already set i think it does not allow.. how can i fake the offline text there and make it to online?
  8. i already set it using iptables but still didnt work
  9. how will allow outgoing connections from my vps?
  10. about flux cp what is my server status still offline eventhough i configured it correctly and my server is up
  11. rathena is down so i have no choice but to post here i am using rathena svn the problem is why is my amplify magic power has no casting time even though i have no stats added yet.. next is when i put items to my cart then remove my cart then rent a cart again..my items that i put to my cart is lost what should i do?? i can post the code here just tell me what to post thank you
  12. is this correct?? zhakastia,98,39,8 script Woe Prize 1002,{ if ( agitcheck() ) goto L_woeon; if ( agitcheck2() ) goto L_woeon; menu "Rothenburg",L_aldeg_cas05, "Bergel",L_gefg_cas04, "HolyShadow",L_payg_cas03, "Swanhild",L_prtg_cas02, "HORN",L_arug_cas03;L_aldeg_cas05: if ( getcastledata( "aldeg_cas05", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[2] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 674, 15; set $castle_claimed[2], 1; close;L_gefg_cas04: if ( getcastledata( "gefg_cas04", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[3] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 674, 15; set $castle_claimed[3], 1; close;L_payg_cas03: if ( getcastledata( "payg_cas03", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[4] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 674, 15; set $castle_claimed[4], 1; close;L_prtg_cas02: if ( getcastledata( "prtg_cas02", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[5] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 674, 15; set $castle_claimed[5], 1; close;L_arug_cas03: if ( getcastledata( "arug_cas03", 1) != getcharid(2) ) goto L_not_owner; if ( $castle_claimed[1] ) goto L_claimed; if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm; mes "receiving the reward for this castle"; getitem 674, 15; set $castle_claimed[1], 1; close;L_woeon: mes "a war is currently in progress"; mes "if your guild owned a castle ask your guild master to see me to claim the reward"; close;L_not_owner: mes "your guild failed to take this castle"; mes "if your guild owned a castle ask your guild master to claim reward from me"; close;L_claimed: mes "your guild already received the reward for this castle"; close;L_not_gm: mes "ask your guild master to see me"; close;OnMon1500: set $castle_claimed[1], 0; // everytime woe ends the variable resets end;OnMon2100: set $castle_claimed[2], 0; end;OnTue1500: set $castle_claimed[3], 0;end;OnTue2100: set $castle_claimed[4], 0;end;OnWed1500: set $castle_claimed[2], 0; end;OnWed2100: set $castle_claimed[3], 0;end;OnThu1500: set $castle_claimed[4], 0;end;OnThu2100: set $castle_claimed[1], 0; // everytime woe ends the variable resets end;OnFri1500: set $castle_claimed[2], 0; end;OnFri2100: set $castle_claimed[2], 0; end;OnSat1500: set $castle_claimed[5], 0;end;OnSat2100: set $castle_claimed[5], 0;end;OnSun1500: set $castle_claimed[5], 0; end;OnSun2100: set $castle_claimed[5], 0; end;}
  13. can you give me an example for that so i can recreate it..i dont know how to code those things
  14. do you have auto giver prize to the guild master only?? but the problem is what if when the woe is over exactly the guild master got disconnected...
  15. i dont know how to edit the agit end also this is my woe schedule from monday to sunday 14:00-15:00 then from 20:00-21:00 with different castles monday 14:00-15:00 =swan 20:00-21:00 =payg_cas03 etc..
  16. the problem to my woe prize giver is example omega guild owns 3 castle already fad,swan,arug then today the castle opened is swan then guild omega successfully defended there castle so they will get the prize for swan,. the problem is they can also get again the prize for fad,arug..that should not be because swan only opened this day here is my script i am using 3ceam zhakastia,98,39,8 script Woe Prize 1002,{ if ( agitcheck() ) { mes "a war is currently in progress"; mes "if your guild owned a castle ask your guild master to see me to claim the reward"; close; } else if ( agitcheck2() ) { mes "a war is currently in progress"; mes "if your guild owned a castle ask your guild master to see me to claim the reward"; close; } set .@menu, select(.menu$) -1; if ( getcastledata( .castlemap$[.@menu], 1) == getcharid(2) ) { if ( $castle_claimed & pow(2, .@menu) ) { mes "your guild already received the reward for "+ .castlename$[.@menu]; close; } else if ( getguildmasterid( getcharid(2) ) == getcharid(0) ) { mes "receiving the reward for "+ .castlename$[.@menu]; getitem 674, 15; set $castle_claimed, $castle_claimed | pow(2, .@menu); close; } else { mes "ask your guild master to see me"; close; } } mes "your guild failed to take "+ .castlename$[.@menu]; mes "if your guild owned a castle ask your guild master to claim reward from me"; close;OnAgitEnd: set $castle_claimed, 0; // everytime woe ends the variable resets end;OnInit: setarray .castlemap$, "arug_cas03", "aldeg_cas05", "gefg_cas04", "payg_cas03", "prtg_cas02"; for ( set .@i, 0; .@i < 5; set .@i, .@i +1 ) { set .castlename$[.@i], getcastlename(.castlemap$[.@i]); set .menu$, .menu$ + .castlename$[.@i] +":"; } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.