Hadeszeus
Members-
Content Count
651 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Hadeszeus
-
it's weird actually. I always commit the changes, then get pull request first before adding or testing new script locally. or maybe something wrong with the persone updating (me) hhahah.. BTW thanks for this and for reminding that.
-
Same issue.. Auto warp back to town on entering instance.
-
No one will help you if you don't help yourself bro. I remember the first day I decided to try creating a server. Then this link starts it all http://herc.ws/board/topic/968-guide-how-to-setup-hercules/
-
if ( !'lives ) {instance_announce -1, "Your party has used up all the lives", bc_map;.@map$ = strcharinfo(3);killmonsterall .@map$;sleep 5000;mapwarp .@map$, .map$, .x, .y;}if the party has no more lives, the map will be cleaned from monstersand then after 5 seconds, everyone is warp out to where the register npc is 2. change mes "you need to make a party of MAXIMUM of 15Members and a MINIMUM of 10Members.. so i can allow you to dive inside.";into mes "you need to make a party of EXACTLY "+ .register_min +" members ... so i can allow you to dive inside.";problem solve I think you should just show your edited script instead of keep saying bug bug bug ... I don't know what are the things that you have edited Problem Always destroyed map instance on entering the map. The weird part of it. After trying about 30 times there's 1 instance that's not destroyed. prontera,134,206,5 script Raid 100,{ mes "This is Raid Dungeon."; mes "you need to make a party of MAXIMUM of 15Members and a MINIMUM of 10Members.. so i can allow you to dive inside."; mes "Inside this raid dungeon, there would be 7 Levels of Mob."; mes "Lever 1, Lever 2, Lever 3, and so on and so forth"; mes "as the Lvl increases the more the mobs gets stronger. so better be carefull"; mes "the next lever will appear after you finish the mobs of ( e.g. Lever 1 )"; mes "after Lever 1-7 which is normal mobs"; mes "the Lever for boss of this raid dungeon will appear"; mes "NOTE: this is a custom mob Boss Monster so u better be prepare what ever it happens"; mes "and oh i forgot (your party has only 15 lives)"; mes "you can ressurect them by using Yggdrasil leaf or Skill of priest"; mes "but remember just 15 Lives. if ur party exceed this limit you party will be automatically warped out"; mes "so are you ready?"; mes "here we go"; next; if ( !getcharid(1) ) { mes "You have to form a party to play."; close; } if ( getpartyleader( getcharid(1), 2 ) != getcharid(0) ) { mes "Only the party leader can register."; close; } if ( !countitem( .register_item ) ) { mes "you don't have "+ getitemname( .register_item ); close; } .@origin = getcharid(3); getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == strnpcinfo(4) ) { .@online++; if ( #raid_ins_deny + .deny_enter > gettimetick(2) ) { .@denyname$[.@denycount] = strcharinfo(0); .@denytime[.@denycount] = #raid_ins_deny + .deny_enter; .@denycount++; } } } } attachrid .@origin; if ( $@partymembercount != .register_min ) { mes "[MvP Ladder Warper]"; mes "You have to form a party with exactly "+ .register_min +" members to play."; close; } else if ( .@online != .register_min ) { mes "[MvP Ladder Warper]"; mes "Your party must have "+ .register_min +" members online on map '"+ strnpcinfo(4) +"'."; close; } else if ( .@denycount ) { mes "[MvP Ladder Warper]"; mes "There are a few party members that just enter this dungeon recently"; for ( .@i = 0; .@i < .@denycount; .@i++ ) mes ( .@i +1 ) +". "+ .@denyname$[.@i] +" has to come back in "+ callfunc( "Time2Str", .@denytime ); close; } if ( ( .@ins = instance_create( "Raid Dungeon", getcharid(1), IOT_PARTY ) ) < 0 ) { mes "error : "+ .@ins; close; } if ( instance_attachmap( "guild_vs2", .@ins, 1, getcharid(1)+"Raid" ) == "" ) { mes "error : 5"; instance_destroy .@ins; close; } instance_set_timeout 0, 1, .@ins; instance_init .@ins; instance_attach .@ins; delitem .register_item, 1; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == strnpcinfo(4) ) { #raid_ins_deny = gettimetick(2); warp has_instance("guild_vs2"), 0,0; } } } 'lives = .party_lives; end;OnInit: .register_min = 1; // the exact amount of party members to have in the party to start .register_item = 501; // this item is require to start the event .party_lives = 15; // number of lives for the party members to lose their life, otherwise they'll fail at this event .deny_enter = 1; // how many seconds to deny them from keep entering this instanced dungeon setarray .round1[0], 1001,20, 1001,20; setarray .round2[0], 1031,20, 1032,20; setarray .round3[0], 1111,20, 1113,20; .totalround = 3; getmapxy .smap$, .x, .y, 1; end;OnPCDieEvent: if ( strcharinfo(3) == has_instance("guild_vs2") ) { instance_attach has_instance2( "guild_vs2" ); 'lives--; if ( !'lives ) { instance_announce -1, "Your party has used up all the lives", bc_map; .@map$ = strcharinfo(3); killmonsterall .@map$; sleep 5000; mapwarp .@map$, .smap$, .x, .y; } else { instance_announce -1, "Your party still has "+ 'lives +" lives left", bc_map; } } end;}guild_vs2,0,0,0 script Raid_ins -1,{OnInstanceInit: sleep 2000; // delay abitOnDead: if ( 'round ) 'killed++; if ( 'killed < 'total ) end; .@main$ = "Raid"; // main npc name 'round++; 'killed = 0; if ( 'round == getvariableofnpc( .totalround, .@main$ ) +1 ) { instance_announce -1, "Congratulations !", bc_all; sleep 2000; instance_warpall getvariableofnpc( .smap$, .@main$ ), getvariableofnpc( .x, .@main$ ), getvariableofnpc( .y, .@main$ ); end; } instance_announce -1, "Prepare for Level "+ 'round +" Mobs...", bc_all; sleep 2000; .@size = getarraysize( getvariableofnpc( getd( ".round"+ 'round ), .@main$ ) ); 'total = 0; for ( .@j = 0; .@j < .@size; .@j += 2 ) { monster has_instance( "guild_vs2" ), 49,49, "--ja--", getvariableofnpc( getelementofarray( getd( ".round"+ 'round ), .@j ), .@main$ ), getvariableofnpc( getelementofarray( getd( ".round"+ 'round ), .@j +1 ), .@main$ ), instance_npcname( strnpcinfo(0) )+"::OnDead"; 'total = 'total + getvariableofnpc( getelementofarray( getd( ".round"+ 'round ), .@j +1 ), .@main$ ); } end;}guild_vs2 mapflag nowarpguild_vs2 mapflag nowarptoguild_vs2 mapflag nomemoguild_vs2 mapflag nosave SavePointguild_vs2 mapflag partylockguild_vs2 mapflag src4instance
-
I'm testing it right now and surprisingly, when I enter the instance the instance always destroyed and warp back the party in split seconds. Weird. I didn't not modify anything I also tried this http://herc.ws/board/topic/4610-hellothis-is-a-raid-for-party-i-made/#entry30167 same issue. EDITED: I disable all other event script. No errors in MAP SERVER. Still the same.
-
Mapzone [adjust_skill_damage SR_HELLGATE] Not work.
Hadeszeus replied to Thunderbolt's question in Database Support
You know why? It's simply because you are calling the wrong skill name. It's SR_GATEOFHELL -
That condition is correct right? You set it to 10 ofcourse if 11 your party is not allowed to enter. if ( $@partymembercount != .register_min ) so if your party is < or > to 10 then your party is not allowed to enter. Maybe MINIMUM should change with REQUIRED TO add prize you need to add it after instance_announce. if ( 'round == getvariableofnpc( .totalround, .@main$ ) +1 ) { instance_announce -1, "Congratulations !", bc_all; sleep 2000; instance_warpall getvariableofnpc( .map$, .@main$ ), getvariableofnpc( .x, .@main$ ), getvariableofnpc( .y, .@main$ ); end; } Change (Opps not sure if all the members will get the prize ) if ( 'round == getvariableofnpc( .totalround, .@main$ ) +1 ) { instance_announce -1, "Congratulations !", bc_all; getitem 501,1; sleep 2000; instance_warpall getvariableofnpc( .map$, .@main$ ), getvariableofnpc( .x, .@main$ ), getvariableofnpc( .y, .@main$ ); end; } It did not gave me a prize. instead the event was not finished Bro, I'm sure it because the id is not attached. Now that's a problem heheh only Annie can do that. I'm sorry bro... Though I'm not after on the reward feature. it's all depend now to Annie if she will spoon feed that or not
-
That condition is correct right? You set it to 10 ofcourse if 11 your party is not allowed to enter. if ( $@partymembercount != .register_min ) so if your party is < or > to 10 then your party is not allowed to enter. Maybe MINIMUM should change with REQUIRED TO add prize you need to add it after instance_announce. if ( 'round == getvariableofnpc( .totalround, .@main$ ) +1 ) { instance_announce -1, "Congratulations !", bc_all; sleep 2000; instance_warpall getvariableofnpc( .map$, .@main$ ), getvariableofnpc( .x, .@main$ ), getvariableofnpc( .y, .@main$ ); end; } Change (Opps not sure if all the members will get the prize ) if ( 'round == getvariableofnpc( .totalround, .@main$ ) +1 ) { instance_announce -1, "Congratulations !", bc_all; getitem 501,1; sleep 2000; instance_warpall getvariableofnpc( .map$, .@main$ ), getvariableofnpc( .x, .@main$ ), getvariableofnpc( .y, .@main$ ); end; }
-
Carts and Mounts disappearing after relog.
Hadeszeus replied to koji42's question in General Server Support
It's known issue. see here http://herc.ws/board/tracker/issue-8046-cart-disappearance/ -
Hadeszeus where is the certificate She gave it to me (kiddin) Would you like to be one of us?
-
Also can't replicate your error.
-
Wooo! Hey Dude! Happy Birthday
-
@Annie What if this part only? Without the Active participants and the rest.
- 14 replies
-
- woe ranking
- guild ranking
-
(and 1 more)
Tagged with:
-
Anyone like to share the tips on how to optimize client files effectively? What are the files that not necessary?
-
Solved by Downloading the fresh copy of luafiles514! Thank you Dastgir! @Neo Thanks
-
You are correct. I believe generally that 1 is substituted as death. As long as it display consistently that would be good.
- 14 replies
-
- woe ranking
- guild ranking
-
(and 1 more)
Tagged with:
-
Hahaha... We're using 2014-01-15 client btw.. Ossi might know what's causing the problem... Someone already encountered this here http://herc.ws/board/topic/3609-2013-12-23c-kro-client-merry-christmas-3/?view=findpost&p=24573 But never get solved.
-
I got this error when entering Morroc. ReadAnimatedEmitterInfoz attempt to call a nil value What do you think is the problem? any help pls?
-
dude just read ur F*cking Signature. I am also hahaha Hahaha... I just can't help it.. She's really good. Respect!
-
We all know that Guild System/WoE System is obviously one of the Best feature of Ragnarok. I can actually say that, it is indeed the BREAD & BUTTER of the game. Most of the players are playing this game for a long time because of it. So I'm thinking... Why not create a more complex Guild Ranking System that will make the battle more Intense, Engaging and Fun!? Maybe someone did this already or maybe not? Definitely, I'm here to request this kind of SCRIPT. I'm not sure if someone will do this since this might fall under PAID service category. Basically, here's the details: * NPC for Ultimate Guild Ranking. Menu: Top 10 Guilds - displays the Top 10 Guilds base on [Guild Rank Formula] - Usually, most of the Guild Ranker NPC are all base on Agit counts. From OLD ranking system this might change using this Guild Rank Formula. * What is Guild Rank Formula? It's a 100% of the total CRITERIA. ??...CRITERIA Agit Counts = 30% Formula: .30*(X/30*100) = 30% where X is Agit Counts and 30 are days in the month. Player KDR = 40% Formula: .40*(TK/TD*100) = 40% where TK is Overall Total Kills and TD is Overall Total deaths of the Guild. (Total Kills/Deaths counts will remain even the members leaves the guild.) EmP Break = 20% Formula: .20*(TB/HEB*100) = 20% where TB is Total Break while HEB is Highest Emp Break value. Meaning the highest break counts will be the default value to get the 20%. Meaning the most break counts guild will always get the 20% (Break counts will remain even the members leaves the guild.) Active Participants = 10% Formula: .10*(AP/TAP*100) = 10% where AP is the # of Max Members online per day divided by TAP or total possible online players in 1 month 75*30 = 2250 Top 10 Players of the Guild - displays top players who contributed the most base on KDR points of the Top 10 guilds. - This menu shows the Top 5 Players of each Guilds on TOP 10. Formula (KILLS/DEATHS = KDR) is Base on top 5 players with MOST KILLS with lesser DEATHS = KDR where Kills/Deaths is total kills/deaths on that GUILD. For example presentation: 1. AAA <-- Guild Name - 1st Top Player Kills Death KDR - 2nd Top Player Kills Death KDR - 3rd Top Player Kills Death KDR - 4th Top Player Kills Death KDR - 5th Top Player 2. BBB <-- Guild Name - 1st Top Player Kills Death KDR - 2nd Top Player Kills Death KDR - 3rd Top Player Kills Death KDR - 4th Top Player Kills Death KDR - 5th Top Player 3. CCC <-- Guild Name - 1st Top Player Kills Death KDR - 2nd Top Player Kills Death KDR - 3rd Top Player Kills Death KDR - 4th Top Player Kills Death KDR - 5th Top Player 4. DDD 5. So on... 6. So forth... Most Active Guild - Top 10 Ranking base on Total Active Participants. Previous Month Top 10 Guilds - simply display the previous TOP 10. (so they can always look back who's the best from last month) Last but not the least. The compensation to those who gave their best to make it to the top. *Reward base on Ranking. *Reward will be sent via MAIL every end of month. (e.g March 30 11:59:59) send rewards to the Members of that guild regardless the joined date.) Additional Info: The formula is base on 30 days battle so the 31 might not valid or depends on coding. The formula can be change if you have a better one. (I'm not a mathematician) Thanks for taking time to read ...
- 14 replies
-
- woe ranking
- guild ranking
-
(and 1 more)
Tagged with:
-
GvG Emperium Breaker ladder
Hadeszeus replied to AnnieRuru's topic in PvP, WoE, GvG, & Battleground Releases
+1 -
solved. Thanks!
-
// http://rathena.org/board/topic/78486-breaker-rankings-npc/// NPC that:// - displays top 10 emperium breaker (Rank, Char Name, Guild Name, Breaker Points)// - when a player was the last to break the emp after the WoE he will get 1 point// - selection which enables the player to trade their points into TCG (item id: 7227)// but their break points are still displayedprontera,155,188,0 script Emp Break Ladder 910,{ switch(select("View Emp Break Ladder:Redeem points for TCG:More Info:" + ((getgmlevel()>=99) ? "Reset Ladder":""))) { case 1: query_sql "SELECT `char`.`name`, `char`.`class`, guild.`name`, CAST(`value` AS UNSIGNED) " + "FROM global_reg_value " + "LEFT JOIN `char` ON global_reg_value.char_id=`char`.char_id " + "LEFT JOIN `guild` ON `char`.guild_id=guild.guild_id " + "WHERE global_reg_value.`str`='breaker_points' " + "ORDER BY CAST(`value` AS UNSIGNED) DESC LIMIT 10", .@name$, .@job, .@guild$, .@points; mes "[Top 10 Emp Breakers]"; for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) { mes (.@i+1) +". ^0000FF"+ .@name$[.@i] +"^000000, "+jobname(.@job[.@i])+", "+ .@guild$[.@i] +" ("+ .@points[.@i] +((.@points[.@i]==1)?" pt":" pts")+")"; } break; case 2: mes "[Emp Break Ladder]"; mes "Total Emp Breaks: " + breaker_points; mes "Available Points: " + (breaker_points - breaker_tcg); if (breaker_points == 0) { mes "You have not broke the emp yet!"; } else if (breaker_points <= breaker_tcg) { mes "You've already exchanged all your points for TCG."; mes "Come back after you break the emp again!"; } else if (breaker_points-breaker_tcg < 5) { mes "You need at least 5 breaker points to exchange for 1 TCG."; } else { set .@reward, (breaker_points-breaker_tcg)/5; if (select("Redeem points for "+.@reward+" TCG:Cancel") == 2) { mes "Come back if you change your mind."; } else if (checkweight(7227, .@reward) == 0) { mes "You are overweight or carrying too many items."; } else { getitem 7227, .@reward; set breaker_tcg, breaker_tcg + (.@reward*5); mes "Here are your "+.@reward+" TCG!"; } } break; case 3: mes "[Emp Break Ladder]"; mes "Each time you break the emp, you earn 1 point."; mes "Then, talk to me to redeem 5 points for 1 TCG."; break; case 4: if (getgmlevel() < 99) end; set .@AID, playerattached(); // reset for offline chars query_sql "DELETE FROM global_reg_value WHERE `str`='breaker_points'"; query_sql "DELETE FROM global_reg_value WHERE `str`='breaker_tcg'"; // for each online char, reset breaker_points to 0 while (getusers(1) > .@count) { set .@count, .@count + query_sql("SELECT account_id FROM `char` WHERE online=1 LIMIT 128 OFFSET "+.@count, .@account_id); set .@i, 0; while (.@i < getarraysize(.@account_id)) { if (attachrid(.@account_id[.@i])) doevent strnpcinfo(3)+"::OnResetBreakerPoints"; set .@i, .@i +1; } deletearray .@account_id, 128; sleep 1; // prevent infinity loop } attachrid .@AID; mes "Emp Break Ladder has been reset."; break; } close;OnResetBreakerPoints: set breaker_points, 0; set breaker_tcg, 0; end;} Patch Index: npc/guild2/agit_main_se.txt===================================================================--- npc/guild2/agit_main_se.txt (revision 17127)+++ npc/guild2/agit_main_se.txt (working copy)@@ -601,6 +601,7 @@end;OnStartArena:+ set breaker_points, breaker_points +1;set .@GID,getcharid(2);set .@region$, (compare(strnpcinfo(4),"arug"))?"Valfreyja":"Nithafjoll";// Lower castle EconomyIndex: npc/guild/agit_main.txt===================================================================--- npc/guild/agit_main.txt (revision 17127)+++ npc/guild/agit_main.txt (working copy)@@ -99,6 +99,7 @@// The Emperium has been broken.OnAgitBreak:+ set breaker_points, breaker_points +1;set .@GID,getcharid(2);// Show and log error if an unguilded player breaks the Emperium. (Should NEVER happen)if (.@GID <= 0) { Can someone make this script compatible for hercules? the global_reg_value is missing or maybe changed with char_reg_num_db. Still I don't know what table should I change to get the value of break_points? I tried breaking an EMP but there's no break_points recorded on any tables in DB. Source: http://rathena.org/board/topic/78486-breaker-rankings-npc/
-
I tried and admit that I can't do it nor good at it. So thank you for still doing this. I don't hate spoonfeed, actually I'm so happy if someone does without asking any in return. I just felt sorry for myself coz I can't do it.