donkeyg Posted October 3, 2014 Posted October 3, 2014 how to make halohalo wont gone after u die ? { sc_start SC_INCALLSTATUS,600000,3; },{},{} BUmp.. need it urgent.. Quote
Yonko Posted October 3, 2014 Posted October 3, 2014 how to make halohalo wont gone after u die ? { sc_start SC_INCALLSTATUS,600000,3; },{},{}BUmp.. need it urgent.. Try Go to status.c inside src folder and find this int status_change_clear(struct block_list* bl, int type) { struct status_change* sc; int i; sc = status_get_sc(bl); if (!sc || !sc->count) return 0; for(i = 0; i < SC_MAX; i++) { if(!sc->data[i]) continue; if(type == 0) switch (i) { //Type 0: PC killed -> Place here statuses that do not dispel on death. case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK ) break; case SC_WEIGHT50: case SC_WEIGHT90: case SC_EDP: case SC_MELTDOWN: case SC_XMAS: case SC_SUMMER: case SC_NOCHAT: case SC_FUSION: case SC_EARTHSCROLL: case SC_READYSTORM: case SC_READYDOWN: case SC_READYCOUNTER: case SC_READYTURN: case SC_DODGE: case SC_JAILED: case SC_EXPBOOST: case SC_ITEMBOOST: case SC_HELLPOWER: case SC_JEXPBOOST: case SC_AUTOTRADE: case SC_WHISTLE: case SC_ASSNCROS: case SC_POEMBRAGI: case SC_APPLEIDUN: case SC_HUMMING: case SC_DONTFORGETME: case SC_FORTUNE: case SC_SERVICE4U: case SC_FOOD_STR_CASH: case SC_FOOD_AGI_CASH: case SC_FOOD_VIT_CASH: case SC_FOOD_DEX_CASH: case SC_FOOD_INT_CASH: case SC_FOOD_LUK_CASH: case SC_DEF_RATE: case SC_MDEF_RATE: case SC_INCHEALRATE: case SC_INCFLEE2: case SC_INCHIT: case SC_ATKPOTION: case SC_MATKPOTION: case SC_S_LIFEPOTION: case SC_L_LIFEPOTION: case SC_PUSH_CART: continue; } status_change_end(bl, (sc_type)i, INVALID_TIMER); if( type == 1 && sc->data[i] ) { //If for some reason status_change_end decides to still keep the status when quitting. [skotlex] (sc->count)--; if (sc->data[i]->timer != INVALID_TIMER) delete_timer(sc->data[i]->timer, status_change_timer); ers_free(sc_data_ers, sc->data[i]); sc->data[i] = NULL; } } sc->opt1 = 0; sc->opt2 = 0; sc->opt3 = 0; sc->option &= OPTION_MASK; if( type == 0 || type == 2 ) clif_changeoption(bl); return 1; } then add this after SC_PUSHCART so it will be like case SC_PUSH_CART: case SC_INCALLSTATUS; save and don't forget to recompile Quote
donkeyg Posted October 3, 2014 Author Posted October 3, 2014 Tried it.. error bro.. can someone help me please? i think it wont be so complicated=.="" Quote
Elsa Mist Posted October 3, 2014 Posted October 3, 2014 Tried it.. error bro.. can someone help me please? i think it wont be so complicated=.="" try move this thread to source support if this topic take affect to source. Quote
Question
donkeyg
how to make halohalo wont gone after u die ?
BUmp.. need it urgent..
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.