SphereCommunity
some problems in sphere.ini and events - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: some problems in sphere.ini and events (/Thread-some-problems-in-sphere-ini-and-events)



some problems in sphere.ini and events - Elmortis - 02-24-2013 07:41 AM

I wont use this function in sphere.ini

Code:
// Events related to all NPCs
EventsPet=e_pvm

// Events related to all players
EventsPlayer=e_pvx

And in console i have

Code:
ERROR:Undefined symbol 'e_PvM'
ERROR:Unknown 'EVENTS' Resource 'e_PvM'

I don't have any erros in console.

How I can fix this error ?


RE: some problems in sphere.ini and events - Shaklaban - 02-24-2013 08:24 AM

just define [events e_pvm] in any of your scripts.


RE: some problems in sphere.ini and events - Elmortis - 02-25-2013 03:25 AM

i use


RE: some problems in sphere.ini and events - DJANGO - 04-30-2021 02:35 PM

(02-25-2013 03:25 AM)Elmortis Wrote:  i use

We still face this problem today. One solution is to place your event inside a sphere's default .scp file.