Jump to content

M a p l e

Members
  • Posts

    264
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by M a p l e

  1. 10 hours ago, Redao said:

    Did the author not authorize? How do you know?
    Do you know if it has a version for rAthena?

    I talked to him, to ask if he had authorized it, and he wasn't even aware of it. He told me to talk to the rA moderators. But if the Administrator himself approved this download, what good do I say.

  2. 3 hours ago, Akbare said:

    sory im need advice sir

    this my config

    ; ------------------------------------------------------------------
    ; Elurair
    ; (c) 2012-2022 Ai4rei/AN
    ;
    ; ------------------------------------------------------------------
    
    ; Lines starting with ; are comments and can be removed before
    ; embedding the config.
    
    ; Numbers are always considered decimal (base 10) unless stated
    ; otherwise.
    
    ; Text is assumed to be UTF-8, some fields may be interpreted as
    ; system code page (ACP/ANSI).
    
    ; When a color value is required, it can be in one of the following
    ; CSS-like formats:
    ;       #rgb                    hexadecimal (short)
    ;       #rrggbb                 hexadecimal (long)
    ;       rgb(r,g,b)              decimal or hexadecimal
    ;       rgb(r%,g%,b%)           percentage
    
    [ROCred]
    ; Identifies this specific Elurair setup. This may be anything that
    ; uniquely describes the publisher of this setup, such as the server
    ; name.
    ; Note: This is needed for the password saving feature to work and
    ;       allows for different games to have separately saved
    ;       passwords.
    ;ConfigID=nachtwolke.ai4rei.com/sakray
    ConfigID=http://localhost/
    
    ; Whether or not username is remembered.
    ; Values:
    ;       0: No
    ;       1: Yes
    CheckSave=0
    
    ; Whether or not password is remembered in addition to the username.
    ; Values:
    ;       0: No
    ;       1: Yes
    CheckSavePassword=0
    
    ; Remembered user name.
    ; Note: If the password saving feature is enabled and active, this
    ;       value is not used and the user name saved with the password
    ;       is used instead.
    UserName=
    
    ; Whether or not password should be MD5 hashed.
    ; Values:
    ;       0: Plaintext
    ;       1: MD5 hash
    ; Note: Depending on server-software, you may need to disable
    ;       server-side hashing, to prevent the MD5 hashes from being
    ;       rehashed before comparison with stored hashes.
    HashMD5=0
    
    ; Salt pattern, when MD5 password hashing is used.
    ; Note: The user password is indicated with {password} and it may
    ;       appear anywhere in the salt.
    ; Note: To use arbitrary byte values in the salt, use C-style
    ;       escaping characters.
    ; Note: Using salted hashes may improve password safety against pre-
    ;       computed attacks, but may require additional changes to the
    ;       server software.
    ; Note: To not use salty MD5 hashes, leave the value blank.
    ; Example:
    ;       \x8A\x16\x38\x73\x6B\x15\x73\x58\x4C\x13\x57\x1D\x6A\xA8\xE4\x31\x00\xEE\xB7\xA1\xA6\x6C\xA5\xBB\x41{password}\x38\xEC\xF7\xD3\xD6\xA8\x7E\x49\x89\x9C\x84\x98\x41\x87\x14
    HashMD5Salt=
    
    ; Whether second instances are allowed or not.
    ; Values:
    ;       0: No
    ;       1: Yes
    ; Note: This setting is not meant as measure to prevent double
    ;       clienting.
    SecondInstance=0
    
    ; Whether or not the checkbox for remembering user name is
    ; available.
    ; Values:
    ;       0: Available
    ;       1: Unavailable
    PolicyNoCheckSave=0
    
    ; Whether or not the notification icon is displayed when in
    ; background waiting for the client to complete.
    ; Values:
    ;       0: Display
    ;       1: Hide
    PolicyNoTrayIcon=0
    
    ; Whether or not password is kept during a session when in
    ; background waiting for the client to complete.
    ; Values:
    ;       0: Kept (Convenience)
    ;       1: Not kept (Security)
    PolicyNoSessionPassword=0
    
    ; Whether or not the credentials (user name and password) are
    ; requested when launching an application as client (ActionType 4).
    ; Values:
    ;       0: Launcher with user name and password input
    ;       1: Launcher without user name and password input (user
    ;          authenticates through other means, ex. in the client)
    ; Note: When enabled, user name, password and save check box
    ;       controls are not displayed and the MiscInfo setting has no
    ;       effect.
    PolicyNoCredentials=0
    
    ; Font face of the dialog.
    ; Note: This should be one of the commonly installed type faces,
    ;       such as Tahoma or Segoe UI.
    ; Note: If left empty, default UI font will be used. While this may
    ;       make the UI style unpredicable to certain extent, it may be
    ;       needed for non-latin scripts.
    FontFace=Tahoma
    
    ; Font size of buttons and edit controls in points.
    FontSize=9
    
    ; Font size of status bar in points.
    FontSize2=9
    
    ; Provides miscellaneous client information to the server as part of
    ; the password/hash data. The password/hash is provided as "key".
    ; Bitmask:
    ;       &1: Hardware address of the network adapter (mac).
    ;           Internet-bound adapters are searched first, otherwise
    ;           the first available is picked. If the MAC address cannot
    ;           be retrieved, "000000000000" is passed.
    ; Note: The user receives an agreement prompt the first time they
    ;       provide the data to the server (privacy).
    ; Note: The server must be modified to support the data format.
    ;       Example: mac=112233445566&key=mypwd123
    ; Note: Password is always the last key-value pair and is not
    ;       urlencoded.
    ; Note: Has no effect when PolicyNoCredentials is set.
    MiscInfo=1
    
    ; Visual Customization (skinning)
    ;
    ; Note: This adjusts the visual aspects of the main window, such as
    ;       control positions and sizes. All values are in pixels, so be
    ;       sure to test the configuration on high-DPI systems.
    ; Note: Background picture is taken from bgskin.bmp, which can also
    ;       be embedded (BGSKIN). Transparent color is assumed to be
    ;       #ff00ff (magenta).
    ; Note: Buttons skins do not support transparent color, use the
    ;       underlying background for non-button areas to simulate it.
    ;       The bitmap contains the three states of a button: normal,
    ;       focus and clicked (in that order). The resulting button size
    ;       can be of any size, but the total width must be divisible
    ;       by 3.
    
    ; Username text box
    IDC_USERNAME.X=44
    IDC_USERNAME.Y=69
    IDC_USERNAME.W=391
    IDC_USERNAME.H=23
    
    ; Password text box
    IDC_PASSWORD.X=44
    IDC_PASSWORD.Y=149
    IDC_PASSWORD.W=391
    IDC_PASSWORD.H=23
    
    ; Save check box
    ; Note: The skin for this control contains 6 sprites. One set for
    ;       unchecked state and one set for checked state.
    IDC_CHECKSAVE.X=52
    IDC_CHECKSAVE.Y=209
    IDC_CHECKSAVE.W=17
    IDC_CHECKSAVE.H=17
    
    ; Status bar
    IDC_STATUSBAR.X=44
    IDC_STATUSBAR.Y=210
    IDC_STATUSBAR.W=391
    IDC_STATUSBAR.H=23
    
    ; Progress bar
    ; Note: The skins for this control are PROGRESSBG, PROGRESSLEFT,
    ;       PROGRESSCENTER and PROGRESSRIGHT.
    ; Note: PROGRESSLEFT and PROGRESSRIGHT are optional, but
    ;       recommended, unless you want the progress indicator to cover
    ;       the whole width of the control.
    IDC_PROGRESSBAR.X=44
    IDC_PROGRESSBAR.Y=234
    
    ; Whether or not the text boxes are transparent.
    ; Values:
    ;       0: System default
    ;       1: Reserved
    ;       2: Custom foreground and background colors.
    EditBackground=0
    
    ; Text box background color.
    ; Note: EditBackground must be set to 2 for this setting to have
    ;       any effect.
    EditBackgroundColor=#fff
    
    ; Text box foreground (text) color.
    ; Note: EditBackground must be set to 2 for this setting to have
    ;       any effect.
    EditForegroundColor=#000
    
    ; Whether or not the text boxes have a frame.
    ; Values:
    ;       0: System default
    ;       1: Without frame
    ; Note: Frameless edit controls are typically used, when the
    ;       background skin provides some atypical shape for the edit
    ;       controls (such as rounded corners/ends).
    EditFrame=1
    
    ; Controls the way the progress indicator center piece is drawn.
    ; Values:
    ;       0: Left-aligned clip (bar revealed left to right)
    ;       1: Right-aligned clip (bar grows left to right)
    ;       2: Stretch
    ;       3: Tile
    ; Note: Clip (values 0 and 1) requires the center piece bitmap to be
    ;       as wide as the background without the left and right ends.
    ProgressCenterMode=0
    
    ; Whether or not to show the native window caption and frame.
    ; Values:
    ;       0: Hide caption, skin covers entire window
    ;       1: Show caption, skin covers only client area
    ; Note: Even when the caption is hidden, you can provide minimize
    ;       and close actions with custom buttons.
    ShowWindowCaption=1
    
    ; Whether or not the status bar is transparent.
    ; Values:
    ;       0: System default
    ;       1: Transparent
    ;       2: Custom foreground and background colors.
    StatusBackground=0
    
    ; Status bar background color.
    ; Note: EditBackground must be set to 2 for this setting to have
    ;       any effect.
    StatusBackgroundColor=#fff
    
    ; Status bar foreground (text) color.
    ; Note: EditBackground must be set to 1 or 2 for this setting to
    ;       have any effect.
    StatusForegroundColor=#000
    
    ; Define this to 1.
    ; Values:
    ;       0: Elurair is not configured.
    ;       1: Elurair is configured.
    ; Note: This setting is to prevent starting an uninitialized
    ;       configuration that would result in broken, unusable UI.
    ConfigIsReady=0
    
    ; Action Buttons
    ;
    ; You can register buttons to appear on the user interface, that
    ; will do a predefined action. Each section in the format
    ; ROCred.Buttons.<your button identifier> will create a new button.
    ; The button identifier may consist of A-Z, 0-9 and _ (underscore),
    ; must be unique (among other custom buttons) and also serves as
    ; name for skins (see skinning section for more details on button
    ; skinning). The amount of buttons is only limited by available
    ; memory and GDI resources.
    
    ; Start button
    ; Note: If you specify a button skin (btnstart.bmp / BTNSTART)
    ;       W and H members will be ignored and taken from the bitmap.
    [ROCred.Buttons.BTNSTART#1]
    X=219
    Y=239
    W=75
    H=23
    DisplayName=#1005
    ActionType=4
    ActionData=Ragnarok.exe 1rag1
    ActionHandler=
    
    ; Close button
    ; Note: If you specify a button skin (btnclose.bmp / BTNCLOSE)
    ;       W and H members will be ignored and taken from the bitmap.
    [ROCred.Buttons.BTNCLOSE#2]
    X=339
    Y=239
    W=75
    H=23
    DisplayName=#1006
    ActionType=2
    ActionData=
    ActionHandler=
    
    ; Sample button
    [ROCred.Buttons.CUSTOM1]
    
    ; Position of the button.
    X=7
    Y=43
    
    ; Size of the button.
    ; Note: If you specify a button skin, values will be ignored and
    ; taken from the bitmap.
    W=75
    H=23
    
    ; Text to be displayed on the button.
    ; Note: If you specify a button skin, this becomes a tool tip for
    ;       the button.
    ; Note: To refer to a string table entry, use #<number> (ex. #123).
    DisplayName=Website
    
    ; Action to invoke when the button is pressed.
    ; Values:
    ;       0: Launch application or website
    ;       1: Launch application or website, and close application
    ;       2: Close application
    ;       3: Display a message (uses C-style escaping characters)
    ;       4: Launch application as client (with credentials and other
    ;          stuff), this allows running alternative clients
    ;       5: Minimize application window
    ActionType=0
    
    ; Data associated with button's action type.
    ; Note: To refer to a string table entry, use #<number> (ex. #123).
    ; Note: If you specify arguments for action 4, they will be
    ;       concatenated with the credential arguments.
    ;ActionData=ragexeRE.exe 1sak1
    ActionData=http://localhost/
    
    ; Handler associated with button's action type.
    ; ActionType:
    ;    0, 1: See the documentation of SHELLEXECUTEINFO::lpClass as to
    ;          what values this setting may take. When the value is
    ;          empty, the handler is inferred.
    ;          You can use this to specify the file extension to use
    ;          when running a file which has a different extension or
    ;          none at all. Specify ".exe" if you want to run an
    ;          executable that has the extension ".bin" for example.
    ; 2, 3, 5: Ignored.
    ;       4: Ignored, always assumed to be ".exe" type.
    ; Note: The only handlers for ActionType 0 and 1 supported on
    ;       Windows XP and earlier are file extensions, file classes
    ;       and GUIDs.
    ActionHandler=
    
    ; Web Browsers
    ;
    ; You can register (web) browsers to appear on the user interface to
    ; display local or remote HTML resources. Each section in the format
    ; ROCred.Browsers.<your browser identifier> will create a new
    ; browser. The browser identifier may consist of A-Z, 0-9 and
    ; _ (underscore) and must be unique (among other custom controls).
    ; The amount of browsers is only limited by available memory and GDI
    ; resources. For seamless integration into the skin, following CSS
    ; styles may come handy:
    ; html { border-width:0; }  /* disables frame* around the browser */
    ; body { background-attachment:fixed; }  /* static background */
    ; html { overflow:hidden; } /* IE6: disable scrollbars */
    ; body { overflow:hidden; } /* IE7+: disable scrollbars */
    ; Note: If disabling frame does not work, specify following tag in
    ; <head> tag:
    ; <meta http-equiv="X-UA-Compatible" content="IE=6">
    
    ; Sample Browser
    [ROCred.Browsers.CUSTOM2]
    
    ; Position of the browser.
    X=7
    Y=7
    
    ; Size of the browser.
    W=210
    H=120
    
    ; URL/Website to open in the browser.
    ; Note: This is not restricted to internet locations, a local file
    ;       may also be specified.
    ; Note: Supported protocols are:
    ;       - relative/path/file.htm
    ;           Urls missing a protocol specficiation (ex. relative
    ;           paths) are transformed to file: protocol.
    ;       - http://domain.tld/path/to/file.htm
    ;           Recommended. Works on all Windows versions.
    ;       - https://domain.tld/path/to/file.htm
    ;           May not work on older versions with certain server
    ;           configurations.
    ;       - res://file/id or res://file/type/id
    ;           Content stored as a resource (inside an EXE or DLL).
    ; Note: To refer to a string table entry, use #<number> (ex. #123).
    Url=http://localhost/rathenapatcher/notice.html
    
    ; Patch Configurations
    ;
    ; You can register patch processes to run before ActionType=4 button
    ; actions can be executed. Each section in the format
    ; ROCred.Patcher.<your config identifier> will create a separate
    ; patch process. The config identifier must be unique (among other
    ; patch configs), but is otherwise meaningless. Patch processes run
    ; sequentially in given order. The amount of patch configs is only
    ; limited by available memory.
    ; Each downloaded file is processed by a file type handler, that may
    ; or may not post-process it. By default the application comes with
    ; the follwing handlers:
    ;       - *.gpf (merged into archive defined in PakFile)
    ;       - *.rgz (unpacked)
    ;       - *.zip (unpacked)
    ;       - *.*   (will save unhandled files as is)
    ; When at least one patch process is registered, the patcher can be
    ; updated by distributing the updated version as "elurair.new".
    [ROCred.Patchers.Main]
    
    ; Local file name to record patch progress in.
    InfFile=main.inf
    
    ; Local file name for archive-style patches. Actual meaning depends
    ; on the archive handler in use.
    PakFile=main.grf
    
    ; Remote file name that contains list of patches to download and
    ; apply. Each line corresponds to one patch. Use only characters
    ; from the ASCII character set. Empty lines and lines starting with
    ; // are ignored.
    ; Format:
    ;       <incremental counter> <patch file name>
    ; RegExp:
    ;       /^(\d{2,}|[1-9])[ \t]+([^\r\n]+)$/m
    ; Example:
    ;       1   20XX-07-04SetupFix.rgz
    ;       2   20XX-07-05PatchFix.rgz
    ;       //3 20XX-07-11Event.gpf
    ;       4   20XX-07-11Event2.gpf
    WebList=patch_main.txt
    
    ; Path on the patch server that will be used when downloading remote
    ; files.
    WebPath=http://localhost/rathenapatcher/
    
    ; Patch server IP/domain name that will be used when downloading
    ; remote files.
    WebSite=http://localhost/
    
    ; Protocol to use when downloading remote files.
    ; Values:
    ;       http
    WebProt=http
    
    [ROCred.Patchers.PK]
    InfFile=pk.dat
    PakFile=pk.pak
    WebList=patch_pk.txt
    WebPath=/
    WebSite=pkpatch.example.com
    WebProt=http
    

    im use builder and get notice

    thx for advice sir

    cats.jpg

    ; Define this to 1.
    ; Values:
    ;       0: Elurair is not configured.
    ;       1: Elurair is configured.
    ; Note: This setting is to prevent starting an uninitialized
    ;       configuration that would result in broken, unusable UI.
    ConfigIsReady=1
    • Like 1
  3. 3 hours ago, Charelle said:

    Hi rAthena,

    I reach out to you because I've been breaking my head about this problem all day. Hopefully you can help.

    First things first, I extracted the following sprite (cons_of_poison) from TaiwanRO grf:

    cons_of_poison.gif.6820ca39880f9d04e06ed747dee33636.gif

     

    In GRF Editor it looks perfect, however, as soon as I equip it in-game there is nothing to see.

    Well, not exactly... in the equip window, I see the Scaraba Queen helmet, but according to GRF Editor that's right because it's a combined sprite headgear. 


    image.png.de814bef2318a42a44499ce1ea3ed830.png
     

    Either way so it doesn't actually show the poison aura.  I should add that all other con_of_water/wind/earth/fire/darkness sprites work just fine.

    Lub info:

    	[39087] = {
    		unidentifiedDisplayName = "Hat",
    		unidentifiedResourceName = "Èĵå",
    		unidentifiedDescriptionName = {
    			"Unidentified item, can be identified with [Magnifier]."
    		},
    		identifiedDisplayName = "Costume Cons of Poison",
    		identifiedResourceName = "cons_of_poison",
    		identifiedDescriptionName = {
    			"Test",
    			"^ffffff_^000000",
    			"Class: ^777777Costume^000000",
    			"Location: ^777777Mid^000000",
    			"Weight: ^7777770^000000",
    			"Jobs: ^777777All Jobs^000000",
    		},
    		slotCount = 0,
    		ClassNum = 3024,
    	},


    Item db info (yes, I still use an old revision):
     

    39087,Cons_of_Poison,Costume Con of Poison,4,20,,0,,0,,0,0xFFFFFFFF,63,2,2048,,0,0,3024,{},{},{}

     

    Accessoryid:

    ACCESSORY_Cons_Of_Poison = 3024,

    Accname:

    	[ACCESSORY_IDs.ACCESSORY_Cons_Of_Poison] = "_Cons_Of_Poison"

    Sprites all present in the right directory:

    image.png.8f76e5c0335dff76d9a5186f181fc5bc.png

     

    Anyone got a clue what might be wrong?

    You need add more views ID in you client... NEMO or WARP ( increase headgear viewID limit )
    image.png.c0020e1b003dbb51aefe8fc6737870af.png

    • Like 1
  4. 22 hours ago, grenat50 said:

    Hi,

    I've uploaded a new version but it needs to be approved.


    There was a crash when someone was afk, sorry about that.

    I've added a ranking system to display on your website.

    @bginfo is indicating whether someone is in the queue of a BG that hasn't started, or if a BG has started with amount of players and time left.

     

    The Extended Battlegrounds are up on my server so it will be easier to discover/fix any issues.

     @Tdi123 you need to update your client, I responded in your other post.

    Thaaaaaanks.

    #Edit

    The patch 1.0.4 is the same as 1.0.3 It didn't have any changes.

    image.thumb.png.23b43a96daa837a8d37b19860b8a98c2.png

  5. 50 minutes ago, sader1992 said:

    Are you sure that the errors you provided is from the script you provided ? not an edited version ?

    It really is since scripted. the original version is this: 

    -	script	 Timmer#AC 	-1,{
    	OnInit: 
    	//set $arenac_gate, 1;
    	setcell "job_thief1",174,18,185,18,cell_walkable,0;
    	setcell "izlude",99,113,107,120,cell_walkable,0;
    	setcell "izlude",112,112,97,125,cell_nochat,1;
    	setcell "izlude",112,112,97,125,cell_novending,1;
    	//Armadilhas
    	set $SC_ARMCRIS,15;		//Chance de ir para arena com cristais premiados e PvP.
    	set $SC_ARMBLIND,15;	//Chance de congelar por 15 segundos.
    	set $SC_ARMDEG,15;		//Chance de diminuir agi.
    	set $SC_ARMEXIT,30;        //Chance de ser retirado da sala.
    	set $SC_ARMBON1,3;        //Chance de ganhar 2 bandeiras. 
    	set $SC_ARMBON2,7;        //Chance de ganhar 1 bandeira. 
    	set $SC_ARMAGIL,20;        //Chance de aumentar sua agilidade. 
    	set $SC_ARMDISPELL,15;		//Chance de perder todos buffs e de-buffs
    	set $SC_ARMIMUN,20;			//Chance de ficar imune a todas armadilhas por 15 segundos
    	set $SC_ARMSTRIP,5;		//Chance de divestar algum equip
    	end;
    	
    //=== Não mexer aqui por favor ==//
    
    OnClock1031: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    OnClock1231: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    OnClock1431: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    OnClock1631: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    OnClock1831: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    OnClock2031: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    OnClock2231: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    OnClock0031: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    	
    //<!----------------------Desabilitando Skills.---------------------------------->
    	OnClock1002: setmapflag "izlude",mf_noskill; end;
    	
    	OnClock1202: setmapflag "izlude",mf_noskill; end;
    	
    	OnClock1402: setmapflag "izlude",mf_noskill; end;
    	
    	OnClock1602: setmapflag "izlude",mf_noskill; end;
    	
    	OnClock1802: setmapflag "izlude",mf_noskill; end;
    	
    	OnClock2002: setmapflag "izlude",mf_noskill; end;
    	
    	OnClock2202: setmapflag "izlude",mf_noskill; end;
    	
    	OnClock0002: setmapflag "izlude",mf_noskill; end;
    	
    //<!-----------------------------Abrindo a Arena------------------------------------>
    	OnClock1010: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    	OnClock1210: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    	OnClock1410: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    	OnClock1610: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    	OnClock1810: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    	OnClock2010: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    	OnClock2210: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    	OnClock0010: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	
    //<!-----------------------------Fechando a Arena------------------------------------>
    	OnClock1030: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    	OnClock1230: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    	OnClock1430: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    	OnClock1630: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    	OnClock1830: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    	OnClock2030: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    	OnClock2230: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    	OnClock0030: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	
    }
    
    izlude.gat,104,117,5	script	 Arena dos Cristais 	470,{
    set @limite1, 55; //Limite de usuários arena 1
    set @limite2, 50; //Limite de usuários arena 2
    set @limite3, 40; //Limite de usuários arena 3
    
    L_Init:
    if($arenac_gate == 1) goto M_start;
    show "[Arena dos Cristais]";
    show "Olá ^FF0000"+strcharinfo(0)+"^000000, hoje é um ótimo dia para dropar bandeiras, não acha?";
    next;
    if($arenac_gate == 1) goto M_start;
    show "[Arena dos Cristais]";
    show "Uma pena que a arena está fechada no momento!";
    emotion e_wah,1;
    next;
    show "[Arena dos Cristais]";
    show "A arena fica aberta nestes horários:";
    show "^FF0000 10:10 até 10:30 ^000000";
    show "^0000FF 12:10 até 12:30 ^000000";
    show "^FF0000 14:10 até 14:30 ^000000";
    show "^0000FF 16:10 até 16:30 ^000000";
    show "^FF0000 18:10 até 18:30 ^000000";
    show "^0000FF 20:10 até 20:30 ^000000";
    show "^FF0000 22:10 até 22:30 ^000000";
    show "^0000FF 00:10 até 00:30 ^000000";
    close;
    end;
    
    M_start:
    show "[Arena dos Cristais]";
    show "Qual arena deseja entrar?";
    show "^309A98Usuários VIP TOTAL podem entrar na arena mesmo estando lotada^000000.";
    if(getgmlevel() >= 20){ show "^306C2FVocê é um usuário VIP TOTAL^000000."; }else{ show "^306C2FVocê não é um usuário VIP TOTAL^000000."; }
    next;
    menu "Arena 1 ^0000FF[" + getmapusers("job_thief1") + "/" + @limite1 + "]^000000",arena1,"Arena 2 ^0000FF[" + getmapusers("que_qaru01") + "/" + @limite2 + "]^000000",arena2;
    
    arena1:
    if($arenac_gate == 1 && getgmlevel () >= 20) { warp "job_thief1",0,0; close; }
    if($arenac_gate == 1 && getmapusers("job_thief1") < @limite1){ warp "job_thief1",0,0; close; }
    if($arenac_gate == 1){ show "[Arena dos Cristais]"; show "A arena está lotada."; emotion e_wah,1; next; goto L_Init; }
    show "[Arena dos Cristais]";
    show "Você está meio atrasado, não é?!";
    next;
    show "[Arena dos Cristais]";
    show "A arena já fechou!";
    emotion e_hmm;
    close;
    end;
    
    arena2:
    if($arenac_gate == 1 && getgmlevel () >= 20) { warp "que_qaru01",0,0; close; }
    if($arenac_gate == 1 && getmapusers("que_qaru01") < @limite2){ warp "que_qaru01",0,0; close; }
    if($arenac_gate == 1){ show "[Arena dos Cristais]"; show "A arena está lotada."; emotion e_wah,1; next; goto L_Init; }
    show "[Arena dos Cristais]";
    show "Você está meio atrasado, não é?!";
    next;
    show "[Arena dos Cristais]";
    show "A arena já fechou!";
    emotion e_hmm;
    close;
    end;
    
    
    }
    
    -	script	OnDie#2	-1,{
    OnPCDieEvent:
        getmapxy(@mapn$,@x,@y,0);
        if(@mapn$ == "que_qaru01" || @mapn$ == "job_monk" || @map$ == "job_thief1"){
        specialeffect2 555;
        sleep2 750;
        warp "izlude",96,104;
        end;
        }
    
    }
    
    
    -	script	OnDie#1	-1,{
    OnPCDieEvent:
        getmapxy(@mapn$,@x,@y,0,strcharinfo(0));
    	if(@mapn$ == "job_monk"){
        set @charid, getcharid(3);
        set @killer$,rid2name(killerrid);
        set @killed$,rid2name($crist_death);
        if(strcharinfo(0) == @killed$){
        if(attachrid(killerrid)){
        announce ""+strcharinfo(0)+" matou "+rid2name($crist_death)+" e ganhou 3 bandeiras!",bc_map; 
        additem 7549,3;
    	specialeffect2 586;
    	}
       set $crist_death,0;
       }
     }
    end;
    }
    
    
    job_monk,0,0,5	script	Setter#551	-1,{
    OnInit:
    monster "job_monk",0,0,"Cristal Premiado",1395,60,"Setter#551::OnDie";
    end;
    
    OnDie:
    	set @crist_death, @cristdeath+1;
    	set @SC_RANDOM,rand(1,100);
    	if(@crist_death > 120){ announce "A cabeça de "+strcharinfo(0)+" está ao preço de 3 bandeiras!",bc_map; set $crist_death,getcharid(3); set @crist_death, 0; specialeffect2 744; specialeffect2 233; end; }
    	if(@SC_RANDOM >= 97){ announce ""+strcharinfo(0)+" matou o Cristal premiado e ganhou bônus de 2 bandeiras!",bc_map; additem 7549,2; }
    	if(@SC_RANDOM > 79 && @SC_RANDOM < 85){ dispbottom "Armadilha! você será jogado para fora"; warp "izlude",96,104; }
    	if(@SC_RANDOM > 4 && @SC_RANDOM < 25){ specialeffect2 744; }
    	if(@SC_RANDOM < 4){ announce "A cabeça de "+strcharinfo(0)+" está ao preço de 3 bandeiras!",bc_map; set $crist_death,getcharid(3); specialeffect2 744; specialeffect2 233; }
    	monster "job_monk",0,0,"Cristal Premiado",1395,1,"Setter#551::OnDie";
    	end;
    }
    
    
    
    function	script	SC_DISPARM	{
    if(@imun > 0){ emotion e_gg,1; dispbottom "Armadilha falhou! Você está imune."; return; }
    
    ARMEXIT:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMEXIT) {
            specialeffect2 69;
    		specialeffect2 304;
            dispbottom "Armadilha! Você será jogado para fora";
            warp "izlude",96,104;
    		emotion e_sob,1;
            return;
            } else { 
            goto ARMDEG;
            }
    ARMDEG:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMDEG) {
            specialeffect2 38;
    		specialeffect2 234;
    		specialeffect2 372;
    		emotion e_an,1;
            dispbottom "Armadilha! Velocidade Diminuida!";
    		sc_start SC_DECREASEAGI,80000,50;
            sc_start SC_CHANGEUNDEAD,50000,0;
            return;
            } else { 
            goto ARMDISPELL;
            }
    
    ARMDISPELL:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMDISPELL) {
            specialeffect2 235;
    		emotion e_omg,1;
            dispbottom "Armadilha! Todos efeitos foram retirados!";
            sc_end SC_ALL;
            return;
            } else {
            goto ARMIMUN;
            }
    		
    ARMIMUN:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMIMUN) {
            specialeffect2 675;
    		specialeffect2 749;
    		emotion e_heh,1;
            dispbottom "Bônus! Você está imune as armadilhas por 15 segundos!";
            set @imun,1;
    		sleep2 15000;
    		set @imun,0;
            return;
            } else {
            goto ARMSTRIP;
            }		
    		
    ARMSTRIP:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMSTRIP) {
    		switch(rand(1,4)){
    		case 1: specialeffect2 269; dispbottom "Armadilha! Arma retirada!"; unequip 4; break;
    		case 2: specialeffect2 270; dispbottom "Armadilha! Escudo retirado!"; unequip 3; break;
    		case 3: specialeffect2 271; dispbottom "Armadilha! Armadura retirada!"; unequip 2; break;
    		case 4: specialeffect2 272; dispbottom "Armadilha! Capacete retirado!"; unequip 1; break;
    		}
    		emotion e_omg,1;
            return;
            } else {
            goto ARMBON1;
            }		
    		
    ARMBON1:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMBON1) {
            specialeffect2 100;
    		specialeffect2 847;
    		emotion e_gg,1;
            dispbottom "Bônus! Você recebeu 2 Bandeiras Nacionais!";
            additem 7549,2;
            return;
            } else {
            goto ARMBON2;
            }
    
    ARMBON2:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMBON2) {
            specialeffect2 100;
    		emotion e_heh,1;
            dispbottom "Bônus! Você recebeu 1 Bandeira Nacional!";
            additem 7549,1;
            return;
            } else {
            goto ARMBLIND;
            }
    
    ARMBLIND:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMBLIND) {
    		if (checkoption(0x10)){ set @falcon, 1; }
    		if (checkoption(0x20)){ set @peco, 1; }
            specialeffect2 108;
    		emotion e_wah,1;
            dispbottom "Armadilha! Congelado!";
    		atcommand "@option 2";
    		if (@falcon > 0){ setoption 0x10; }
    		if (@peco > 0){ setoption 0x20; }
    		sleep2 6000;
    		atcommand "@option 0";
    		if (@falcon > 0){ setoption 0x10; set @falcon, 0; }
    		if (@peco > 0){ setoption 0x20; set @peco, 0; }
            return;
            } else { 
            goto ARMAGIL;
            }
    
    ARMAGIL:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMAGIL) {
            dispbottom "Bônus! Você recebeu Aumentar Agilidade Nv. 10!";
    		emotion e_rice,1;
            sc_start 32,240000,10;
            skilleffect 29,0;
    		specialeffect2 507;
    		specialeffect2 519;
            return;
            } else {
            goto ARMCRIS;
            }
    
    ARMCRIS:
    
    set @SC_RANDOM,rand(1,100);
    
            if(@SC_RANDOM <= $SC_ARMCRIS) {
    		emotion e_cash,1;
    		pcblockmove getcharid(3),1;
    		specialeffect2 60;
    		specialeffect2 501;
    		sleep2 2400;
    		pcblockmove getcharid(3),0;
            dispbottom "Bônus! Teleporte para a Arena Premiada!";
    		specialeffect2 227;
    		warp "job_monk",0,0;
            return;
            } else {
            goto ARMBONN;
            }
    
    
    ARMBONN:
    
    set @SC_RANDOM,rand(1,20);
    	if(@SC_RANDOM <= 1){
                    if(countitem(7549) > 2) {
                    specialeffect2 722;
    				specialeffect2 380;
    				emotion e_sob,1;
                    dispbottom "Armadilha! Você perdeu 3 Bandeiras Nacionais!";
                    delitem 7549,3;
    				return;
                    }
    		    goto ARMFIM;
    		  }else{ goto ARMFIM; }
    		  
    ARMFIM:
    
    set @SC_RANDOM,rand(1,10);
    if(@SC_RANDOM <= 5){
        if(countitem(7549) > 0) {
    		specialeffect2 18;
    		emotion e_wah,1;
    		dispbottom "Armadilha! Você perdeu 1 Bandeira Nacional!";
    		delitem 7549,1;
    		return;
        }
    	return;
    	}
    	return;
    }
    
    
    function	script	SC_MOVEARM	{
    movenpc getarg(0),rand(2,390),rand(2,390);
    getmapxy(.@map$,.@x,.@y,1,getarg(0));
    if( !checkcell(.@map$,.@x,.@y,cell_chkreach) ){ return 0; }
    if( !checkcell(.@map$,.@x,.@y,cell_chkpass) ){ return 0; }
    return 1;
    }
    
    -	script	Warper#AC	-1,{
    end;
    
    OnTimer60000:
    areawarp "job_thief1",rand(18,341),rand(18,341),rand(18,341),rand(18,341),"job_monk",0,0;
    end;
    
    OnInit:
    initnpctimer;
    end;
    }
    
    
    //<!----------------------------ARMADILHAS ARENA 1------------------------------->
    
    
    job_thief1,0,0,5	script	SC_ARMS#1::ARM1	-1,7,7,{
    OnInit: callsub SC_MOVEARM; initnpctimer; end; 
    
    OnTouch: 
    callfunc "SC_DISPARM"; 
    
    OnTimer60000:
    SC_MOVEARM: 
    movenpc strnpcinfo(0),rand(19,340),rand(27,340);
    initnpctimer;
    end;
    }
    
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#2	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#3	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#4	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#5	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#6	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#7	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#8	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#9	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#10	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#11	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#12	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#13	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#14	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#15	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#16	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#17	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#18	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#19	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#20	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#21	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#22	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#23	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#24	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#25	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#26	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#27	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#28	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#29	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#30	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#31	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#32	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#33	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#34	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#35	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#36	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#37	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#38	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#39	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#40	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#41	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#42	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#43	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#44	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#45	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#46	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#47	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#48	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#49	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#50	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#51	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#52	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#53	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#54	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#55	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#56	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#57	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#58	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#59	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#60	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#61	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#62	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#63	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#64	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#65	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#66	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#67	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#68	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#69	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#70	-1,7,7
    
    //<!----------------------------------ARMADILHAS ARENA 2------------------------>
    
    que_qaru01,0,0,5	script	SC_ARMS2#1	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#2	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#3	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#4	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#5	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#6	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#7	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#8	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#9	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#10	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#11	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#12	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#13	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#14	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#15	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#16	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#17	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#18	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#19	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#20	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#21	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#22	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#23	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#24	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#25	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#26	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#27	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#28	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#29	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#30	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#31	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#32	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#33	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#34	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    que_qaru01,0,0,5	script	SC_ARMS2#35	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    
    
    
    
    
    //Spawns do cristal.
    que_qaru01,0,0,0,0	monster	Cristal pbRO	1395,95,30000,0,0
    job_thief1,0,0,0,0	monster	Cristal pbRO	1395,120,35000,0,0
    
    gld_dun02,0,0,0,0	monster	Cristal pbRO	1395,25,1800000,0,0
    schg_dun01,0,0,0,0	monster	Cristal pbRO	1395,25,1800000,0,0
    
    
    
    
    //Warps D:
    que_qaru01,346,81,0	script	WBQ#1-1	45,1,1,{
    OnTouch: 
    	warp "que_qaru01",0,0; 
    	end; 
    }
    
    que_qaru01,132,171,0	script	WBQ#1-2	45,1,1,{
    OnTouch:
    	warp "que_qaru01",114,158;
    	end;
    }
    
    que_qaru01,149,105,0	script	WBQ#1-3	45,1,1,{
    OnTouch:
    	warp "que_qaru01",119,103;
    	end;
    }
    
    que_qaru01,129,102,0	script	WBQ#1-4	45,1,1,{
    OnTouch:
    	warp "que_qaru01",146,109;
    	end;
    }
    
    que_qaru01,252,339,0	script	WBQ#1-5	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,73,272,0	script	WBQ#1-6	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,275,298,0	script	WBQ#1-7	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,259,375,0	script	WBQ#1-8	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,244,375,0	script	WBQ#1-9	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,228,297,0	script	WBQ#2-1	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,345,22,0	script	WBQ#2-2	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,114,163,0	script	WBQ#2-3	45,1,1,{
    OnTouch:
    	warp "que_qaru01",135,172;
    	end;
    }
    
    
    
    
    //Mapflags.
    que_qaru01	mapflag	nowarpto
    que_qaru01	mapflag	nosave	SavePoint
    que_qaru01	mapflag	nomemo
    que_qaru01	mapflag	nobranch
    que_qaru01	mapflag	noreturn
    que_qaru01	mapflag	noicewall
    que_qaru01	mapflag	noteleport
    
    job_monk	mapflag	nowarp
    job_monk	mapflag	nosave	SavePoint
    job_monk	mapflag	nomemo
    job_monk	mapflag	nobranch
    job_monk	mapflag	pvp
    job_monk	mapflag	noreturn
    job_monk	mapflag	noteleport
    
    job_thief1	mapflag	noreturn
    job_thief1	mapflag	nowarpto
    job_thief1	mapflag	nosave	SavePoint
    job_thief1	mapflag	nomemo
    job_thief1	mapflag	nobranch
    job_thief1	mapflag	noicewall
    job_thief1	mapflag	noteleport
    
    gld_dun02	mapflag	pvp
    schg_dun01	mapflag	pvp

    As I mentioned I tried converting to rA.

  6. Could you give me strength to fix this silly mistake? I found this script and little by little I was converting to rA, but I couldn't find where the error is.

    NPC:

    -	script	 Timmer#AC 	-1,{
    	OnInit: 
    	//set $arenac_gate, 1;
    	setcell "job_thief1",174,18,185,18,cell_walkable,0;
    	setcell "izlude",99,113,107,120,cell_walkable,0;
    	setcell "izlude",112,112,97,125,cell_nochat,1;
    	setcell "izlude",112,112,97,125,cell_novending,1;
    	//Armadilhas
    	set $SC_ARMCRIS,15;		//Chance de ir para arena com cristais premiados e PvP.
    	set $SC_ARMBLIND,15;	//Chance de congelar por 15 segundos.
    	set $SC_ARMDEG,15;		//Chance de diminuir agi.
    	set $SC_ARMEXIT,30;		//Chance de ser retirado da sala.
    	set $SC_ARMBON1,3;		//Chance de ganhar 2 bandeiras. 
    	set $SC_ARMBON2,7;		//Chance de ganhar 1 bandeira. 
    	set $SC_ARMAGIL,20;		//Chance de aumentar sua agilidade. 
    	set $SC_ARMDISPELL,15;	//Chance de perder todos buffs e de-buffs
    	set $SC_ARMIMUN,20;		//Chance de ficar imune a todas armadilhas por 15 segundos
    	set $SC_ARMSTRIP,5;		//Chance de divestar algum equip
    	end;
    
    //=== Não mexer aqui por favor ==//
    
    	OnClock1031: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    	OnClock1231: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    	OnClock1431: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    	OnClock1631: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    	OnClock1831: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    	OnClock2031: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    	OnClock2231: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    	OnClock0031: mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; end;
    
    //<!----------------------Desabilitando Skills.---------------------------------->
    	OnClock1002: setmapflag "izlude",mf_noskill; end;
    	OnClock1202: setmapflag "izlude",mf_noskill; end;
    	OnClock1402: setmapflag "izlude",mf_noskill; end;
    	OnClock1602: setmapflag "izlude",mf_noskill; end;
    	OnClock1802: setmapflag "izlude",mf_noskill; end;
    	OnClock2002: setmapflag "izlude",mf_noskill; end;
    	OnClock2202: setmapflag "izlude",mf_noskill; end;
    	OnClock0002: setmapflag "izlude",mf_noskill; end;
    
    //<!-----------------------------Abrindo a Arena------------------------------------>
    	OnClock1010: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	OnClock1210: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	OnClock1410: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	OnClock1610: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	OnClock1810: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	OnClock2010: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	OnClock2210: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    	OnClock0010: set $arenac_gate, 1; announce "A Arena dos Cristais está aberta!",0; end;
    
    //<!-----------------------------Fechando a Arena------------------------------------>
    	OnClock1030: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	OnClock1230: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	OnClock1430: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	OnClock1630: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	OnClock1830: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	OnClock2030: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	OnClock2230: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    	OnClock0030: set $arenac_gate, 0; announce "A Arena dos Cristais está fechada!",0; mapwarp "job_thief1","izlude",96,104; mapwarp "que_qaru01","izlude",96,104; mapwarp "job_monk","izlude",96,104; removemapflag "izlude",mf_noskill; end;
    }
    
    izlude,124,148,5	script	 Arena dos Cristais 	470,{
    	set @limite1, 55; //Limite de usuários arena 1
    	set @limite2, 50; //Limite de usuários arena 2
    	set @limite3, 40; //Limite de usuários arena 3
    
    L_Init:
    if($arenac_gate == 1) goto M_start;
    	mes "[Arena dos Cristais]";
    	mes "Olá ^FF0000"+strcharinfo(0)+"^000000, hoje é um ótimo dia para dropar bandeiras, não acha?";
    	next;
    	if($arenac_gate == 1) goto M_start;
    	mes "[Arena dos Cristais]";
    	mes "Uma pena que a arena está fechada no momento!";
    	emotion ET_KEK,1;
    	next;
    	mes "[Arena dos Cristais]";
    	mes "A arena fica aberta nestes horários:";
    	mes "^FF0000 10:10 até 10:30 ^000000";
    	mes "^0000FF 12:10 até 12:30 ^000000";
    	mes "^FF0000 14:10 até 14:30 ^000000";
    	mes "^0000FF 16:10 até 16:30 ^000000";
    	mes "^FF0000 18:10 até 18:30 ^000000";
    	mes "^0000FF 20:10 até 20:30 ^000000";
    	mes "^FF0000 22:10 até 22:30 ^000000";
    	mes "^0000FF 00:10 até 00:30 ^000000";
    	close;
    	end;
    
    M_start:
    	mes "[Arena dos Cristais]";
    	mes "Qual arena deseja entrar?";
    	mes "^309A98Usuários VIP podem entrar na arena mesmo estando lotada^000000.";
    	if(getgroupid() >= 20){ mes "^306C2FVocê é um usuário VIP^000000."; }else{ mes "^306C2FVocê não é um usuário VIP^000000."; }
    	next;
    	menu "Arena 1 ^0000FF[" + getmapusers("job_thief1") + "/" + @limite1 + "]^000000",arena1,"Arena 2 ^0000FF[" + getmapusers("que_qaru01") + "/" + @limite2 + "]^000000",arena2;
    
    arena1:
    	if($arenac_gate == 1 && getgroupid() >= 20) { warp "job_thief1",0,0; close; }
    	if($arenac_gate == 1 && getmapusers("job_thief1") < @limite1){ warp "job_thief1",0,0; close; }
    	if($arenac_gate == 1){ mes "[Arena dos Cristais]"; mes "A arena está lotada."; emotion ET_KEK,1; next; goto L_Init; }
    	mes "[Arena dos Cristais]";
    	mes "Você está meio atrasado, não é?!";
    	next;
    	mes "[Arena dos Cristais]";
    	mes "A arena já fechou!";
    	emotion ET_SCRATCH;
    	close;
    	end;
    
    arena2:
    	if($arenac_gate == 1 && getgroupid() >= 20) { warp "que_qaru01",0,0; close; }
    	if($arenac_gate == 1 && getmapusers("que_qaru01") < @limite2){ warp "que_qaru01",0,0; close; }
    	if($arenac_gate == 1){ mes "[Arena dos Cristais]"; mes "A arena está lotada."; emotion ET_KEK,1; next; goto L_Init; }
    	mes "[Arena dos Cristais]";
    	mes "Você está meio atrasado, não é?!";
    	next;
    	mes "[Arena dos Cristais]";
    	mes "A arena já fechou!";
    	emotion ET_SCRATCH;
    	close;
    	end;
    }
    
    -	script	OnDie#2	-1,{
    OnPCDieEvent:
    	getmapxy(@mapn$,@x,@y,0);
    	if(@mapn$ == "que_qaru01" || @mapn$ == "job_monk" || @map$ == "job_thief1"){
    	specialeffect2 555;
    	sleep2 750;
    	warp "izlude",96,104;
    	end;
    	}
    }
    
    -	script	OnDie#1	-1,{
    OnPCDieEvent:
    	getmapxy(@mapn$,@x,@y,0,strcharinfo(0));
    	if(@mapn$ == "job_monk"){
    	set @charid, getcharid(3);
    	set @killer$,rid2name(killerrid);
    	set @killed$,rid2name($crist_death);
    	if(strcharinfo(0) == @killed$){
    	if(attachrid(killerrid)){
    	announce ""+strcharinfo(0)+" matou "+rid2name($crist_death)+" e ganhou 3 bandeiras!",bc_map; 
    	getitem 7549,3;
    	specialeffect2 586;
    	}
    	set $crist_death,0;
    	}
    	}
    	end;
    }
    
    job_monk,0,0,5	script	Setter#551	-1,{
    OnInit:
    	monster "job_monk",0,0,"Cristal Premiado",1395,60,"Setter#551::OnDie";
    end;
    
    OnDie:
    	set @crist_death, @cristdeath+1;
    	set @SC_RANDOM,rand(1,100);
    	if(@crist_death > 120){ announce "A cabeça de "+strcharinfo(0)+" está ao preço de 3 bandeiras!",bc_map; set $crist_death,getcharid(3); set @crist_death, 0; specialeffect2 744; specialeffect2 233; end; }
    	if(@SC_RANDOM >= 97){ announce ""+strcharinfo(0)+" matou o Cristal premiado e ganhou bônus de 2 bandeiras!",bc_map; getitem 7549,2; }
    	if(@SC_RANDOM > 79 && @SC_RANDOM < 85){ dispbottom "Armadilha! você será jogado para fora"; warp "izlude",96,104; }
    	if(@SC_RANDOM > 4 && @SC_RANDOM < 25){ specialeffect2 744; }
    	if(@SC_RANDOM < 4){ announce "A cabeça de "+strcharinfo(0)+" está ao preço de 3 bandeiras!",bc_map; set $crist_death,getcharid(3); specialeffect2 744; specialeffect2 233; }
    	monster "job_monk",0,0,"Cristal Premiado",1395,1,"Setter#551::OnDie";
    	end;
    }
    
    function	script	SC_DISPARM	{
    	if(@imun > 0){ emotion ET_KIK,1; dispbottom "Armadilha falhou! Você está imune."; return; }
    
    ARMEXIT:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMEXIT) {
    	specialeffect2 69;
    	specialeffect2 304;
    	dispbottom "Armadilha! Você será jogado para fora";
    	warp "izlude",96,104;
    	emotion ET_CRY,1;
    	return;
    	} else {
    	goto ARMDEG;
    }
    
    ARMDEG:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMDEG) {
    	specialeffect2 38;
    	specialeffect2 234;
    	specialeffect2 372;
    	emotion ET_FRET,1;
    	dispbottom "Armadilha! Velocidade Diminuida!";
    	sc_start SC_DECREASEAGI,80000,50;
    	sc_start SC_CHANGEUNDEAD,50000,0;
    	return;
    	} else {
    	goto ARMDISPELL;
    }
    
    ARMDISPELL:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMDISPELL) {
    	specialeffect2 235;
    	emotion ET_HUK,1;
    	dispbottom "Armadilha! Todos efeitos foram retirados!";
    	sc_end SC_ALL;
    	return;
    	} else {
    	goto ARMIMUN;
    }
    		
    ARMIMUN:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMIMUN) {
    	specialeffect2 675;
    	specialeffect2 749;
    	emotion ET_SMILE,1;
    	dispbottom "Bônus! Você está imune as armadilhas por 15 segundos!";
    	set @imun,1;
    	sleep2 15000;
    	set @imun,0;
    	return;
    	} else {
    	goto ARMSTRIP;
    }		
    		
    ARMSTRIP:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMSTRIP) {
    	switch(rand(1,4)){
    	case 1: specialeffect2 269; dispbottom "Armadilha! Arma retirada!"; unequip 4; break;
    	case 2: specialeffect2 270; dispbottom "Armadilha! Escudo retirado!"; unequip 3; break;
    	case 3: specialeffect2 271; dispbottom "Armadilha! Armadura retirada!"; unequip 2; break;
    	case 4: specialeffect2 272; dispbottom "Armadilha! Capacete retirado!"; unequip 1; break;
    	}
    	emotion ET_HUK,1;
    	return;
    	} else {
    	goto ARMBON1;
    }		
    		
    ARMBON1:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMBON1) {
    	specialeffect2 100;
    	specialeffect2 847;
    	emotion ET_KIK,1;
    	dispbottom "Bônus! Você recebeu 2 Bandeiras Nacionais!";
    	getitem 7549,2;
    	return;
    	} else {
    	goto ARMBON2;
    }
    
    ARMBON2:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMBON2) {
    	specialeffect2 100;
    	emotion ET_SMILE,1;
    	dispbottom "Bônus! Você recebeu 1 Bandeira Nacional!";
    	getitem 7549,1;
    	return;
    	} else {
    	goto ARMBLIND;
    }
    
    ARMBLIND:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMBLIND) {
    	if (checkoption(0x10)){ set @falcon, 1; }
    	if (checkoption(0x20)){ set @peco, 1; }
    	specialeffect2 108;
    	emotion ET_KEK,1;
    	dispbottom "Armadilha! Congelado!";
    	atcommand "@option 2";
    	if (@falcon > 0){ setoption 0x10; }
    	if (@peco > 0){ setoption 0x20; }
    	sleep2 6000;
    	atcommand "@option 0";
    	if (@falcon > 0){ setoption 0x10; set @falcon, 0; }
    	if (@peco > 0){ setoption 0x20; set @peco, 0; }
    	return;
    	} else { 
    	goto ARMAGIL;
    }
    
    ARMAGIL:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMAGIL) {
    	dispbottom "Bônus! Você recebeu Aumentar Agilidade Nv. 10!";
    	emotion ET_HUNGRY,1;
    	sc_start 32,240000,10;
    	skilleffect 29,0;
    	specialeffect2 507;
    	specialeffect2 519;
    	return;
    	} else {
    	goto ARMCRIS;
    }
    
    ARMCRIS:
    	set @SC_RANDOM,rand(1,100);
    	if(@SC_RANDOM <= $SC_ARMCRIS) {
    	emotion ET_MONEY,1;
    	pcblockmove getcharid(3),1;
    	specialeffect2 60;
    	specialeffect2 501;
    	sleep2 2400;
    	pcblockmove getcharid(3),0;
    	dispbottom "Bônus! Teleporte para a Arena Premiada!";
    	specialeffect2 227;
    	warp "job_monk",0,0;
    	return;
    	} else {
    	goto ARMBONN;
    }
    
    ARMBONN:
    	set @SC_RANDOM,rand(1,20);
    	if(@SC_RANDOM <= 1){
    	if(countitem(7549) > 2) {
    	specialeffect2 722;
    	specialeffect2 380;
    	emotion ET_CRY,1;
    	dispbottom "Armadilha! Você perdeu 3 Bandeiras Nacionais!";
    	delitem 7549,3;
    	return;
    	}
    	goto ARMFIM;
    	}else{ 
    	goto ARMFIM;
    }
    
    ARMFIM:
    	set @SC_RANDOM,rand(1,10);
    	if(@SC_RANDOM <= 5){
    	if(countitem(7549) > 0) {
    	specialeffect2 18;
    	emotion ET_KEK,1;
    	dispbottom "Armadilha! Você perdeu 1 Bandeira Nacional!";
    	delitem 7549,1;
    	return;
    	}
    	return;
    	}
    	return;
    }
    
    function	script	SC_MOVEARM	{
    	movenpc getarg(0),rand(2,390),rand(2,390);
    	getmapxy(.@map$,.@x,.@y,0,getarg(0));
    	if( !checkcell(.@map$,.@x,.@y,cell_chkreach) ){ return 0; }
    	if( !checkcell(.@map$,.@x,.@y,cell_chkpass) ){ return 0; }
    	return 1;
    }
    
    -	script	Warper#AC	-1,{
    end;
    
    OnTimer60000:
    	areawarp "job_thief1",rand(18,341),rand(18,341),rand(18,341),rand(18,341),"job_monk",0,0;
    end;
    
    OnInit:
    initnpctimer;
    end;
    }
    
    //<!----------------------------ARMADILHAS ARENA 1------------------------------->
    
    job_thief1,0,0,5	script	SC_ARMS#1::ARM1	-1,7,7,{
    OnInit: 
    	callsub SC_MOVEARM;
    	initnpctimer;
    	end; 
    
    OnTouch: 
    	callfunc "SC_DISPARM"; 
    
    OnTimer60000:
    	SC_MOVEARM: 
    	movenpc strnpcinfo(0),rand(19,340),rand(27,340);
    	initnpctimer;
    	end;
    }
    
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#2	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#3	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#4	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#5	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#6	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#7	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#8	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#9	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#10	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#11	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#12	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#13	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#14	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#15	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#16	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#17	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#18	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#19	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#20	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#21	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#22	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#23	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#24	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#25	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#26	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#27	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#28	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#29	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#30	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#31	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#32	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#33	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#34	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#35	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#36	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#37	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#38	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#39	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#40	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#41	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#42	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#43	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#44	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#45	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#46	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#47	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#48	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#49	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#50	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#51	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#52	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#53	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#54	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#55	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#56	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#57	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#58	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#59	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#60	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#61	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#62	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#63	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#64	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#65	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#66	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#67	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#68	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#69	-1,7,7
    job_thief1,0,0,5	duplicate(ARM1)	SC_ARMS#70	-1,7,7
    
    //<!----------------------------------ARMADILHAS ARENA 2------------------------>
    
    que_qaru01,0,0,5	script	SC_ARMS2#1	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#2	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#3	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#4	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#5	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#6	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#7	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#8	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#9	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#10	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#11	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#12	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#13	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#14	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#15	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#16	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#17	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#18	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#19	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#20	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#21	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#22	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#23	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#24	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#25	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#26	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#27	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#28	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#29	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#30	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#31	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#32	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#33	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#34	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    que_qaru01,0,0,5	script	SC_ARMS2#35	-1,4,4,{ OnInit: callsub SC_MOVEARM; initnpctimer; end; OnTouch: callfunc "SC_DISPARM"; OnTimer60000:SC_MOVEARM: if( !callfunc("SC_MOVEARM",strnpcinfo(0)) ){ callsub SC_MOVEARM; } initnpctimer; end; }
    
    //Spawns do cristal.
    que_qaru01,0,0,0,0	monster	Cristal	1395,95,30000,0,0
    job_thief1,0,0,0,0	monster	Cristal	1395,120,35000,0,0
    
    //Warps D:
    que_qaru01,346,81,0	script	WBQ#1-1	45,1,1,{
    OnTouch: 
    	warp "que_qaru01",0,0; 
    	end; 
    }
    
    que_qaru01,132,171,0	script	WBQ#1-2	45,1,1,{
    OnTouch:
    	warp "que_qaru01",114,158;
    	end;
    }
    
    que_qaru01,149,105,0	script	WBQ#1-3	45,1,1,{
    OnTouch:
    	warp "que_qaru01",119,103;
    	end;
    }
    
    que_qaru01,129,102,0	script	WBQ#1-4	45,1,1,{
    OnTouch:
    	warp "que_qaru01",146,109;
    	end;
    }
    
    que_qaru01,252,339,0	script	WBQ#1-5	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,73,272,0	script	WBQ#1-6	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,275,298,0	script	WBQ#1-7	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,259,375,0	script	WBQ#1-8	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,244,375,0	script	WBQ#1-9	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,228,297,0	script	WBQ#2-1	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,345,22,0	script	WBQ#2-2	45,1,1,{
    OnTouch:
    	warp "que_qaru01",0,0;
    	end;
    }
    
    que_qaru01,114,163,0	script	WBQ#2-3	45,1,1,{
    OnTouch:
    	warp "que_qaru01",135,172;
    	end;
    }
    
    
    //Mapflags.
    que_qaru01	mapflag	nowarpto
    que_qaru01	mapflag	nosave	SavePoint
    que_qaru01	mapflag	nomemo
    que_qaru01	mapflag	nobranch
    que_qaru01	mapflag	noreturn
    que_qaru01	mapflag	noicewall
    que_qaru01	mapflag	noteleport
    
    job_monk	mapflag	nowarp
    job_monk	mapflag	nosave	SavePoint
    job_monk	mapflag	nomemo
    job_monk	mapflag	nobranch
    job_monk	mapflag	pvp
    job_monk	mapflag	noreturn
    job_monk	mapflag	noteleport
    
    job_thief1	mapflag	noreturn
    job_thief1	mapflag	nowarpto
    job_thief1	mapflag	nosave	SavePoint
    job_thief1	mapflag	nomemo
    job_thief1	mapflag	nobranch
    job_thief1	mapflag	noicewall
    job_thief1	mapflag	noteleport

    Error:

    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#1 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#1 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#2 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#2 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#3 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#3 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#4 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#4 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#5 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#5 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#6 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#6 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#7 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#7 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#8 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#8 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#9 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#9 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#10 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#10 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#11 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#11 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#12 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#12 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#13 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#13 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#14 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#14 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#15 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#15 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#16 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#16 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#17 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#17 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#18 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#18 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#19 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#19 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#20 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#20 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#21 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#21 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#22 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#22 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#23 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#23 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#24 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#24 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#25 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#25 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#26 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#26 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#27 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#27 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#28 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#28 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#29 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#29 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#30 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#30 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#31 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#31 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#32 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#32 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#33 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#33 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#34 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#34 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#35 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#35 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#36 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#36 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#37 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#37 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#38 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#38 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#39 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#39 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#40 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#40 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#41 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#41 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#42 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#42 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#43 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#43 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#44 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#44 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#45 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#45 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#46 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#46 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#47 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#47 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#48 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#48 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#49 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#49 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#50 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#50 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#51 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#51 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#52 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#52 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#53 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#53 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#54 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#54 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#55 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#55 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#56 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#56 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#57 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#57 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#58 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#58 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#59 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#59 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#60 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#60 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#61 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#61 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#62 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#62 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#63 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#63 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#64 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#64 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#65 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#65 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#66 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#66 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#67 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#67 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#68 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#68 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#69 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#69 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS#70 at job_thief1 (0,0)
    [Debug]: Source (NPC): SC_ARMS#70 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#1 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#1 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#2 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#2 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#3 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#3 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#4 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#4 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#5 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#5 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#6 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#6 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#7 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#7 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#8 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#8 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#9 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#9 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#10 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#10 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#11 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#11 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#12 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#12 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#13 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#13 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#14 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#14 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#15 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#15 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#16 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#16 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#17 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#17 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#18 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#18 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#19 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#19 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#20 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#20 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#21 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#21 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#22 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#22 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#23 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#23 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#24 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#24 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#25 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#25 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#26 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#26 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#27 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#27 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#28 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#28 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#29 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#29 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#30 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#30 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#31 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#31 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#32 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#32 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#33 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#33 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#34 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#34 is located in: npc/custom/arenacristal.txt
    [Error]: buildin_getarg: Index (idx=0) out of range (nargs=0) and no default value found
    [Debug]: Source (NPC): SC_ARMS2#35 at que_qaru01 (0,0)
    [Debug]: Source (NPC): SC_ARMS2#35 is located in: npc/custom/arenacristal.txt

     

  7. Best Decompiler

    Tutorial:
    1. Download Java OpenJDK 17https://jdk.java.net/17/
    2. Follow the video steps to install and configure Java OpenJDK

    3. Download Zip file UnLuac.zip and extract it into the lua files folder you want to decompile.

    UnLuac.zip

    4. open Start Decompilation.bat with Notepad/Notepad++ and edit the name of the lua file you want to decompile. If you want to decompile more than 1, just copy the function and paste it below.
    image.thumb.png.4fbc6c1947c1b0e9a7ad17cce3697bc5.png

    5. Save and run Start Decompilation.bat to start Decompilation.

  8. Guys get me a doubt!
    I was wondering if there is a way to share the cash value with all group members who are online when using the item.

    This item of mine when used generates an amount of Cash from 10 to 100

    (45000, 'Cash_Eletronico', 'Cash Eletrônico', 'Healing', NULL, 50, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'set @cash, rand(10,100);   set #CASHPOINTS,#CASHPOINTS+ @cash;   dispbottom \"Você recebeu \"[email protected]+\" Cash.\";', NULL, NULL),

     

×
×
  • Create New...

Important Information

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