Jump to content

mythology

Members
  • Posts

    19
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Philippines

Recent Profile Visitors

1216 profile views

mythology's Achievements

Poring

Poring (1/15)

0

Reputation

  1. hello rathena helpers can you help me here? i wanna make that if they reach 280+ luk they can 100% resist the froze,silent or negative elements? or must have 300 vit to by pass all negative elements?/ but the max stat is 255 only... it just the stats of item to be added to reach that one??? anyone here sir/maam Thanks... CTRL + Q to Enable/Disable GoPhoto.it
  2. Hello Rathena, can anyone help me how to set my woe controller... I just want the WOE every day start on 20:00 end on 21:00 //===== rAthena Script ======================================= //= Euphy's WOE Controller //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.3b //===== Compatible With: ===================================== //= rAthena SVN r16571+ //===== Description: ========================================= //= A controller for War of Emperium designed for //= simplicity and ease of use. //= Many concepts taken from ToastOfDoom's script, //= and "rewards" function originally by Goddameit. //===== Additional Comments: ================================= //= Be sure to disable the default agit controllers! //== npc\guild\agit_controller.txt //== npc\guild2\agit_start_se.txt //============================================================ prontera,139,172,4 script WOE Information 835,{ doevent "WOE_CONTROL::OnMenu"; end; OnAgitStart: while(agitcheck()) { misceffect 58; sleep 425; } end; } - script WOE_CONTROL -1,{ function Disp_Owner; function Add_Zero; OnInit: // -------------------------------------------------------------------------------------------------------------------------- set .CastleWarp,0; // 1: Always enable all castle warps. | 0: Warp only to active castles. set .AutoKick,1; // Automatically kick players from inactive castles during WOE? (1:yes / 0:no) set .ExitWarp,0; // Warp all players from castles when WOE ends? (1:yes / 0:no) set .GMAccess,99; // GM level required to access Session Manager (cannot be 0) setarray .Reward[0],14001,1; // Reward for all members of conquering guilds, per castle: <ID>,<Count>{,...} (0 to disable) // -------------------------------------------------------------------------------------------------------------------------- set .Size, getarraysize($WOE_CONTROL); setarray .Castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; setarray .EndLabel$[0],"ar01","ar02","ar03","ar04","ar05","sc01","sc02","sc03","sc04","sc05"; setarray .Days$[0],"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"; setarray .Regions$[0],"Prontera","Payon","Geffen","Aldebaran","Arunafeltz","Schwaltzvalt"; setarray .Map$[0],"prt_gld","pay_gld","gef_fild13","alde_gld","aru_gld","sch_gld"; setarray .MapX[0],134,240,153,111,208,121,295,317,140,204,214,308,143,193,305,48, 95,142,239,264,158,83, 68,299,292,293,288, 97,137, 71; setarray .MapY[0], 65,128,137,240,240,233,116,293,160,266, 75,240,240,278, 87,83,249, 85,242, 90,272,47,155,345,107,100,252,196, 90,315; if (!agitcheck() && !agitcheck2()) sleep 4000; set .Init,1; OnMinute00: freeloop(1); if (agitcheck() || agitcheck2()) { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4)==$WOE_CONTROL[.@i] && gettime(3)==$WOE_CONTROL[.@i+2]) { OnWOEEnd: announce "The War Of Emperium is over!",bc_all|bc_woe; AgitEnd; AgitEnd2; sleep 1000; for(set .@j,0; .@j<30; set .@j,.@j+1) { if (.Active[0]&(1<<.@j)) Disp_Owner(.Castles$[.@j],1); else if (.AutoKick) removemapflag .Castles$[.@j], mf_loadevent; if (.ExitWarp) maprespawnguildid .Castles$[.@j],0,3; } if (.Reward[0] && .Active[0] && .ForceEnd != 2) callsub OnReward, .Active[0]; deletearray .Active[0],2; if (.ForceEnd) { set .ForceEnd,0; end; } break; } } if ((!agitcheck() && !agitcheck2()) || .Init) { if (!agitcheck() && !agitcheck2()) set .Init,0; for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4)==$WOE_CONTROL[.@i] && gettime(3)>=$WOE_CONTROL[.@i+1] && gettime(3)<$WOE_CONTROL[.@i+2]) { deletearray .Active[0],2; set .Active[0], $WOE_CONTROL[.@i+3]; if (.Init) { AgitEnd; AgitEnd2; } else announce "The War Of Emperium has begun!",bc_all|bc_woe; sleep 1000; AgitStart; AgitStart2; for(set .@j,0; .@j<30; set .@j,.@j+1) { if (.Active[0]&(1<<.@j)) { if (!.Init) Disp_Owner(.Castles$[.@j],0); set .Active[1], .Active[1] | (1<<((.@j/5)+1)); } else { if (.AutoKick) setmapflag .Castles$[.@j], mf_loadevent; if (.@j<20) { donpcevent "Agit#"+.Castles$[.@j]+"::OnAgitEnd"; killmonster .Castles$[.@j], "Agit#"+.Castles$[.@j]+"::OnAgitBreak"; } else { donpcevent "Manager#"+.Castles$[.@j]+"::OnAgitEnd2"; killmonster .Castles$[.@j], "Steward#"+.EndLabel$[.@j-20]+"::OnStartArena"; } } } break; } } set .Init,0; freeloop(0); end; function Disp_Owner { set .@o, getcastledata(getarg(0),1); if (.@o) announce "The ["+getcastlename(getarg(0))+"] castle "+((getarg(1))?"has been conquered":"is currently held")+" by the ["+getguildname(.@o)+"] guild.",bc_all|bc_woe; else announce "The ["+getcastlename(getarg(0))+"] castle is currently unoccupied.",bc_all|bc_woe; return; } function Add_Zero { return ((getarg(0)<10)?"0":"")+getarg(0)+(getarg(1,0)?".":":")+"00"; } OnReward: for(set .@i,0; .@i<30; set .@i,.@i+1) if (getarg(0)&(1<<.@i)) { set .@guild, getcastledata(.Castles$[.@i],1); if (.@guild) { deletearray .@acc[0], getarraysize(.@acc); deletearray .@char[0], getarraysize(.@char); query_sql("SELECT account_id,char_id FROM `guild_member` WHERE guild_id = '"+.@guild+"'", .@acc, .@char); for(set .@j,0; .@j<getarraysize(.@acc); set .@j,.@j+1) if (isloggedin(.@acc[.@j],.@char[.@j])) { for(set .@k,0; .@k<getarraysize(.Reward); set .@k,.@k+2) getitem .Reward[.@k], .Reward[.@k+1], .@acc[.@j]; message rid2name(.@acc[.@j]),"You have been rewarded for conquering "+getcastlename(.Castles$[.@i])+"."; } } } return; OnPCLoadMapEvent: if (!compare(strcharinfo(3),"g_cas")) end; sleep2 1000; message strcharinfo(0), getcastlename(strcharinfo(3))+" is inactive during this WOE session."; sleep2 5000; if (compare(strcharinfo(3),"g_cas")) warp "SavePoint",0,0; end; OnMenu: while(1) { mes "[WOE Information]"; if (agitcheck() || agitcheck2()) { if (!.Size) mes "The War of Emperium is ^0055FFactive^000000."; else { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4)==$WOE_CONTROL[.@i] && gettime(3)>=$WOE_CONTROL[.@i+1] && gettime(3)<$WOE_CONTROL[.@i+2]) { set .@i, $WOE_CONTROL[.@i+2]; break; } mes "The War of Emperium is ^0055FFactive^000000 until ^FF0000"+Add_Zero(.@i)+"^000000 in the following regions:"; mes " "; for(set .@i,0; .@i<6; set .@i,.@i+1) if (.Active[1]&(1<<(.@i+1))) mes " > ^777777"+.Regions$[.@i]+"^000000"; } } else { set .@j,0; set .@k,0; for(set .@i,0; .@i<.Size; set .@i,.@i+4) if ((gettime(4)==$WOE_CONTROL[.@i] && gettime(3)<=$WOE_CONTROL[.@i+1]) || gettime(4)<$WOE_CONTROL[.@i]) { set .@j, $WOE_CONTROL[.@i]; set .@k, $WOE_CONTROL[.@i+1]; break; } if (!.@j && !.@k) { set .@j, $WOE_CONTROL[0]; set .@k, $WOE_CONTROL[1]; } mes "The War of Emperium is ^777777inactive^000000."; if (.Size) { mes " "; mes "The next session will begin"; mes "on ^0055FF"+.Days$[.@j]+"^000000 at "+Add_Zero(.@k)+"^000000."; } } next; switch(select(""+((.CastleWarp || .Active[1])?" ~ Warp to castles...":"")+": ~ Check schedule...: ~ View castle owners...:"+((getgmlevel()<.GMAccess || !getgmlevel())?"":" ~ Manage sessions...")+": ~ ^777777Cancel^000000")) { case 1: set .@menu$,""; for(set .@i,0; .@i<6; set .@i,.@i+1) { if (.CastleWarp || .Active[1]&(1<<(.@i+1))) set .@menu$, .@menu$+" ~ "+((.Active[1]&(1<<(.@i+1)))?"^0055FF":"^777777")+.Regions$[.@i]+" Castles^000000"; set .@menu$, .@menu$+":"; } set .@i, select(.@menu$)-1; set .@menu$,""; for(set .@j,.@i*5; .@j<(.@i*5)+5; set .@j,.@j+1) { if (.CastleWarp || .Active[0]&(1<<.@j)) set .@menu$, .@menu$+" ~ "+((.Active[0]&(1<<.@j))?"^0055FF":"^777777")+getcastlename(.Castles$[.@j])+"^000000"; set .@menu$, .@menu$+":"; } set .@j, select(.@menu$)-1; warp .Map$[.@i],.MapX[(.@i*5)+.@j],.MapY[(.@i*5)+.@j]; close; case 2: mes "[schedule]"; if (.Size) { freeloop(1); for(set .@i,0; .@i<.Size; set .@i,.@i+4) { mes "> ^FF0000"+.Days$[$WOE_CONTROL[.@i]]+" ("+Add_Zero($WOE_CONTROL[.@i+1])+"-"+Add_Zero($WOE_CONTROL[.@i+2])+")^000000"; for(set .@j,0; .@j<30; set .@j,.@j+1) if ($WOE_CONTROL[.@i+3]&(1<<.@j)) mes " ~ "+getcastlename(.Castles$[.@j])+" ^777777("+.Castles$[.@j]+")^000000"; if (.@i+4<.Size) mes " "; } freeloop(0); } else mes "No times are configured."; next; break; case 3: mes "[Castle Ownership]"; for(set .@i,0; .@i<6; set .@i,.@i+1) { set .@k, .@i*5; mes "> ^FF0000"+.Regions$[.@i]+"^000000"; for(set .@j,.@k; .@j<(.@k+5); set .@j,.@j+1) { set .@t, getcastledata(.Castles$[.@j],1); mes " ~ "+getcastlename(.Castles$[.@j])+": "+((.@t)?"^0055FF"+getguildname(.@t):"^777777unoccupied")+"^000000"; } if (.@i<5) mes " "; } next; break; case 4: while(1) { mes "[session Manager]"; mes "There are ^0055FF"+(.Size/4)+" session(s)^000000 configured."; mes "What would you like to do?"; next; switch(select(" ~ Add a session...: ~ Delete a session...: ~ Reload settings...:"+((agitcheck() || agitcheck2())?" ~ End WOE session...":"")+": ~ ^777777Go back^000000")) { case 1: mes "[New Session]"; if (.Size > 127) { mes "You have already reached the maximum of 32 sessions."; next; break; } mes "Select a day."; next; set .@Day, select(" ~ "+implode(.Days$,": ~ "))-1; mes "[New Session]"; mes "Select a start time for ^0055FF"+.Days$[.@Day]+"^000000."; next; set .@menu$,""; for(set .@i,0; .@i<23; set .@i,.@i+1) set .@menu$, .@menu$+" ~ "+Add_Zero(.@i,1)+":"; set .@Start, select(.@menu$)-1; mes "[New Session]"; mes "Select an end time for ^0055FF"+.Days$[.@Day]+"^000000."; next; set .@menu$,""; for(set .@i,.@Start+1; .@i<24; set.@i,.@i+1) set .@menu$, .@menu$+" ~ "+Add_Zero(.@i,1)+":"; set .@End, select(.@menu$)+.@Start; for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (.@Day==$WOE_CONTROL[.@i] && ((.@Start >= $WOE_CONTROL[.@i+1] && .@Start < $WOE_CONTROL[.@i+2]) || (.@End > $WOE_CONTROL[.@i+1] && .@End <= $WOE_CONTROL[.@i+2]) || (.@Start <= $WOE_CONTROL[.@i+1] && .@End >= $WOE_CONTROL[.@i+2]))) { mes "[New Session]"; mes "The chosen times overlap with an existing session."; next; set .@d,1; break; } if (.@d) { set .@d,0; break; } set .@Castle,0; while(1) { mes "[New Session]"; mes "^0055FF"+.Days$[.@Day]+" ("+Add_Zero(.@Start)+"-"+Add_Zero(.@End)+")^000000"; mes " > Castles:"; if (!.@Castle) mes " ~ ^777777(none selected)^000000"; else for(set .@i,0; .@i<30; set .@i,.@i+1) if (.@Castle&(1<<.@i)) mes " ~ "+getcastlename(.Castles$[.@i])+" ("+.Castles$[.@i]+")"; next; set .@menu$,((.@Castle)?" ~ ^FF0000Finished...^000000":"")+":"; for(set .@i,0; .@i<30; set .@i,.@i+1) set .@menu$, .@menu$+" ~ "+((.@Castle&(1<<.@i))?"^0055FF":"")+getcastlename(.Castles$[.@i])+" ("+.Castles$[.@i]+")^000000:"; set .@i, select(.@menu$)-1; if (.@i) set .@Castle, .@Castle^(1<<(.@i-1)); else { mes "[New Session]"; mes "Are you sure?"; next; switch(select(" ~ ^0055FFAdd session...^000000: ~ Continue selecting castles...: ~ ^777777Cancel^000000")) { case 1: for(set .@i,0; .@i<.Size; set .@i,.@i+4) if ((.@Day==$WOE_CONTROL[.@i] && .@End<=$WOE_CONTROL[.@i+1]) || .@Day<$WOE_CONTROL[.@i]) { set .@d,1; break; } if (!.@d) { set .@d,1; set .@i,.Size; } copyarray $WOE_CONTROL[.@i+4], $WOE_CONTROL[.@i], .Size-.@i; setarray $WOE_CONTROL[.@i], .@Day, .@Start, .@End, .@Castle; set .Size, getarraysize($WOE_CONTROL); case 3: mes "[New Session]"; mes ((.@d)?"Session added.":"Cancelled."); next; set .@d,1; case 2: break; } if (.@d) { set .@d,0; break; } } } break; case 2: mes "[Remove Session]"; if (!.Size) { mes "There are no sessions configured."; next; break; } mes "Select a session to remove."; next; set .@menu$,""; for(set .@i,0; .@i<.Size; set .@i,.@i+4) set .@menu$, .@menu$+" ~ "+.Days$[$WOE_CONTROL[.@i]]+" ("+Add_Zero($WOE_CONTROL[.@i+1],1)+"-"+Add_Zero($WOE_CONTROL[.@i+2],1)+"):"; set .@menu$, .@menu$+" ~ ^777777Cancel^000000"; set .@i, select(.@menu$)-1; if (.@i==(.Size/4)) break; mes "[Remove Session]"; mes "Delete ^0055FF"+.Days$[$WOE_CONTROL[.@i*4]]+"'s^000000 session?"; mes "This action cannot be undone."; next; set .@j, select(" ~ ^FF0000Delete session...^000000: ~ ^777777Cancel^000000"); mes "[Remove Session]"; if (.@j==2) mes "Cancelled."; else { deletearray $WOE_CONTROL[.@i*4],4; set .Size, getarraysize($WOE_CONTROL); mes "Session deleted."; } next; break; case 3: mes "[Reload Settings]"; mes "This will trigger all events related to new session configurations, if any."; if (agitcheck() || agitcheck2()) { mes " "; mes "Be aware that this will disrupt the current WOE session."; } next; set .@i, select(" ~ ^0055FFReload settings...^000000: ~ ^777777Cancel^000000"); mes "[Reload Settings]"; if (.@i==2) mes "Cancelled."; else { set .Init,1; donpcevent "WOE_CONTROL::OnMinute00"; mes "Variables have been re-initialized."; } next; break; case 4: mes "[Force Agit End]"; if (!agitcheck() && !agitcheck2()) { mes "WOE has already ended."; next; break; } mes "This command will safely execute all AgitEnd events."; mes " "; mes "Kill the current WOE session?"; next; set .@i, select(" ~ ^FF0000End session...^000000:"+((.Reward[0])?" ~ ^FF0000End session without rewards...^000000":"")+": ~ ^777777Cancel^000000"); mes "[Force Agit End]"; if (.@i==3) mes "Cancelled."; else { set .ForceEnd, .@i; donpcevent "WOE_CONTROL::OnWOEEnd"; mes "WOE session terminated."; } next; break; case 5: set .@d,1; break; } if (.@d) { set .@d,0; break; } } break; case 5: close; } } }
  3. Hi Sir Edward can you help me where i can get tut or some info on how to install flux for linux?
  4. i always got this error Error An error occurred while trying to process your request. Please try contacting an administrator: admin@localhost
  5. Correct me if im mistaken.. checking Ip address if allowent to any host go privillages and check if it ALL privillages? is that what you mean sir mootie
  6. Sir Mootie...how to fix error? I already set up those IP on server php and application php
  7. Critical Error An error was encountered during the lifetime of the application. This could be due to a variety of problems, such as a bug in the application. However, normally it is caused by misconfiguration. Exception Details Error: PDOException Message: SQLSTATE[HY000] [1130] Host '74.63.201.243' is not allowed to connect to this MySQL server File: /home/mytholo2/public_html/com/lib/Flux/Connection.php:81 File Line Function/Method /home/mytholo2/public_html/com/lib/Flux/Connection.php 81 PDO::__construct() /home/mytholo2/public_html/com/lib/Flux/Connection.php 94 Flux_Connection::connect() /home/mytholo2/public_html/com/lib/Flux/Connection.php 159 Flux_Connection::getConnection() /home/mytholo2/public_html/com/modules/install/index.php 17 Flux_Connection::getStatement() /home/mytholo2/public_html/com/lib/Flux/Template.php 337 include() /home/mytholo2/public_html/com/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/mytholo2/public_html/com/index.php 177 Flux_Dispatcher::dispatch() Exception Trace As String #0 /home/mytholo2/public_html/com/lib/Flux/Connection.php(81): PDO->__construct(*hidden*) #1 /home/mytholo2/public_html/com/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config)) #2 /home/mytholo2/public_html/com/lib/Flux/Connection.php(159): Flux_Connection->getConnection() #3 /home/mytholo2/public_html/com/modules/install/index.php(17): Flux_Connection->getStatement('SELECT VERSION(...') #4 /home/mytholo2/public_html/com/lib/Flux/Template.php(337): include('/home/mytholo2/...') #5 /home/mytholo2/public_html/com/lib/Flux/Dispatcher.php(168): Flux_Template->render() #6 /home/mytholo2/public_html/com/index.php(177): Flux_Dispatcher->dispatch(Array) #7 {main}
  8. why i got error like this after i update my flux ( wrong config right) but asking why it was whole day? Error An error occurred while trying to process your request. Please try contacting an administrator: admin@localhost <?php // This is the application configuration file. All values have been set to // the default, and should be changed as needed. return array( 'ServerAddress' => 'what should put here', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80) 'BaseURI' => 'com', // The base URI is the base web root on which your application lies. 'InstallerPassword' => "blablah', // Installer/updater password. 'RequireOwnership' => true, // Require the executing user to be owner of the FLUX_ROOT/data/ directory tree? (Better for security) // WARNING: This will be mostly IGNORED on non-POSIX-compliant OSes (e.g. Windows). 'DefaultLoginGroup' => null, 'DefaultCharMapServer' => null, 'DefaultLanguage' => 'en_us', // Specify the default control panel language (see FLUX_ROOT/lang/ directory for available languages.) 'SiteTitle' => 'Test Control Panel', // This value is only used if the theme decides to use it. 'ThemeName' => 'default', // The theme name of the theme you would like to use. Themes are in FLUX_ROOT/themes. 'ScriptTimeLimit' => 0, // Script execution time limit. Specifies (in seconds) how long a page should run before timing out. (0 means forever) 'MissingEmblemBMP' => 'empty.bmp', // 'ItemIconNameFormat' => '%d.gif', // The filename format for item icons (defaults to {itemid}.gif). 'ItemImageNameFormat' => '%d.png', // The filename format for item images (defaults to {itemid}.png). 'ForceEmptyEmblem' => false, // Forcefully display empty guild emblems, helpful when you don't have GD2 installed. 'EmblemCacheInterval' => 12, // Hourly interval to re-cache guild emblems (set to 0 to disable emblem cache). 'SessionCookieExpire' => 48, // Duration in hours. 'AdminMenuLevel' => AccountLevel::LOWGM, // The starting level for which module actions are moved into the admin menu for display. 'DateDefaultTimezone' => null, // The default timezone, consult the PHP manual for valid timezones: http://php.net/timezones (null for defaut system TZ) 'DateFormat' => 'Y-m-d', // Default DATE format to be displayed in pages. 'DateTimeFormat' => 'Y-m-d H:i:s', // Default DATETIME format to be displayed in pages. 'ShowSinglePage' => true, // Whether or not to show the page numbers even if there's only one page. 'ResultsPerPage' => 20, // The number of results to display in a paged set, per page. 'PagesToShow' => 10, // The number of page numbers to display at once. 'PageJumpMinimumPages' => 1, // Minimum number of required pages before page jump box is shown. (0 to always show!) 'ShowPageJump' => true, // Whether or not to show the "Page Jump" box. 'SingleMatchRedirect' => true, // Whether or not to redirect to view action from index page if only one match is returned (and action is allowed). 'SingleMatchRedirectItem' => false, // Same as above, for item module. 'SingleMatchRedirectMobs' => false, // Same as above, for monster module. 'UsernameAllowedChars' => 'a-zA-Z0-9_', // PCRE Format Pattern. default: 'a-zA-Z0-9_' (alphanumeric and underscore) // WARNING: This string isn't escaped so be careful which chars you use! // PCRE Pattern Ref: http://php.net/manua...cre.pattern.php 'MinUsernameLength' => 4, // Minimum username length. 'MaxUsernameLength' => 23, // Maximum username length. 'MinPasswordLength' => 8, // Minimum password length. 'MaxPasswordLength' => 31, // Maximum password length. 'RandomPasswordLength' => 16, // This is the length of the random password generated by the "Reset Password" feature. 'AllowDuplicateEmails' => false, // Whether or not to allow duplicate e-mails to be used in registration. (See Mailer config options) 'RequireEmailConfirm' => false, // Require e-mail confirmation during registration. 'RequireChangeConfirm' => false, // Require confirmation when changing e-mail addresses. 'EmailConfirmExpire' => 48, // E-mail confirmations expire hours. Unconfirmed accounts will expire after this period of time. 'MailerFromAddress' => 'noreply@localhost', // The e-mail address displayed in the From field. 'MailerFromName' => 'MailerName', // The name displayed with the From e-mail address. 'MailerUseSMTP' => false, // Whether or not to use a separate SMTP server for sending mail. 'MailerSMTPUseSSL' => false, // Whether or not mailer should connect using SSL (yes for GMail). 'MailerSMTPUseTLS' => false, // Same as above SSL setting, but for TLS. This setting will override the SSL setting. 'MailerSMTPPort' => null, // When MailerUseSMTP is true: SMTP server port (mailer will default to 25). 'MailerSMTPHosts' => null, // When MailerUseSMTP is true: A string host or array of hosts (e.g., 'host1' or array('host1', 'backuphost')). 'MailerSMTPUsername' => null, // When MailerUseSMTP is true: Authorized username for SMTP server. 'MailerSMTPPassword' => null, // When MailerUseSMTP is true: Authorized password for SMTP server (for above user). 'ServerStatusCache' => 2, // Store a cached server status and refresh every X minutes. Default: 2 minutes (value is measured in minutes). 'ServerStatusTimeout' => 2, // For each server, spend X amount of seconds to determine whether it's up or not. 'SessionKey' => 'fluxSessionData', // Shouldn't be changed, just specifies the session key to be used for session data. 'DefaultModule' => 'main', // This is the module to execute when none has been specified. 'DefaultAction' => 'index', // This is the default action for any module, probably should leave this alone. (Deprecated) 'GzipCompressOutput' => false, // Whether or not to compress output using zlib. 'GzipCompressionLevel' => 9, // zlib compression level. (1~9) 'OutputCleanHTML' => true, // Use this if you have Tidy installed to clean your HTML output when serving pages. 'ShowCopyright' => true, // Whether or not to show the copyright footer. 'ShowRenderDetails' => true, // Shows the "page rendered in X seconds" and "number of queries executed: X" in the default theme. 'UseCleanUrls' => false, // Set to true if you're running Apache and it supports mod_rewrite and .htaccess files. 'DebugMode' => false, // Set to false to minimize technical details from being output by Flux. WARNING: DO NOT USE THIS OPTION ON A PUBLICALLY-ACCESSIBLE CP. 'UseCaptcha' => true, // Use CAPTCHA image for account registration to prevent automated account creations. (Requires GD2/FreeType2) 'UseLoginCaptcha' => false, // Use CAPTCHA image for account logins. (Requires GD2/FreeType2) 'EnableReCaptcha' => false, // Enables the use of reCAPTCHA instead of Flux's native GD2 library (http://www.google.com/recaptcha) 'ReCaptchaPublicKey' => '...', // This is your reCAPTCHA public key [REQUIRED FOR RECAPTCHA] (sign up at http://www.google.com/recaptcha) 'ReCaptchaPrivateKey' => '...', // This is your reCAPTCHA private key [REQUIRED FOR RECAPTCHA] (sign up at http://www.google.com/recaptcha) 'ReCaptchaTheme' => 'white', // ReCaptcha theme to use (see: http://code.google.c...Standard_Themes) 'DisplaySinglePages' => true, // Whether or not to display paging for single page results. 'ForwardYears' => 15, // (Visual) The number of years to display ahead of the current year in date inputs. 'BackwardYears' => 30, // (Visual) The number of years to display behind the current year in date inputs. 'ColumnSortAscending' => ' ▲', // (Visual) Text displayed for ascending sorted column names. 'ColumnSortDescending' => ' ▼', // (Visual) Text displayed for descending sorted column names. 'CreditExchangeRate' => 1.0, // The rate at which credits are exchanged for dollars. 'MinDonationAmount' => 2.0, // Minimum donation amount. (NOTE: Actual donations made that are less than this account won't be exchanged) 'DonationCurrency' => 'USD', // Preferred donation currency. Only donations made in this currency will be processed for credit deposits. 'MoneyDecimalPlaces' => 2, // (Visual) Number of decimal places to display in amount. 'MoneyThousandsSymbol' => ',', // (Visual) Thousandths place separator (a period in European currencies). 'MoneyDecimalSymbol' => '.', // (Visual) Decimal separator (a comma in European currencies). 'AcceptDonations' => true, // Whether or not to accept donations. 'PayPalIpnUrl' => 'www.sandbox.paypal.com', // The URL for PayPal's IPN responses (www.paypal.com for live and www.sandbox.paypal.com for testing) 'PayPalBusinessEmail' => 'admin@localhost', // Enter the e-mail under which you have registered your business account. 'PayPalReceiverEmails' => array( // These are the receiver e-mail addresses who are allowed to receive payment. //'admin2@localhost', // -- This array may be empty if you only use one e-mail //'admin3@localhost' // -- because your Business Email is also checked. ), 'GStorageLeaderOnly' => false, // Only allow guild leader to view guild storage rather than all members? 'DivorceKeepChild' => false, // Keep child after divorce? 'DivorceKeepRings' => false, // Keep wedding rings after divorce? 'IpWhitelistPattern' => // PCRE Format Pattern. It's recommended you add your gameserver, webserver and server owner's IPs here. '(127\.0\.0\.1|0(\.[0\*]){3})', // WARNING: This string isn't escaped so be careful which chars you use! // By default, whitelists 127.0.0.1 (localhost) and 0.0.0.0 (all interfaces; whitelists all wildcard bans that can achive this too) 'AllowIpBanLogin' => false, // Allow logging into account from banned IP. 'AllowTempBanLogin' => false, // Allow logging in of temporarily banned accounts. 'AllowPermBanLogin' => false, // Allow logging in of permanently banned accounts. 'AutoRemoveTempBans' => true, // Automatically remove expired temporary bans on certain pages. 'ItemShopMaxCost' => 99, // Max price an item can be sold for. 'ItemShopMaxQuantity' => 99, // Max quantity the item may be sold at once for. 'HideFromWhosOnline' => 10, // Levels greater than or equal to this will be hidden from the "Who's Online" page. 'HideFromMapStats' => 10, // Levels greater than or equal to this will be hidden from the "Map Stats" page. 'ChargeGenderChange' => 0, // You can specify this as the number of credits to charge for gender change. Can be 0 for free change. 'BanPaymentStatuses' => array( // Payment statuses that will automatically ban the account owner if received. 'Cancelled_Reversal', // -- 'Cancelled_Reversal' 'Reversed', // -- 'Reversed' ), 'HoldUntrustedAccount' => 0, // This is the time in hours to hold a donation crediting process for, if the account // isn't a trusted account. Specify 0 or false to disable this feature. 'AutoUnholdAccount' => false, // Enable this to auto-unhold an account and credit it if the transaction is still // valid. This only applies if you are using the HoldUnstrustedAccount feature. // If you want to run a cron job instead, you can make a request to the '/donate/update' // module/action with the InstallerPassword as the password to run the update task. // With clean URLs: http://<server>/<baseURI>/donate/update?password=<InstallerPassword> // Without clean URLs: http://<server>/<baseURI>?module=donate&action=update&password=<InstallerPassword> // NOTE: This option is HIGHLY inefficient, it's recommended to run a cron job instead. 'AutoPruneAccounts' => false, // Enable this to automatically prune expired accounts. Enabling this is a performance // performance killer. See 'AutoUnholdAccount' for running this task as a cron job, // the module is 'account' and the action is 'prune'. // With clean URLs: http://<server>/<baseURI>/account/prune?password=<InstallerPassword> // Without clean URLs: http://<server>/<baseURI>?module=account&action=prune&password=<InstallerPassword> 'ShopImageExtensions' => array( // These are the image extensions allowed for uploading in the item shop. 'png', 'jpg', 'gif', 'bmp', 'jpeg' ), 'NoResetPassLevel' => AccountLevel::HELPER, // Level of account to prevent password reset using control panel. 'CharRankingLimit' => 20, // 'GuildRankingLimit' => 20, // 'ZenyRankingLimit' => 20, // 'DeathRankingLimit' => 20, // 'RankingHideLevel' => AccountLevel::LOWGM, // 'InfoHideZenyLevel' => AccountLevel::LOWGM, // Level of account to hide zeny from in server information page. 'CharRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in character ranking. (0 = disabled) 'ZenyRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in zeny ranking. (0 = disabled) 'DeathRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in death ranking. (0 = disabled) 'HideTempBannedCharRank' => false, // Hide temporarily banned characters from ranking. 'HidePermBannedCharRank' => true, // Hide permanently banned characters from ranking. 'HideTempBannedZenyRank' => false, // Hide temporarily banned characters from ranking. 'HidePermBannedZenyRank' => true, // Hide permanently banned characters from ranking. 'HideTempBannedDeathRank' => false, // Hide temporarily banned characters from ranking. 'HidePermBannedDeathRank' => true, // Hide permanently banned characters from ranking. 'HideTempBannedStats' => false, // Hide temporarily banned accounts from statistics. 'HidePermBannedStats' => true, // Hide permanently banned accounts from statistics. 'SortJobsByAmount' => false, // Sort job class information on statistics page by descending quantity (false = Sort by Job ID). 'CpLoginLogShowPassword' => false, // Show password in CP login log (also see access.php's SeeCpLoginLogPass). 'CpResetLogShowPassword' => false, // Show password in CP "password resets" log (also see access.php's SeeCpResetPass). 'CpChangeLogShowPassword' => false, // Show password in CP "password changes" log (also see access.php's SeeCpChangePass). 'AdminMenuNewStyle' => true, // Use new-style admin menu; Applies to 'default' theme. // These are the main menu items that should be displayed by themes. // They route to modules and actions. Whether they are displayed or // not at any given time depends on the user's account level and/or // their login status. 'MenuItems' => array( 'Main Menu' => array( 'Home' => array('module' => 'main'), //'Forums' => array('exturl' => 'http://www.fluxro.com/community'), ), 'Account' => array( 'Register' => array('module' => 'account', 'action' => 'create'), 'Login' => array('module' => 'account', 'action' => 'login'), 'Logout' => array('module' => 'account', 'action' => 'logout'), 'History' => array('module' => 'history'), 'My Account' => array('module' => 'account', 'action' => 'view'), ), 'Donations' => array( 'Purchase' => array('module' => 'purchase'), 'Donate' => array('module' => 'donate'), ), 'Information' => array( 'Server Info.' => array('module' => 'server', 'action' => 'info'), 'Server Status' => array('module' => 'server', 'action' => 'status'), 'WoE Hours' => array('module' => 'woe'), 'Castles' => array('module' => 'castle'), "Who's Online" => array('module' => 'character', 'action' => 'online'), 'Map Statistics'=> array('module' => 'character', 'action' => 'mapstats'), 'Ranking Info.' => array('module' => 'ranking', 'action' => 'character'), ), 'Database' => array( 'Item Database' => array('module' => 'item'), 'Mob Database' => array('module' => 'monster'), ), 'Misc. Stuff' => array( 'eA Logs' => array('module' => 'logdata'), 'CP Logs' => array('module' => 'cplog'), 'IP Ban List' => array('module' => 'ipban'), 'Accounts' => array('module' => 'account'), 'Characters' => array('module' => 'character'), 'Guilds' => array('module' => 'guild'), 'Reload' => array('module' => 'reload'), 'Send Mail' => array('module' => 'mail'), 'Re-Install' => array('module' => 'install', 'action' => 'reinstall'), //'Auction' => array('module' => 'auction'), //'Economy' => array('module' => 'economy'), ) ), // Sub-menu items that are displayed for any action belonging to a // particular module. The format it simple. 'SubMenuItems' => array( 'history' => array( 'gamelogin' => 'Game Logins', 'cplogin' => 'CP Logins', 'emailchange'=> 'E-Mail Changes', 'passchange' => 'Password Changes', 'passreset' => 'Password Resets' ), 'account' => array( 'index' => 'List Accounts', 'view' => 'View Account', 'changepass' => 'Change Password', 'changemail' => 'Change E-mail', 'changesex' => 'Change Gender', 'transfer' => 'Transfer Credits', 'xferlog' => 'Credit Transfer History', 'cart' => 'Go to Shopping Cart', 'login' => 'Login', 'create' => 'Register', 'resetpass' => 'Reset Password', 'resend' => 'Resend E-mail Confirmation' ), 'guild' => array( 'index' => 'List Guilds', 'export' => 'Export Guild Emblems' ), 'server' => array( 'status' => 'View Status', 'status-xml' => 'View Status as XML' ), 'logdata' => array( //'char' => 'Characters', //'inter' => 'Interactions', 'command' => 'Commands', //'branch' => 'Branches', 'chat' => 'Chat Messages', 'login' => 'Logins', //'mvp' => 'MVP', //'npc' => 'NPC', 'pick' => 'Item Picks', //'zeny' => 'Zeny' ), 'cplog' => array( 'paypal' => 'PayPal Transactions', 'login' => 'Logins', 'resetpass' => 'Password Resets', 'changepass' => 'Password Changes', 'changemail' => 'E-mail Changes', 'ban' => 'Account Bans', 'ipban' => 'IP Bans' ), 'reload' => array( 'mobskill' => 'Mob Skills' ), 'purchase' => array( 'index' => 'Shop', 'cart' => 'Go to Cart', 'checkout' => 'Checkout', 'clear' => 'Empty Cart', 'pending' => 'Pending Redemption' ), 'donate' => array( 'index' => 'Make a Donation', 'history' => 'Donation History', 'trusted' => 'Trusted PayPal E-mails' ), 'ipban' => array( 'index' => 'IP Ban List', 'add' => 'Add IP Ban' ), 'ranking' => array( 'character' => 'Character Ranking', 'guild' => 'Guild Ranking', 'zeny' => 'Zeny Ranking', 'death' => 'Death Ranking' ), 'item' => array( 'index' => 'List Items', 'add' => 'Add Item' ) ), 'AllowMD5PasswordSearch' => false, 'ReallyAllowMD5PasswordSearch' => false, // Are you POSITIVELY sure? // Specifies which modules and actions should be ignored by Tidy // (enabled/disabled by the OutputCleanHTML option). 'TidyIgnore' => array( array('module' => 'captcha'), array('module' => 'guild', 'action' => 'emblem') ), // Job classes, loaded from another file to avoid cluttering this one. // There isn't normally a need to modify this file, unless it's been // modified in an update. (In English: DON'T TOUCH THIS.) 'JobClasses' => include('jobs.php'), 'JobClassIndex' => array_flip(include('jobs.php')), // Homunculus class IDs and their corresponding names. // Best not to mess with this either. 'HomunClasses' => include('homunculus.php'), // Item Types with their corresponding names. // Shouldn't touch this either. 'ItemTypes' => include('itemtypes.php'), // Specil Item Types with their corresponding names (For Weapons & Ammo by default). // Shouldn't touch this either. 'ItemTypes2' => include('itemtypes2.php'), // Common Equip Location Combinations with their corresponding names. // Shouldn't touch this unless you've added custom combinations. 'EquipLocationCombinations' => include('equip_location_combinations.php'), // Error Code -> Error Type mapping. // Shouldn't need touching, however modifying loginerrors.php should be relatively safe. 'LoginErrors' => include('loginerrors.php'), // eA equip jobs mapping. 'EquipJobs' => include('equip_jobs.php'), // eA equip locations mapping. 'EquipLocations' => include('equip_locations.php'), // eA equip upper mapping. 'EquipUpper' => include('equip_upper.php'), // eA monster races mapping. 'MonsterRaces' => include('races.php'), // eA elements mapping. 'Elements' => include('elements.php'), // eA attributes mapping. 'Attributes' => include('attributes.php'), // eA monster modes mapping. 'MonsterModes' => include('monstermode.php'), // Item shop categories. 'ShopCategories' => include('shopcategories.php'), // Item pick types. 'PickTypes' => include('picktypes.php'), // Castle names. 'CastleNames' => include('castlenames.php'), // DON'T TOUCH. THIS IS FOR DEVELOPERS. 'FluxTables' => array( 'CreditsTable' => 'cp_credits', 'CreditTransferTable' => 'cp_xferlog', 'ItemShopTable' => 'cp_itemshop', 'TransactionTable' => 'cp_txnlog', 'RedemptionTable' => 'cp_redeemlog', 'AccountCreateTable' => 'cp_createlog', 'AccountBanTable' => 'cp_banlog', 'IpBanTable' => 'cp_ipbanlog', 'DonationTrustTable' => 'cp_trusted', 'AccountPrefsTable' => 'cp_loginprefs', 'CharacterPrefsTable' => 'cp_charprefs', 'ResetPasswordTable' => 'cp_resetpass', 'ChangeEmailTable' => 'cp_emailchange', 'LoginLogTable' => 'cp_loginlog', 'ChangePasswordTable' => 'cp_pwchange' ), // Do not change these unless you also rename the files in FLUX_ROOT/lib/eA/ 'MobSkillDb1' => FLUX_ROOT.'/lib/eA/mob_skill_db.txt', 'MobSkillDb2' => FLUX_ROOT.'/lib/eA/mob_skill_db2.txt', // This is the combined file of the Mob Skill DBs minus the comments and clutter. 'MobSkillDb' => FLUX_ROOT.'/lib/eA/mob_skills.txt' ); ?> Server PHP-------------------------------------------------------------------- <?php return array( // Example server configuration. You may have more arrays like this one to // specify multiple server groups (however they should share the same login // server whilst they are allowed to have multiple char/map pairs). array( 'ServerName' => 'FluxRO', // Global database configuration (excludes logs database configuration). 'DbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '127.9.9.9', 'Username' => 'root', 'Password' => 'blahblha', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Example: '+0:00' is UTC. // The possible values of 'Timezone' is as documented from the MySQL website: // "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'." // "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!) // **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated." ), // This is kept separate because many people choose to have their logs // database accessible under different credentials, and often on a // different server entirely to ensure the reliability of the log data. 'LogsDbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '127.9.9.9', 'Username' => 'root', 'Password' => 'blablah', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Possible values is as described in the comment in DbConfig. ), // Login server configuration. 'LoginServer' => array( 'Address' => '127.9.9.9', 'Port' => 6900, 'UseMD5' => true, 'NoCase' => true, // eA account case-sensitivity; Default: Case-INsensitive (true). 'Level' => 0, // Default account level during registration. //'Database' => 'ragnarok' ), 'CharMapServers' => array( array( 'ServerName' => 'TestRagnarokOnline', 'BaseExpRates' => 200, 'JobExpRates' => 200, 'MvpExpRates' => 200, 'DropRates' => 25, 'MvpDropRates' => 25, 'CardDropRates' => 25, 'MaxCharSlots' => 9, 'DateTimezone' => null, // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones) //'ResetDenyMaps' => 'sec_pri', // Defaults to 'sec_pri'. This value can be an array of map names. //'Database' => 'ragnarok', // Defaults to DbConfig.Database 'CharServer' => array( 'Address' => '127.9.9.9', 'Port' => 6121 ), 'MapServer' => array( 'Address' => '127.9.9.9', 'Port' => 5121 ), // -- WoE days and times -- // First parameter: Starding day 0=Sunday / 1=Monday / 2=Tuesday / 3=Wednesday / 4=Thursday / 5=Friday / 6=Saturday // Second parameter: Starting hour in 24-hr format. // Third paramter: Ending day (possible value is same as starting day). // Fourth (final) parameter: Ending hour in 24-hr format. // ** (Note, invalid times are ignored silently.) 'WoeDayTimes' => array( //array(0, '12:00', 0, '14:00'), // Example: Starts Sunday 12:00 PM and ends Sunday 2:00 PM //array(3, '14:00', 3, '15:00') // Example: Starts Wednesday 2:00 PM and ends Wednesday 3:00 PM ), // Modules and/or actions to disallow access to during WoE. 'WoeDisallow' => array( array('module' => 'character', 'action' => 'online'), // Disallow access to "Who's Online" page during WoE. array('module' => 'character', 'action' => 'mapstats') // Disallow access to "Map Statistics" page during WoE. ) ) ) ) ); ?> THis is just example of what i did?....127.9.9.9 is not not the real addres why im in wrong config? can any body help me about this?.. SIR EDWARD of asura can you please help me about this one?....
  9. please me how to fix this... I can enter on my account by cant move and no npc on my surroundings... What should i do to fix this?
  10. prontera,134,188,5 script reborn quest2 421,{ if(Class < 4001) { mes "Sorry, your not authorize to meet my Boss"; close; } if(BaseLevel < 200) { mes "BaseLevel no is enough"; mes "Please come again soon if you Strong enough"; close; } if(JobLevel < 70) { mes "Are you sure what are you doing?"; close; } mes "Welcome "+strcharinfo(0)+"! Would you like to meet my BOSS ? I need 10 Event Coupon to guide you"; if(select("No:Yes")==1) { mes "Well, Come back here if you are strong "+strcharinfo(0); close; } if(countitem(30004) < 10) if(countitem(20005) < 1) { mes "Your required ^FF0000"+.sbitems$[0]+"^000000 to Enter my Boss Tower"; close; } delitem 30004,10; warp "thana_boss" ,136,150; npctalk strcharinfo(0)+" Goodluck!!!; close; } i want a npc that can teleport on thana_boss but required 10 event coupon(30004).. can you help me to fix this
  11. //==============================================================================// //--- Created by GmOcean -------------------------------------------------------// //--- You may modify this script at your own risk. However any modifications ---// //--- To this script are made at your own discretion and I will not provide ----// //--- any support to modified scripts. You Also are forbidden to release the ---// //--- modified script as your own. You can however post suggestions and I will -// //--- Take them into consideration. You may also post the modified script up ---// //--- In the Script Support section, as long as I am given Credit as the -------// //--- Original Script Creator. Thank You for following these few requests ------// //--- And Enjoy the Script ~! --------------------------------------------------// //-------------------------------- Script Version == v5.0 -------------// //==============================================================================// prontera,160,155,4 script Disguise Event 795,{ //--- Basic Script Configuration Options ---// set .@npcname$,"[^0000FFDisguise NPC^000000]"; //<- NPC Name. set $@GMLevel,60; //<- GM Level needed to be considered a GM. //--- The Script ---// if (getgmlevel()>=$@GMLevel){goto GM_Player;} if ($@EventON){end;} mes .@npcname$; mes "Welcome, how may i be of assistance."; menu "Information",iInfo,"Nothing, just passing through.",iNothing; iInfo: next; mes .@npcname$; mes "This event is actually quite simple"; mes "At the start of the event, I will disguise myself"; mes "into a monster randomly. You will then merely have to shout that monsters name outloud."; next; mes "If you get it correct, you get a prize. If not, then keep trying."; mes "Thatis all there is to know about this event."; close; iNothing: close; GM_Player: mes .@npcname$; mes "Please select an Option to modify."; menu "Turn ON/OFF Event",iEvent,"Event Settings",iSettings; iEvent: next; mes .@npcname$; if ($@EventON){mes "The Event is currently: [^0000FFON^000000]"; mes "Would you like to turn it OFF?";} if (!$@EventON){mes "The Event is currently: [^FF0000OFF^000000]"; mes "Would you like to turn it ON?";} menu "Yes",iYes,"No",iNothing; iYes: if ($@EventON) {set $@EventON,0; set $@Timer,0; setnpctimer 0; stopnpctimer; announce "A GM has decided to turn the Disguise Event off. As a result no further prizes will be given.",bc_map | bc_blue; deletepset 1; setnpcdisplay "Disguise Event",795; close;} set $@EventON,1; set $@Timer,1; setnpctimer 0; initnpctimer; set $@ResetCounter,$@ResetCounter+1; announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue; announce "The Event is being held in Prontera.",bc_all | bc_blue; close; iSettings: next; mes .@npcname$; mes "Please select a setting to modify."; menu "Monster Display",iMonster,"Number of Rounds",iRounds,"Prize Settings",iPrize; iMonster: callfunc "Monster_Display"; iRounds: callfunc "Rounds"; iPrize: callfunc "Prize"; OnInit: defpattern 1,"([^:]+):.\\s*OMFGBBQLEETSAUCEGMOCEANRULESHAI!!.*", "iCorrect"; activatepset 1; set $@EventON,0; set $@Wait,0; set $@Winner,0; set $Points,$Points; set $@ResetCounter,0; set $Rounds,$Rounds; set $Prize,$Prize; set $PrizeAmt,$PrizeAmt; set $Rule,$Rule; setarray $@MVP[0],1038,1039,1046,1059,1086,1087,1112,1115,1147,1150,1157,1159,1190,1251,1252,1272,1312,1373, 1389,1399,1418,1492,1502,1511,1583,1623,1630,1646,1647,1648,1649,1650,1651,1658,1685,1688, 1708,1719,1734,1751,1768,1779,1785,1802,1832,1871,1874,1885,1917,1980,2022,2068,2087,2131, 2156,2165; setarray $@BlackList[0], 1003,1006,1017,1021,1022,1027,1043,1075,1136,1137,1168,1171,1172,1173,1181,1210,1217,1218, 1222,1223,1224,1225,1226,1227,1228,1233,1284,1407,1411,1414,1495,1501,1900,1996,2000,2001, 2002,2003,2004,2005,2006,2007,2011,2012,2025,2028,2029,2030,2031,2032,2033,2034,2035,2036, 2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054, 2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2075,2076,2077,2078,2079, 2080,2081,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098, 2099,2100,2101,2012,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116, 2117,2118; setarray $@BlackList2[0],2119,2120,2121,2123,2124,2125,1496; end; OnClock0000: OnClock0200: OnClock0400: OnClock0600: OnClock0800: OnClock1000: OnClock1200: OnClock1400: OnClock1600: OnClock1800: OnClock2000: OnClock2200: OnClock2300: set $@ResetCounter,$@ResetCounter+1; set $@EventON,1; set $@Timer,1; set $@Wait,1; announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue; announce "The Event is being held in Prontera.",bc_all | bc_blue; setnpctimer 0; initnpctimer; end; OnTimer10000: if ($@Timer){end;} if ($@Change){end;} set $@Wait,0; goto iDisguise; //donpcevent "DisguiseEvent::OnDisguise"; end; OnTimer30000: if ($@Timer){end;} set $@Change,0; setnpcdisplay "Disguise Event",795; npctalk "You took too long to guess what i was. Please wait 10 seconds while i disguise again."; specialeffect 725; set $MonsterName$,"OMFGBBQLEETSAUCEGMOCEANRULESHAI!!"; deletepset 1; stopnpctimer; setnpctimer 0; initnpctimer; end; OnTimer60000: if ($@Timer!=1){end;} if ($@Timer==1) {announce "The Disguise Event will begin in 2 minutes.",bc_all | bc_blue; announce "The Event is being held in Prontera.",bc_all | bc_blue; end;} OnTimer120000: if ($@Timer!=1){end;} if ($@Timer==1) {announce "The Disguise Event will begin 1 minute.",bc_all | bc_blue; announce "The Event is being held in Prontera.",bc_all | bc_blue; end;} OnTimer180000: if ($@Timer!=1){end;} if ($@Timer==1) {announce "The Disguise Event has begun!",bc_all | bc_blue; announce "The Event is being held in Prontera.",bc_all | bc_blue; set $@Timer,0; stopnpctimer; setnpctimer 0; initnpctimer; goto iDisguise; //donpcevent "DisguiseEvent::OnDisguise"; end;} announce "Something went wrong with the Disguise Event.",bc_all | bc_blue; announce "Please notify a GM ASAP. Thank you.",bc_all | bc_blue; end; iDisguise: if ($Rule==1) {set $@Winner,0; set $@Monster,1000+rand(1,995); for(set .@BL,0; .@BL<getarraysize($@BlackList); set .@BL,.@BL+1) {if ($@Monster==$@BlackList[.@BL] || $@Monster==$@BlackList2[.@BL]) {goto iDisguise;}} if ($@Monster==$@LastMonster){goto iDisguise;} set $@LastMonster,$@Monster; set $MonsterName$,getmonsterinfo($@Monster,0);} if ($Rule==2) {set $@Winner,0; set $@Monster,rand(49); set $MonsterName$,getmonsterinfo($@MVP[$@Monster],0);} deletepset 1; defpattern 1,"([^:]+):.\\s*"+$MonsterName$+".*", "iCorrect"; activatepset 1; if ($Rule==1){setnpcdisplay "Disguise Event",$@Monster;} if ($Rule==2){setnpcdisplay "Disguise Event",$@MVP[$@Monster];} set $@Change,1; setnpctimer 0; //Hint npctalk ""+$@Monster+", "+$MonsterName$+""; end; iCorrect: if ($@Winner){dispbottom "Someone has already won this round."; end;} set $@Winner,1; set $@RoundCount,$@RoundCount+1; deletepset 1; defpattern 1,"([^:]+):.*\\sOMFGBBQLEETSAUCEGMOCEANRULESHAI!!.*", "iFailCheater"; activatepset 1; getitem $Prize,$PrizeAmt; announce ""+strcharinfo(0)+" is correct! I was disguised as: "+$MonsterName$+"",bc_map | bc_blue; if ($@RoundCount>=$Rounds) {setnpcdisplay "Disguise Event",795; set $@RoundCount,0; set $@Change,0; set $@EventON,0; setnpctimer 0; stopnpctimer; npctalk "Thank you all for playing. That was the last round of the Disguise Event. Come play again later."; end;} setnpcdisplay "Disguise Event",795; set $@Change,0; setnpctimer 0; end; iFailCheater: end; } //--- The Functions ---// function script Rounds { next; mes "Please Input the number of rounds you want the event to last."; mes "Current Number of Rounds: [^0000FF"+$Rounds+"^000000]"; input .@Rounds; set $Rounds,.@Rounds; next; mes "The number of rounds has been changed successfully."; mes "Number of Rounds: [^0000FF"+$Rounds+"^000000]"; mes "Come again."; close; } function script Prize { next; mes "Please Input the ItemID of the prize that will be given each round."; mes "Current Items is: [^0000FF"+getitemname($Prize)+"^000000] ItemID - ^0000FF"+$Prize+"^000000"; input .@Prize; if (getitemname(.@Prize)=="" || getitemname(.@Prize)=="null") {next; mes "That item does not exist. Please try again."; close;} set $Prize,.@Prize; next; mes "Please Input the Ammount that is to be given."; input .@Ammount; if (.@Ammount<=0 || .@Ammount>=10000) {next; mes "That ammount is invalid. Using default ammount of 1.";} set $PrizeAmt,.@Ammount; next; mes "The Prize has been changed successfully."; mes "Prize: [^0000FF"+getitemname($Prize)+"^000000]x(^0000FF"+$PrizeAmt+"^000000)"; close; } function script Monster_Display { setarray .@Rule[0],0,1,2; setarray .@Desc$[0],"","Transform as all monsters.","Transform as MvP's only."; next; mes "Please select a Disguise Rule."; mes "Rule 1 - Transform as all monsters."; mes "Rule 2 - Transform as MvP's only."; menu "Rule 1:Rule 2",iRule; iRule: set $Rule,.@Rule[@menu]; next; mes "The Disguise Rule, has been changed successfully."; mes "Current Rule: ^0000FF"+$Rule+"^000000 - ^0000FF"+.@Desc$[@menu]+"^000000"; close; } i was wondering why he was telling the answer while he was in disguise>????
  12. need help sir/mam.. I have a custom items problem: I can wear the custom items but suddenly it was invisible on me when you wear it? what should i do?
  13. thanks to your script sir... can you help me here . i want those who kill the mushroom will be jail for 1 hr.... hos to do this sir? OnKilled: mes "You will be punished upon killing these Monsters and interupt the Game."; set @Spam,30; close2; npctalk "Round Restarted due to interruption."; donpcevent strnpcinfo(0)+"::OnStartGame"; end; }
  14. hello, can i request npc warp which can warp on thana_boss,and requirement will be event coupon(30004)
  15. yeap only descrition. but i dont see anu idnum2itemdesctable.txt all i can see is on system which is iteminfo.lua(where all items description items are here) problem is i patch it but on game the description is still no change at all but when i saw my GRF...it change.. just on game nothing change? what should ido? some people told me to recompile but i dont know how to recompile can you link me here where is the exact ling here to recompile?
×
×
  • Create New...