Jump to content
  • 0

DoTA Runes


Jezu

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

I know this is possible but I want to request like this.. I want to put this features on my WOE Trans which will make it random spawns on any guild castle when WOE times or in PVP room w/ Dota Features and Dota Runes.. sounds cool isn't it? with matching Dota PVP Feature + Dota Runes Feature...

Double Damage Runes

Gives +100 ATK / MATK Damage for 1min. or

Gives 100% Damage to Demi-Human for 1min if this possible

Regeneration Runes

@Heal or Yggdrasilberry Script or

500HP/500SP per seconds if this possible, if full hp/sp = stop

illusion Runes

@clone itself 2x for 1 min.

Haste Runes

Gives @speed 100 for 1min

Invisibility Runes

Gives @skill Cloaking/Cloaking Exceed for 1min, Disable when hit

For the runes gfx, maybe I will use any items with OnTouch command...

Does anyone can make a script like this?

I like dispbottom " You've gained <Runes Name> for 1 minute. " like that..

Thanks in Advance and maybe we can release this features with matching Dota PVP + Dota runes..

*bump*

I just want to request if this is possible in-game... thanks!

Edited by Arcenciel
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

after some time, the runes will not appear? there's no error in mapserv here's the script

- script Runes -1,{
set .@dif, strnpcinfo(2);
if ( .remind[.@dif] == 0 ) {
 set .remind[.@dif], 1;
 initnpctimer;
}
dispbottom "Walkthrough to get Runes.";
end;
OnTouch:
switch( .Runes ){
Case 1: // Double Damage
 sc_start SC_INCATKRATE,( .Duration * 1000 ),100;
 sc_start SC_INCMATKRATE,( .Duration * 1000 ),100;
 break;
Case 2: // Invisibilty
 initnpctimer "Runes",1;
 skill "AS_CLOAKING",10,1;
 sc_start SC_CLOAKING,( .Duration * 1000 ),10;
 stopnpctimer "Runes",1;
 break;
Case 3: // Ressurection
 sc_start SC_KAIZEL,( .Duration * 1000 ),7;
 break;
Case 4: // Illusion
 getmapxy( .@Map$,.@X,.@Y,0,strcharinfo(0) );
 clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration;
 clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration;
 break;
Case 5: // Haste
 sc_start SC_SpeedUp1,( .Duration * 1000 ),0;
 break;
Case 6: // Increase Flee
 sc_start SC_INCFLEE,( .Duration * 1000 ),300;
 break;
Case 7: // Double HP
 sc_start SC_INCMHPRATE,( .Duration * 1000 ),100;
 break;
//Add New Runes Here...
}
announce "[ "+strcharinfo(0)+" ] has gained "+.Names$[.Runes]+".",bc_map,0x00FF00;
dispbottom "You have gained "+.Names$[.Runes]+" for 1 minute!";
disablenpc strnpcinfo(0);
set .Runes,0;
initnpctimer;
set .timeout, 2; // Set this for the cooldown of Runes in minutes...
if ( .timeout == 0 ) set .timeout, 2; // Set this for the cooldown of Runes...
set .@dif, strnpcinfo(2);
set .remind[.@dif], 0;
set .starttime[.@dif], gettimetick(2);
do {
 set .remaintime[.@dif], .timeout * 60 + .starttime[.@dif] - gettimetick(2);
 set .@hour[.@dif], .remainTime[.@dif] / 3600 ;
 set .@min[.@dif], .remainTime[.@dif] % 3600 / 60 ;
 set .@sec[.@dif], .remainTime[.@dif] % 3600 % 60 ;
 delwaitingroom strnpcinfo(0);
 waitingroom "Cooldown "+( ( .@hour[.@dif] )?( .@hour[.@dif] +":"):"" )+( ( .@min[.@dif] < 10 )?"0"+ .@min[.@dif]: .@min[.@dif] )+":"+( ( .@sec[.@dif] < 10 )?"0"+ .@sec[.@dif]: .@sec[.@dif] ), 0;
 set .Runes,rand(1,( getarraysize( .Names$ ) - 1 ));
 sleep 1000;
} while ( .remaintime[.@dif] > 1 );
set .remaintime[.@dif], 0;
delwaitingroom strnpcinfo(0);
end;
OnInit:
OnTimer120000: //Change this if you changed the cooldown for Runes...
setarray .Names$[1],
"Double Damage",
"Invisibility",
"Ressurection",
"Illusion",
"Haste",
"Increase Flee",
"Double HP";
//Add the Name of the Rune Here..
// Random Coordinate where NPC will Shown Again
setarray .CoordinateX[0],150,161;
setarray .CoordinateY[0],171,171;
// Status to be ended....
sc_end SC_CLOAKING;
set .Random,rand( getarraysize( .CoordinateX ) );
movenpc strnpcinfo(0),.CoordinateX[ .Random ],.CoordinateY[ .Random ];
// NPC will show again...
enablenpc strnpcinfo(0);
// Settings
set .Duration,60; //Change the Duration of Runes here...
set .Runes,rand( 1,( getarraysize( .Names$ ) - 1 ));
stopnpctimer;
}
//Duplicates here....
prontera,83,158,4, duplicate(Runes) Runes#1 802,2,2

