Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/13/20 in all areas

  1. Good day a collection of Ragnarok Illustrator CLICK HERE!
    2 points
  2. Sorry i didn't see this: set aboxqual, rand(1,2); if (a_boxqual == 1) this 'if (a_boxqual...)' -> aboxqual
    1 point
  3. sprite/ÀÌÆÑÆ®/¼ýÀÚ
    1 point
  4. Version 1.0.0

    318 downloads

    Hello, It's me Katakuri again! Upon downloading this file you are not allow to alter, remove or change some of it contents (color, position, signature & etc) and lastly please do not claim my works as yours and resell it for profits. Thanks.
    Free
    1 point
  5. Hello, Did you actuallty check the documentation? *getinventorylist {<char_id>}; What you want to use I guess is: *countitem(<item id>{,<accountID>}) *countitem("<item name>"{,<accountID>}) This function will return the number of items for the specified item ID that the invoking character has in the inventory. mes "[Item Checker]"; mes "Hmmm, it seems you have " + countitem(502) + " apples"; close; Like 'getitem', this function will also accept an 'english name' from the database as an argument. If you want to state the number at the end of a sentence, you can do it by adding up strings: mes "[Item Checker]"; mes "Hmmm, the total number of apples you are holding is " + countitem("APPLE"); close;
    1 point
  6. function script a_box_visu { set aboxqual, rand(1,2); if (a_boxqual == 1) { setarray $@a_boxarray[0] ,31214,31215,31221,31229,31233,31244,31255,31267,31272,31273,31276,31279,31287,31292,31294,31298,31301 ,31303,31310,31313,31314,31318,31324,31326,31327,31334,31337,31338,31342,31345,31347,31348,31349,31355 ,31361,31363,31364,31372,31378,31380,31381,31387,31389,31393,31396,31398,31399,31435,31436,31440,31446 ,31448,31456,31457,31459,31460,31465,31467,31474,31480,31481,31490,31491,31492,31493,31495,31512,31516 ,31521,31524,31526,31527,31528,31529,31532,31537,31541,31547,31553,31555,31557,31559,31560,31573,31574 ,31575,31576,31577,31578,31579,31580,31581,31582,31583,31584,31585,31586,31587,31588,31592,31608,31615 ,31616,31623,31625,31631,31635,31636,31642,31648,31650,31651,31663,31672,31673,31682,31684,31692,31714,31724; } if(a_boxqual == 2) { setarray $@a_boxarray[0] ,31725,31726,31730,31740,31742,31747,31750,31754,31757,31758,31764,31765,31775,31780 ,31788,31789,31793,31799,31803,31811,31812,31813,31815,31816,31835,31836,31840,31842 ,31850,31858,31865,31879,31883,31890,31894,31900,31905,31908,31914,31933,31946,31952 ,31953,31969,31982,32004,32015,32021,32064,32066,32067,32071,32075,32079,32098,32099 ,32100,32154,32157,32160,32173,32177,32216,32222,32225,32244,32269,32277,32278,32279 ,32297,32310,32311,32322,32340,32355,32359,32367; } set $a_boxid, rand(getarraysize($@a_boxarray[0])); getitem $@a_boxarray[$a_boxid],1; announce strcharinfo(0) + " acabou de obter um(a) " + getitemname($@a_boxarray[$a_boxid]) + " na Caixa Especial de Visuais.", bc_all; } You got this error. I just put the '{' function script a_box_visu {
    1 point
  7. I change this: map/pc.cpp --- map/pc.c (revision 14843) +++ map/pc.c (working copy) @@ -3444,6 +3444,7 @@ clif_updatestatus(sd,SP_WEIGHT); //Auto-equip if(data->flag.autoequip) pc_equipitem(sd, i, data->equip); + if(data->type == IT_CHARM) status_calc_pc(sd,0);//dh return 0; To: if (id->type == IT_CHARM) status_calc_pc(sd, SCO_NONE); //dh Now the next part: @@ -3470,6 +3473,8 @@ if(!(type&2)) clif_updatestatus(sd,SP_WEIGHT); + if(mem == IT_CHARM) status_calc_pc(sd,0);//dh + return 0; To: if(mem == IT_CHARM) status_calc_pc(sd, SCO_NONE);//dh map/itemdb.cpp id->type = atoi(str[3]); - if( id->type < 0 || id->type == IT_UNKNOWN || id->type == IT_UNKNOWN2 || ( id->type > IT_DELAYCONSUME && id->type < IT_CASH ) || id->type >= IT_MAX ) + if( id->type < 0 || id->type == IT_UNKNOWN || id->type == IT_UNKNOWN2 || ( id->type > IT_CHARM && id->type < IT_CASH ) || id->type >= IT_MAX ) {// catch invalid item types ShowWarning("itemdb_parse_dbrow: Invalid item type %d for item %d. IT_ETC will be used.\n", id->type, nameid); id->type = IT_ETC; TO: if( id->type < 0 || id->type == IT_UNKNOWN || id->type == IT_UNKNOWN2 || ( id->type > IT_SHADOWGEAR && id->type < IT_CASH && id->type > IT_CHARM ) || id->type >= IT_MAX ) I don't know about this part but... still working. db/import/itemdb.txt #####,Charm,Charm,12,50,,0,,,,,0xFFFFFFFF,15,2,,,60,,,{ bonus bAllStats,100; },{},{} TO: 30050,Charm,Charm,13,6,,0,,,,,0xFFFFFFFF,15,2,,,1,,,{bonus bStr,2; },{},{} Change to your ID.
    1 point
  8. I'd say that's the most important part because of this?
    1 point
  9. You do not need this ... it can be turned off easily in the lua files in: data\luafiles514\lua files\service_korea\ExternalSettings_kr.lub MakeableRace = { Doram = true } change to: MakeableRace = { Doram = false }
    1 point
×
×
  • Create New...