Jump to content

Bolby91

Members
  • Content Count

    60
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Bolby91

  • Rank
    Santa Poring

Profile Information

  • Gender
    Male
  • Location
    canada

Recent Profile Visitors

1,591 profile views
  1. hi guys anyone want to teach me how to put a cap on my after cast delay. For example even though i have 4 kiels on my headgear which is supposed to be 120% after castdelay the after cast delay stays 95%.
  2. hi followed all the steps but why the theme is not changing
  3. can someone help me with this one please
  4. hello why is it like this?? it won't detect headgear but instead its detecting weapons. // ------------------------------------------------------------------------------- // Script Name : Headgear to Costume converter >> Costume to Headgear converter // ------------------------------------------------------------------------------- // Description : // - Allows a user to convert the equipped headgear (on Top, Mid or Low) into a // costume item. It will remove any card and refine of the Item. // - Allows a user to restore the equipped costume headgear (on Top, Mid or Low) // into its original form. It will not return any card or refine of the item. // ------------------------------------------------------------------------------- firstcity,187,69,4 script Costume Clown 715,{ mes "[Clown]"; mes "Here you can convert your headgears into a Costume Headgear or restore to its Original form."; switch(select("I want to convert.:I want to restore.:No thanks.")) { case 1: next; mes "Please, select what to convert."; mes "Remember, cards and refine will be removed."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 1, 9, 10; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to Costume your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } costume [email protected]; // Convert the Headgear mes "[Clown]"; mes "Done, enjoy your costume headgear."; close; case 2: next; mes "Please, select what to restore."; mes "Remember, I will only restore it back without refine and cards."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 13, 12, 11; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to restore your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } a = getequipid([email protected]); delitem a,1; getitem a,1; mes "[Clown]"; mes "Done, enjoy your restored headgear."; close; case 3: mes "[Clown]"; mes "Very well. Return at once if you seek my services."; close; } } // -------------------------------------------------------------------------- // Use duplicates to put your npc on different cities // -------------------------------------------------------------------------- //prontera,155,181,4 duplicate(Costume Clown) Costume Clown#1 715
  5. Hi guys can you help me what's wrong with this code?? ///statue //- script CharacterStatues -1,{ OnInit: // -------- C O N F I G U R A T I O N --------- // If you put 5 Entries, it will spawn the top 5 in order setarray .info$[0], // <map name>,<map x>,<map y>; { "prontera,147,190", // top 1 statue coordinates "prontera,151,190", // top 2 statue coordinates "prontera,155,190", "prontera,159,190", "prontera,163,190"; } // --------------------------------------------- OnSpawn: .size = getarraysize(.info$); if($terces_PVP_names$[0] == "") { debugmes "PvP Ladder not found! Stopping script!"; debugmes strnpcinfo(0); end; } [email protected]_size = getarraysize($terces_PVP_names$); if([email protected]_size < .size) .size = [email protected]_size; .terces_PVP_names$ = ""; for( [email protected] = 0; [email protected] < .size; [email protected]++ ) { .terces_PVP_names$ += $terces_PVP_names$[[email protected]]+":"; explode([email protected]$,.info$[[email protected]],","); [email protected]$ = [email protected]$[0]; [email protected] = atoi([email protected]$[1]); [email protected] = atoi([email protected]$[2]); [email protected] = query_sql( " SELECT `char_id`, `name`, `class`, `option`, `hair`, `hair_color`, `clothes_color`, `weapon`, `shield`, `head_top`, `head_mid`, `head_bottom`, `sex` FROM `char` WHERE `name` = '"+$terces_PVP_names$[[email protected]]+"'", [email protected]_id, [email protected]$, [email protected], [email protected], [email protected], [email protected]_color, [email protected]_color, [email protected], [email protected], [email protected]_top, [email protected]_mid, [email protected]_bottom, [email protected]$ ); if([email protected]) { debugmes "Character Name "[email protected]$+" was not found! Statue was skipped and not deployed."; continue; } monster [email protected]$ ,[email protected],[email protected],"[Top "+([email protected]+1)+"] "[email protected]$,1627,1,strnpcinfo(0)+"::OnStatue"; .mobGID = [email protected][0]; setunitdata .mobGID, UMOB_CLASS, [email protected]; if([email protected]) setunitdata .mobGID, UMOB_SCOPTION, [email protected]; if([email protected]) setunitdata .mobGID, UMOB_HAIRSTYLE, [email protected]; if([email protected]_color) setunitdata .mobGID, UMOB_HAIRCOLOR, [email protected]_color; if([email protected]_color) setunitdata .mobGID, UMOB_CLOTHCOLOR, [email protected]_color; if([email protected]) setunitdata .mobGID, UMOB_WEAPON, [email protected]; if([email protected]) setunitdata .mobGID, UMOB_SHIELD, [email protected]; if([email protected]_top) setunitdata .mobGID, UMOB_HEADTOP, [email protected]_top; if([email protected]_mid) setunitdata .mobGID, UMOB_HEADMIDDLE, [email protected]_mid; if([email protected]_bottom) setunitdata .mobGID, UMOB_HEADBOTTOM, [email protected]_bottom; setunitdata .mobGID, UMOB_SEX, (([email protected]$ == "M")?1:0); setunitdata .mobGID, UMOB_SIZE, 1; setunitdata .mobGID, UMOB_MODE, 0; setunitdata .mobGID, UMOB_LOOKDIR, 4; setunitdata .mobGID, UMOB_DMGIMMUNE, 1; } initnpctimer; end; OnTimer60000: // Every 1 min checks if statues are still there then sort them out based from PvP Ladder stopnpctimer; for( [email protected] = 0; [email protected] < .size; [email protected]++ ) { explode([email protected]$,.info$[[email protected]],","); if(!compare([email protected]$,[email protected]$[0])) { [email protected] += mobcount([email protected]$[0],strnpcinfo(0)+"::OnStatue"); [email protected]$ += [email protected]$[0]+" "; } explode([email protected]$,.terces_PVP_names$,":"); if( $terces_PVP_names$[[email protected]] != [email protected]$[[email protected]] || ([email protected] == .size-1 && [email protected] < .size)) { for( [email protected] = 0; [email protected] < .size; [email protected]++ ) { explode([email protected]$,.info$[[email protected]],","); killmonster [email protected]$[0],strnpcinfo(0)+"::OnStatue"; cleanarea [email protected]$[0],atoi([email protected]$[1])-1,atoi([email protected]$[2])-1,atoi([email protected]$[1])+1,atoi([email protected]$[2])+1; } donpcevent strnpcinfo(0)+"::OnSpawn"; end; } } initnpctimer; end; }
  6. nvm already solve it just use getlook instead of setlook
  7. hello thanks for the script i already tried it and it works, however I saw a problem when the item is equipped clicks the healer npc the color won't go back to normal when you unequipped it. Any help with this?
  8. what should i use then? but the problem is the sprite is overlapping the head.
  9. hi just a question why do i get " it not a working copy "
  10. hi does anyone know how to fix this??
  11. thanks! { [email protected] = getRefine(); bonus2 bSkillAtk, "AS_SONICBLOW", [email protected]/2; bonus2 bSkillAtk, "AS_GRIMTOOTH", [email protected]/2; } like that?
  12. hi i want to know if my script is right? for Increase Acid Demonstraton by 1% per refine. bonus2 bSkillAtk,"CR_ACIDDEMONSTRATION",getrefine(); and i would like to know what would i change if i want it Increase 1% by 2 refines
  13. let me see your accename.lub and accessoryid.lub and itemdb.txt maybe i can help you.
×
×
  • Create New...

Important Information

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