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
Can't use skills or attacking
Author Message
Oxtar
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0



Post: #1
Can't use skills or attacking
Hi guys, i came across something really weird which is getting on my nerves.

I am currently using the latest version of sphere which is 56c.

I am also using the latest scripts with custom ones i've made and some which have been done by other scripters.

The issue i'm trying to figure is this.

After a Resync ( AND ONLY AFTER IT ) the players get affected by a bug which prevent them from using any skill and they cannot attack an npc. The only way to attack the npc within this bug is to double click it non-stop. After using a travel stone (which is how players wander around) they can attack npc's normally and they are REQUIRED to kill an NPC to be able to use their skills normally.

I've been through all my scripts, 1 by 1. Those made by my hand and those which aren't. After all, there is nothing that point me to something specific. At first i thought it might be related to my ethy mounts. Then i found out it still happened without me riding it before the resync.

SOOO.... Any help is pretty welcome if you ever experienced this in the past.

Thank you Wink

Code:
Quick edit:

Here's one ethy in case there is something wrong i didn't notice.

[itemdef i_et_ridgeback]
name=Ethereal ridgeback
id=i_mt_ridgeback
TDATA3=c_etr
layer=25

on=@create
color=00

on=@unequip
src.newitem i_ethereal_ridgeback
src.act.color=<color>
src.act.bounce

[chardef c_etr]
name=Ethy Ridgeback
id=c_ridgeback
sound=0

on=@create
color=00
str=1
food=10000

on=@click
remove
return 1

on=@npcrestock
remove
return 1

on=@skillstart
remove
return 1

[itemdef i_ethereal_ridgeback]
NAME=Ethereal Ridgeback
id=i_pet_ridgeback
type=t_normal
CATEGORY=Ethereal
SUBSECTION= Ethereal pets
DESCRIPTION=Ethereal Ridgeback
Value=0

on=@create
color=00
attr=14

on=@dclick
if (<SRC.FLAGS>&000000400)
src.sysmessage you can not use this right now.
return 1
elseif (<SRC.FLAGS>&080000000)
src.sysmessage you are already mounted
return 1
else
src.newitem i_et_ridgeback
src.act.more1=c_etr
src.act.color=<color>
src.act.more2=<src.uid>
src.act.equip
src.update
remove
return 1
endif

[itemdef 03EBA]
name=Rigdeback mount item
defname=i_mt_ridgeback
TYPE=T_EQ_HORSE
LAYER=25
TDATA3=c_ridgeback

ON=@EQUIP
LINK=<SRC.UID>
attr=08010
(This post was last modified: 01-09-2014 01:39 PM by Oxtar.)
01-09-2014 01:33 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Can't use skills or attacking - Oxtar - 01-09-2014 01:33 PM
RE: Can't use skills or attacking - Oxtar - 01-09-2014, 10:00 PM
RE: Can't use skills or attacking - Oxtar - 01-10-2014, 12:18 PM
RE: Can't use skills or attacking - Oxtar - 01-10-2014, 10:10 PM
RE: Can't use skills or attacking - Oxtar - 01-11-2014, 09:15 AM
RE: Can't use skills or attacking - Ben - 01-12-2014, 02:43 AM
RE: Can't use skills or attacking - XuN - 01-12-2014, 03:37 AM

Forum Jump:


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