

Forshaken
Members-
Content Count
94 -
Avg. Content Per Day
0 -
Joined
-
Last visited
Community Reputation
4 NeutralAbout Forshaken
-
Rank
Santa Poring
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Here you go sir ^_^. @ignoredropV1.1.patch
-
@resist command ( checking resistance values )
Forshaken replied to Keitenai's topic in Source Releases
yes. ACMD_FUNC(resist) { char output[CHAT_SIZE_MAX]; int i; struct { const char* format; int value; } output_table[] = { { " [ %d ] Neutral Resist", 0 }, { " [ %d ] Water Resist", 0 }, { " [ %d ] Earth Resist", 0 }, { " [ %d ] Fire Resist", 0 }, { " [ %d ] Wind Resist", 0 }, { " [ %d ] Poison Resist", 0 }, { " [ %d ] Holy Resist", 0 }, { " [ %d ] Dark Resist", 0 }, { " [ %d ] Ghost Resist", 0 }, { " [ %d ] Undead Resist", 0 }, ++ { " [ %d ] Long Range Resistance", 0 }, ++ { " [ %d ] Magic Resistance", 0 }, ++ { " [ %d ] Demi-Human Resist", 0 }, { NULL, 0 } }; memset(output, '\0', sizeof(output)); clif_displaymessage(sd->fd, "========= Resistance Values (in percentage) ========="); output_table[0].value = (sd->indexed_bonus.subele[ELE_NEUTRAL] + sd->indexed_bonus.subele_script[ELE_NEUTRAL] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[1].value = (sd->indexed_bonus.subele[ELE_WATER] + sd->indexed_bonus.subele_script[ELE_WATER] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[2].value = (sd->indexed_bonus.subele[ELE_EARTH] + sd->indexed_bonus.subele_script[ELE_EARTH] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[3].value = (sd->indexed_bonus.subele[ELE_FIRE] + sd->indexed_bonus.subele_script[ELE_FIRE] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[4].value = (sd->indexed_bonus.subele[ELE_WIND] + sd->indexed_bonus.subele_script[ELE_WIND]) + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]; output_table[5].value = (sd->indexed_bonus.subele[ELE_POISON] + sd->indexed_bonus.subele_script[ELE_POISON] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[6].value = (sd->indexed_bonus.subele[ELE_HOLY] + sd->indexed_bonus.subele_script[ELE_HOLY] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[7].value = (sd->indexed_bonus.subele[ELE_DARK] + sd->indexed_bonus.subele_script[ELE_DARK] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[8].value = (sd->indexed_bonus.subele[ELE_GHOST] + sd->indexed_bonus.subele_script[ELE_GHOST] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); output_table[9].value = (sd->indexed_bonus.subele[ELE_UNDEAD] + sd->indexed_bonus.subele_script[ELE_UNDEAD] + sd->indexed_bonus.subele[ELE_ALL] + sd->indexed_bonus.subele_script[ELE_ALL]); ++ output_table[10].value = (sd->bonus.long_attack_def_rate); ++ output_table[11].value = (sd->special_state.no_magic_damage + sd->bonus.magic_def_rate); ++ output_table[12].value = (sd->subrace[RC_DEMIHUMAN]); for (i = 0; output_table.format != NULL; i++) { sprintf(output, output_table.format, output_table.value); clif_displaymessage(fd, output); } return 0; } -
Ok guys here is the bug fix for dispel mechanics. SC_ITEMSCRIPT ManualV2.txt
-
@Mabuhay . I was able to update this src but there is some kind of memory leak issue after updating it.
-
Up for this. OnPCStatCalcEvent has been removed from the latest git.
-
I have fixed the problem. so far there is no disconnection issue. add this codes on your PC.CPP struct map_session_data { struct block_list bl; struct unit_data ud; struct view_data vd; struct status_data base_status, battle_status; struct status_change sc; struct regen_data regen; struct regen_data_sub sregen, ssregen; ++struct autoattack_delay; // autoattack timer //NOTE: When deciding to add a flag to state or special_state, take into consideration that state is preserved in //status_calc_pc, while special_state is recalculated in each call. [Skotlex] struct s_state { unsigned int active : 1; //Marks active player (not active is logging in/out, or changing map servers) unsigned int menu_or_input : 1;// if a script is waiting for feedback from the player unsigned int dead_sit : 2; unsigned int lr_flag : 3;//1: left h. weapon; 2: arrow ------------------------------------------------------------------------------------------------- unsigned int lesseffect : 1; unsigned int vending : 1; unsigned int noks : 3; // [Zeph Kill Steal Protection] ++unsigned autoattack : 1; // Keitenai unsigned int changemap : 1; unsigned int callshop : 1; // flag to indicate that a script used callshop; on a shop ------------------------------------------------------------------------------------------------- int invincible_timer; t_tick canlog_tick; t_tick canuseitem_tick; // [Skotlex] t_tick canusecashfood_tick; t_tick canequip_tick; // [Inkfish] t_tick cantalk_tick; t_tick canskill_tick; // used to prevent abuse from no-delay ACT files t_tick cansendmail_tick; // [Mail System Flood Protection] t_tick ks_floodprotect_tick; // [Kill Steal Protection] ++t_tick autoattack_delay; // Keitenai t_tick equipswitch_tick; // Equip switch
-
Im having the same issue.
-
is this available?
-
Release: Sader's Renewal Mode [PRE-RE Only]
Forshaken replied to sader1992's topic in Source Releases
@sader1992 This will also solve the compatibility for 2015 + clients right???? -
[FAIL] savedata\MiniPartyInfo.lua (Game Client Crash)
Forshaken replied to CenturyGothic's question in Client-side Support
error still persist even thou the players ram is 8gb and we only run 1 client -
you can make your own mapflag script and dig deeper on your itemdb.cpp
-
why not use OnPCLoginEvent and use changelook script?
-
UP FOR THIS ISSUE
-
Good day everyone! I just wanted to ask if how to fix elemental resist healing on woe/gvg? Elemental resist healing is where if your resistance exceeds to 100% on a certain element, that element will heal you when you take damage on it. ex. If you got 110% Wind resist and you got hit by Lightning bolt or anything that is wind element will heal you instead of taking damage. My current situation is it works on PvP but not on GvG. Please help!!!
-
How to only carry item then it's add status
Forshaken replied to MyNaMeArT's question in General Support
yes it is. it was like putting and etc item on your inventory and that item gives you bonus stats