Here is the screen shot, there's no countdown timer, the other respawn point is beside the sinx.

20p91fr.jpg

I tryied the Post #24 and I didn't change anything, it works first but same as my problem.It did not re-spawn again. All I did is get the runes and stay beside it until it cools down then it stops working.bug.

2h590rq.jpg

Edited by maynard
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

erm...why not using the one in post#14 ?? /ok

it work fine as i tried several times...

if you want another NPC for it..

then just copy whole text file...and paste in a new text file...and rename the NPC...

for the buff...just add it..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

after some time, the runes will not appear? there's no error in mapserv here's the script

- script Runes -1,{
set .@dif, strnpcinfo(2);
if ( .remind[.@dif] == 0 ) {
 set .remind[.@dif], 1;
 initnpctimer;
}
dispbottom "Walkthrough to get Runes.";
end;
OnTouch:
switch( .Runes ){
Case 1: // Double Damage
 sc_start SC_INCATKRATE,( .Duration * 1000 ),100;
 sc_start SC_INCMATKRATE,( .Duration * 1000 ),100;
 break;
Case 2: // Invisibilty
 initnpctimer "Runes",1;
 skill "AS_CLOAKING",10,1;
 sc_start SC_CLOAKING,( .Duration * 1000 ),10;
 stopnpctimer "Runes",1;
 break;
Case 3: // Ressurection
 sc_start SC_KAIZEL,( .Duration * 1000 ),7;
 break;
Case 4: // Illusion
 getmapxy( .@Map$,.@X,.@Y,0,strcharinfo(0) );
 clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration;
 clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration;
 break;
Case 5: // Haste
 sc_start SC_SpeedUp1,( .Duration * 1000 ),0;
 break;
Case 6: // Increase Flee
 sc_start SC_INCFLEE,( .Duration * 1000 ),300;
 break;
Case 7: // Double HP
 sc_start SC_INCMHPRATE,( .Duration * 1000 ),100;
 break;
//Add New Runes Here...
}
announce "[ "+strcharinfo(0)+" ] has gained "+.Names$[.Runes]+".",bc_map,0x00FF00;
dispbottom "You have gained "+.Names$[.Runes]+" for 1 minute!";
disablenpc strnpcinfo(0);
set .Runes,0;
initnpctimer;
set .timeout, 2; // Set this for the cooldown of Runes in minutes...
if ( .timeout == 0 ) set .timeout, 2; // Set this for the cooldown of Runes...
set .@dif, strnpcinfo(2);
set .remind[.@dif], 0;
set .starttime[.@dif], gettimetick(2);
do {
 set .remaintime[.@dif], .timeout * 60 + .starttime[.@dif] - gettimetick(2);
 set .@hour[.@dif], .remainTime[.@dif] / 3600 ;
 set .@min[.@dif], .remainTime[.@dif] % 3600 / 60 ;
 set .@sec[.@dif], .remainTime[.@dif] % 3600 % 60 ;
 delwaitingroom strnpcinfo(0);
 waitingroom "Cooldown "+( ( .@hour[.@dif] )?( .@hour[.@dif] +":"):"" )+( ( .@min[.@dif] < 10 )?"0"+ .@min[.@dif]: .@min[.@dif] )+":"+( ( .@sec[.@dif] < 10 )?"0"+ .@sec[.@dif]: .@sec[.@dif] ), 0;
 set .Runes,rand(1,( getarraysize( .Names$ ) - 1 ));
 sleep 1000;
} while ( .remaintime[.@dif] > 1 );
set .remaintime[.@dif], 0;
delwaitingroom strnpcinfo(0);
end;
OnInit:
OnTimer120000: //Change this if you changed the cooldown for Runes...
setarray .Names$[1],
"Double Damage",
"Invisibility",
"Ressurection",
"Illusion",
"Haste",
"Increase Flee",
"Double HP";
//Add the Name of the Rune Here..
// Random Coordinate where NPC will Shown Again
setarray .CoordinateX[0],150,161;
setarray .CoordinateY[0],171,171;
// Status to be ended....
sc_end SC_CLOAKING;
set .Random,rand( getarraysize( .CoordinateX ) );
movenpc strnpcinfo(0),.CoordinateX[ .Random ],.CoordinateY[ .Random ];
// NPC will show again...
enablenpc strnpcinfo(0);
// Settings
set .Duration,60; //Change the Duration of Runes here...
set .Runes,rand( 1,( getarraysize( .Names$ ) - 1 ));
stopnpctimer;
}
//Duplicates here....
prontera,83,158,4, duplicate(Runes) Runes#1 802,2,2

Here is the screen shot, there's no countdown timer, the other respawn point is beside the sinx.

20p91fr.jpg

I tryied the Post #24 and I didn't change anything, it works first but same as my problem.It did not re-spawn again. All I did is get the runes and stay beside it until it cools down then it stops working.bug.

2h590rq.jpg

I'm not having any problems at all.. Working fine with me, always respawning even for hours...

