Jump to content

a91323

Members
  • Posts

    99
  • Joined

  • Last visited

  • Days Won

    1

a91323 last won the day on September 17 2016

a91323 had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Taiwan

Recent Profile Visitors

7210 profile views

a91323's Achievements

  1. not a good way because per item have a bonus amount limit pc.hpp #define MAX_PC_BONUS 10 if items effect item id to be dropped when killing a monster Treasure Chests race (RC2_TREASURE) RC2_TREASURE,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1938,1939,1940,1941,1942,1943,1944,1945,1946,2452,2453,2454,2455,2456,2457,2458,2459,2460,2461,2462 bonus2 bAddMonsterDropItem need write 60 times....
  2. bonus3 bAddMonsterDropItem,iid,mr,n; Adds a n/100% chance for item iid to be dropped when killing a monster race mr (mob_race2_db)
  3. git hash https://github.com/rathena/rathena/commit/3ab39c4cb368b962c97f14cb916b0f8a406cde66 compiler error error LNK2005: _pc_resSC2_ers already in clif.obj define error LNK2005: _pc_resSC_ers already clif.obj define IDE visual studio 2017
  4. https://github.com/rathena/rathena/commit/88aaa9be98c4e9f8494a2012cb3b7700d3b844f5 struct map_session_data *tsd = map_nick2sd(pname, false); if (!(tsd = map_nick2sd(conv_str(st, data), false))) {
  5. hercules emulator ? check 2014-10-22 diff View values
  6. accname, acessory, item db, iteminfo
  7. ChinaRO has been closed I have 2014ChinaRO
  8. maybe 2014-10-22 not suppot idnum2resnametable ? look into System/iteminfo.lub
  9. bad method if(strcharinfo(3) == "gvgmapname") {dispbottom "Disable on WoE maps Good for PvP."; end;}
  10. try it prontera,156,176,5 script Voguale#RoUG 929,{ if(getgmlevel()<20) { mes "[Voguale]"; mes "Hi!"; close; } deletearray $@mobid[0],getarraysize($@mobid); monster "prontera",156,176,"Poring",1002,1; set .GID,$@mobid[0]; setunitdata .GID,UMOB_MAXHP,200000; setunitdata .GID,UMOB_HP,200000; end; }
  11. i tried it but when the rand value return to previews deletearray value it return 0 and give error because .@item_id≠@item_id and set @ind, rand(0,getarraysize(.@item_id)-1); deletearray <array name>[<first value>],<how much to delete>; prontera,155,125,4 script test 4_m_genie,{ setarray .@item_id[0],501,502,503,504,505,506,507,508,509,510; for(.@i=0; .@i<5;.@i++){ .@pass = 0; // random item .@item = .@item_id[rand(0,getarraysize(.@item_id)-1)]; if(getarraysize(.@del) != 0){ for(.@j=0; .@j<getarraysize(.@del);.@j++){ if(.@del[.@j]==.@item) // repeat break; if(.@j == (getarraysize(.@del)-1)) .@pass = 1; } } else { .@pass = 1; } if(.@pass == 1){ getitem .@item,1; // record gived .@del[.@i] = .@item; } else { .@i -= 1; } } end; }
  12. prontera,155,125,4 script test 4_m_genie,{ setarray .@item_id[0],501,502,503,504,505,506,507,508,509,510; for(.@i=0; .@i<5;.@i++){ .@pass = 0; while(1){ // random item .@item = .@item_id[rand(0,getarraysize(.@item_id)-1)]; if(getarraysize(.@del) != 0){ for(.@j=0; .@j<getarraysize(.@del);.@j++){ if(.@del[.@j]==.@item) // repeat break; if(.@j == (getarraysize(.@del)-1)) .@pass = 1; } } else { break; } if(.@pass == 1) break; } getitem .@item,1; // record gived .@del[.@i] = .@item; } end; }
×
×
  • Create New...