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
GraveStone's
Author Message
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #1
GraveStone's
Hi i have problem when i restart my server almost all my custom gravestone's change their ID what could bee the problem ?
Oh and one more question how to make ON=@SpellSuccess when on attaking player creat memory i tried something like this :
ON=@SpellSuccess
IF rand(4)==1
serv.newitem=i_zombie_eyeshield
new.equip <act.uid>
endif

but i didnt work Confused
(This post was last modified: 08-10-2012 09:48 PM by Alias.)
08-10-2012 08:38 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: #2
RE: GraveStone's
Maybe you have a duplicate ITEMDEF of gravestone? check it

I or SRC -The character casting the spell
so
Code:
ON=@SpellSuccess
IF rand(4)==1
serv.newitem=i_zombie_eyeshield
equip <new>
endif
(This post was last modified: 08-10-2012 10:14 PM by WRWR.)
08-10-2012 10:13 PM
Find all posts by this user Like Post Quote this message in a reply
Handred
Apprentice
*

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



Post: #3
RE: GraveStone's
I would use Spelleffect if <argn> == <spell number), then do the effect you want.
08-10-2012 10:32 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: GraveStone's
Maybe
If <EVAL RAND(4)> == 1

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-11-2012 12:35 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: #5
RE: GraveStone's
Are the custom items actually changing their ID? Are you sure the DISPID isn't what changes? Place one of these items in game, then find it the save file and show us... then restart the server and find it again so we can see the difference.
08-11-2012 12:58 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)