Hello, previously I tried to apply refineUI based on Cydh and other fellow rathena contributor works (https://github.com/rathena/rathena/compare/master...cydh:feature/refineui_bs_blessing).
I successfully enable the refineUI, however, after compiling I got these errors.
I tried my best to fix it, but I failed to understand where my mistakes are.
Moreover, when testing the refineUI, I got other problems:
1. Every oridecon/elunium types give 100% success chance regardless the refine level (+10 still give 100%).
2. There is no option to use ordinary oridecon/elunium (I can only use HD ori/elu, Blessed ore, and Old enriched).
3. I can use HD oridecon and elunium without following the item restriction. It should be available when the weapon surpasses +7, but I can use it even my weapon is +1.
4. The blacksmith blessing does not occur in refineUI option.
5. I always got this notification when compiling: 1>e:\fantasmagorica\server\lapine cdh\project lapine\src\map\pc.hpp(919): warning C4005: 'pc_cant_act': macro redefinition
It happened after I put:
#define pc_cant_act(sd) ( (sd)->npc_id || (sd)->state.vending || (sd)->state.buyingstore || (sd)->chatID || ((sd)->sc.opt1 && (sd)->sc.opt1 != OPT1_BURNING) || (sd)->state.trading || (sd)->state.storage_flag || (sd)->state.prevend || (sd)->state.lapine_ui ) #define pc_cant_act(sd) ( (sd)->npc_id || (sd)->state.vending || (sd)->state.buyingstore || (sd)->chatID || ((sd)->sc.opt1 && (sd)->sc.opt1 != OPT1_BURNING) || (sd)->state.trading || (sd)->state.storage_flag || (sd)->state.prevend || (sd)->state.refineui_open ) --->> this
Question
Rizz
Hello, previously I tried to apply refineUI based on Cydh and other fellow rathena contributor works (https://github.com/rathena/rathena/compare/master...cydh:feature/refineui_bs_blessing).

I successfully enable the refineUI, however, after compiling I got these errors.
I tried my best to fix it, but I failed to understand where my mistakes are.
Moreover, when testing the refineUI, I got other problems:
1. Every oridecon/elunium types give 100% success chance regardless the refine level (+10 still give 100%).
2. There is no option to use ordinary oridecon/elunium (I can only use HD ori/elu, Blessed ore, and Old enriched).
3. I can use HD oridecon and elunium without following the item restriction. It should be available when the weapon surpasses +7, but I can use it even my weapon is +1.
4. The blacksmith blessing does not occur in refineUI option.
5. I always got this notification when compiling: 1>e:\fantasmagorica\server\lapine cdh\project lapine\src\map\pc.hpp(919): warning C4005: 'pc_cant_act': macro redefinition
It happened after I put:
#define pc_cant_act(sd) ( (sd)->npc_id || (sd)->state.vending || (sd)->state.buyingstore || (sd)->chatID || ((sd)->sc.opt1 && (sd)->sc.opt1 != OPT1_BURNING) || (sd)->state.trading || (sd)->state.storage_flag || (sd)->state.prevend || (sd)->state.lapine_ui )
#define pc_cant_act(sd) ( (sd)->npc_id || (sd)->state.vending || (sd)->state.buyingstore || (sd)->chatID || ((sd)->sc.opt1 && (sd)->sc.opt1 != OPT1_BURNING) || (sd)->state.trading || (sd)->state.storage_flag || (sd)->state.prevend || (sd)->state.refineui_open ) --->> this
-----------------------
Here my src files that have been edited. I hope someone can tell me what should I do with these errors. Thanks in advance.
1.clif.cpp
2.status.cpp
3. status.hpp
4.skill.cpp
5.pc.cpp
6.pc.hpp
Link to comment
Share on other sites
0 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.