SphereCommunity
Guard dont work for me - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Guard dont work for me (/Thread-Guard-dont-work-for-me)



Guard dont work for me - maos32 - 09-16-2013 08:26 PM

Hello sphere community

I have a little problem
When i try to call guard in protected town
i got this error

12:25:ERROR:Undefined symbol 'c_guard'
12:25:ERROR:Undefined symbol 'c_guard_f'

How to resolve this ?

Thanks alot


RE: Guard dont work for me - XuN - 09-16-2013 09:05 PM

Open sphere_defs.scp and change the 'guards' line to this one (or whatever ID you have in case you've changed it).

[DEFNAME HARDCODED]
defaultitem i_gold // if we cannot create the item. make it this.
defaultchar c_man // if we cannot create the char. make it this.
guards { c_h_guard 1 c_h_guard 1 }
deffood { i_bacon_slab 1 i_cheese_wheel 1 i_basket_fruit 1 i_bird_cooked 1 i_ham 1 i_cake 1 i_bento_box 1 }


RE: Guard dont work for me - maos32 - 09-17-2013 06:45 PM

Thank alot