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
putting cooldown on scrolls
Author Message
dunnetott
Apprentice
*

Posts: 24
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Feb 2016
Reputation: 0



Post: #28
RE: putting cooldown on scrolls
the only place in the code where on=@spellcast is used is under other skillclasses that shouldent be a problem right since its diffrent codes? or am i wrong about that?

yeah we put the time on 30 yesterday when you replied to see if that was the issue still no cooldown or errors tho.

im going to try the new code and see if that method works.


nothing works tried everything you told me and there still are no cooldown
am i doing something horrible wrong?
tested so everything loads into the server and i can spwn the memory scroll so that should be there.
the skillclass im using is correct, tested with the equipment restriction to make sure i was in right skillclass.
restarted the server a few times.
tried going out of .gm and .invul tried make a pure player character.
tried to manualy craft the scroll in game instead of spawning it in.

There are no errors in the console either not when the server is booting or when the scroll is being used.

This is all code i have revolving the scroll cooldown
(I commented out the scrollcooldown script under skillclass to test the new code you provided.) still no cooldown either.

and this is the spell script

Code:
[Spell 51]
DEFNAME=s_flamestrike
NAME=Flame Strike
SOUND=snd_SPELL_FLAMESTRIKE
RUNES=KVF
CAST_TIME=40
RESOURCES=i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM=i_rune_FLAMESTRIKE
SCROLL_ITEM=i_scroll_FLAMESTRIKE
FLAGS=SPELLFLAG_TARG_OBJ|SPELLFLAG_HARM|SPELLFLAG_FX_TARG|SPELLFLAG_RESIST|SPELL​FLAG_DAMAGE
EFFECT_ID=03709
EFFECT=25,50
DURATION=0.0
MANAUSE=40
SKILLREQ=MAGERY 70.0
INTERRUPT=0.0,0.0

here is a link to our github: https://github.com/FiveEYZ/SphereShadowRealm
(This post was last modified: 02-19-2016 11:56 PM by dunnetott.)
02-19-2016 08:58 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
putting cooldown on scrolls - dunnetott - 02-18-2016, 01:37 AM
RE: putting cooldown on scrolls - karma - 02-18-2016, 01:57 AM
RE: putting cooldown on scrolls - karma - 02-18-2016, 02:11 AM
RE: putting cooldown on scrolls - karma - 02-18-2016, 02:24 AM
RE: putting cooldown on scrolls - karma - 02-18-2016, 03:02 AM
RE: putting cooldown on scrolls - karma - 02-18-2016, 03:27 AM
RE: putting cooldown on scrolls - karma - 02-18-2016, 04:23 AM
RE: putting cooldown on scrolls - Khaos - 02-18-2016, 08:04 AM
RE: putting cooldown on scrolls - Khaos - 02-18-2016, 08:32 AM
RE: putting cooldown on scrolls - karma - 02-18-2016, 08:44 AM
RE: putting cooldown on scrolls - Khaos - 02-18-2016, 08:52 AM
RE: putting cooldown on scrolls - Khaos - 02-18-2016, 11:49 AM
RE: putting cooldown on scrolls - Khaos - 02-19-2016, 09:39 AM
RE: putting cooldown on scrolls - Khaos - 02-19-2016, 11:35 AM
RE: putting cooldown on scrolls - Khaos - 02-19-2016, 12:20 PM
RE: putting cooldown on scrolls - Khaos - 02-19-2016, 01:01 PM
RE: putting cooldown on scrolls - dunnetott - 02-19-2016 08:58 PM
RE: putting cooldown on scrolls - Khaos - 02-20-2016, 01:42 PM
RE: putting cooldown on scrolls - Khaos - 02-21-2016, 09:36 AM

Forum Jump:


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