Jump to content

【 Emistry © 2015 】E-Scripts Collection


Emistry

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  172
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

bump!

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:  

nope..it doesnt support 1 stage 1 boss...

and i didnt plan to do it like this...at least not for now.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  172
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

And about raise maximum ?

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:  

what raise maximum ?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  172
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

Fix max, maybe 100 rounds, 100 item or 1000 rounds, 1000 item!

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:  

will think about it if i going to update the script in future.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  172
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

and please support 1 stage 1 boss, 2 boss ... and both monster, too

Thanks you :X + Rep!

Edited by zhaosin
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  115
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

show your edited script...and check for any error or etc...

here's

- script Sample -1,{
OnPCLoadMapEvent:
if( strcharinfo(3) == .Map$ ){
query_sql( "SELECT `last_ip` FROM `login` WHERE account_id="+getcharid(3)+"",.@IP );
query_sql( "SELECT `account_id` FROM `login` WHERE last_ip="+.@IP+"",.@Accountlist );
for( set .@i,0; .@i < getarraysize( .@Accountlist ); set .@i,.@i + 1 )
if( isloggedin( .@Accountlist[.@i] ) )
 set .@DetectedOnline,.@DetectedOnline + 1;
if( .@DetectedOnline > .Limit ){
 mes "We detected there is "+.@DetectedOnline+" Users with same IP Logged in.";
 mes "Please log off these unused account.";
 close2;
 warp "prontera",155,181;
}
}
end;
OnInit:
// How many User with Same IP can logged in and stay at the specific map
set .Limit,2;
// What map will be restricted
set .Map$,"lighthalzen";
setmapflag .Map$,mf_loadevent;
end;
}

still I can dual login even third login on lighthalzen map..

Im using r16986

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

i have always been using some of your scripts

thanks you emistry!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  12/18/12
  • Last Seen:  

thanks to your script sir...

can you help me here . i want those who kill the mushroom will be jail for 1 hr....

hos to do this sir?

OnKilled:

mes "You will be punished upon killing these Monsters and interupt the Game.";

set @Spam,30;

close2;

npctalk "Round Restarted due to interruption.";

donpcevent strnpcinfo(0)+"::OnStartGame";

end;

}

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:  

mes "You will be punished upon killing these Monsters and interupt the Game.";
atcommand "@jail "+strcharinfo(0)+" 1h";

not sure the "1h" is it refer to 1 hours of jail time.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/05/12
  • Last Seen:  

For the "Class Restriction" script, can you edit the script to where it includes restriction to original maps (excluding) / <4 custom maps here>

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:  

For the "Class Restriction" script, can you edit the script to where it includes restriction to original maps (excluding) / <4 custom maps here>

what mean ??

you can edit the script freely .... depend on what you want it to work like....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/05/12
  • Last Seen:  

Like, i want to allow, all but 3rd jobs to go on every map except the custom maps.

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:  

Like, i want to allow, all but 3rd jobs to go on every map except the custom maps.

refer the configurations i posted...and write your own setting there...

http://rathena.org/board/topic/53320-%E3%80%90-emistry-%C2%A9-2013-%E3%80%91e-scripts-collection/page__st__60#entry78173

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/31/12
  • Last Seen:  

script error on npc/stayro/emkz/Stage_Game.txt line 27
   parse_simpleexpr: unmatch ')'
   22 :
   23 : for( set .@mf,0; .@mf < getarraysize( .MapFlags ); set .@mf,.@mf + 1 ){
   24 :	    setmapflag strcharinfo(3),.MapFlags[.@mf];
   25 :	    }
   26 :
*   27 : if( getmapmobs'(' strcharinfo(3) ) > 0 || .Level > 0){
   28 : dispbottom "Just Kill All the Monster to Win the Game...";
   29 : end;
   30 : }
   31 : set .Level,0;
   32 : announce "[Level "+( (.Level/2)+1 )+"] : [ "+.Stage[.Level+1]+" x "+get
monsterinfo( .Stage[.Level],0)+" ]",bc_all,0x37FDFC;

Why is this happening to me?

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:  

getmapmob() script command has been removed in rAthena...and i havent update the stage game...kinda lazy to update it.

will update it later on ~

alternative way you can take....

change the getmapmob into mobcount

or..

get the getmapmob source snippet..and apply to your server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/31/12
  • Last Seen:  

getmapmob() script command has been removed in rAthena...and i havent update the stage game...kinda lazy to update it.

will update it later on ~

alternative way you can take....

change the getmapmob into mobcount

or..

get the getmapmob source snippet..and apply to your server.

Thanks Emistry

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

