rickzera Posted November 26, 2018 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
0 Dissidia Posted November 26, 2018 Posted November 26, 2018 It looks RG_INTIMIDATE skill issue. Quote
0 lllaaazzz Posted November 26, 2018 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
0 rickzera Posted November 26, 2018 Author 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
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
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.