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-nmm6 (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-nmm6 (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-nmm6 (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
SPIDERWEB from spiders
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #1
SPIDERWEB from spiders
Where in the scripts i can add or remove it from NPC? Just want to add this ability to my custom spider Smile
07-30-2012 05:30 AM
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: SPIDERWEB from spiders
I think that it's an hardcoded thing Confused
07-30-2012 06:11 AM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #3
RE: SPIDERWEB from spiders
So, sad...
I think it was SHELTER=t_web
07-30-2012 06:53 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #4
RE: SPIDERWEB from spiders
Yep, it´s hardcoded. But you can softcode a similar Timer for your custom spiders.

Also, if I remember correctly, you can remove the spider web thing with @NPCSpecialAction, you can return 1 always a remove the web drop.
Or insert your own web system and later return 1.

http://wiki.sphere.torfo.org/index.php/@...cialAction
07-30-2012 06:57 AM
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: #5
RE: SPIDERWEB from spiders
I found this on spherewiki

TAG.OVERRIDE.SPIDERWEB

When set to 1, NPC will be able to drop spider webs (for a giant spider, if this set to 1 then it will stop it from dropping webs)


You have to put that in the chardef monster block
http://wiki.sphere.torfo.org/index.php/Override_TAGs
08-01-2012 11:14 AM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #6
RE: SPIDERWEB from spiders
ahh good news commander ^)
i love you darksun 0_o
08-01-2012 03:14 PM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #7
RE: SPIDERWEB from spiders
How to resolve it?
Code:
ERROR:'spiderweb' Bad Link to 040000d40
ERROR:UID=040000d37, id=0ee3 'spiderweb', Invalid code=2205 (Mislinked item)
(This post was last modified: 08-14-2012 07:21 AM by WRWR.)
08-14-2012 07:21 AM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #8
RE: SPIDERWEB from spiders
Sounds like the web was around after the spider who made it died. This shouldn't typically cause problems but you can always put a test for if the link is valid somewhere line environchange and if not just set it to blank.

I'm not sure the link does anything except perhaps let that creature ignore the penalties of the web.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
(This post was last modified: 08-14-2012 07:25 AM by Anarch Cassius.)
08-14-2012 07:25 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #9
RE: SPIDERWEB from spiders
(08-14-2012 07:21 AM)WRWR Wrote:  How to resolve it?
Code:
ERROR:'spiderweb' Bad Link to 040000d40
ERROR:UID=040000d37, id=0ee3 'spiderweb', Invalid code=2205 (Mislinked item)

I think this happens when a creature (the spider) is linked to an item (the spiderweb), and then the creature dies before the item decay... The server is complaining that an item is linked to something that no longer exists.

Possible Solutions:
- Ignore this error
- Do not spawn spiders
- Make spider's invulnerable
- Prevent spiders from dropping webs
08-14-2012 07:28 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #10
RE: SPIDERWEB from spiders
If this happens when the web decays and the spider who belongs the web are already dead, I think you could try to set the link in the @TIMER trigger, under the spiderweb definition.

ON=@TIMER
CONT.LINK=
RETURN 0

You only want to remove the error in the console, don´t you?. Then you only have to set the link of the spiderweb to zero just before dissappears.
(This post was last modified: 08-14-2012 07:56 AM by Gil Amarth.)
08-14-2012 07:54 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)