SphereCommunity
Console error ! - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Console error ! (/Thread-Console-error)



Console error ! - ograso - 01-07-2015 03:42 AM

Hey All,

I received an error on console as follow When I try to use house placement tool for building a new house. I didnt understand why?

Code:
19:37:ERROR:(houseplacement.scp,161)Can't resolve <SERV.ITEMDEF.>
19:37:ERROR:(houseplacement.scp,161)Undefined symbol ''

line 161;
Code:
    if (<SERV.ITEMDEF.<DEF.house_custom_2story_<dlocal._for>>>)



RE: Console error ! - Extreme - 01-07-2015 07:12 AM

Hi Ograso, you probally don't have the DEFNAMES.

<DEF.house_custom_2story_<dlocal._for>>

You must have the defnames to work.


RE: Console error ! - ograso - 01-09-2015 12:02 AM

Yeah Extreme you right. I added defnames and areastorage to the script. After that I receive another console errors. like as follows

I can see the houses and place whereever I want When I use placement tool right now but still receive error on console.

Code:
ERROR:(houseplacement.scp,132)Can't resolve <AREA i_multi_house_stone_plaster_small>
ERROR:(housing24.scp,194)Undefined symbol ''
ERROR:(houseplacement.scp,131)Can't resolve <SERV.ITEMDEF.>
ERROR:(houseplacement.scp,131)Undefined symbol ''

Line 131-132(houseplacement);
Code:
    if (<SERV.ITEMDEF.<DEF.house_classic_<dlocal._for>>>)
        LOCAL.STORAGE=<AreaStorage (<AREA <DEF.house_classic_<dlocal._for>>>)>

Function about areastorage;
Code:
[FUNCTION AreaStorage]
IF (<ARGS> < 50)   // Line 194
return 589
ELIF (<ARGS> < 60)
return 767
ELIF (<ARGS> < 65)
return 848
ELIF (<ARGS> < 75)
return 905
ELIF (<ARGS> < 82)
return 963
ELIF (<ARGS> < 91)
return 1020
ELIF (<ARGS> < 125)
return 1465
ELIF (<ARGS> < 133)
return 1523
ELIF (<ARGS> < 150)
return 1680
ELIF (<ARGS> < 157)
return 1738
ELIF (<ARGS> < 170)
return 1795
ELIF (<ARGS> < 185)
return 1853
ELIF (<ARGS> < 215)
return 1876
ELIF (<ARGS> < 460)
return 2937
ELIF (<ARGS> < 600)
return 3519
ELIF (<ARGS> < 1000)
return 5188
ENDIF

Code:
[DEFNAME Avaible_Houses]        //Avaible houses on House Placement Tool
DEMOLITION_PEND_DECAY 3
house_classic_1            "i_multi_house_stone_plaster_small"
house_classic_2            "i_multi_shop_stone_small"
house_classic_3            "i_multi_shop_marble_small"
house_classic_4            "i_multi_tower_wizard"
house_classic_5        "i_multi_house_patio_sand"
house_classic_6        "i_multi_villa_2story"
house_classic_7        "i_multi_cabin_log_2story"
house_classic_8        "i_multi_house_3room"
house_classic_9        "i_multi_house_wood_plaster_2story"
house_classic_10        "i_multi_house_stone_plaster_2story"
house_classic_11        "i_multi_shop_blacksmithy_large"
house_classic_12        "i_multi_house_patio_marble"
//house_classic_13        "i_multi_tower"
house_classic_13        "i_multi_keep"
house_classic_14        "i_multi_castle"
house_custom_2story_1        "i_multi_foundation_7x7"
house_custom_2story_2        "i_multi_foundation_7x8"
house_custom_2story_3        "i_multi_foundation_7x9"
house_custom_2story_4        "i_multi_foundation_7x10"
house_custom_2story_5        "i_multi_foundation_7x11"
house_custom_2story_6        "i_multi_foundation_7x12"
house_custom_2story_7        "i_multi_foundation_8x7"
house_custom_2story_8        "i_multi_foundation_8x8"
house_custom_2story_9        "i_multi_foundation_8x9"
house_custom_2story_10        "i_multi_foundation_8x10"
house_custom_2story_11        "i_multi_foundation_8x11"
house_custom_2story_12        "i_multi_foundation_8x12"
house_custom_2story_13        "i_multi_foundation_8x13"
house_custom_2story_14        "i_multi_foundation_9x7"
house_custom_2story_15        "i_multi_foundation_9x8"
house_custom_2story_16        "i_multi_foundation_9x9"
house_custom_2story_17        "i_multi_foundation_9x10"
house_custom_2story_18        "i_multi_foundation_9x11"
house_custom_2story_19        "i_multi_foundation_9x12"
house_custom_2story_20        "i_multi_foundation_9x13"
house_custom_2story_21        "i_multi_foundation_10x7"
house_custom_2story_22        "i_multi_foundation_10x8"
house_custom_2story_23        "i_multi_foundation_10x9"
house_custom_2story_24        "i_multi_foundation_10x10"
house_custom_2story_25        "i_multi_foundation_10x11"
house_custom_2story_26        "i_multi_foundation_10x12"
house_custom_2story_27        "i_multi_foundation_10x13"
house_custom_2story_28        "i_multi_foundation_11x7"
house_custom_2story_29        "i_multi_foundation_11x8"
house_custom_2story_30        "i_multi_foundation_11x9"
house_custom_2story_31        "i_multi_foundation_11x10"
house_custom_2story_32        "i_multi_foundation_11x11"
house_custom_2story_33        "i_multi_foundation_11x12"
house_custom_2story_34        "i_multi_foundation_11x13"
house_custom_2story_35        "i_multi_foundation_12x7"
house_custom_2story_36        "i_multi_foundation_12x8"
house_custom_2story_37        "i_multi_foundation_12x9"
house_custom_2story_38        "i_multi_foundation_12x10"
house_custom_2story_39        "i_multi_foundation_12x11"
house_custom_2story_40        "i_multi_foundation_12x12"
house_custom_2story_41        "i_multi_foundation_12x13"
house_custom_2story_42        "i_multi_foundation_13x8"
house_custom_2story_43        "i_multi_foundation_13x9"
house_custom_2story_44        "i_multi_foundation_13x10"
house_custom_2story_45        "i_multi_foundation_13x11"
house_custom_2story_46        "i_multi_foundation_13x12"
house_custom_2story_47        "i_multi_foundation_13x13"

