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
[split] 56b - some problems ....
Author Message
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
Question [split] 56b - some problems ....
Another problem ...

Script:
PHP Code:
[ITEMDEF i_restore_bers]
Name=Restoration
ID
=00F09
WEIGHT
=25

On
=@Create
    COLOR
=042c
    morey 
25

on
=@click
message 
<name> (<eval <morey>>)
return 
1
 
On
=@Dclick
 
if !<src.tag0.berserker>)
  
src.message @55 Only Berserker can drink restoration!
  return 

 
endif
 if <
src.hits> >= <src.str>
  return 

 
endif
 if <
src.tag0.berserker>==1
    more1 
= { 15 17 }
 elseif <
src.tag0.berserker>==2
    more1 
= { 17 20 }
 elseif <
src.tag0.berserker>==3
    more1 
= { 20 23 }
 elseif <
src.tag0.berserker>==4
    more1 
= { 23 26 }
 endif
 if 
0<src.findid.i_rest_delay_level1>
  
src.sysmessage @55 You cant drink restoration yet
  
return 
 
else
  if <
morey> > 1
   src
.effect=3,0376a,10,25,10
   src
.hits=<src.hits> + { <more1> }
   
serv.newitem=i_rest_delay_level1
   
new.equip
   morey 
-= 1
  
else
   
remove
  
endif
 endif
  if <
src.hits> > <src.str>)
   
src.hits=<src.str
  endif
return 
1

[ITEMDEF i_rest_delay_level1
Id i_bottle_6 
Name 
Restore Delay level 1 
Weight 

Layer 
30 
Type t_eq_script 

On
=@Create 
    attr 
attr_newbie attr_decay 
 
On
=@Equip 
 
if <src.tag0.berserker>==1
  timer 
5
 
elseif <src.tag0.berserker>==2
  timer 
4
 
elseif <src.tag0.berserker>==3
  timer 
3
 
elseif <src.tag0.berserker>==4
  timer 
3
 
endif

On=@Timer 
 remove 
 
return 

When I try a drink this, I just die ... What's the problem?



And second problem ... After resurrect ... With this script:
PHP Code:
[ITEMDEF i_ress_floor]
id=01822
name
=Resurrect

on
=@create
    attr
=010
    timer
=-1
    color
=0446
    
on
=@click
    message 
<name>
    return 
1
    
on
=@step

    
if ( (<src.body>==c_ghost_man) || (<src.body>==c_ghost_woman) )
        
src.go britain
        src
.resurrect
        src
.update
        src
.consume 1 i_deathshroud
        src
.hits = <src.str>
        
src.mana = <src.int>
        
src.stam = <src.dex>
    else
        
src.sysmessage @55 It is only for ghosts!
        return 
1
    
endif 

I do not know how to explain .... I like a ghost ... Bet, after command ",resend" (Inject) it's all right ...

It's after resurrect ... Floor "Up!" working after, resend ....
[Image: adcfedb88c4f.jpg]
03-09-2013 06:39 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
[split] 56b - some problems .... - an0n!m0use - 03-09-2013 06:39 AM
RE: 56b - some problems .... - Crusader - 03-09-2013, 07:07 AM
RE: 56b - some problems .... - an0n!m0use - 03-09-2013, 11:01 AM

Forum Jump:


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