The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My mounts wont REMOVE?
Author Message
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #1
My mounts wont REMOVE?
So, they all work, except when dismounting "argo.remove" does not seem to do anything. No errors. If I put a line above or below it saying "argo.color=07aa" it colors the steed fine... why wont it .remove?

Code:
[itemdef i_donator_horse]
name=Donator Horse Statuette
id=i_pet_horse
type=t_donator_statuette
tdata1=c_horse_tan
weight = 1
on=@create
attr=04

category=donator
subsection=donator pets
description=donator Horse Statuette


[function mount_donator]
if <cant_mount>
return 1
else
src.tag.ondonarmount = 1
serv.newnpc <args>
ref1=<new.uid>
serv.newitem i_memory
new.color=memory_ipet
new.link=<src.uid>
new.cont=<ref1.uid>
new.events -e_donator_mounts
ref1.food=999
ref1.color=<color>
ref1.tag0.donator_mount=<baseid>
ref1.tag0.donator_mount_color=<color>
ref1.tag0.donator_mount_owner=<tag.uid>
ref1.mount <src>
consume
endif


[events e_donator_mounts]    
on=@dismount
if <argo.tag0.donator_mount>
serv.newitem <argo.tag0.donator_mount>
new.cont=<src.uid>
new.color=<argo.tag0.donator_mount_color>
new.tag.uid=<argo.tag0.donator_mount_owner>
src.tag.lastdonarshrink = <new.uid>
src.tag.ondonarmount
argo.remove
src.events -e_donator_mounts
return 1
endif

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-17-2013 06:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
My mounts wont REMOVE? - Ultima One - 01-17-2013 06:43 AM
RE: My mounts wont REMOVE? - darksun84 - 01-17-2013, 09:21 AM
RE: My mounts wont REMOVE? - RanXerox - 01-17-2013, 11:58 AM
RE: My mounts wont REMOVE? - Mordaunt - 01-17-2013, 12:04 PM
RE: My mounts wont REMOVE? - Ultima One - 01-17-2013, 10:48 PM
RE: My mounts wont REMOVE? - darksun84 - 01-18-2013, 12:01 AM
RE: My mounts wont REMOVE? - Ultima One - 01-18-2013, 12:50 AM
RE: My mounts wont REMOVE? - Ultima One - 01-18-2013, 07:38 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)