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
spawnbit problem help me please?
Author Message
G-Defender
Journeyman
*

Posts: 57
Likes Given: 12
Likes Received: 3 in 3 posts
Joined: Dec 2012
Reputation: 0

(uolist.net)

Post: #1
spawnbit problem help me please?
Hello.

Taming staff problem.

Please watch the video.

Horse are deleted.

video: https://youtu.be/WZPYkOpvt90





Thank you in advance.

[Image: banner.png]
(This post was last modified: 12-15-2017 07:04 AM by G-Defender.)
12-15-2017 07:03 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: spawnbit problem help me please?
I can't replicate it, is that a custom taming script?

Taming staff doesn't exist in default sphere scripts
(This post was last modified: 12-15-2017 08:21 AM by darksun84.)
12-15-2017 08:20 AM
Find all posts by this user Like Post Quote this message in a reply
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #3
RE: spawnbit problem help me please?
this mem_flags being used?
Quote:memory_ispawned 00200 // UNUSED!!!! i am spawned from this item. (never time out)

[Image: vrs-1.png]
this custom taming script.
Code:
    if (<link.memoryfindtype.memory_ispawned>)
        link.memoryfindtype.memory_ispawned.remove
    endif
    link.karma -50
    link.memorydel <cont.uid>
    link.memorydel <link.uid>
    link.newitem i_memory
    link.act.attr 04
    link.act.more1 04
    link.act.more2 <serv.time>
    link.act.morep <link.p>
    link.act.color memory_ipet
    link.act.timer -1
    link.act.link <cont.uid>
    link.act.cont <link.uid>
    link.flags <link.flags>&statf_pet
    //link.bark 2
    //link.act.update
    //link.act.updatex
    cont.events -e_taming_f
    cont.sysmessage @96,,1 <link.name> sizi sahibi olarak kabul etti. // he accepted you.

Errors triggers success.
(This post was last modified: 12-15-2017 12:59 PM by Satvet.)
12-15-2017 12:50 PM
Find all posts by this user Like Post Quote this message in a reply
evening
Journeyman
*

Posts: 138
Likes Given: 0
Likes Received: 14 in 9 posts
Joined: Apr 2012
Reputation: 1

Finally Land

Post: #4
RE: spawnbit problem help me please?
use delobj <tame uid>

28-08-2015, XuN
Changed the way SPAWNS works, improved them and added more access functions:
- Removed MEMORY_ISPAWNED from source (still present as a def in sphere_defs.scp for backwards-compat)
- Updated SpawnItem to point directly to the spawn instead of redirecting to memory's link.
- Moved SpawnItem ® to COjbBase to affect both chars and items.
- Spawned OBJs are now stored in the spawn, so SpawnItem only gives quick access to the spawn.
- Functions added to spawns:
- AT.n.KEY ®: Retrieves the 'KEY' val for the 'n' spawned item/char, examples: <at.0.name>, <at.0.str>...
- COUNT ®: Returns the total count of spawned items or chars.
- RESET (W): Removes every spawned Item/Char.
- STOP (W): Removes every spawned Item/Char and stops the Spawn.
- START (W): Same as DClicking the Spawn, but from function, without LOS/Distance/etc limitations (It just makes it start, doesn't reset it, so won't work if it's already working).
- ADDOBJ uid (W): Adds the given UID(the Item/Char must exist obviously, so it must be created before) to the Spawned list, it doesn't check for MORE2 < AMOUNT or anything, it's a forced add. Example:
ON=@GetHit
REF1=<SpawnItem>
SERV.NEWNPC=<baseid>
NEW.P=<P>
NEW.FLAGS |= STATF_CONJURED
REF1.ADDOBJ=<NEW>
- DELOBJ uid (W): The opossite of ADDOBJ, removes one OBJ from this list (just remove from the list, it's not removing the OBJ itself).
NOTE: While updating for this build, when server is loading for first time and converting MEMORY_ISPAWNED to SpawnItem and removing these memories, Sphere will throw a memory_leak exception after loading the world because of the difference between items before loading (chars with memory_ispawned) and items after loading (memory_ispawned removed).
12-18-2017 03:38 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 3 users Like evening's post
G-Defender
Journeyman
*

Posts: 57
Likes Given: 12
Likes Received: 3 in 3 posts
Joined: Dec 2012
Reputation: 0

(uolist.net)

Post: #5
RE: spawnbit problem help me please?
thank you.

[Image: banner.png]
12-19-2017 06:19 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #6
RE: spawnbit problem help me please?
thank you for your interest. @evening

Errors triggers success.
12-21-2017 09:01 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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