Outlaw Posted November 6, 2014 Report Share Posted November 6, 2014 I have this issue which I'm not sure how to fix when installing ESS: ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\spawn\class.hpp, line 53: /E_Class_Dialog/Controls.E_Class_ButtonSelect: Undefined base class 'E_RscButton' class E_RscListBox { access = 0; type = 5; w = 0.4; h = 0.4; rowHeight = 0; colorText[] = {0.75,0.75,0.75,0.8}; colorScrollbar[] = {0.75,0.75,0.75,0.5}; colorSelect[] = {1,1,1,1}; colorSelect2[] = {1,1,1,1}; colorSelectBackground[] = {0,0,0,1}; colorSelectBackground2[] = {0.75,0.75,0.75,.8}; colorBackground[] = {0,0,0,0}; soundSelect[] = {"",0.1,1}; arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)"; arrowFull = "#(argb,8,8,3)color(1,1,1,1)"; class ScrollBar { color[] = {0.75,0.75,0.75,0.5}; colorActive[] = {0.75,0.75,0.75,0.5}; colorDisabled[] = {0.75,0.75,0.75,.5}; shadow = 0; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; style = 0x02; font = "Bitstream"; shadow = 2; sizeEx = 0.037; color[] = {0.75,0.75,0.75,0.5}; period = 1.2; maxHistoryDelay = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; }; class E_Class_Dialog { idd = -1; movingenable = true; class Controls { class E_Class_ListBox: E_RscListBox { idc = 8888; x = 0.424439 * safezoneW + safezoneX; y = 0.292117 * safezoneH + safezoneY; w = 0.151945 * safezoneW; h = 0.32007 * safezoneH; }; class E_Class_ButtonSelect: E_RscButton { idc = -1; text = "Select class"; colorText[] = {1,1,1,.9}; colorDisabled[] = {0.4,0.4,0.4,0}; colorBackground[] = {0.75,0.75,0.75,0.8}; colorBackgroundDisabled[] = {0,0,0}; colorBackgroundActive[] = {0.75,0.75,0.75,1}; colorFocused[] = {0.75,0.75,0.75,.5}; x = 0.46 * safezoneW + safezoneX; y = 0.638 * safezoneH + safezoneY; w = 0.08 * safezoneW; h = 0.03 * safezoneH; action = "call classPick;"; }; }; }; Link to comment Share on other sites More sharing options...
0 jahangir13 Posted November 6, 2014 Report Share Posted November 6, 2014 What I always don't understand is: If you take the line from the error message and enter that in Google (class E_Class_ButtonSelect: E_RscButton), I get exactly 2 results links. First is your post here and second is where the code is coming from in Github (the file you posted). If you go one step back (into the ESS/Overwatch0.2.5/Chernarus/spawn directory) you see another hpp file where the class is defined (defines.hpp). Link to comment Share on other sites More sharing options...
0 Outlaw Posted November 6, 2014 Author Report Share Posted November 6, 2014 Obviously I looked in the defines.hpp to see if there was an issue, but it is exactly the same as the source code, that is why I'm confused about the error and am posting it here, to see if anyone has any ideas. P.S Not sure if you meant for it to sound like that [apologizes if I'm wrong] but there is no need to come across so rude. Link to comment Share on other sites More sharing options...
0 jahangir13 Posted November 6, 2014 Report Share Posted November 6, 2014 Oh no, sorry. I did not want to be rude. I was just asking myself if people don't know how to search or don't want to. Did you include the other hpp file...cause that's what I guessed from what you wrote? Link to comment Share on other sites More sharing options...
0 js2k6 Posted November 7, 2014 Report Share Posted November 7, 2014 your defines.hpp is seemingly correct so if e_rscbutton is showing as undefined, i would look at description.ext and make sure you've got all #include lines present i'm using an older version of ess. but i don't think it's changed too much (my classes show as RscListBoxe, RscButtone etc... so similar but different) screenshot of my description.ext for example... Link to comment Share on other sites More sharing options...
0 raymix Posted November 7, 2014 Report Share Posted November 7, 2014 you never defined E_RscButton aparantly. Either do that or inherit and overwrite from original by changing class E_Class_ButtonSelect: E_RscButton to class E_Class_ButtonSelect: RscButton could be also due to incorrect order of include files if you are 100% sure you have it defined. Just make sure that your define is pasted (#include) before this part is read. The order is very important. js2k6 1 Link to comment Share on other sites More sharing options...
0 Outlaw Posted November 7, 2014 Author Report Share Posted November 7, 2014 Oh no, sorry. I did not want to be rude. I was just asking myself if people don't know how to search or don't want to. I apologize. I'll give you guys results when I get back from work. Link to comment Share on other sites More sharing options...
0 MoosePP Posted January 19, 2015 Report Share Posted January 19, 2015 your defines.hpp is seemingly correct so if e_rscbutton is showing as undefined, i would look at description.ext and make sure you've got all #include lines present i'm using an older version of ess. but i don't think it's changed too much (my classes show as RscListBoxe, RscButtone etc... so similar but different) screenshot of my description.ext for example... What text editor and syntax are you using? UltraEdit? If so, what syntax? Link to comment Share on other sites More sharing options...
Question
Outlaw
I have this issue which I'm not sure how to fix when installing ESS:
ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\spawn\class.hpp, line 53: /E_Class_Dialog/Controls.E_Class_ButtonSelect: Undefined base class 'E_RscButton'
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now