SphereCommunity
Wiki missing trigger - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: UO/Sphere Discussion (/Forum-UO-Sphere-Discussion)
+--- Thread: Wiki missing trigger (/Thread-Wiki-missing-trigger)



Wiki missing trigger - Mordaunt - 09-20-2012 02:41 AM

@RegionResourceFound is not listed does not appear in the trigger list on the wiki, might want to have someone add that


RE: Wiki missing trigger - Shaklaban - 09-20-2012 07:59 PM

im tried to add it with my account but gives following error:

Warning: Parameter 1 to ConfirmEditHooks::confirmEditMerged() expected to be a reference, value given in /www/htdocs/w00b5aa9/includes/Hooks.php on line 117
Internal error

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.


Code:
==Description==
This trigger fires when a resource is being gathered.


Fires on:
* [[Characters|Characters]]


==References==
The following object references are explicitly available for this trigger:

{| border="1" cellspacing="4" cellpadding="4"
| '''Name''' || '''Description'''
|-
| [[ARGO]] || The [[Items|worldgem bit]] that represents the resource in the world.
|-
| [[I]] || The [[Characters|character]] gathering the resource.
|-
| [[SRC]] || The [[Characters|character]] gathering the resource.
|}


==Arguments==
The following arguments are set for this trigger. If an argument is marked as "In" then a value will be passed in to the trigger, if an argument is marked as "Out" then it can be set to a value to affect Sphere's behaviour:


''No arguments are set for this trigger.''


==Return Values==
The following return values are explicitly defined for this trigger:

{| border="1" cellspacing="4" cellpadding="4"
| '''Return Value''' || '''Description'''
|-
| 1 || Sets the amount of resource to zero, preventing it from being gathered.
|}


[[Category: Reference Compendium]]
[[Category: Triggers]]



RE: Wiki missing trigger - RanXerox - 09-21-2012 10:16 AM

The wiki security has been compromised in other ways (likely a result of not patching)... http://wiki.sphere.torfo.org/index.php/Special:LonelyPages


RE: Wiki missing trigger - Ben - 09-21-2012 10:43 AM

Those pages have been there for a long time. Maybe they should get cleaned up, if the wiki works properly that is...