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
Spell Back into PLayer cast
Author Message
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #1
Spell Back into PLayer cast
Hi, I have a two problem on my server, first, which n players cast some spell and use a potion before spell out, the magic back into the player. This also happens when using the skill healing.

And second problem, the spell paralize is passing the magic reflection spell,How had he not with cast magic reflection, and the second spell you cast, the spell come back to you. Because the player cast the magic reflection Spell.

How i fix that problem?

Thanks you very much, and sorry my bad english!
01-22-2013 11:03 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Wap
Journeyman
*

Posts: 138
Likes Given: 6
Likes Received: 7 in 6 posts
Joined: Mar 2012
Reputation: 3

UORPG.net

Post: #2
RE: Spell Back into PLayer cast
1) I think, your potions change ACT on a character...
2) Have you added SPELLFLAG_RESIST flag to paralyze spell?
01-23-2013 07:04 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #3
RE: Spell Back into PLayer cast
Thanks man, the problem of the paralyze is ok!

But, this potion not, whats problem in my script, Look this:

Code:
ON=@DCLICK
if ! (<src.targ.cont>==<src.findlayer(21).UID>)
Src.sysmessage Use a pocao na bag.
return 1
endif

If !(<Src.hits><<Src.str>)
  Src.sysmessage Voce ja esta com Hits Full.
return 1
endif

If (<src.tag0.potiontimer> > <serv.time>)
   Src.message [<eval (<serv.time> - <src.tag0.potiontimer>)/-10> Segs]
return 1
endif

Src.anim 33
SOUND=48
Src.hits=<src.hits>+15
Src.consume i_potion_healless
Src.Newitem i_bottle_empty
Src.act.bounce
src.message @009fb Lesser Heal
SRC.TAG.POTIONTIMER=<SERV.TIME> +150
//Src.newitem i_delay_potion
//Src.act.equip
If (<Src.hits>><Src.str>)
Src.hits=<Src.str>
return 1
endif
RETURN 1
01-23-2013 03:03 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #4
RE: Spell Back into PLayer cast
This problem also accours when use skill healing Shock
01-24-2013 03:55 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #5
RE: Spell Back into PLayer cast
PLaease! I need help!
01-27-2013 05:16 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #6
RE: Spell Back into PLayer cast
(01-23-2013 03:03 PM)Paulo_BR Wrote:  Thanks man, the problem of the paralyze is ok!

But, this potion not, whats problem in my script, Look this:

Code:
ON=@DCLICK
if ! (<src.targ.cont>==<src.findlayer(21).UID>)
Src.sysmessage Use a pocao na bag.
return 1
endif

If !(<Src.hits><<Src.str>)
  Src.sysmessage Voce ja esta com Hits Full.
return 1
endif

If (<src.tag0.potiontimer> > <serv.time>)
   Src.message [<eval (<serv.time> - <src.tag0.potiontimer>)/-10> Segs]
return 1
endif

Src.anim 33
SOUND=48
Src.hits=<src.hits>+15
Src.consume i_potion_healless
Src.Newitem i_bottle_empty
Src.act.bounce
src.message @009fb Lesser Heal
SRC.TAG.POTIONTIMER=<SERV.TIME> +150
//Src.newitem i_delay_potion
//Src.act.equip
If (<Src.hits>><Src.str>)
Src.hits=<Src.str>
return 1
endif
RETURN 1

i don't know is it related or not but this script contains following errors about act and targ:


if ! (<src.targ.cont>==<src.findlayer(21).UID>)

no need to use targ, you can use cont directly because i=potion on dclick trigger.

Src.Newitem i_bottle_empty
Src.act.bounce

this sould be:

serv.newitem i_bottle_empty
src.bounce <new> or "new.bounce" but "src.bounce <new>" is more clear, because bounce always works when called on character and argn1=item.
01-27-2013 08:45 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #7
RE: Spell Back into PLayer cast
Man, its WORKS!!!! Thank you SO MUCH!!!!!!!!!!!!!!!!!!
01-28-2013 06:40 AM
Visit this user's website 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)