house_custom_3story_1        "i_multi_foundation_9x14"
house_custom_3story_2        "i_multi_foundation_10x14"
house_custom_3story_3        "i_multi_foundation_10x15"
house_custom_3story_4        "i_multi_foundation_11x14"
house_custom_3story_5        "i_multi_foundation_11x15"
house_custom_3story_6        "i_multi_foundation_11x16"
house_custom_3story_7        "i_multi_foundation_12x14"
house_custom_3story_8        "i_multi_foundation_12x15"
house_custom_3story_9        "i_multi_foundation_12x16"
house_custom_3story_10        "i_multi_foundation_12x17"
house_custom_3story_11        "i_multi_foundation_13x14"
house_custom_3story_12        "i_multi_foundation_13x15"
house_custom_3story_13        "i_multi_foundation_13x16"
house_custom_3story_14        "i_multi_foundation_13x17"
house_custom_3story_15        "i_multi_foundation_13x18"
house_custom_3story_16        "i_multi_foundation_14x9"
house_custom_3story_17        "i_multi_foundation_14x10"
house_custom_3story_18        "i_multi_foundation_14x11"
house_custom_3story_19        "i_multi_foundation_14x12"
house_custom_3story_20        "i_multi_foundation_14x13"
house_custom_3story_21        "i_multi_foundation_14x14"
house_custom_3story_22        "i_multi_foundation_14x15"
house_custom_3story_23        "i_multi_foundation_14x16"
house_custom_3story_24        "i_multi_foundation_14x17"
house_custom_3story_25        "i_multi_foundation_14x18"
house_custom_3story_26        "i_multi_foundation_15x10"
house_custom_3story_27        "i_multi_foundation_15x11"
house_custom_3story_28        "i_multi_foundation_15x12"
house_custom_3story_29        "i_multi_foundation_15x13"
house_custom_3story_30        "i_multi_foundation_15x14"
house_custom_3story_31        "i_multi_foundation_15x15"
house_custom_3story_32        "i_multi_foundation_15x16"
house_custom_3story_33        "i_multi_foundation_15x17"
house_custom_3story_34        "i_multi_foundation_15x18"
house_custom_3story_35        "i_multi_foundation_16x11"
house_custom_3story_36        "i_multi_foundation_16x12"
house_custom_3story_37        "i_multi_foundation_16x13"
house_custom_3story_38        "i_multi_foundation_16x14"
house_custom_3story_39        "i_multi_foundation_16x15"
house_custom_3story_40        "i_multi_foundation_16x16"
house_custom_3story_41        "i_multi_foundation_16x17"
house_custom_3story_42        "i_multi_foundation_16x18"
house_custom_3story_43        "i_multi_foundation_17x12"
house_custom_3story_44        "i_multi_foundation_17x13"
house_custom_3story_45        "i_multi_foundation_17x14"
house_custom_3story_46        "i_multi_foundation_17x15"
house_custom_3story_47        "i_multi_foundation_17x16"
house_custom_3story_48        "i_multi_foundation_17x17"
house_custom_3story_49        "i_multi_foundation_17x18"
house_custom_3story_50        "i_multi_foundation_18x13"
house_custom_3story_51        "i_multi_foundation_18x14"
house_custom_3story_52        "i_multi_foundation_18x15"
house_custom_3story_53        "i_multi_foundation_18x16"
house_custom_3story_54        "i_multi_foundation_18x17"
house_custom_3story_55        "i_multi_foundation_18x18"



RE: Console error ! - ograso - 01-09-2015 07:20 AM

Ok Fixed. Thanks