rickzera Posted November 26, 2018 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 51 Reputation: 3 Joined: 08/01/12 Last Seen: Saturday at 01:10 AM Share Posted November 26, 2018 The emulator started to crash and crash the map-server. I used GDB and got the following information... The status.cpp and skill.cpp files for analysis are appended to the topic. If anyone can help me I will be very grateful please. This is very urgent! skill.cpp status.cpp Quote Link to comment Share on other sites More sharing options...
0 Dissidia Posted November 26, 2018 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted November 26, 2018 It looks RG_INTIMIDATE skill issue. Quote Link to comment Share on other sites More sharing options...
0 lllaaazzz Posted November 26, 2018 Group: Members Topic Count: 18 Topics Per Day: 0.01 Content Count: 154 Reputation: 6 Joined: 10/14/17 Last Seen: February 16, 2019 Share Posted November 26, 2018 2 hours ago, monkeydluffy said: The emulator started to crash and crash the map-server. I used GDB and got the following information... The status.cpp and skill.cpp files for analysis are appended to the topic. If anyone can help me I will be very grateful please. This is very urgent! skill.cpp status.cpp well if its just your src why dont you just replace those 2 files with whats in the github? Quote Link to comment Share on other sites More sharing options...
0 rickzera Posted November 26, 2018 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 51 Reputation: 3 Joined: 08/01/12 Last Seen: Saturday at 01:10 AM Author Share Posted November 26, 2018 (edited) status.cpp: 7456 my review: struct status_data *status_get_status_data(struct block_list *bl) { nullpo_retr(&dummy_status, bl); switch (bl->type) { case BL_PC: return &((TBL_PC*)bl)->battle_status; case BL_MOB: return &((TBL_MOB*)bl)->status; case BL_PET: return &((TBL_PET*)bl)->status; case BL_HOM: return &((TBL_HOM*)bl)->battle_status; case BL_MER: return &((TBL_MER*)bl)->battle_status; case BL_ELEM: return &((TBL_ELEM*)bl)->battle_status; case BL_NPC: return ((mobdb_checkid(((TBL_NPC*)bl)->class_) == 0) ? &((TBL_NPC*)bl)->status : &dummy_status); default: return &dummy_status; } } github: int status_get_class(struct block_list *bl) { nullpo_ret(bl); switch( bl->type ) { case BL_PC: return ((TBL_PC*)bl)->status.class_; case BL_MOB: return ((TBL_MOB*)bl)->vd->class_; // Class used on all code should be the view class of the mob. case BL_PET: return ((TBL_PET*)bl)->pet.class_; case BL_HOM: return ((TBL_HOM*)bl)->homunculus.class_; case BL_MER: return ((TBL_MER*)bl)->mercenary.class_; case BL_NPC: return ((TBL_NPC*)bl)->class_; case BL_ELEM: return ((TBL_ELEM*)bl)->elemental.class_; } return 0; } That part of the skill I already got. Now I need to know how to make this change above and where it makes the most changes. Edited November 26, 2018 by monkeydluffy Quote Link to comment Share on other sites More sharing options...
Question
rickzera
The emulator started to crash and crash the map-server. I used GDB and got the following information...
The status.cpp and skill.cpp files for analysis are appended to the topic. If anyone can help me I will be very grateful please. This is very urgent!
skill.cpp
status.cpp
Link to comment
Share on other sites
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.