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






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gold Loot
Author Message
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #10
RE: Gold Loot
Thx Darksun84 you have decided my problem =)

Now in the same script i have a little bug in shrink the pet. When unshrink the pet, it does not recognize the player as its owner. I creat this :

Code:
[FUNCTION petshrink]
NEWITEM=i_memory_system_pet_rabbit
EQUIP=<ACT>

[ITEMDEF i_memory_system_pet_rabbit]
DEFNAME=i_memory_system_pet_rabbit
NAME=Memory sYSTEM pET rABBIT
ID=i_memory
TYPE=t_eq_script

ON=@CREATE
ATTR=attr_move_never|attr_invis

ON=@EQUIP
TARGET= @09c1 To whom do you wish to duel?

ON=@TARGON_CHAR
if (<src.targ.id>==c_system_pet_rabbit)
serv.newitem=i_system_pet_rabbit
new.name=<src.targ.name>
new.color=<src.targ.color>
new.tag.id=<src.targ.baseid>
new.tag.str=<src.targ.str>
new.tag.dex=<src.targ.dex>
new.tag.food=<src.targ.food>
new.tag.dono=<uid>
new.cont=<ref1.uid>
src.new.bounce
new.type=t_pet_rabbit_fix
src.targ.remove
endif
return 1

[TYPEDEF t_pet_rabbit_fix]
ON=@Dclick
if ( <TOPOBJ.UID> != <SRC.UID> )
    
src.sysmessage @09c1 You must have the item in your pack.
    
return 1

else
serv.newnpc=c_system_pet_rabbit
new.color=<color>
new.str=<tag.str>
new.dex=<tag.dex>
new.name=<name>
new.food=<tag.food>
remove
return 1
endif
03-18-2015 11:33 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Gold Loot - Van Glan Bloom - 03-09-2015, 09:36 AM
RE: Gold Loot - azmanomer - 03-09-2015, 09:39 AM
RE: Gold Loot - Van Glan Bloom - 03-10-2015, 12:59 AM
RE: Gold Loot - azmanomer - 03-10-2015, 01:29 AM
RE: Gold Loot - Van Glan Bloom - 03-10-2015, 03:26 AM
RE: Gold Loot - XuN - 03-17-2015, 08:42 PM
RE: Gold Loot - Van Glan Bloom - 03-17-2015, 11:51 PM
RE: Gold Loot - darksun84 - 03-18-2015, 12:13 AM
RE: Gold Loot - XuN - 03-18-2015, 06:10 AM
RE: Gold Loot - Van Glan Bloom - 03-18-2015 11:33 PM
RE: Gold Loot - XuN - 03-19-2015, 05:48 PM
RE: Gold Loot - Van Glan Bloom - 03-22-2015, 08:21 AM
RE: Gold Loot - UltimaAku - 04-28-2015, 07:43 PM
RE: Gold Loot - richm - 04-29-2015, 08:19 AM
RE: Gold Loot - Van Glan Bloom - 05-03-2015, 02:22 AM
RE: Gold Loot - XuN - 05-03-2015, 04:37 AM
RE: Gold Loot - Van Glan Bloom - 05-03-2015, 08:32 AM
RE: Gold Loot - XuN - 05-03-2015, 05:25 PM
RE: Gold Loot - Van Glan Bloom - 05-04-2015, 10:34 PM
RE: Gold Loot - XuN - 05-05-2015, 04:57 PM
RE: Gold Loot - Van Glan Bloom - 05-05-2015, 09:47 PM
RE: Gold Loot - XuN - 05-06-2015, 04:19 PM
RE: Gold Loot - Van Glan Bloom - 05-07-2015, 09:22 AM
RE: Gold Loot - XuN - 05-07-2015, 04:32 PM

Forum Jump:


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