All Activity
- Today
-
getinventorycardid getinventoryrefinerycnt getinventoryidentify do not exist. Check getinventorylist for the correct usage. *getinventorylist {<char_id>}; This command sets a bunch of arrays with a complete list of whatever the invoking character has in their inventory, including all the data needed to recreate these items perfectly if they are destroyed. Here's what you get: @inventorylist_id[] - array of item ids. @inventorylist_idx[] - array of item inventory index. @inventorylist_amount[] - their corresponding item amounts. @inventorylist_equip[] - on which position the item is equipped (see EQP_* constants) It will contain 0 if the item is not equipped. @inventorylist_refine[] - for how much it is refined. @inventorylist_identify[] - whether it is identified. @inventorylist_attribute[] - whether it is broken. @inventorylist_card1[] - These four arrays contain card data for the items. @inventorylist_card2[] These data slots are also used to store names @inventorylist_card3[] inscribed on the items, so you can explicitly check @inventorylist_card4[] if the character owns an item made by a specific craftsman. @inventorylist_expire[] - expire time (Unix time stamp). 0 means never expires. @inventorylist_bound[] - the bound type of the items (see BOUND_* constants) @inventorylist_enchantgrade[] - the enchantgrade of the items @inventorylist_count - the number of items in these lists. @inventorylist_option_id1[] - first array of random option IDs @inventorylist_option_value1[] - first array of random option values @inventorylist_option_parameter1[] - first array of random option parameters @inventorylist_option_id2[] - second array of random option IDs @inventorylist_option_value2[] - second array of random option values @inventorylist_option_parameter2[] - second array of random option parameters @inventorylist_option_id3[] - third array of random option IDs @inventorylist_option_value3[] - third array of random option values @inventorylist_option_parameter3[] - third array of random option parameters @inventorylist_option_id4[] - fourth array of random option IDs @inventorylist_option_value4[] - fourth array of random option values @inventorylist_option_parameter4[] - fourth array of random option parameters @inventorylist_option_id5[] - fifth array of random option IDs @inventorylist_option_value5[] - fifth array of random option values @inventorylist_option_parameter5[] - fifth array of random option parameters @inventorylist_tradable - Returns if an item is tradable or not (Pass item_db.yml, bound, and rental restrictions). @inventorylist_favorite - Returns if an item is favorite or not I made an example for you: prontera,173,176,4 script CatalogoVendaTeste 4_M_FAIRYKID6,{ mes "Vai colocar qual item no catálogo de venda?"; next; getinventorylist; for(.@i = 0; .@i < @inventorylist_count; .@i++) { //ignorar items que não são equipamentos .@type = getiteminfo(@inventorylist_id[.@i], ITEMINFO_TYPE); if (.@type != IT_ARMOR && .@type != IT_WEAPON && .@type != IT_SHADOWGEAR) continue; //coloca o item no menu .@n$ = ""; .@item_id = @inventorylist_id[.@i]; .@item_ref = getarraysize(.@equipment_id_list); if (countinarray(.@equipment_id_list, .@item_id)) continue; .@equipment_id_list[.@item_ref] = @inventorylist_id[.@i]; if (@inventorylist_refine[.@i]) .@n$ += "+" + @inventorylist_refine[.@i] + " "; .@n$ += getitemname(@inventorylist_id[.@i]); if (getiteminfo(@inventorylist_id[.@i], ITEMINFO_SLOT)) .@n$ += " [" + getiteminfo(@inventorylist_id[.@i], ITEMINFO_SLOT) + "]"; .@menu_labels$[.@item_ref] = .@n$; } if (!.@equipment_id_list[0]) { mes "Você não tem nenhum equipamento no seu inventário."; close; } .@index = select(implode(.@menu_labels$, ":")) - 1; .@item = .@equipment_id_list[.@index]; mes "Você quer colocar " + getitemname(.@item) + " no catálogo?"; getinventorylist; .@i2 = inarray(@inventorylist_id, .@item); .@refine = @inventorylist_refine[.@i2]; .@card0 = @inventorylist_card1[.@i2]; .@card1 = @inventorylist_card2[.@i2]; .@card2 = @inventorylist_card3[.@i2]; .@card3 = @inventorylist_card4[.@i2]; .@grade = @inventorylist_enchantgrade[.@i2]; for(.@i = 0; .@i < (MAX_ITEM_RDM_OPT); .@i++) { .@r_id[.@i] = getd("@inventorylist_option_id" + (.@i + 1) + "[" + .@i2 + "]"); .@r_v[.@i] = getd("@inventorylist_option_value" + (.@i + 1) + "[" + .@i2 + "]"); .@r_p[.@i] = getd("@inventorylist_option_parameter" + (.@i + 1) + "[" + .@i2 + "]"); } mes "Salvei as informaçoes do item:"; mes "refino: +" + .@refine; mes "slot 1: " + (.@card0>0?getitemname(.@card0):"vazio"); mes "slot 2: " + (.@card1>0?getitemname(.@card1):"vazio"); mes "slot 3: " + (.@card2>0?getitemname(.@card2):"vazio"); mes "slot 4: " + (.@card3>0?getitemname(.@card3):"vazio"); setarray .@grade_names$,"Sem grade","[D]","[C]","[B]","[A]"; mes "Grade: " + .@grade_names$[.@grade]; next; mes "Use getitem4 para dar uma cópia exata para o comprador."; //Devolve o item ao comprador com os dados completos getitem4 .@item, 1, 1, .@refine, 0, .@card0, .@card1, .@card2, .@card3, .@grade, .@r_id, .@r_v, .@r_p; end; }
-
I had my server for 1 year in ovh and 0 issues.
- Yesterday
-
I would asume that this needs some source editing if you want the refinement to be also displayed. I think whats happening is that your script is able to pull the base item cause it exists in the DB, like the actual file, but not with the refinement.
-
Can someone tell me how to disable Enable 44khz Audio because this patch worsens the audio quality of newer BGMs instead of improving anything.
-
Im planning to host my Ragnarok in OVH any feedback on OVH service? if you can recommend other VPS to host for Ragnarok server Thank you! I dont know if this is the right area to post this
-
Yes, you replace that line inside pc.cpp and then recompile the server.
-
is there a way to fix the lightmaps? normally u have to use: http://nemo.herc.ws/patches/IncreaseMapQuality/ this patch. EDIT: okay got it! look for this 6A 00 6A 00 6A 01 8D 85 FC FF FB FF B9 54 41 22 and change it to: 6A 00 6A 00 6A 04 8D 85 FC FF FB FF B9 54 41 22 means 01 to 04
-
So I found the line of code : clif_changelook(&sd->bl,LOOK_BODY2,0); inside PC.CPP instead of battle.hpp. So basically, edit the line of code to : clif_changelook(&sd->bl,LOOK_BODY2,sd->status.body); and then recompile rAthena again, is that correct?
-
try checking in conf/battle/skill.conf there are settings for traps
-
Item_Enchant.yml Allow perfect enchants on every enchant
GiovanT replied to Dragonis1701's question in Scripting Support
u need to change .yml and client side -
obrigado pela informação
-
obrigado pela informação
-
So I applied the patch, and they're still showing me novices. I manually patched battle.hpp because int is now int32. Is there something I'm missing? Edit: Solved it. I need to change clif_changelook(&sd->bl,LOOK_BODY2,0); to clif_changelook(&sd->bl,LOOK_BODY2,sd->status.body);
-
Hello do you have rental card only? once you put it on your item it will automatically remove even if it is compounded on item
-
Hello everyone im having a problem regarding ankle snare skill the trap effect only triggers 5 cell or more so basically they can walk around 1-5 traps before they stop here is the sample picture
-
i dont understand can you explain this image? but i think this still refers to MAX WEIGHT as 20000 is the DEFAULT MAX WEIGHT what im looking or asking for is the initial weight or default weight not the default max weight thanks
- Last week
-
-
Took a look at the client and I'm very suprised at how good everything works. after what feels like ages of client drought you brought us a nice gift, thanks skylove! Those anyone know a hex edit to increase max hairstyles? currently capped at 42
-
The client is actually supported pretty well by rAthena except for a few minor things like not having the Zero Style Dialogue, which is probably just a package problem that could be converted from hercules by hand if you wanted. Other than a few translation things I haven't had any problems so far. (Expect for the BGM part now lol). TL;DR dont really wanna use hercules because I quite like rAthena.
-
isnt zero client are not supported by rAthena ? Maybe can try with other emulator that support zero client.
-
Hi Guys, which one is working? thank you.
-
Hey, dont know how many people use a zero client but I recently realized that it wont let me change the current bgm with an npc script. I tried playbgm, playbgmall and a lot of different varieties of naming them. Nothing ever happens. If I switch onto a normal client it works completely fine and only the zero client doesnt. maybe anyone encountered this problem before?
-
-
Yes just diff by manual.
-
do it manually. It works for me