[ Update ] : Updated Refine Function Script :

Description :

It is a Function Script for Refine Equipment without Failure Rate. The script are now able to use indenpendently in a NPC or an Item. Which mean, you can create multiple or numerous NPC Script + Items Script for Refining in your server. All of the Setting are independent..will not affect each others.

This Script will be able to answer / solve those below problems.

Please make me 1 100% Refiner +1 until +7.......

Please make me 1 100% Refiner +1 until + 10 .......

Please make me a Refine Ticket .....

and so on......


The BitMask Table :

//--- Bitmasks ----
// 1 - Top Headgear
// 2 - Armor
// 4 - Left Hand
// 8 - Right Hand
// 16 - Garment
// 32 - Shoes
// 64 - Left Accessory
// 128 - Right Accessory
// 256 - Middle Headgear
// 512 - Lower Headgear

If you want to allow the refine on those part....then just put in the Number ( for Single Part Refiner ) or Add in all the Number ( for Multiple Part Refiner )

For Example :

A Refiner that can refine Top Headgear Only ( BitMask = 1 )

A Refiner that can refine Both Left / Right Accessory Only ( BitMask = 126 + 64 = 190 )

A Refiner that can refine Armor / Garment / Shoes Only ( BitMask = 2 + 16 + 32 = 50 )

and etc.....


Function Script Calling :

callfunc( "RefineFunc",<itemID>,<BitMasks>,<MaxRefine>,<CheckEquip>,<RefineMode> );

Explaination on Each Argument :

// itemID -> Item that will be used.
// BitMask -> Refer to above bitmask table.
// MaxRefine -> What is the Max Refine. [ Can Bypass Default Server Max Refine ]
// CheckEquip -> Check Equipments is Refineable or not. [ 0 = Disable / 1 = Enable ]
// RefineMode -> +1 / Max Refine. [ 0 = +1 Refine / 1 = Max Refine ]


Sample Script :

Use as Item ( Refine Ticket ) :

501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",501,63,10,1,1 ); },{},{}

Caution : Change Item Type to 11

Use as NPC Script ( Custom 100% Refiner ) :

prontera,155,181,5 script Refiner 757,{
callfunc( "RefineFunc",501,63,10,1,1 );
}

You can create as many NPC / Items for refine as you want to...

just make sure youprovide the correct Settings.

With this script, you can create several NPC that can allow users to refine items 100% success using certain items and different max refine level.

So, that your server wont need to focus on using 1 NPC. You can make 1 NPC for refine +5 / +6 / +7 using Elunium without fail, then you can further the refine to +8 / +9 using another NPC with different Items, and lastly +10 another NPC. It is all up to you.

Refine Function [ Version 4 ]

Changelog :

  • [ Version 1 ] - Cleaner and Compact than previous version.
  • [ Version 2 ] - Enable simple Customization on script.
  • [ Version 3 ] - Fixed some mistake typo and bug.
  • [ Version 4 ] - More Customized and able to apply on Multi NPC / Items with Independent Settings.

Scripts : View Download

Please spend your time to read all the things i have write / mentioned in the post before you asking any questions.

if got bug / problems please do report to me. ani_heh.gif

@emistry, can you convert it into eathena SVN. I need also this one. Thanks.

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:  

by default i believe it should work fine in eAthena too.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/06/12
  • Last Seen:  

Hi sir emistry.

i have problem with your Breaker Room version 3.

when i rent a room and the duration expires it will warp me back to my savepoint..

the problem is: 

1. the memorial dungeon message is still there. see image below.

post-5991-0-20948600-1360846570_thumb.jpg

and also when the Timeout duration expires that message still there.

2. Another problem is if i try to rent a room without enough zeny it got stuck.

post-5991-0-45341300-1360846760_thumb.jpg

it should close or mes you dont have zeny then close right?

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:  

Thank you for the report...

the Message i think it's client problems..or maybe problems for packets stuff ? not sure...

i dont think it's script problems >.<

 

anyway here is the updated script for Fixing the zeny problems

players wont be able to rent a room if their zeny is not sufficient...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/06/12
  • Last Seen:  

oh okie. thanks for the fix :)/thx

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  115
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

have any mirror for "Breaker Room" and "DotA Runes" ??

 

link from rAthena always down :(

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:  

have any mirror for "Breaker Room" and "DotA Runes" ??

 

link from rAthena always down :(

Breaker Room 3.1

http://pastebin.com/raw.php?i=4tTE7uwV

 

Dota Runes

http://pastebin.com/raw.php?i=rCuttKfu

 

 

by the way...the download link in download section for just fine for me...

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
Reply to this topic...

×   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...