Jump to content
  • 0

[WTA] status.cpp undefined reference to status_clear_lastEffect_Timer


DK77

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  61
  • Reputation:   0
  • Joined:  06/30/17
  • Last Seen:  

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 


 

Edited by DK77
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

Did you apply this commit by Sir Playtester?

https://github.com/rathena/rathena/commit/3b9c28aa464b8adb3decb5357725e1f705c8517e

Edited by cook1e
Credits
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...