Jump to content

darking123

Members
  • Posts

    931
  • Joined

  • Last visited

Everything posted by darking123

  1. [/b] - script LMS -1,{ OnInit: disablenpc "Mr. Banker"; disablenpc "All Job Manager"; setarray .Message$[0], "The Last Man Standing event will be starting shortly.", "Those who want to play, please proceed to prontera and Register.", "After 1 Minute the Registration will close.", "Please go to prontera and Register now if you want to join."; end; OnClock0200: OnClock0700: OnClock1500: OnClock1800: if( .Status ) end; for( set .i,0; .i < getarraysize( .Message$ ); set .i,.i + 1 ){ announce "Mr. Manager: "+.Message$[.i],0; sleep 10000; } pvpoff "poring_c01"; set .Status,1; enablenpc "All Job Manager"; sleep 30000; announce "Mr. Manager: Last 30 seconds.",0; sleep 15000; announce "Mr. Manager: If you want to join please Register in prontera.",0; sleep 5000; for( set .i,10; .i > 0; set .i,.i - 1 ){ announce "Mr. Manager: Last "+.i+" seconds.",0; sleep 1000; } disablenpc "All Job Manager"; donpcevent "Mr. Banker::OnEnable"; end; OnPCDieEvent: if( strcharinfo(3) =="poring_c01" ){ dispbottom "You are killed."; warp "prontera",156,191; } end; } //---------All Job Registration--------------- prontera,156,175,3 script All Job Manager 106,{ mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; menu "Register",-,"What is LMS?",what,"Leave",leave; next; mes "[Mr. Manager]"; mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!"; warp "poring_c01",103,99; end; what: mes "[Mr. Manager]"; mes "LMS is also known as Last Man Standing Event"; next; mes "[Mr. Manager]"; mes "LMS is also like a PvP."; mes "The only difference is at LMS you will get 10 TCG if you are the Last Man Standing at the arena."; next; mes "[Mr. Manager]"; mes "That's all"; close; leave: mes "[Mr. Manager]"; mes "I hope you will register next time"; close; } //------------------------ poring_c01,101,108,3 script Checker 780,{ mes "[Checker]"; mes "Hi " + strcharinfo(0) + ", Want to check how many are you here?"; next; mes "There are currently ["+getmapusers("poring_c01")+"]players on map"; close; OnInit: waitingroom "Map Checker",0; end; } //-------------------------- //-------------------------- poring_c01,106,108,3 script Mr. Banker 56,{ mes "[banker]"; mes "Congrats. You've won."; close2; announce "Mr. Manager: We have a winner! well done "+.@name$+".",0; getitem 7227, 10; // Change This item id to what ever you want . 674,10 warp "prontera",156,191; disablenpc "Mr. Banker"; set getvariableofnpc( .Status,"LMS" ),0; end; OnEnable: mapannounce "poring_c01","Mr. Manager:The Last Man Standing Event will start shortly",0; sleep2 10000; mapannounce "poring_c01","Mr. Manager:But before we start this is just a few reminders..",0; sleep2 10000; mapannounce "poring_c01","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0; sleep2 10000; mapannounce "poring_c01","Mr. Manager: Only the Last Man Standing will win this event!!",0; sleep2 10000; mapannounce "poring_c01","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0; sleep2 10000; goto L_Start; end; L_Start: if(getmapusers("poring_c01") == 1) goto L_Champ; if(getmapusers("poring_c01") == 0) goto L_None; if(getmapusers("poring_c01") > 1) { mapannounce "poring_c01","Mr. Manager: Get ready at the count of 5 we will start!....",0; sleep2 3000; for( set .i,5; .i > 0; set .i,.i - 1 ){ mapannounce "poring_c01","Mr. Manager: Last "+.i+" seconds.",0; sleep 1000; } pvpon "poring_c01"; initnpctimer; } end; OnTimer1100: if(getmapusers("poring_c01") == 1) goto L_Champ; if(getmapusers("poring_c01") > 2) initnpctimer; if(getmapusers("poring_c01") == 2) goto champ; stopnpctimer; end; champ: announce "Mr. Manager: Last 2 Brave warriors are still alive!",0; sleep2 10000; if(getmapusers("poring_c01") == 1) goto L_Champ; if(getmapusers("poring_c01") > 1) initnpctimer; end; L_Champ: mapannounce "poring_c01","Mr. Banker: Please talk to me to get your prize..",0; hideoffnpc "Mr. Banker"; enablenpc "Mr. Banker"; pvpoff "poring_c01"; end; L_None: set getvariableofnpc( .Status,"LMS" ),0; disablenpc "Mr. Banker"; pvpoff "poring_c01"; end; } // == Mapflags poring_c01 mapflag nowarp poring_c01 mapflag nowarpto poring_c01 mapflag noteleport poring_c01 mapflag nosave poring_c01 mapflag nomemo poring_c01 mapflag nobranch[b] Mr. Banker is Not Showing Up When someone Won also banker not showing up when there is only one who joined anyone?
  2. yes i put and i double check my original flux cp works but when i add the other themes i got that error
  3. already done there still an error
  4. i already did but there is still the problem
  5. got an error sir Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in/home/reviser/public_html/themes/default/gthemes/playerCap.phpon line 9 Access denied for user 'root'@'localhost' (using password: YES) this is my playerCap.php <?php if (! defined('FLUX_ROOT')) exit; $host = $session->loginAthenaGroup->connection->logsDbConfig->Hostname(); $username = $session->loginAthenaGroup->connection->logsDbConfig->getUsername(); $password = $session->loginAthenaGroup->connection->logsDbConfig->getPassword(); $db = $session->loginAthenaGroup->connection->logsDbConfig->getDatabase(); $link = mysql_connect($host, $username, $password) or die(mysql_error()); @mysql_select_db($db,$link); $sql = "SELECT COUNT(`char`.char_id) AS total FROM {$server->charMapDatabase}.`char` "; if (Flux::config('HideTempBannedStats')) { $sql .= "LEFT JOIN {$server->loginDatabase}.login ON login.account_id = `char`.account_id "; $sql .= "WHERE login.unban_time <= UNIX_TIMESTAMP()"; } if (Flux::config('HidePermBannedStats')) { if (Flux::config('HideTempBannedStats')) { $sql .= " AND login.state != 5"; } else { $sql .= "LEFT JOIN {$server->loginDatabase}.login ON login.account_id = `char`.account_id "; $sql .= "WHERE login.state != 5"; } } $result = mysql_query($sql,$link); mysql_close($link); $arr = mysql_fetch_array($result); $player_cap = $arr['total']; ?> <p id="playerCap"><?php echo $player_cap; ?></p>
  6. i used the official flux cp and it works but when i used other flux cp themes or flux cp integrated this message shows Access denied for user 'root'@'localhost' (using password: YES)
  7. I Forgot my phpmyadmin password what should i do?? besides contacting the support
  8. i tried your suggestion sir the translate client in english but this didnt work
  9. what client do you recommend??i use 20100730
  10. i am currently using 20100730 client sir i tried merging the updated files but it still doesnt work any specific while which i could change to fix my problem? found a new bug
  11. what lua files is recommended for 20100730 client because i noticed there is no exact lua files for 20100730 what lua files can i used??
  12. about the lua files of the updated folder should i also merge it or i can just delete it?
  13. i saw some from eathena http://www.eathena.ws/board/index.php?showtopic=279640 is this what you said??or this is outdated
  14. already fixed the party name thank you to both of you about updated data folder how can update my data folder or specific folder from my data folder that will fix my problem?
  15. here is the image and it shows my problem how to fix it?
  16. requesting for prefered working complete palette thank you i dunno how to use the palette tool so i am requesting thank you in advance
  17. not work... any suggestion? are you sure you are using the fully working files for it?
×
×
  • Create New...