Jump to content

Xellyehria

Members
  • Posts

    22
  • Joined

Everything posted by Xellyehria

  1. a 2017 client and the other is the 2021 stable client.
  2. Is there anything I need to do to enable signboard to appear in my client? I tried running my offline server and I noticed that signboards aren't appearing above the npc's even though I have the default signboardlist.lub. Example: { "alberta", 113, 60, 0, IT_BMP, "À¯ÀúÀÎÅÍÆäÀ̽º\\information\\over_kafra.bmp" }, if I go to Kafra at alberta 113, 60 it doesn't have any signboard at all.. Is there something that I need to do to implement signboard?
  3. Thank you for the response, however as I've mentioned, in the SQL db sex in the server is usually marked as "U" instead of "M" or "F" for most characters and I am not sure how to convert it. For example this is a female character but when i query for sex with the script you gave as example, it show "U" . I check in my offline and some character are marked with "F" and "M" but there's also "U".. and in the live server most character has U instead of F or M. So I'm not sure how to determine what is the actual sex of those characters.
  4. Just a quick question, how can I check the sex of a character if it's offline and in the SQL it's marked as "U" instead of F or M? Is there another way to check a character gender if they are offline? TLDR: I need to make a script that can search for a character and determine its info including their sex even if they are offline.
  5. I am looking at the item bonuses available but can't find anything for anti accessory strip except using the bonus bUnstripable; one. However putting that effect in a single accessory/item is pretty overpowered.. I only need an anti accessory strip. bonus bUnstripableWeapon; Weapon cannot be taken off via Strip skills bonus bUnstripableArmor; Armor cannot be taken off via Strip skills bonus bUnstripableHelm; Helm cannot be taken off via Strip skills bonus bUnstripableShield; Shield cannot be taken off via Strip skills bonus bUnstripable; All equipment cannot be taken off via strip skills Is there a way to script an item bonus that only reduce chance of accessories getting stripped? If not chance, maybe a full anti accessory strip? I hope someone can help.. thanks.
  6. maybe wrong mob mode. You need to use mob modes that doesn't move similar to plants. Try to download Sader's monster mode generator and create one that fits your punching bug
  7. If you want to make it only work when they equip a bow, I think you can try adding getiteminfo(getequipid(EQI_HAND_R),11)==W_BOW
  8. the problem is they can cast it outside and there are multiple way to access different maps where I want it disabled, so even if I disable it in those map, unless it gets dispelled on map load, I can't completely disable it. ?
  9. unfortunately it doesn't work too. I figured that the problem is the status. I check each status above using getstatus but the return is always 0 even after I used the charm skill. I also tried delspiritball but it only works on sura as their skill is probably not even a spirit ball. I think it's a spirit charm and I can't find any available script command to delete it. Honestly I only need to at least detect if that status active but whatever I try it doesn't work.
  10. Because there's access on PVP room on different cities. Additionally there are different type of PVP room and in some type it is allowed. I don't mind if they buff it outside if it's for the rooms that allow it. Also it's not only for pvp room but for other instances that's why I am looking more for a way to just remove it on maps that they aren't supposed to be able to use it.
  11. Just a quick question. How can I dispel Kagerous and Oboro's charm buffs when they go inside PVP room? I want to disable that skill in a map but they can still buff outside and enter with it. Is it a type of status that I can remove through SC_end?
  12. I tried using these items in enchantment but they aren't working.. Other enchantment stones such as Str+10/expert archer etc are working just fine.. Is there something else I need to do to make these enchantment runes work?
  13. we aren't using that mapflag. > < Also I am sorry for my bad english. The costume is not totally disabled.. only the additional special effect like the strangelight. Additionally I noticed that it wasn't working on all GVG and pvp maps.. I think this type of items are automatically disabled on GVG and PVP maps and I don't know how to enable them.
  14. I don't know where to check but some items with effects is not working on towns with restricted 4 mapflags. Example if a costume has this script. {},{ sc_start SC_STRANGELIGHTS,-1,0; },{ sc_end SC_STRANGELIGHTS; } the strangelight effect is getting disabled on that map. The costume effect cease to function immediately. Another thing not working is for example an item like the transformation candy that allow you to transform into a monster. It doesn't work on map with restricted 4. transform 1507,600000,SC_MTF_MHP,1000; },{},{} Is there anyone who could give me idea on how I could enable these items without removing the restricted mapflag? Because I tried looking in item noequip.txt but they aren't there... and I don't know which skill to look on skill nocast.txt
  15. I only edited the card album in item_db. The original script is like this. 616,Old_Card_Album,Old Card Album,2,10000,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_CardAlbum,1);},{},{} To make it give 10 random cards you can do it like this I guess? 616,Old_Card_Album,Old Card Album,2,10000,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1); },{},{}
  16. I am a newbie and I don't know what's the best way to do it but I think you could just repeat the script of card album 10x and it will give 10 different cards. Like this 616,Old_Card_Album,Old Card Album,2,10000,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1);getrandgroupitem(IG_CardAlbum,1); },{},{}
  17. I think the first one is similar on what I've come up with the trial and error. Unfortunately while it doesn't show the missing cards in the inventory it causes error on the selection. Example if the array contains poring card and pupa card and it is on ascending order by name. If I don't have poring card it won't show in the menu, only the pupa card will... however after I select pupa card it display the ID of poring card instead. I think although it doesn't show in the choices the menu keep it's ID instead. Is there another way to fix this so I could use it in the other script? the inventory one is very useful for me though. Thank you very very much!
  18. I wanted to create an array menu where the choices in that array will only show if the player have the item in his inventory. To make it simple I wanted to make a script where player can store a list of cards from the list I made in an array. However since there's a lot of card in the list I would like to reduce the choices in the menu by only showing the cards that they have in the inventory. If they don't have the cards in the inventory I don't want it to show in the menu. I am a complete newbie in this so your help will be greatly appreciated. This is currently the one I am using but it show every card. query_sql( "SELECT `card_id`, `card_name`, `card_type` FROM `card_list` WHERE `card_race` = 'monster' ORDER BY `card_name` ASC limit 500 ",.@iid,.@in$,.@tp$); .@size = getarraysize( .@iid ); for( .@i = 0; .@i < .@size; .@i++ ) set .@menu$,.@menu$ + .@in$[.@i] +" - " + .@tp$[.@i] + ":"; .@i = select( .@menu$ ) - 1; set .itemid,.@iid[.@i]; At one point I managed through trial and error to make it only show the card name in the list if they have one in the inventory but when I check the ID of their choice it's different on the menu they clicked. ex. They clicked Poring Card but the item id is Pupa Card... I would really appreciate any help because I don't understand what I am doing and I am completely newbie in this. Thank you in advanace.
×
×
  • Create New...