Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/22/19 in Posts

  1. View File [Free] Matrix Dojo PvP Heya peeps. Long time! Sorta got inspired watching the Matrix one day lol so I made a quick and dirty map for everyone to enjoy. Its designed as a PVP map but go crazy and change it up to whatever you want. The spawn zone is just South of the map in the white space to pretend like its a loading program etc. Have fun! Submitter Syouji Submitted 09/22/2019 Category Maps & 3D Resources Video Content Author Syouji  
    1 point
  2. View File Manage @alootid - @alootid2 Introduction: Due to the limitation of alootid that can only loot up to 10 items by default. (can change at /src/). However players are always greedy, they want to loot almost everything, but not every items, so 10 slots can't fill their desires. So this custom manager are introduced. It help player to setup different combination of alootid settings. (Different hunting monster/maps could switch to different settings) player no longer worry what their previous alootid settings was. player can switch/save any settings whenever they want. alootid settings could be auto loaded when they join the game. * In short, just a macro to use to the alootid atcommand. To make it less confusing to player, disable the alootid and start using alootid2 instead. Usage: @alootid2 list @alootid2 <save/add/remove> <#> <item1> ... <item10> @alootid2 <load/clear/reset> <#> @alootid2 set <#> name <name> @alootid2 set <#> autoload <1/0> Example: chatbox: @alootid2 save 3 609 608 607 Usage: @alootid2 save <3> - save successfully. chatbox: @alootid2 load 1 Your autolootitem list has been reset. Autolooting item: 'Green_Herb'/'Green Herb' {511} Autolooting item: 'Apple'/'Apple' {512} Autolooting item: 'Banana'/'Banana' {513} Autolooting item: 'Grape'/'Grape' {514} Autolooting item: 'Carrot'/'Carrot' {515} Usage: @alootid2 load <2> - loaded successfully. chatbox: @alootid2 list <1> - 501, 502, 503, 504, 505, 506, 507, 508, 509, 510 <2> - 511, 512, 513, 514, 515 (autoload upon login) <3> - 609, 608, 607 Usage: @alootid2 list - found 3 settings. Preview: Submitter Emistry Submitted 09/15/2019 Category Utilities Video Content Author Emistry  
    1 point
  3. Heya peeps. Long time! Sorta got inspired watching the Matrix one day lol so I made a quick and dirty map for everyone to enjoy. Its designed as a PVP map but go crazy and change it up to whatever you want. The spawn zone is just South of the map in the white space to pretend like its a loading program etc. Have fun! Download Link:
    1 point
  4. Ran into the error on CentOS7. Solution: Disable SELinux if enabled.
    1 point
  5. if it didn't work , try this command isequippedcnt
    1 point
  6. i still don't understand but did you add a delay ? for example like this - script buffs2 -1,{ end; OnBuffs: disable_items; if(getgroupid() <= 4) { message strcharinfo(0),"Falha, você não possui VIP."; end; } if (@STAT_BUFF_DELAY > gettimetick(2)) end; @STAT_BUFF_DELAY = gettimetick(2) + 2; //2 seconds if(isequipped(4263)) { message strcharinfo(0),"Won't work with Samurai Incantation."; end; } .@size = getarraysize(.buffs$); for( .@i = 0; .@i < .@size; .@i++){ .@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":"; } .@i = select(.@menu$) -1; sc_start .elements[.@i],180000,5; //atcommand "@refresh "+strcharinfo(0); end; OnInit: setarray .buffs$, "^800080Envenenar Arma^000000", "^40E0D0Aspersio^000000", "^000000Sombrio^000000", "^FFD700Encantar com Ventania^000000", "^0000FFEncantar com Geada^000000", "^FF0000Encantar com Chama^000000", "^B8860BEncantar com Terremoto^000000"; setarray .elements, 26, 37, 144, 98, 97, 96, 99; bindatcmd "encantar","paytowinbuffs::OnBuffs",0,99; end; } also , i see the script name != what the command calls make sure you don't have 2 npcs and you are editing the wrong one this will also be better - script buffs2 -1,{ end; OnBuffs: disable_items; if(getgroupid() <= 4) { message strcharinfo(0),"Falha, você não possui VIP."; end; } if (@STAT_BUFF_DELAY > gettimetick(2)) end; @STAT_BUFF_DELAY = gettimetick(2) + 2; //2 seconds if(isequipped(4263)) { message strcharinfo(0),"Won't work with Samurai Incantation."; end; } .@i = select(.menu$) -1; sc_start .elements[.@i],180000,5; //atcommand "@refresh "+strcharinfo(0); end; OnInit: setarray .buffs$, "^800080Envenenar Arma^000000", "^40E0D0Aspersio^000000", "^000000Sombrio^000000", "^FFD700Encantar com Ventania^000000", "^0000FFEncantar com Geada^000000", "^FF0000Encantar com Chama^000000", "^B8860BEncantar com Terremoto^000000"; setarray .elements, 26, 37, 144, 98, 97, 96, 99; bindatcmd "encantar", strnpcinfo(3) + "::OnBuffs",0,99; for( .@i = 0; .@i < getarraysize(.buffs$); .@i++){ .menu$ = .menu$ + ""+.buffs$[.@i]+"" + ":"; } end; } however make sure that the script name is correct and what i mean by editing the item script like that , you create a function that remove those stats and call it onequip the item function script F_RemoveSTATBUFF { setarray .@e, 26, 37, 144, 98, 97, 96, 99; for(.@i=0;.@i<getarraysize(.@e);.@i++){ sc_end .@e[.@i]; } return; } ID,AegisName,Name,Type,Buy,Sell,Weight,ATK[:MATK],DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV[:maxLevel],Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } == ID,AegisName,Name,Type,Buy,Sell,Weight,ATK[:MATK],DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV[:maxLevel],Refineable,View,{ Script },{ callfunc "F_RemoveSTATBUFF"; },{ OnUnequip_Script }
    1 point
  7. EQI_SHOES (2) - Footgear (shoes, boots) EQI_COMPOUND_ON (-1) - Item slot that calls this script (In context of item script) EQI_ACC_L (0) - Accessory 1 EQI_ACC_R (1) - Accessory 2 EQI_SHOES (2) - Footgear (shoes, boots) EQI_GARMENT (3) - Garment (mufflers, hoods, manteaux) EQI_HEAD_LOW (4) - Lower Headgear (beards, some masks) EQI_HEAD_MID (5) - Middle Headgear (masks, glasses) EQI_HEAD_TOP (6) - Upper Headgear EQI_ARMOR (7) - Armor (jackets, robes) EQI_HAND_L (8) - Left hand (weapons, shields) EQI_HAND_R (9) - Right hand (weapons) EQI_COSTUME_HEAD_TOP (10) - Upper Costume Headgear EQI_COSTUME_HEAD_MID (11) - Middle Costume Headgear EQI_COSTUME_HEAD_LOW (12) - Lower Costume Headgear EQI_COSTUME_GARMENT (13) - Costume Garment EQI_AMMO (14) - Arrow/Ammunition EQI_SHADOW_ARMOR (15) - Shadow Armor EQI_SHADOW_WEAPON (16) - Shadow Weapon EQI_SHADOW_SHIELD (17) - Shadow Shield EQI_SHADOW_SHOES (18) - Shadow Shoes EQI_SHADOW_ACC_R (19) - Shadow Accessory 2 EQI_SHADOW_ACC_L (20) - Shadow Accessory 1 i don't see where you are deleting the weapon 2 = shoes 4 = low headgear if(getequipid(2) == .@iEquip) delequip(2); message strcharinfo(0),"your "+getitemname(.@iEquip)+" break!!"; if(getequipid(4) == .@iEquip) delequip(4); message strcharinfo(0),"your "+getitemname(.@iEquip)+" break!!"; you can use the const variable with the command so you don't get lost like delequip(EQI_HAND_R); (also your if statement will ignore the message , the message will play anyway cut there is no {} )
    1 point
  8. hello community, i'm having a problem with fixed casting, no skills are being affected by her just the standard fixed casting time. (variable it's ok!) skill_cast_db.txt: http://prntscr.com/p9dlq0
    1 point
  9. @Mael have you try in game after finis patch nemo? I tried but it didn't work, it's force quit. work on exe 2016 and the old one
    1 point
  10. To Annie's post above she actually told me not to do this when I did it like 4 years ago... What the heck and she doesn't even credit me here for maybe giving her some kind of subliminal inspiration whatever... :< [Source] Hurry before she changes it. /gg Anyways I just wanted to post a neat function I came up with for anybody who might want to use it. DisplayPages Function: Basically, it takes a bunch of options that you want to put into a menu and adds pages so the players can move through them easily. ///This function takes an array of strings and builds a menu players can navigate. ///Usage: DisplayPages(.@string_array${, .@page_size }); ///Output: This function returns the selected item index from the given array. function script DisplayPages { .@page_size = getarg(1, 10); .@len = getarraysize(getarg(0)); .@pages = .@len / .@page_size; .@pages -= .@len > .@page_size && .@len % .@page_size ? 0 : 1; do { copyarray .@copy$[0], getelementofarray(getarg(0), .@page_size * .@page), .@page_size; if( .@page < .@pages ) .@copy$[.@page_size] = "Next Page =>"; if( .@page > 0 ) .@copy$[.@page_size +1] = "<= Previous Page"; .@menu = select(implode(.@copy$,":")); if( .@menu == .@page_size +1 ) .@page++; else if( .@menu == .@page_size +2 ) .@page--; deletearray .@copy$; } while( .@menu > .@page_size ); .@menu += .@page_size * .@page; return .@menu-1; } Example NPC: prontera,146,188,4 script Warper 97,{ mes "[Warper]"; mes "Select the map you want to warp to."; next; setarray .@maps$, "prontera", "morocc", "payon", "geffen", "izlude", "jawaii", "dewata", "eclage", "moscovia", "ayothaya", "lighthalzen", "alberta", "aldebaran", "xmas", "comodo", "hugel", "rachel", "veins", "pvp_n_1-5", "pvp_n_1-4"; .@selection = DisplayPages(.@maps$, 5); warp .@maps$[.@selection], 0, 0; end; }
    1 point
×
×
  • Create New...