Found the bug, it stops showing when after the cooldown, you're standing on the respawn point of the rune....

Fix: Remove ALL stopnpctimer in the script...

Edited by wakoko321
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

@emistry @wakoko both of you make the script so I tried them both and see if there's a bug.Thanks for the nice script.

erm...why not using the one in post#14 ?? /ok

it work fine as i tried several times...

if you want another NPC for it..

then just copy whole text file...and paste in a new text file...and rename the NPC...

for the buff...just add it..

Same problem I encounter, it doesn't show up after a while, If I step in the respawn point of the npc it gets BUG. All I did is step on it and follow the respawn point and at some time it got bug.NPC is still hiding. SVN revision 14993.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

Yes its working, even in my own server it works for many hours but then it just dont show up suddenly, maybe the problem is in my server side.I used both script to test it out one at a time and same problem occur to me. I use wakoko321 fixed to remove the stopnpctimer in his version and currently being tested.I think I'm the only one who have these problem because the thread starter is not replying so I think it works perfectly to him.Anyway Thanks for the script.If ever I have encounter problems I hope you don't mind giving me a hand.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

Yes its working, even in my own server it works for many hours but then it just dont show up suddenly, maybe the problem is in my server side.I used both script to test it out one at a time and same problem occur to me. I use wakoko321 fixed to remove the stopnpctimer in his version and currently being tested.I think I'm the only one who have these problem because the thread starter is not replying so I think it works perfectly to him.Anyway Thanks for the script.If ever I have encounter problems I hope you don't mind giving me a hand.

Yes, It works both Emistry and wakoko... I will release this in Script release section and credits to them.. Im just looking for a sprite for a real runes... so I will include them in Release...

Thanks for the big help Mr. Emistry and Mr. Wakoko..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Yes, It works both Emistry and wakoko... I will release this in Script release section and credits to them.. Im just looking for a sprite for a real runes... so I will include them in Release...

You can't release scripts you didn't write yourself unless the authors specifically allow you to.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

works for me but, i have question.

i want ever runes i get will last 30 seconds only. and respawn every 3mins before another runes will show up

and i want to randomly spawn this npc whenever the the siege is on. im using mardol and himin

anyone can help me will be much appreciated.

Edited by AllHailToTheKing
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

how u load the script ?

use @loadnpc ?

or like this ?

http://rathena.org/wiki/Adding_a_Script

and please...next time use codebox to wrap ur long script....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

emistry will you help me how to make the respawn time and map respawn on this script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Oh, i see the script working fine with me.

Who's the one who made this? PM ME i have some Project to worked.

Nice, idea with 'Rune System' :3

Edited by Mindless
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

Is this script ready? Got any full released?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

Arcenciel is not allowing me.. since the script is made by Emistry and Wakoko... but the brilliant idea comes from me xD...

I will try to full release it and I will credit it to Emistry and Wakoko if its allowed..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

release yet? and the author allow yet? this is kinda cool can make dota pvp room.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   6
  • Joined:  04/24/12
  • Last Seen:  

btw Thanks you guys!

can you add others effect of Gospel/Battle Enchant

Runes Effect + Gospel Effect

Runes Effect = DD,Hide,Clone,Haste,Regen

Gospel Effect = DD,D SP, +20 all stats, Def, Flee,

thanks...

Edited by arnie2302
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  06/16/12
  • Last Seen:  

I already used this on my server but there's some bugs that happened on my server .

Case :

When the runes or the Power Up picked by someone then the Runes never come or appear again to those map .

It's really disappear from the whole map .

Note :

-I used this script on my WoE map such as payg_cas , prtg_cas , gefg_cas , etc .

-I used on eAthena

could anyone fix this ??

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

show your scripts.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  06/16/12
  • Last Seen:  

show your scripts.

here it is sir Emistry :D

http://upaste.me/370c1242c58522fa

thanks for your attention and help :D

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

the script can only used in 1 map each npc..if you want to enable this script in other map, you have to duplicate the NPC and put it in those map you want.

and it have a 60 seconds delay before it show up again..

set .Duration,60;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  06/16/12
  • Last Seen:  

the script can only used in 1 map each npc..if you want to enable this script in other map, you have to duplicate the NPC and put it in those map you want.

and it have a 60 seconds delay before it show up again..

set .Duration,60;

Already done with that before sir ...

My problem is when the time of the Runes or Power Up that should appear again .

The Runes or Power Up doesn't appear again after it was picked up by someone .

It only shows like a black shadow without any "pub chat" and it won't be able to picked up again

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

yeah.. im having the same problems like this too..

Edited by stydianx
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

change this line

while( .RuneDelay > gettimetick(2) ) sleep2 1000;

the sleep2 change into sleep

while( .RuneDelay > gettimetick(2) ) sleep 1000;

http://www.eathena.ws/board/index.php?s=&showtopic=237268&view=findpost&p=1295622\

sleep is pauses the script execution without rid attached, when it awakes the script comes back without rids

sleep2 is pauses the script execution while the rid is attached, if the rid gone, the script execution also ends

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

for double damage.. i think edp can do.

you dont have to use edp, it would be too much

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...