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
ARCHERYCANMOVE flag problem
Author Message
kilopi_3142
Apprentice
*

Posts: 32
Likes Given: 16
Likes Received: 3 in 3 posts
Joined: Feb 2015
Reputation: 1



Post: #1
ARCHERYCANMOVE flag problem
Hi all,

I am not sure if ARCHERYCANMOVE flag is working or not. The flag doesnt change anything, it is active or not players can always shoot while moving. Using 56c nightly. Any solution about this ?
02-17-2015 06:58 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: ARCHERYCANMOVE flag problem
Add SKF_RANGED to the flag of the archery skill
Should look like this

[SKILL 31]
DEFNAME=Skill_Archery
KEY=Archery
TITLE=Archer
PROMPT_MSG=
FLAGS=SKF_FIGHT|SKF_RANGED
02-17-2015 08:01 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
kilopi_3142
Apprentice
*

Posts: 32
Likes Given: 16
Likes Received: 3 in 3 posts
Joined: Feb 2015
Reputation: 1



Post: #3
RE: ARCHERYCANMOVE flag problem
Hey, Thank you man.

I've tried and it worked.
02-17-2015 05:07 PM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #4
RE: ARCHERYCANMOVE flag problem
and also another solution is;

on=@skillstart
if (<action> == id(skill_archery)) || (<action> == skill_archery)
flags <flags>&~statf_archercanmove
endif
02-17-2015 09:50 PM
Find all posts by this user Like Post Quote this message in a reply
kilopi_3142
Apprentice
*

Posts: 32
Likes Given: 16
Likes Received: 3 in 3 posts
Joined: Feb 2015
Reputation: 1



Post: #5
RE: ARCHERYCANMOVE flag problem
Ograso,

I've tried your solution first. But it is useless unless you do the "SKF_RANGED" thing like darksun84 said. But thank you btw.
02-18-2015 12:54 AM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #6
RE: ARCHERYCANMOVE flag problem
(02-18-2015 12:54 AM)kilopi_3142 Wrote:  Ograso,

I've tried your solution first. But it is useless unless you do the "SKF_RANGED" thing like darksun84 said. But thank you btw.

Should be another situation on your server. Because I am using without "SKF_RANGED".
02-18-2015 03:17 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)