Jump to content

DK77

Members
  • Posts

    55
  • Joined

  • Last visited

Posts posted by DK77

  1. rAthena Hash: 2d15b55

    rAthena Version : 6850 (Fixed exp rewards in EP 17.1 quests)

    Client Date: 20150411

    Server Mode: PRE-RE

    I was doing fixing stone cursed behaviour for devotion ( can refer at here https://rathena.org/board/topic/130945-wta-stone-cursed-behaviour/ )  , and i found out something missing on status.cpp for this 6850 // ( Latest Revision Already Fix )  . In the previous revision [ SC_Stonewait implementation ], the sources for status change broken by damage still there , but in some update towards 6850 . its missing .  
    image.thumb.png.32f39d538e5ebbc3686a65af7e311f9d.png

    I manually added this sources and add Last Effect Func at status.hpp 

    Quote

    struct status_change {
    unsigned int option;// effect state (bitfield)
    unsigned int opt3;// skill state (bitfield)
    unsigned short opt1;// body state
    unsigned short opt2;// health state (bitfield)
    unsigned char count;
    sc_type lastEffect; // Used to check for stacking damageable SC on the same attack                 //Manual add this
    int32 lastEffectTimer; // Timer for lastEffect                        // Manual Add this 


    and

    void status_change_clear_onChangeMap(struct block_list *bl, struct status_change *sc);
    TIMER_FUNC(status_clear_lastEffect_timer);  //Manual Add This


    i try to compile , and having this error , Kindly Help for this issue
    image.png.b1cd4ee317ea37b369caa5515bd36843.png

    ///
    Im never use gitpull to update rathena , and im not sure if gitpull to latest , can fix this or having alot of error because im added alot of custom src 


     

  2. alright sir . what about player under devotion getting stone cursed . mine behaviour its can break with normal hit/any damage skill while u are under devotion . if no mistake , might need status recovery to remove stone cursed while u under devotion paladin .

     

    Ill provide some video regarding stone cursed behaviour with devotion as per mention at my previous reply . 
    Youtube Link

  3. Thanks you @Playtester , now its working with undead card . what about resist stone with mdef and luk . do i need to add SC_STONEWAIT ? 

     

    		case SC_STONE:
    #ifndef RENEWAL
    			sc_def = status->mdef*100;
    			sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10;
    			tick_def = 0; // No duration reduction
    #else
    			sc_def = status->mdef * 100 - levelAdv;
    			tick_def2 = -3000;
    #endif
    			break;

    to 
     

    		case SC_STONE:
    		case SC_STONEWAIT:
    #ifndef RENEWAL
    			sc_def = status->mdef*100;
    			sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10;
    			tick_def = 0; // No duration reduction
    #else
    			sc_def = status->mdef * 100 - levelAdv;
    			tick_def2 = -3000;
    #endif
    			break;

     

  4. Hi guys, its been a month/years not active on this forum . Im not sure it is right section or not . My Question is i want to change max refine on certain item . For Example like , 2 Item , Bow A and Bow B . 
    Bow A = normal max refine which is 10 
    Bow B = i want to change max refine to 6 or 7 only . 

    Isit possible to make it ? or need to change on src ? 

  5. Hello sahabat2 , aku ada buat satu server untuk kawan2 dari malaysia and indonesia , tapi aku ada satu masalah dimana sahabat dari indo ping dia sangat tinggi . aku punya server host di OVH Singapore . Kebanyakan sahabat dari indo yang menggunakan Indihome ISP sangat , pingnya sangat tinggi . So , aku ingin buat satu proxy server , which hosting provider di SG sangat sesuai untuk pengguna dari indo, especially indihome ISP . 

    Info : 
    Main Server Located : SG , OVH 
    Indihome ISP ping latency : 200~300ms . 
     

  6. here are the status.cpp 13580

                        if( group == NULL ) {
                            ShowDebug("status_change_end: SC_DANCING is missing skill unit group (val1=%d, val2=%d, val3=%d, val4=%d, timer=%d, tid=%d, char_id=%d, map=%s, x=%d, y=%d). Please report this!\n",
                                sce->val1, sce->val2, sce->val3, sce->val4, sce->timer, tid,
                                sd ? sd->status.char_id : 0,
                                mapindex_id2name(map_id2index(bl->m)), bl->x, bl->y);
                        }
                        sce->val2 = 0;
                        skill_delunitgroup(group);  //13580 line
                    }

  7. Hello Guys , im having issue with map server crash

    (06/07/2021 22:58:20) [ Debug ] : status_change_end: SC_DANCING is missing skill unit group (val1=655680, val2=1358, val3=18, val4=0, timer=157, tid=-1, char_id=150889, map=xmas, x=146, y=129). Please report this!
    (06/07/2021 22:58:20) [ Debug ] : skill_delunitgroup: group is NULL (source=status.cpp:13580, status_change_end_)! Please report this! (#3504)

     

    Its happen 3 times , i already search on rathena , and found same issue with this . How to fix this issue ?

    	https://github.com/rathena/rathena/pull/3247/files/db831031bfaa79dc7eadfc1d96c32b9688fa16ab
    	

     

  8. Hello Akkarin , im having this error log issue . 

    My WebServer info

    </pre>
    <ul style="color:#444444;font-size:13.12px;vertical-align:middle;">		cpsrvd 11.96.0.8				Database client version: libmysql - 5.6.43				PHP extension: mysqli curl mbstring				PHP version: 7.3.28	</ul>
    <p

    Error log

     

    [21-May-2021 08:38:18 UTC] PHP Notice:  Undefined property: Flux_LoginAthenaGroup::$isRenewal in /home/warzoner/public_html/themes/th1/main/rightbar.php on line 153
    [21-May-2021 08:38:18 UTC] PHP Notice:  Undefined property: Flux_LoginAthenaGroup::$charMapDatabase in /home/warzoner/public_html/themes/th1/main/rightbar.php on line 156
    [21-May-2021 08:38:18 UTC] PHP Notice:  Undefined property: Flux_LoginAthenaGroup::$charMapDatabase in /home/warzoner/public_html/themes/th1/main/rightbar.php on line 156
    [21-May-2021 08:38:18 UTC] PHP Notice:  Undefined property: Flux_LoginAthenaGroup::$charMapDatabase in /home/warzoner/public_html/themes/th1/main/rightbar.php on line 158
    [21-May-2021 09:01:22 UTC] PHP Fatal error:  Uncaught Error: Call to a member function toArray() on null in /home/warzoner/public_html/themes/th1/item/index.php:22
    Stack trace:
    #0 /home/warzoner/public_html/lib/Flux/Template.php(400): include()
    #1 /home/warzoner/public_html/lib/Flux/Dispatcher.php(170): Flux_Template->render()
    #2 /home/warzoner/public_html/index.php(169): Flux_Dispatcher->dispatch(Array)
    #3 {main}
      thrown in /home/warzoner/public_html/themes/th1/item/index.php on line 22

    serverinfo.png

  9. thanks sir , i already change it to 

    if ( rentalcountitem ( 30000 ) || rentalcountitem ( 30002 ) || rentalcountitem ( 30003 ) || rentalcountitem ( 30004 ) ) {

     

    , and its resolved my issue due to the item is rental ❤️

  10. i have 1 euphy healer script and make count item for vip ticket , but its doenst detect rent item 

    below is my script 

    heres my example rent item

      - Id: 30008
        AegisName: 1DaysVIPBox
        Name: 1 Days VIP Box
        Type: Cash
        Buy: 20
        Weight: 1
        Trade:
          Override: 100
        Script: |
          rentitem 30004,86400;
     

    1. //===== rAthena Script =======================================
    2. //= Healer
    3. //===== By: ==================================================
    4. //= Euphy
    5. //===== Current Version: =====================================
    6. //= 1.1
    7. //===== Compatible With: =====================================
    8. //= rAthena Project
    9. //===== Description: =========================================
    10. //= Basic healer script.
    11. //===== Additional Comments: =================================
    12. //= 1.0 Initial script.
    13. //= 1.1 Aligned coordinates with @go.
    14. //============================================================
    15.  
    16. prontera,100,200,3 script Healer 78,{
    17. OnTouch:
    18. while( [email protected] < .sc_size ){
    19. sc_end .sc_status[[email protected]];
    20. }
    21.  
    22. specialeffect2 EF_HEAL2; percentheal 100,100;
    23. specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10;
    24. specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10;
    25.  
    26. while( getbrokenid(1) )
    27. // repair getbrokenid(1);
    28. repairall;
    29. // atcommand "@repairall";
    30.  
    31. getinventorylist;
    32. for( set [email protected],0; [email protected] < @inventorylist_count; set [email protected], [email protected] +1 ) {
    33. if ( @inventorylist_identify[[email protected]] == 1 ) continue;
    34. delitem2 @inventorylist_id[[email protected]],1,0,0,0,0,0,0,0;
    35. getitem @inventorylist_id[[email protected]],1;
    36. }
    37. if ([email protected]) dispbottom [email protected] +" items identified.";
    38.  
    39. // disable negative buffs ... I out from RO scene for about 4 years, so this is my only known negative buffs
    40. sc_end SC_STONE;
    41. sc_end SC_FREEZE;
    42. sc_end SC_STUN;
    43. sc_end SC_SLEEP;
    44. sc_end SC_POISON;
    45. sc_end SC_CURSE;
    46. sc_end SC_SILENCE;
    47. sc_end SC_CONFUSION;
    48. sc_end SC_BLIND;
    49. sc_end SC_BLOODING;
    50. sc_end SC_DPOISON;
    51. sc_end SC_FEAR;
    52. sc_end SC_COLD;
    53. sc_end SC_BURNING;
    54. sc_end SC_DEEP_SLEEP;
    55. sc_end SC_DEC_AGI;
    56. sc_end SC_BROKENARMOR;
    57. sc_end SC_BROKENWEAPON;
    58. sc_end SC_NOEQUIPWEAPON;
    59. sc_end SC_NOEQUIPSHIELD;
    60. sc_end SC_NOEQUIPARMOR;
    61. sc_end SC_NOEQUIPHELM;
    62. sc_end SC__STRIPACCESSARY;
    63. sc_end SC_PROPERTYUNDEAD;
    64. sc_end SC_ORCISH;
    65. sc_end SC_BERSERK;
    66. sc_end SC_SKE;
    67. sc_end SC_SWOO;
    68. sc_end SC_SKA;
    69.  
    70.  
    71. if ( countitem ( 30000 ) | countitem ( 30002 ) | countitem ( 30003 ) | countitem ( 30004 ) ) {
    72. specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
    73. sc_start SC_CP_ARMOR,600000,5;
    74. sc_start SC_CP_SHIELD,600000,5;
    75. sc_start SC_CP_HELM,600000,5;
    76. sc_start SC_STRFOOD,600000,5;
    77. sc_start SC_AGIFOOD,600000,5;
    78. sc_start SC_VITFOOD,600000,5;
    79. sc_start SC_INTFOOD,600000,5;
    80. sc_start SC_DEXFOOD,600000,5;
    81. sc_start SC_LUKFOOD,600000,5;
    82.  
    83. switch ( CLASS ) {
    84. case 18:
    85. case 4019:
    86. case 4071:
    87. case 4078:
    88. skilleffect "SL_ALCHEMIST",0;
    89. sc_start4 SC_SPIRIT,9999999,5,455,0,0;
    90. break;
    91. case 15:
    92. case 4016:
    93. case 4070:
    94. case 4077:
    95. skilleffect "SL_MONK",0;
    96. sc_start4 SC_SPIRIT,9999999,5,447,0,0;
    97. break;
    98. case 4047:
    99. skilleffect "SL_STAR",0;
    100. sc_start4 SC_SPIRIT,9999999,5,448,0,0;
    101. break;
    102. case 16:
    103. case 4017:
    104. case 4067:
    105. case 4074:
    106. skilleffect "SL_SAGE",0;
    107. sc_start4 SC_SPIRIT,9999999,5,449,0,0;
    108. break;
    109. case 14:
    110. case 4015:
    111. case 4066:
    112. case 4073:
    113. skilleffect "SL_CRUSADER",0;
    114. sc_start4 SC_SPIRIT,9999999,5,450,0,0;
    115. break;
    116. case 23:
    117. case 4190:
    118. skilleffect "SL_SUPERNOVICE",0;
    119. sc_start4 SC_SPIRIT,9999999,5,451,0,0;
    120. break;
    121. case 7:
    122. case 4008:
    123. case 4054:
    124. case 4060:
    125. skilleffect "SL_KNIGHT",0;
    126. sc_start4 SC_SPIRIT,9999999,5,452,0,0;
    127. break;
    128. case 9:
    129. case 4010:
    130. case 4055:
    131. case 4061:
    132. skilleffect "SL_WIZARD",0;
    133. sc_start4 SC_SPIRIT,9999999,5,453,0,0;
    134. break;
    135. case 8:
    136. case 4009:
    137. case 4057:
    138. case 4063:
    139. skilleffect "SL_PRIEST",0;
    140. sc_start4 SC_SPIRIT,9999999,5,454,0,0;
    141. break;
    142. case 19:
    143. case 20:
    144. case 4020:
    145. case 4021:
    146. case 4068:
    147. case 4069:
    148. case 4075:
    149. case 4076:
    150. skilleffect "SL_BARDDANCER",0;
    151. sc_start4 SC_SPIRIT,9999999,5,455,0,0;
    152. break;
    153. case 17:
    154. case 4018:
    155. case 4072:
    156. case 4079:
    157. skilleffect "SL_ROGUE",0;
    158. sc_start4 SC_SPIRIT,9999999,5,456,0,0;
    159. break;
    160. case 12:
    161. case 4013:
    162. case 4059:
    163. case 4065:
    164. skilleffect "SL_ASSASIN",0;
    165. sc_start4 SC_SPIRIT,9999999,5,457,0,0;
    166. break;
    167. case 10:
    168. case 4011:
    169. skilleffect "SL_BLACKSMITH",0;
    170. sc_start4 SC_SPIRIT,9999999,5,458,0,0;
    171. break;
    172. case 11:
    173. case 4012:
    174. case 4056:
    175. case 4062:
    176. skilleffect "SL_HUNTER",0;
    177. sc_start4 SC_SPIRIT,9999999,5,460,0,0;
    178. break;
    179. case 4049:
    180. skilleffect "SL_SOULLINKER",0;
    181. sc_start4 SC_SPIRIT,9999999,5,461,0,0;
    182. break;
    183. default:
    184. break;
    185. }
    186.  
    187.  
    188. }
    189.  
    190.  
    191. }
    192.  
    193. // Duplicates
    194. //============================================================
    195. askald,132,120,3 duplicate(Healer) Healer#askald 909
    196. alberta,25,240,6 duplicate(Healer) Healer#alb 909
    197. aldebaran,135,118,6 duplicate(Healer) Healer#alde 909
    198. amatsu,200,79,4 duplicate(Healer) Healer#ama 909
    199. ayothaya,207,169,6 duplicate(Healer) Healer#ayo 909
    200. comodo,184,158,6 duplicate(Healer) Healer#com 909
    201. einbech,57,36,6 duplicate(Healer) Healer#einbe 909
    202. einbroch,57,202,6 duplicate(Healer) Healer#einbr 909
    203. geffen,115,72,6 duplicate(Healer) Healer#gef 909
    204. gonryun,156,122,6 duplicate(Healer) Healer#gon 909
    205. hugel,89,150,6 duplicate(Healer) Healer#hug 909
    206. izlude,121,150,6 duplicate(Healer) Healer#izl 909 //Pre-RE: (125,118)
    207. jawaii,250,139,4 duplicate(Healer) Healer#jaw 909
    208. lighthalzen,152,100,6 duplicate(Healer) Healer#lhz 909
    209. louyang,226,103,4 duplicate(Healer) Healer#lou 909
    210. manuk,272,144,6 duplicate(Healer) Healer#man 909
    211. mid_camp,203,289,6 duplicate(Healer) Healer#mid 909
    212. moc_ruins,72,164,4 duplicate(Healer) Healer#moc 909
    213. morocc,153,97,6 duplicate(Healer) Healer#mor 909
    214. moscovia,220,191,4 duplicate(Healer) Healer#mos 909
    215. niflheim,212,182,5 duplicate(Healer) Healer#nif 909
    216. payon,179,106,4 duplicate(Healer) Healer#pay 909
    217. prontera,162,193,4 duplicate(Healer) Healer#prt 909
    218. rachel,125,116,6 duplicate(Healer) Healer#rac 909
    219. splendide,201,153,4 duplicate(Healer) Healer#spl 909
    220. thor_camp,249,74,4 duplicate(Healer) Healer#thor 909
    221. umbala,105,148,3 duplicate(Healer) Healer#umb 909
    222. veins,217,121,4 duplicate(Healer) Healer#ve 909
    223. xmas,143,136,4 duplicate(Healer) Healer#xmas 909
    224. yuno,164,45,4 duplicate(Healer) Healer#yuno 909
    225.  
    226. // Duplicates (Renewal)
    227. //============================================================
    228. brasilis,194,221,6 duplicate(Healer) Healer#bra 909
    229. dewata,195,187,4 duplicate(Healer) Healer#dew 909
    230. dicastes01,201,194,4 duplicate(Healer) Healer#dic 909
    231. ecl_in01,45,60,4 duplicate(Healer) Healer#ecl 909
    232. malangdo,132,114,6 duplicate(Healer) Healer#mal 909
    233. malaya,227,204,6 duplicate(Healer) Healer#ma 909
    234. mora,55,152,4 duplicate(Healer) Healer#mora 909


     


     

  11. hello guys , currently im using this itemshower script , but i want to make itemshower more than 2 item

    here my example script

     

    -    script    Sample    -1,{
        OnInit:
            set .amount, 10; // amount of item to shower
            set .item_id, 12903; // next item id to shower
            set .item_id2, 12904; // next item id to shower
            set .item_id3, 12905; // next item id to shower
            set .item_id4, 12906; // next item id to shower
            set .item_id5, 12907; // next item id to shower
            set .item_id6, 12908; // next item id to shower
            set .item_id7, 13576; // next item id to shower
            set .item_id8, 13584; // next item id to shower

            bindatcmd "itemshower",strnpcinfo(3)+"::OnShower";
            end;
        OnShower:

            getmapxy [email protected]$, [email protected], [email protected], BL_PC;

            while ( .count < .amount ) {
                do {
                    [email protected]_diff = [email protected] + rand(1,5);
                    [email protected]_diff = [email protected] + rand(1,5);
                } while (!checkcell([email protected]$,[email protected]_diff,[email protected]_diff,cell_chkpass));
                [email protected] = rand(2);
                makeitem [email protected]?.item_id:.item_id2,1,[email protected]$,[email protected]_diff,[email protected]_diff;   // <<< im stuck on this
                set .count, .count + 1;
            }
            set .count, 0;
            end;
    }

×
×
  • Create New...

Important Information

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