SphereCommunity
Console error about mordaunt housing system - Printable Version

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



Console error about mordaunt housing system - ograso - 01-11-2015 11:52 AM

Hey all,

I always receive same errors from console as follow. How is it possible to fix

Code:
ERROR:(housing24.scp,463)Undefined symbol ''
ERROR:(housing24.scp,467)Undefined symbol ''


Code:
[REGIONTYPE r_house_system]
ON=@Enter
if !<src.brain>
    SRC.DSPEECH +spk_player_house
endif
REF1=<UID.<UID>.MORE2>
if (<REF1.HousePlayerAccess <SRC>>==-1)
    SRC.SYSMESSAGE @,,1 You may not enter.
    return 1
elif (<SRC.ISPLAYER>)
    if !(<SRC.ISGM>)
        if (<DEF.scp.House_DepthOfField>) && !(<REF1.TAG0.Public>) && (<REF1.HousePlayerAccess <SRC>> < 1)
            SRC.SYSMESSAGE @,,1 You may not enter.
            return 1
        elif (<UID.<UID>.TYPE>==t_multi_custom)
            if (<UID.<UID>.DESIGNER>)
                return 1
            endif
        endif
    endif
    return 0
else
    if (<SRC.IsHouseVendor>)
        if (<REF1.TAG0.VENDORS> >= <UID.<UID>.HouseMaxVendors>) || ((<DEF.scp.House_VendorsPublic>) && !(<REF1.TAG0.Public>))
            SRC.TIMERF 1,HouseVendorRemove
            SRC.TIMERF 1,REMOVE
        else
            SRC.TAG.House=<UID>
            SRC.EVENTS +e_aos_house_vendor
            REF1.TAG0.VENDORS ++
            REF1.TAG.VENDOR<dREF1.TAG0.VENDORS>=<SRC>
        endif
-->Line 463     elif (<DEF.scp.House_DepthOfField>) && !(<REF1.TAG0.Public>) && (<REF1.HousePlayerAccess <SRC.OWNER>> < 1)   // Line 463
        return 1
    endif
endif
-->Line 467     if <def.scp.House_DecayUnlockedItems> == 1   // Line 467
    if (<uid.<uid>.type> == t_multi) || (<uid.<uid>.type> == t_multi_custom)
        if <flags>&region_flag_nodecay
            flags = <flags>&~region_flag_nodecay
        endif
    endif
endif

ON=@Exit
if !<src.brain>
    SRC.DSPEECH -spk_player_house
endif



RE: Console error about mordaunt housing system - MirroR - 01-11-2015 02:16 PM

[DEFNAME NODEFS]
SCP.HOUSE_DEPTHOFFIELD=1 // EVIN ALAN DERINLIĞINDEN BAHSEDIYOR BURADA tam olarak anlamadım ama böyle ekle hatalar kalkıcaktır. scp'yi almışssın ama defleri tam olarak almamışsın.
SCP.HOUSE_DECAYUNLOCKEDITEMS=1


add it.


RE: Console error about mordaunt housing system - ograso - 01-12-2015 04:53 AM

Yes Mirror you were right. I changed the script pack and I was trying to integrate to new pack. I missed this things. Thanks anyway