-
Content Count
375 -
Joined
-
Days Won
5
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Legend
-
Using Asheraf's script, why not add @raise after "sleep2"? so percentheal may take effect. Just an idea
-
Change all BaseJob to Class I optimized the script a bit: //===== Hercules Script ====================================== //== Thirds Freebies ========================================= //===== Original Script by: True Zeal //===== Optimized by: Legend //===== Description: ========================================= //== Gives free hats one time depending on your job //============================================================ prontera,150,150,3 script Item Giver 4_ELEPHANT,{ .@name$ = "[" + strnpcinfo(1) + "]"; if (L_ClaimedThirdFreebies) { mes .@name$; mes "Sorry, you already claimed your freebies!"; close; } mes .@name$; mes "I see you are a " + jobname(Class) + ","; next; switch( Class ){ case Job_Rune_Knight: setarray .@a, 5746,15002,2140,2795; break; case Job_Warlock: setarray .@a, 2795,5753; break; case Job_Ranger: setarray .@a, 5748,2795; break; case Job_Mechanic: setarray .@a, 2795,5749; break; case Job_Guillotine_Cross: setarray .@a, 5755,2795; break; case Job_Arch_Bishop: setarray .@a, 5747,2795; break; case Job_Royal_Guard: setarray .@a, 5757,2795; break; case Job_Sorcerer: setarray .@a, 5756,2795; break; case Job_Wanderer: setarray .@a, 5758,2795; break; case Job_Minstrel: setarray .@a, 5751,2795; break; case Job_Genetic: setarray .@a, 5752,2795; break; case Job_Shadow_Chaser: setarray .@a, 2795,5750,6121,6122; break; default: mes .@name$; mes "Sorry, I only give freebies to third jobs."; close; } mes .@name$; mes "Take these items."; for (.@b = 0; .@b < getarraysize(.@a); .@b++) { getitem .@a[.@b],1; } L_ClaimedThirdFreebies = 1; close; }
-
[Request] Script RWC or WRC automated 7 vs 7
Legend replied to Like it~*'s question in Script Requests
@Iniciando do 0 Currently been working on this, hope you guys could still wait -
Can you post the whole script? Don't forget to use codebox.
-
No prob. You can submit this issue regarding the map_zone_db bug on Herc Github: https://github.com/HerculesWS/Hercules/issues So I modified the script to suit with your request Same Link: http://upaste.me/b63938928ba159ff3 Please do report if you found bugs.
-
I can confirm this too... Equippable items can't be restricted even with map_zone_db, well i thought t'was working properly. So I made an alternative script Link: http://upaste.me/b63938928ba159ff3 Please do report if you found bugs regarding to that script. Edit: Oops, found a bug. Script updated with the same link!
-
Welcome to Herc!
-
such a wonderful release, thanks
-
[Request] Script RWC or WRC automated 7 vs 7
Legend replied to Like it~*'s question in Script Requests
Been so very busy this past few days that haven't checked the forums in a while. Anyways, I would be grateful if there will be base scripts to start with and how the event would probably looks like. Better post it here so everyone can see it *don't forget to use codebox* -
item drops look identified when it drops
Legend replied to razermantis's question in Script Requests
I've had encountered this one before somewhere but i can no longer found the thread. As far as i could remember you need to edit the source to look drop items to be identified. -
Make use of the map_zone_db.conf to disable specific items on specific map. Note that you can add your own zones, apply certain restrictions and call the zone you created by using "mapflag".
-
This script restricts pets and homunculus on specific map Link: http://upaste.me/1880384395a13bae6
-
Nice graphic skills you got there! Just keep it up!
-
You must change this line: announce(sprintf("It is currently %d:%d:%d on %s, %s %d%s, %d", .@sec, .@min, .@hour, .@Days$[.@day], .@Months$[.@month], .@dayofmonth, .@tr$, .@year), bc_all); to this: announce(sprintf("It is currently %d:%d:%d on %s, %s %d%s, %d", .@hour, .@min, .@sec, .@Days$[.@day], .@Months$[.@month], .@dayofmonth, .@tr$, .@year), bc_all); to follow <hour>:<minutes>:<seconds> format. It works very well with me.
-
How about this one? Link: http://upaste.me/b00c38428cc64de8f
-
[Request] Script RWC or WRC automated 7 vs 7
Legend replied to Like it~*'s question in Script Requests
@Aeromesi: sir, he posted it on "Script Request" forum means he's requesting for the said script. @ts: Im not a pro scripter but Im gonna try to do it, BUT I won't promise anything. -
But if you are looking for a stable and clean client translation file use this one: http://herc.ws/board/topic/398-client-translation-project/
-
How about this one? // ============================= - script Support#1 FAKE_NPC,{ OnInit: setarray .perm$[0], "disable_skill_usage", "disable_exp", "disable_store", "disable_pickup", "disable_pvp", "disable_pvm"; .prms = getarraysize(.perm$); end; OnCheckHide: while(CheckHide){ getmapxy(.@m$, .@mx, .@my, UNITTYPE_PC); if (map$ == .@m$ && mapx == .@mx && mapy == .@my){ map$ = ""; mapx = 0; mapy = 0; CheckHide = 0; atcommand "@hide"; copyarray .@prm$[0], .perm$[0],.prms; for (.@a = 0; .@a < getarraysize(.@prm$); ++.@a){ atcommand "@rmvperm "+.@prm$[.@a]; } message strcharinfo(0), "You are resurrected!"; specialeffect2 226; specialeffect2 18; detachrid; end; } sleep2 500; } end; OnPCDieEvent: if (getunittype(killerrid) != UNITTYPE_MOB) end; getmapxy(.@m$, .@mx, .@my, UNITTYPE_PC); map$ = .@m$; mapx = .@mx; mapy = .@my; // dispbottom "Map = "+map$+" X = "+mapx+" Y = "+mapy+"."; // FOR DEBUG PURPOSE. CheckHide = 1; sleep2 1000; atcommand "@raise"; atcommand "@hide"; copyarray .@prm$[0], .perm$[0],.prms; for (.@a = 0; .@a < getarraysize(.@prm$); ++.@a){ atcommand "@addperm "+.@prm$[.@a]; } attachrid(getcharid(3,strcharinfo(0))); warp map$,0,0; callsub OnCheckHide; end; OnPCLoginEvent: if (!CheckHide) end; atcommand "@hide"; copyarray .@prm$[0], .perm$[0],.prms; for (.@a = 0; .@a < getarraysize(.@prm$); ++.@a){ atcommand "@addperm "+.@prm$[.@a]; } attachrid(getcharid(3,strcharinfo(0))); callsub OnCheckHide; end; } *thanks to n0tttt* @n0tttt nice trick you got there about making its Weight >= 90% but I can't make use of that status SC_WEIGHTOVER90, it seems it doesn't work properly (bug i guess?). Uh, status icon showed up but when the player started to attack monsters, the icon got removed. So, instead of adding status on them, I do atcommand "@addperm" & "@rmvperm" for their restrictions while on CheckHide status. @Aeromesi That's okay Happy new year to you! @ts I suggest you to do some source modding or better use plugins for those atcommands for a cleaner & safer script.
-
[Instance]Horror Toy Factory (Aegis Server)
Legend replied to chao93's topic in Quest, Shops, Functions & Algorithms Releases
many thanks for this @esu1214 and @ragno -
I tried to figure out and write it, so here's the outcome (this is based on @Aeromesi's idea *thanks to him*): - script Support#1 FAKE_NPC,{ OnCheckHide: while(CheckHide){ getmapxy(.@m$, .@mx, .@my, UNITTYPE_PC); if (map$ == .@m$ && mapx == .@mx && mapy == .@my){ map$ = ""; mapx = 0; mapy = 0; CheckHide = 0; atcommand "@hide"; message strcharinfo(0), "You are resurrected!"; specialeffect2 226; specialeffect2 18; detachrid; end; } sleep2 500; } end; OnPCDieEvent: getmapxy(.@m$, .@mx, .@my, UNITTYPE_PC); map$ = .@m$; mapx = .@mx; mapy = .@my; // dispbottom "Map = "+map$+" X = "+mapx+" Y = "+mapy+"."; // DEBUG PURPOSE. CheckHide = 1; sleep2 1000; atcommand "@raise"; atcommand "@hide"; attachrid(getcharid(3,strcharinfo(0))); warp map$,0,0; callsub OnCheckHide; end; OnPCLoginEvent: if (!CheckHide) end; atcommand "@hide"; attachrid(getcharid(3,strcharinfo(0))); callsub OnCheckHide; end; } Note: * I made it looped to determine the player state, WARNING: this might cause lag. * Players can attack mobs, players and can even use skills while on hide status since I executed "atcommand @hide", you can fix that by source modding if Im not mistaken. * THIS IS JUST AN IDEA. Well then, good luck!
-
Are you sure you used the updated client translation files? Here's an updated one I can recommend: https://github.com/zackdreaver/ROenglishRE Currently been using that 2014-10-22 with no issues like that.
-
I think that's okay now. Regarding on your first post about Endless Reset, that script of yours won't take effect, its because of the following: 1) This variable ".@etower_timer", ".@" variables is of no use if the NPCs were separated from the original endless tower script. 2) You need to do "instance_create" before warping to endless tower. 3) You also need to do "erasequest" to the ongoing "setquest".
-
Client does not show window options i.e. minimise, maximise, close
Legend replied to haniko's question in Client-Side Support
You should apply "enable title bar menu" patch on NEMO. As of the moment, the only recent client I know is 2016-02-03aRagexeRE which is not yet supported on Herc yet you can manually add its packets. RagexeRE Link: http://herc.ws/board/topic/13828-2016-02-03aragexere/ 2016-02-03aRagexe packets link: http://herc.ws/board/topic/13828-2016-02-03aragexere/?p=79004 *packets credits to @4144 & @dastgir*