-
Posts
172 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Posts posted by Yukaiii
-
-
On 7/9/2023 at 7:42 AM, Melvant said:
Hello rAthena, kinda asking for pet mob, is it posible for pet using a mob avail ? example,like change their look into player sprite ?
Thank you
Apparently no one is responding to clonepet.
You can change that in mob_avail. -
11 minutes ago, Chaos92 said:
in rAthena forum ? maybe. but maybe share here so that other people that encounter the same issue can see and found the fix for it if any.
If u can see the web server logs, it might have some clues, for example it needs lower php version or anything.
most oudated themes need to use outdated php version too which is isnt recommended.
If I change the files in the "modules - main" folder and put the theme ones, it appears like this
-
3 minutes ago, Chaos92 said:
u should check web server log, it must have something. or log inside data folder in fluxcp
Can I send you a private message?
-
49 minutes ago, Chaos92 said:
check the log and error log of any.
The thing is that it doesn't indicate any error.
@Chaos92 Could it be that I'm using an old fluxcp and eAmod?
It's a very old project that I'm working on.
I think I bought this theme for nothing HAHA -
Guys, I couldn't open a topic on web support...
I'm having a problem when trying to use my flux cp theme.
Most of the ones I've tested worked fine, I bought one a few days ago and I'm having this problem.The screen is going completely white. Could someone help me solve this?
'ThemeName' => 'teste', //
-
Reviving this very old post..
Does anyone have these themes saved that they can share?
Thanks in advance. -
4 hours ago, cattlefickle said:
I also have this problem but your fix doesn't really work for me. Is there any other solution I can try?
try this
example : 2@cata,111,39,1 script Trap#T1-1::Trap -1{
-
16 hours ago, deborah said:
Hi, good day.
Is it possible to apply the effect of Poem of Bragi to all players, not just those in the party?
I am using Renewal.
I hope someone can help me. Thank you very much!But this skill works this way, doesn't it?
It gives a bonus to whoever passes the bragi effect.Or do you want the effect to only work for the party?
In pre-Renewal it works like this..
in Renewal I don't know how it works.. -
6 hours ago, Reloadscript said:
Thank you very much friend!
-
Goodnight! I'm terrible at editing...
Could anyone help me with scr_logo.bmp?
I needed something with the server name "Dimension-RO"
I don't know if they still make this type of request hahahaThank you in advance for any help
-
On 1/30/2025 at 11:56 AM, Yukaiii said:
I don't know if I posted it in the right area... I just don't know where I should post this error...
I apologize in advanceWhen I go to the normal map, this error doesn't happen.
After I used this script, it gave me this error on the map.SOLVED!
switching : 2@cata,111,39,1 script Trap#T1-1::Trap 1904,1,1,{
put : 2@cata,111,39,1 script Trap#T1-1::Trap -1,44,1,{
2@cata,113,118,1 duplicate(Trap) Trap#T1-2 1,44,1,
2@cata,48,90,1 duplicate(Trap) Trap#T1-3 1,44,1,
2@cata,78,113,1 duplicate(Trap) Trap#T1-4 1,44,1,
2@cata,113,94,1 duplicate(Trap) Trap#T1-5 1,44,1,
2@cata,84,60,1 duplicate(Trap) Trap#T1-6 1,44,1, -
I don't know if I posted it in the right area... I just don't know where I should post this error...
I apologize in advanceWhen I go to the normal map, this error doesn't happen.
After I used this script, it gave me this error on the map.Quote//===== eAthena Script ======================================================================
//= HeadHunter~
//===== Original By =========================================================================
//= Honor
//===== Current Version: ====================================================================
//= 1.0
//===== Compatible With: ====================================================================
//= Any eAthena
//===== Description: ========================================================================
//= This is just a mini game such as FFA, 3vs3 and CTF but it has a custom exp, and-
//= ranking system.
//===== Updates: ============================================================================
//= 1.0 HeadHunter.
//======= MapFlags ====================================================================================
2@cata mapflag noteleport
2@cata mapflag nosave SavePoint
2@cata mapflag nobranch
2@cata mapflag nopenalty
2@cata mapflag nomemo
2@cata mapflag nowarp
2@cata mapflag nowarpto
2@cata mapflag noicewall
2@cata mapflag noreturn
2@cata mapflag pvp_noparty
2@cata mapflag pvp_noguild
2@cata mapflag restricted 5
2@cata mapflag loadevent
prt_are01 mapflag loadeventforce_1-1 mapflag noteleport
force_1-1 mapflag nosave SavePoint
force_1-1 mapflag nobranch
force_1-1 mapflag nopenalty
force_1-1 mapflag nomemo
force_1-1 mapflag nowarp
force_1-1 mapflag nowarpto
force_1-1 mapflag pvp off
force_1-1 mapflag noskill
//===== Spawn Points ========================================================================
//= 2@cata,x,y;
//= 2@cata,61,35;
//= 2@cata,97,35;
//= 2@cata,93,46;
//= 2@cata,66,46;
//= 2@cata,66,85;
//= 2@cata,93,85;
//= 2@cata,110,66;
//= 2@cata,49,66;
//= 2@cata,57,35;
//= 2@cata,100,35;
//=============================================================================================
ayothaya,166,171,4 script Head Hunter#H1-1::Head Hunter 843,{
set .HHunter$,"[ ^ff0000•^000000 Head Hunter ^0000ff•^000000 ]";if(getgmlevel() >= 99) {
GM_MENU:
menu "-Normal Menu",normalcharmenu,
"-^777777Reset Variables^000000",L_RVARS,
"-^777777Set Max Players ["+$AOP+"]^000000",L_AOP,
"-^777777Set Max Score ["+$SCR+"]^000000",L_SCR,
"-^777777Set Autowin Score ["+$ASCR+"]^000000",L_ASCR,
"-^777777Set Rbs win per Match ["+$HH_rbs+"]^000000",L_RBS,
"-^777777Set Match ["+$@match+"]^000000",L_SETM;
L_AOP:
input @AOP;
if(@AOP > 14) { message strcharinfo(0),"~The max amount of players is 15."; goto L_AOP; end; }
set $AOP,@AOP;
message strcharinfo(0),"~Max amount of players able to register per match ("+$AOP+").";
close;L_SCR:
input @SCR;
if(@SCR > 24) { message strcharinfo(0),"~The max Score able to set is 25."; goto L_SCR; end; }
set $SCR,@SCR;
message strcharinfo(0),"~Max amount of score per match is now ("+$SCR+").";
close;L_ASCR:
input @ASCR;
if(@ASCR > 9) { message strcharinfo(0),"~The max autowin score is 10."; goto L_ASCR; end; }
set $ASCR,@ASCR;
message strcharinfo(0),"~Max amount of Autowin score per match is now ("+$ASCR+").";
close;L_RBS:
input @HH_RBS;
if(@HH_RBS > 9) { message strcharinfo(0),"~The max amount of RBs Win per Match is 10."; goto L_RBS; end; }
set $HH_RBS,@HH_RBS;
message strcharinfo(0),"~Amount of Rbs Win per Match ("+$HH_RBS+").";
close;
L_SETM:
input @SETM;
if(@SETM > 1) { message strcharinfo(0),"~The max amount of players is 1."; goto L_SETM; end; }
set $@match,@SETM;
message strcharinfo(0),"~SETM("+$@match+").";
close;
L_RVARS:
stopnpctimer "HH_CHECKWINNER1";
stopnpctimer "HH_HILL_TIME";
stopnpctimer "HEADHUNTERS_TIMR1";
mapwarp "2@cata","turbo_room",80,107;
// Reset Variables
set $@HHwinner,0;
set $@HH_player1,0;
set $@HH_player2,0;
set $@HH_player3,0;
set $@HH_player4,0;
set $@HH_player5,0;
set $@HH_player6,0;
set $@HH_player7,0;
set $@HH_player8,0;
set $@match,0;
set $@HH_active_hill,0;
set $@HH_temphill,0;
set $@HH_score1,0;
set $@HH_score2,0;
set $@HH_score3,0;
set $@HH_score4,0;
set $@HH_score5,0;
set $@HH_score6,0;
set $@HH_score7,0;
set $@HH_score8,0;
close;
}normalcharmenu:
set HH_loses,(HH_matches-HH_Matchwin);
mes .HHunter$;
mes "Welcome, how can I help you?";
mes "Matchs Won: ^00ff00"+HH_Matchwin+"^000000.";
mes "Matchs Lost: ^ff0000"+HH_loses+"^000000.";
mes "Matchs Played: ^777777"+HH_matches+"^000000.";
mes "Head Hunters EXP: ^0000ff"+HH_exp+"^000000.";
menu "~Play Head Hunter",LplayHH,"~Ranks",L_ranks,"~Register my hhTag",L_RegisterTag,"~Information",L_info;
LplayHH:
next;
mes .HHunter$;
mes "Are you sure you want to participate?";
menu "~Let's do it!",L_yes,"~Uhh. No thanks",LCancel;
close;L_yes:
if (BaseLevel < 200 || Class==Job_Novice || Class==Job_Baby || Class==Job_Novice_High || @MiniGame_R == 1) {
goto L_Level;
} else {
if(getmapusers("force_1-1") == $AOP || getmapusers("force_1-1") > $AOP) {
next;
mes .HHunter$;
mes "Im sorry but all arenas are full, please try again later.";
close;
} else { warp "force_1-1",100,100; end; }
}
L_ranks:
next;
mes .HHunter$;
mes "Coming soon...";
close;L_anythingelse:
next;
mes .HHunter$;
mes "Is there anything else you would like to know about?";
goto L_infomenu;L_info:
next;
mes .HHunter$;
mes "Pick whatever you would like to know about..";L_infomenu:
menu "- Head Hunters Game",L_game,
"- The Hill",L_hill,
"- Respawn",L_respawn,
"- Game Traps",L_traps,
"- Score System",L_score,
"- ...",-;
close;L_game:
next;
mes .HHunter$;
mes "You gotta Collect Skulls, you have to kill, you get the amount of skulls the player has in its invetory plus";
mes "(that is its own Skull) you collect, you take them to the current Hill you can see in your map northeast of the screen (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;L_hill:
next;
mes .HHunter$;
mes "Changes every 30 Seconds, it randomly changes its position, it is announced when it had changed.";
mes "There's a red dot/cross flashing in your northeast map of your screen & it doens't changes well always";
mes "So its better if you just learn the hill numbers (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;L_respawn:
next;
mes .HHunter$;
mes "You gotta wait 4 seconds to re-spawn. Respawn Points (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;L_traps:
next;
mes .HHunter$;
mes "These are traps are going to give you a random effect.";
mes "Such as: Stun, Silence, Curse, Stone, Sleep, Quamarine, Divest Shield, Confusion, Blind, Bleed, Freeze";
mes "Poison and Ankle Snare (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;
L_score:
next;
mes .HHunter$;
mes "You gotta score "+$SCR+" to win a match and if you score "+$ASCR+" in a row, you'll automaticly win";
mes "HeadHunters Game (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;L_RegisterTag:
next;
mes .HHunter$;
mes "Please Input your HeadHunter Tag";
mes "Note: Can't be longer than 4 Characters";
iTag:
input @hhtag$;
if(getstrlen(@hhtag$) > 4) { goto iTag; }
next;
mes .HHunter$;
mes "Is this alright?";
mes "^0000ff "+@hhtag$+" ^000000";
menu "~Yes",-,"~Repeat",Lrepeat,"~No thanks",LCancel;
set hhtag$,@hhtag$;
message strcharinfo(0),"Your Head Hunter Tag is now [ "+hhtag$+" ].";
close;
Lrepeat:
next;
mes .HHunter$;
mes "Please Input your HeadHunter Tag";
goto iTag;L_Level:
mes .HHunter$;
mes "Sorry, you need to be at least level 200, or you're registered in another MiniGame. No Novices allowed either.";
close;
LCancel:
close;
}force_1-1,100,105,4 script Head Hunter Match 842,{
set .HHunter$,"[ ^ff0000•^000000 Head Hunter ^0000ff•^000000 ]";mes .HHunter$;
mes "We're going to warp you when Match is ready to start.";
menu "- Information",L_info,"- Cancel",-;
close;L_anythingelse:
next;
mes .HHunter$;
mes "Is there anything else you would like to know about?";
goto L_infomenu;L_info:
next;
mes .HHunter$;
mes "Pick whatever you would like to know about..";L_infomenu:
menu "- Head Hunters Game",L_game,
"- The Hill",L_hill,
"- Respawn",L_respawn,
"- Game Traps",L_traps,
"- Score System",L_score,
"- ...",-;
close;L_game:
next;
mes .HHunter$;
mes "You gotta Collect Skulls, you have to kill, you get the amount of skulls the player has in its invetory plus";
mes "(that is its own Skull) you collect, you take them to the current Hill you can see in your map northeast of the screen (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;L_hill:
next;
mes .HHunter$;
mes "Changes every 30 Seconds, it randomly changes its position, it is announced when it had changed.";
mes "There's a red dot/cross flashing in your northeast map of your screen & it doens't changes well always";
mes "So its better if you just learn the hill numbers (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;L_respawn:
next;
mes .HHunter$;
mes "You gotta wait 4 seconds to re-spawn. Respawn Points (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;L_traps:
next;
mes .HHunter$;
mes "These are traps are going to give you a random effect.";
mes "Such as: Stun, Silence, Curse, Stone, Sleep, Quamarine, Divest Shield, Confusion, Blind, Bleed, Freeze";
mes "Poison and Ankle Snare (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;
L_score:
next;
mes .HHunter$;
mes "You gotta score "+$SCR+" to win a match and if you score "+$ASCR+" in a row, you'll automaticly win";
mes "HeadHunters Game (Can check the image in forum)";
mes "Guides and Help ^0000ff>^000000 Item/Skill/Dungeon Guides ^0000ff>^000000 Head Hunter • How to play";
goto L_anythingelse;} //End of Force
turbo_room,106,107,4 duplicate(Head Hunter) Head Hunter#H1-2 843
prontera,147,150,5 duplicate(Head Hunter) Head Hunter#H1-3 843
pay_arche,42,125,5 duplicate(Head Hunter) Head Hunter#H1-4 843force_1-1,100,100,1 script HH_TIME1 -1,0,0,{
end;OnInit:
disablenpc "EnterHH";
end;//11 seconds
OnTimer11001:
if($@match==0 && getmapusers("force_1-1") == $AOP) {
stopnpctimer;
enablenpc "EnterHH";
mapannounce "force_1-1","The portal will remain open for 10 seconds, hurry up!!",1;
sleep2 10000;
mapannounce "force_1-1","Time's Up, portal closed.",1;
sleep2 2000;
mapwarp "force_1-1","prontera",156,173;
disablenpc "EnterHH";
}
OnTouch:
initnpctimer;
if(getmapusers("force_1-1") > $AOP) { warp "prontera",176,153; }
}force_1-1,73,100,0 script EnterHH 45,1,1,{
if($@HH_player1 == 0){ set $@HHwinner,0; set $@HH_player1,0; set $@HH_player2,0; set $@HH_player3,0; set $@HH_player4,0; set $@HH_player5,0; set $@HH_player6,0; set $@HH_player7,0; set $@HH_player8,0;
set $@match,0; set $@HH_active_hill,0; set $@HH_temphill,0; set $@HH_score1,0; set $@HH_score2,0; set $@HH_score3,0; set $@HH_score4,0; set $@HH_score5,0; set $@HH_score6,0; set $@HH_score7,0; set $@HH_score8,0;
set $@HH_player1,getcharid(0); donpcevent "HH_GameStart::OnStart1"; }else if($@HH_player2 == 0){ set $@HH_player2,getcharid(0); }
else if($@HH_player3 == 0){ set $@HH_player3,getcharid(0); }
else if($@HH_player4 == 0){ set $@HH_player4,getcharid(0); }
else if($@HH_player5 == 0){ set $@HH_player5,getcharid(0); }
else if($@HH_player6 == 0){ set $@HH_player6,getcharid(0); }
else if($@HH_player7 == 0){ set $@HH_player7,getcharid(0); }
else if($@HH_player8 == 0){ set $@HH_player8,getcharid(0); }switch(rand(9)) { // SPAWNS
case 0: set @hhx,61; set @hhy,35; goto HH_WarpChar; end;
case 1: set @hhx,97; set @hhy,35; goto HH_WarpChar; end;
case 2: set @hhx,93; set @hhy,46; goto HH_WarpChar; end;
case 3: set @hhx,66; set @hhy,46; goto HH_WarpChar; end;
case 4: set @hhx,66; set @hhy,85; goto HH_WarpChar; end;
case 5: set @hhx,93; set @hhy,85; goto HH_WarpChar; end;
case 6: set @hhx,110; set @hhy,66; goto HH_WarpChar; end;
case 7: set @hhx,49; set @hhy,66; goto HH_WarpChar; end;
case 8: set @hhx,57; set @hhy,35; goto HH_WarpChar; end;
case 9: set @hhx,100; set @hhy,35; goto HH_WarpChar; end;
}
end;HH_WarpChar:
set HH_matches,HH_matches+1;
warpchar "2@cata",@hhx,@hhy,getcharid(0);
if($@match==0) { set $@match,1; }
if($@match == 0) { mapwarp "2@cata","turbo_room",80,107; }
end;
}2@cata,1,1,1 script HH_GameStart -1,{
end;OnStart1:
set $@HH_active_hill,1;
initnpctimer "HEADHUNTERS_TIMR1";
initnpctimer "HH_CHECKWINNER1";
initnpctimer "HH_HILL_TIME";
end;OnPCLoadMapEvent: //will run on 3vs3 and CTF as well
sc_end SC_ALL;
alive;
end;OnPCLoginEvent:
set @loginflameskull,countitem(3303);
delitem 3303,@loginflameskull;
end;OnPCLogoutEvent:
if($@HH_player1 == getcharid(0)) { set $@HH_player1,0; }
if($@HH_player2 == getcharid(0)) { set $@HH_player2,0; }
if($@HH_player3 == getcharid(0)) { set $@HH_player3,0; }
if($@HH_player4 == getcharid(0)) { set $@HH_player4,0; }
if($@HH_player5 == getcharid(0)) { set $@HH_player5,0; }
if($@HH_player6 == getcharid(0)) { set $@HH_player6,0; }
if($@HH_player7 == getcharid(0)) { set $@HH_player7,0; }
if($@HH_player8 == getcharid(0)) { set $@HH_player8,0; }
end;OnPCDieEvent:
getmapxy(.@mapname$, .@mapx, .@mapy, 0);
if(.@mapname$=="2@cata"){
set $@HeadSkull,3303;
set @flamingskullq,countitem($@HeadSkull);
makeitem $@HeadSkull,(@flamingskullq+1),.@mapname$,.@mapx,.@mapy;
delitem $@HeadSkull,@flamingskullq;
switch(rand(9)) { // SPAWNS
case 0: set @hhx,61; set @hhy,35; goto HH_OnCharDie; end;
case 1: set @hhx,97; set @hhy,35; goto HH_OnCharDie; end;
case 2: set @hhx,93; set @hhy,46; goto HH_OnCharDie; end;
case 3: set @hhx,66; set @hhy,46; goto HH_OnCharDie; end;
case 4: set @hhx,66; set @hhy,85; goto HH_OnCharDie; end;
case 5: set @hhx,93; set @hhy,85; goto HH_OnCharDie; end;
case 6: set @hhx,110; set @hhy,66; goto HH_OnCharDie; end;
case 7: set @hhx,49; set @hhy,66; goto HH_OnCharDie; end;
case 8: set @hhx,57; set @hhy,35; goto HH_OnCharDie; end;
case 9: set @hhx,100; set @hhy,35; goto HH_OnCharDie; end;
}
HH_OnCharDie:
sleep2 1000;
message strcharinfo(0),"Wait 4 Seconds to respawn...";
sleep2 1000;
message strcharinfo(0),"Wait 3 Seconds to respawn...";
sleep2 1000;
message strcharinfo(0),"Wait 2 Seconds to respawn...";
sleep2 1000;
message strcharinfo(0),"Wait 1 Seconds to respawn...";
sleep2 1000;
if($@match==0) { end; }
warpchar "2@cata",@hhx,@hhy,getcharid(0);
alive;
sc_end SC_ALL;
end;
}
end;
}2@cata,1,1,1 script HEADHUNTERS_TIMR1 -1,{
end;//3 minutes
OnTimer180000:
mapannounce "2@cata", "Everyone, you have one minute to finish this fight!!", 1;
mapannounce "force_1-1", "Everyone, you have one minute to finish this fight!!", 1;
end;//4.75 minutes
OnTimer285000:
mapannounce "2@cata", "Attention! The round is over in 15 seconds!!", 1;
mapannounce "force_1-1", "Attention! The round is over in 15 seconds!!", 1;
end;//5 minutes - Time's up (no winner)
OnTimer300000:
if($@HH_score1 > $@HH_score2 && $@HH_score1 > $@HH_score3 && $@HH_score1 > $@HH_score4 && $@HH_score1 > $@HH_score5 && $@HH_score1 > $@HH_score6 && $@HH_score1 > $@HH_score7 && $@HH_score1 > $@HH_score8)
{ set $@HHwinner,$@HH_player1; donpcevent "HH_WINNER::OnWinner"; end; }if($@HH_score2 > $@HH_score1 && $@HH_score2 > $@HH_score3 && $@HH_score2 > $@HH_score4 && $@HH_score2 > $@HH_score5 && $@HH_score2 > $@HH_score6 && $@HH_score2 > $@HH_score7 && $@HH_score2 > $@HH_score8)
{ set $@HHwinner,$@HH_player2; donpcevent "HH_WINNER::OnWinner"; end; }if($@HH_score3 > $@HH_score1 && $@HH_score3 > $@HH_score2 && $@HH_score3 > $@HH_score4 && $@HH_score3 > $@HH_score5 && $@HH_score3 > $@HH_score6 && $@HH_score3 > $@HH_score7 && $@HH_score3 > $@HH_score8)
{ set $@HHwinner,$@HH_player3; donpcevent "HH_WINNER::OnWinner"; end; }if($@HH_score4 > $@HH_score1 && $@HH_score4 > $@HH_score2 && $@HH_score4 > $@HH_score3 && $@HH_score4 > $@HH_score5 && $@HH_score4 > $@HH_score6 && $@HH_score4 > $@HH_score7 && $@HH_score4 > $@HH_score8)
{ set $@HHwinner,$@HH_player4; donpcevent "HH_WINNER::OnWinner"; end; }if($@HH_score5 > $@HH_score1 && $@HH_score5 > $@HH_score2 && $@HH_score5 > $@HH_score3 && $@HH_score5 > $@HH_score4 && $@HH_score5 > $@HH_score6 && $@HH_score5 > $@HH_score7 && $@HH_score5 > $@HH_score8)
{ set $@HHwinner,$@HH_player5; donpcevent "HH_WINNER::OnWinner"; end; }if($@HH_score6 > $@HH_score1 && $@HH_score6 > $@HH_score2 && $@HH_score6 > $@HH_score3 && $@HH_score6 > $@HH_score4 && $@HH_score6 > $@HH_score5 && $@HH_score6 > $@HH_score7 && $@HH_score6 > $@HH_score8)
{ set $@HHwinner,$@HH_player6; donpcevent "HH_WINNER::OnWinner"; end; }if($@HH_score7 > $@HH_score1 && $@HH_score7 > $@HH_score2 && $@HH_score7 > $@HH_score3 && $@HH_score7 > $@HH_score4 && $@HH_score7 > $@HH_score5 && $@HH_score7 > $@HH_score6 && $@HH_score7 > $@HH_score8)
{ set $@HHwinner,$@HH_player7; donpcevent "HH_WINNER::OnWinner"; end; }if($@HH_score8 > $@HH_score1 && $@HH_score8 > $@HH_score2 && $@HH_score8 > $@HH_score3 && $@HH_score8 > $@HH_score4 && $@HH_score8 > $@HH_score5 && $@HH_score8 > $@HH_score6 && $@HH_score8 > $@HH_score7)
{ set $@HHwinner,$@HH_player8; donpcevent "HH_WINNER::OnWinner"; end; }mapannounce "2@cata", "There is a TIE in Head Hunters, no winner
!!", 1;
mapannounce "force_1-1", "There is a TIE in Head Hunters, no winner!!", 1;
end;//5 minutes with 5 seconds
OnTimer303000:
stopnpctimer;
stopnpctimer "HH_CHECKWINNER1";
sleep 5000;
mapannounce "turbo_room", "The Head Hunter's fight just ended without a winner!! :(",bc_blue;
sleep 2000;
donpcevent "HH_WINNER::OnWinner";
end;}
2@cata,1,1,1 script HH_CHECKWINNER1 -1,{
end;//3 seconds
OnTimer3001:
if($@HHwinner != 0) { donpcevent "HH_WINNER::OnWinner"; end; }
if($@HH_score1 >= $SCR) { set $@HHwinner,$@HH_player1; donpcevent "HH_WINNER::OnWinner"; end; }
else if ($@HH_score2 >= $SCR) { set $@HHwinner,$@HH_player2; donpcevent "HH_WINNER::OnWinner"; end; }
else if ($@HH_score3 >= $SCR) { set $@HHwinner,$@HH_player3; donpcevent "HH_WINNER::OnWinner"; end; }
else if ($@HH_score4 >= $SCR) { set $@HHwinner,$@HH_player4; donpcevent "HH_WINNER::OnWinner"; end; }
else if ($@HH_score5 >= $SCR) { set $@HHwinner,$@HH_player5; donpcevent "HH_WINNER::OnWinner"; end; }
else if ($@HH_score6 >= $SCR) { set $@HHwinner,$@HH_player6; donpcevent "HH_WINNER::OnWinner"; end; }
else if ($@HH_score7 >= $SCR) { set $@HHwinner,$@HH_player7; donpcevent "HH_WINNER::OnWinner"; end; }
else if ($@HH_score8 >= $SCR) { set $@HHwinner,$@HH_player8; donpcevent "HH_WINNER::OnWinner"; end; }
initnpctimer;
}2@cata,1,1,1 script HH_WINNER -1,{
end;OnWinner:
stopnpctimer "HH_CHECKWINNER1";
stopnpctimer "HH_HILL_TIME";
stopnpctimer "HEADHUNTERS_TIMR1";
warpchar "lhz_cube",10,74,$@HHwinner;
sleep2 1501;
mapwarp "2@cata","turbo_room",80,107;
// Reset Variables
set $@HHwinner,0;
set $@HH_player1,0;
set $@HH_player2,0;
set $@HH_player3,0;
set $@HH_player4,0;
set $@HH_player5,0;
set $@HH_player6,0;
set $@HH_player7,0;
set $@HH_player8,0;
set $@match,0;
set $@HH_active_hill,0;
set $@HH_temphill,0;
set $@HH_score1,0;
set $@HH_score2,0;
set $@HH_score3,0;
set $@HH_score4,0;
set $@HH_score5,0;
set $@HH_score6,0;
set $@HH_score7,0;
set $@HH_score8,0;
end;
}2@cata,111,39,1 script Trap#T1-1::Trap 1904,1,1,{
end;
OnInit:
initnpctimer;
end;OnTimer30001:
specialeffect 145;
initnpctimer;
end;OnTouch:
switch(rand(14)) { //20 Seconds tranps
case 0: sc_start SC_POISON,30000,0; message strcharinfo(0),"aww I don't feel good x.X !!"; goto L_emo;
case 1: sc_start SC_SILENCE,15000,0; message strcharinfo(0),"Silent i kill you !!"; goto L_emo;
case 2: sc_start SC_CONFUSION,10000,0; message strcharinfo(0),"Where am I going ?_? !!"; goto L_emo;
case 3: sc_start SC_SLEEP,10000,0; message strcharinfo(0),"ZzZzzzZZzzZZZ !!"; goto L_emo;
case 4: sc_start SC_FREEZE,10000,0; message strcharinfo(0),"O.O !!"; goto L_emo;
case 5: sc_start SC_STONE,10000,0; message strcharinfo(0),"Oh Potpot<3 !!"; goto L_emo;
case 6: sc_start SC_BLIND,30000,0; message strcharinfo(0),"Waittt I cann't see !!"; goto L_emo;
case 7: sc_start SC_BLEEDING,20000,0; message strcharinfo(0),"aaaarrrghhhh !!"; goto L_emo;
case 8: sc_start SC_STUN,8000,0; message strcharinfo(0),"Woot !!"; goto L_emo;
case 9: sc_start SC_STRIPSHIELD,20000,0; message strcharinfo(0),"Oh Nooes~!! byebyeShield!!"; goto L_emo;
case 10: sc_start SC_QUAGMIRE,20000,0; message strcharinfo(0),"Oh Nooes~!! Your speed had been reduced !!"; goto L_emo;
case 11: sc_start SC_ANKLE,10000,0; message strcharinfo(0),"Oh Nooes~!! You got trapped !!"; goto L_emo;
case 12: sc_start SC_CURSE,15000,0; message strcharinfo(0),"wahhh x.X !!"; goto L_emo;
case 13: sc_start SC_BLESSING,30000,10; sc_start SC_INCREASEAGI,30000,10; goto L_no1;
}
L_emo:
emotion 23; //omg
end;L_no1:
message strcharinfo(0),"You avoid the trap successfully !!";
emotion 21; //e_no1
end;
}2@cata,113,118,1 duplicate(Trap) Trap#T1-2 1904,1,1
2@cata,48,90,1 duplicate(Trap) Trap#T1-3 1904,1,1
2@cata,78,113,1 duplicate(Trap) Trap#T1-4 1904,1,1
2@cata,113,94,1 duplicate(Trap) Trap#T1-5 1904,1,1
2@cata,84,60,1 duplicate(Trap) Trap#T1-6 1904,1,1function script HH_Hill_Function {
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
return;
}
function script HH_AutoWin {
if($@HH_player1 == getcharid(0)) { set $@HHwinner,$@HH_player1; }
else if($@HH_player2 == getcharid(0)) { set $@HHwinner,$@HH_player2; }
else if($@HH_player3 == getcharid(0)) { set $@HHwinner,$@HH_player3; }
else if($@HH_player4 == getcharid(0)) { set $@HHwinner,$@HH_player4; }
else if($@HH_player5 == getcharid(0)) { set $@HHwinner,$@HH_player5; }
else if($@HH_player6 == getcharid(0)) { set $@HHwinner,$@HH_player6; }
else if($@HH_player7 == getcharid(0)) { set $@HHwinner,$@HH_player7; }
else if($@HH_player8 == getcharid(0)) { set $@HHwinner,$@HH_player8; }
return;
}2@cata,1,1,1 script HH_HILL_TIME -1,{
end;//30 seconds
OnTimer30001:
L_HillHere:
set $@HH_temphill,rand(1,8);
if($@HH_active_hill != $@HH_temphill)
{
set $@HH_active_hill,$@HH_temphill;
mapannounce "2@cata","Hill Moved ~ [ • "+$@HH_active_hill+" • ].",bc_blue;
} else { goto L_HillHere; }
initnpctimer;
end;
}//====== Hill 1 =============================================================================
2@cata,79,66,1 script Hill_1 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill == 1) {
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== Hill 2 =============================================================================
2@cata,36,109,1 script Hill_2 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill == 2) {
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== Hill 3 =============================================================================
2@cata,123,109,1 script Hill_3 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill == 3) {
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== Hill 4 =============================================================================
2@cata,36,22,1 script Hill_4 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill == 4) {
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== Hill 5 =============================================================================
2@cata,123,22,1 script Hill_5 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill == 5) {
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== Hill 6 =============================================================================
2@cata,79,35,1 script Hill_6 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill == 6) {
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== Hill 7 =============================================================================
2@cata,80,98,1 script Hill_7 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill == 7) {
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== Hill 8 =============================================================================
2@cata,80,140,1 script Hill_8 -1,3,3,{
end;OnTouch:
set $@HeadSkull,3303;
set $@headhmap$,"2@cata";
if($@HH_active_hill =={
if(countitem($@HeadSkull) < 1) { end; }
set .@hhp,.@hhp+countitem($@HeadSkull);
if($@HH_player1 == getcharid(0)) { set $@HH_score1,$@HH_score1+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score1+".",bc_yellow; }
if($@HH_player2 == getcharid(0)) { set $@HH_score2,$@HH_score2+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score2+".",bc_yellow; }
if($@HH_player3 == getcharid(0)) { set $@HH_score3,$@HH_score3+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score3+".",bc_yellow; }
if($@HH_player4 == getcharid(0)) { set $@HH_score4,$@HH_score4+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score4+".",bc_yellow; }
if($@HH_player5 == getcharid(0)) { set $@HH_score5,$@HH_score5+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score5+".",bc_yellow; }
if($@HH_player6 == getcharid(0)) { set $@HH_score6,$@HH_score6+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score6+".",bc_yellow; }
if($@HH_player7 == getcharid(0)) { set $@HH_score7,$@HH_score7+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score7+".",bc_yellow; }
if($@HH_player8 == getcharid(0)) { set $@HH_score8,$@HH_score8+.@hhp;
mapannounce $@headhmap$,"~ "+hhtag$+" - "+strcharinfo(0)+" scored [ "+.@hhp+" ] Head Hunter Point(s). || "+$@HH_score8+".",bc_yellow; }
if(countitem($@HeadSkull) >= $ASCR) { callfunc "HH_AutoWin"; } //when scoring 10FS in a row Automatic Winner
delitem $@HeadSkull,countitem($@HeadSkull);
end;
}
end;
}
//====== ViewPoints Hills =====================================================================
2@cata,79,65,1 script ViewPoint_Hill#V1-1::ViewPoint_Hill -1,15,15,{
end;OnTouch:
OnTimer3001:
if($@HH_active_hill == 0) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
end; }if($@HH_active_hill == 1) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,79,66,1,0xFF0000; end; }
if($@HH_active_hill == 2) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,36,109,2,0xFF0000; end; }
if($@HH_active_hill == 3) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,123,109,3,0xFF0000; end; }
if($@HH_active_hill == 4) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,36,22,4,0xFF0000; end; }
if($@HH_active_hill == 5) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,123,22,5,0xFF0000; end; }
if($@HH_active_hill == 6) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,79,35,6,0xFF0000; end; }
if($@HH_active_hill == 7) {
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,80,98,7,0xFF0000; end; }
if($@HH_active_hill =={
viewpoint 2,79,66,1,0xFF0000; viewpoint 2,36,109,2,0xFF0000; viewpoint 2,123,109,3,0xFF0000; viewpoint 2,36,22,4,0xFF0000; viewpoint 2,123,22,5,0xFF0000; viewpoint 2,79,35,6,0xFF0000; viewpoint 2,80,98,7,0xFF0000; viewpoint 2,80,140,8,0xFF0000;
viewpoint 1,80,140,8,0xFF0000; end; }
initnpctimer;
end;
}2@cata,80,97,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-2 -1,17,17
2@cata,80,134,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-3 -1,17,17
2@cata,123,107,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-4 -1,17,17
2@cata,34,109,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-5 -1,17,17
2@cata,109,67,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-6 -1,17,17
2@cata,49,66,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-7 -1,17,17
2@cata,37,22,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-8 -1,17,17
2@cata,80,37,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-9 -1,17,17
2@cata,122,23,1 duplicate(ViewPoint_Hill) ViewPoint_Hill#V1-10 -1,17,17// PRIZE
lhz_cube,10,74,3 script HeadHunterPrize 818,2,2,{
OnTouch:
sc_end SC_ALL;
if(strcharinfo(0)!=""){
mapannounce "turbo_room", "And the winner of this Head Hunter match is: "+strcharinfo(0)+" !!", 1;
mapannounce "force_1-1", "And the winner of this Head Hunter match is: "+strcharinfo(0)+" !!", 1;
}set @howmuchHH,countitem(3303);
delitem 3303,@howmuchHH;
mes "[Winner Prize]";
mes "Congratulations, you're the winner! Here's your prize ~ ";
next;
getitem 22555,$HH_rbs;
set HH_Matchwin,HH_Matchwin+1;
set @HH_randexp,rand(99,320);
set HH_exp,(HH_exp+@HH_randexp);
dispbottom "You got "+@HH_randexp+" Head Hunter's EXP, keep playing and you'll raise your Rank!!";
dispbottom "Head Hunters total EXP: "+HH_exp+".";
percentheal 100,100;
warp "turbo_room",80,107;
end;}
// PRIZE
turbo_room,80,107,1 script HeadHunterPrize -1,1,1,{
OnTouch:
sc_end SC_ALL;
set @howmuchHH,countitem(3303);
delitem 3303,@howmuchHH;
end;}
2@cata,98,100,4 script Repairman#05 86,{
set @name$,"Repairman";
callfunc "repairmain";
end;
}
2@cata,61,31,4 script Repairman#06 86,{
set @name$,"Repairman";
callfunc "repairmain";
end;
}
ayothaya,178,152,4 script Repairman#07 86,{
set @name$,"Repairman";
callfunc "repairmain";
end;
} -
What's up guys!!
Guys, could someone give me some support on this script here?
I would like that when the player makes the bet he could only bet on one portion... not on all of them if he has coins.Thank you very much for any help!
//=-=-=-=-=-=-=-= Script by ColoExpress =-=-=-=-=-=-=-= //=-=-=-=-=-=-=-= 2010 - 2011 Develop present =-=-=-=-=-=-=-= //=-=-=-=-=-=-=-= Powered By www.coloexpress.in.th =-=-=-=-=-=-=-= //=-=-=-=-=-=-=-=Fix and translation in spanish by iraciz=-=-=-=-=-=-=-= - script PoringSlotsCh -1,{ end; OnInit: set $PSItem,7539; set $PSre,7539; //Prize set $NMItem,1; end; } prontera,147,285,6 duplicate(PoringSlotsCh) PoringSlots#01 1002 prontera,149,285,6 duplicate(PoringSlotsCh) PoringSlots#02 1002 prontera,151,285,6 duplicate(PoringSlotsCh) PoringSlots#03 1031 prontera,153,285,6 duplicate(PoringSlotsCh) PoringSlots#04 1113 prontera,155,285,6 duplicate(PoringSlotsCh) PoringSlots#05 1002 prontera,157,285,6 duplicate(PoringSlotsCh) PoringSlots#06 950 prontera,159,285,6 duplicate(PoringSlotsCh) PoringSlots#07 1002 prontera,161,285,6 duplicate(PoringSlotsCh) PoringSlots#08 1096 prontera,163,285,6 duplicate(PoringSlotsCh) PoringSlots#09 1002 prontera,165,285,6 duplicate(PoringSlotsCh) PoringSlots#10 1113 prontera,165,283,6 duplicate(PoringSlotsCh) PoringSlots#11 1031 prontera,165,281,6 duplicate(PoringSlotsCh) PoringSlots#12 1031 prontera,165,279,6 duplicate(PoringSlotsCh) PoringSlots#13 1002 prontera,165,277,6 duplicate(PoringSlotsCh) PoringSlots#14 1113 prontera,163,277,6 duplicate(PoringSlotsCh) PoringSlots#15 1002 prontera,161,277,6 duplicate(PoringSlotsCh) PoringSlots#16 1031 prontera,159,277,6 duplicate(PoringSlotsCh) PoringSlots#17 1002 prontera,157,277,6 duplicate(PoringSlotsCh) PoringSlots#18 1113 prontera,155,277,6 duplicate(PoringSlotsCh) PoringSlots#19 1002 prontera,153,277,6 duplicate(PoringSlotsCh) PoringSlots#20 950 prontera,151,277,6 duplicate(PoringSlotsCh) PoringSlots#21 1002 prontera,149,277,6 duplicate(PoringSlotsCh) PoringSlots#22 1031 prontera,147,277,6 duplicate(PoringSlotsCh) PoringSlots#23 1113 prontera,145,277,6 duplicate(PoringSlotsCh) PoringSlots#24 1002 prontera,145,279,6 duplicate(PoringSlotsCh) PoringSlots#25 1388 prontera,145,281,6 duplicate(PoringSlotsCh) PoringSlots#26 1113 prontera,145,283,6 duplicate(PoringSlotsCh) PoringSlots#27 1002 prontera,145,285,6 duplicate(PoringSlotsCh) PoringSlots#28 1096 prontera,145,279,6 script PoringSlotsPoint 1578,1,1,{} - script PoringSlotsSetter -1,{ OnInit: //--TOP //--RIGHT //BOTTOM //LEFT setarray $PoringSlotsX,147,149,151,153,155,157,159,161,163, 165,165,165,165,165, 163,161,159,157,155,153,151,149,147,155, 144,144,144,144,144; setarray $PoringSlotsY,285,285,285,285,285,285,285,285,285, 285,283,281,279,277, 277,277,277,277,277,277,277,277,277,277, 279,281,283,285,287; set $@PoringSlotsPlaying, 0; set $@PoringSlotsRunning, 0; donpcevent "PoringSlotsChoose#01::OnResetRoom"; donpcevent "PoringSlotsChoose#02::OnResetRoom"; donpcevent "PoringSlotsChoose#03::OnResetRoom"; donpcevent "PoringSlotsChoose#04::OnResetRoom"; donpcevent "PoringSlotsChoose#05::OnResetRoom"; end; } prontera,154,281,6 script Poring Slots Play 563,{ mes "[ Poring Slots Play ]"; mes "Bienvenido a la ruleta poring"; mes "Antes de girar la ruleta, procura hacer tus apuestas ok? "; mes "- Se cobra [ ^9900FF" +$NMItem+ "^000000 ] ^00AA55"+getitemname($PSItem)+"^000000 por lanzamiento."; next; if(select("- Girar la Ruleta","- Cancelar")==2) close; if($@PoringSlotsPlaying==1){ mes "[ Poring Slots Play ]"; mes "Ya hay un lanzamiento en fila. Debes esperar que termine para iniciar otro."; close; } if(countitem($PSItem)<$NMItem){ mes "[ Poring Slots Play ]"; mes " No tienes la cantidad necesaria de monedas para girar la ruleta."; close; } delitem $PSItem,$NMItem; mes "[ Poring Slots Play ]"; mes "Comenzamos.."; donpcevent "Poring Slots Play::OnPoringSlotsAnnounce"; close; OnPoringSlotsAnnounce: set $@PoringSlotsPlaying,1; mapannounce "poring_w01","[ PoringSlots ] : Atencion a todos, la ruleta va a dar inicio en 1 Minuto a partir de este momento.",bc_map; sleep 20000; npctalk "La ruleta va a girar dentro 40 segundos, vayan cerrando sus apuestas."; sleep 20000; npctalk "Dentro de poco iniciara el lanzamiento! quedan 20 Segundos"; sleep 5000; npctalk "15 segundos restantes para el lanzamiento dela ruleta Poring."; sleep 5000; npctalk "Inicia el conteo regresivo de 10 segundos."; sleep 1000; npctalk "9"; sleep 1000; npctalk "8"; sleep 1000; npctalk "7"; sleep 1000; npctalk "6"; sleep 1000; npctalk "5"; sleep 1000; npctalk "4"; sleep 1000; npctalk "3"; sleep 1000; npctalk "2"; sleep 1000; npctalk "1"; sleep 1000; npctalk "It's Show Time!!"; donpcevent "Poring Slots Play::OnPoringSlotsPlaying"; end; OnPoringSlotsPlaying: set $@PoringSlotsRunning,1; set $PoringSlotsRound,$PoringSlotsRound+1; set $@PoringSlotsSpeed,10; for(set $@PoringSlotsRound,0;$@PoringSlotsRound<8;set $@PoringSlotsRound,$@PoringSlotsRound+1){ set $@PoringSlotsTemp,rand(20,40); for(set $@i,0;$@i<$@PoringSlotsTemp;set $@i,$@i+1){ movenpc "PoringSlotsPoint",$PoringSlotsX[$@PoringSlotsPoint],$PoringSlotsY[$@PoringSlotsPoint]; set $@PoringSlotsPoint,$@PoringSlotsPoint+1; if($@PoringSlotsPoint>=28) set $@PoringSlotsPoint,0; sleep $@PoringSlotsSpeed; } set $@PoringSlotsSpeed,$@PoringSlotsSpeed+10; } set $@PoringSlotsTemp,rand(5,10); for(set $@i,0;$@i<$@PoringSlotsTemp;set $@i,$@i+1){ movenpc "PoringSlotsPoint",$PoringSlotsX[$@PoringSlotsPoint],$PoringSlotsY[$@PoringSlotsPoint]; set $@PoringSlotsPoint,$@PoringSlotsPoint+1; if($@PoringSlotsPoint>=28) set $@PoringSlotsPoint,0; set $@PoringSlotsSpeed,$@PoringSlotsSpeed+100; sleep $@PoringSlotsSpeed; } set $@PoringSlotsTemp,rand(8,15); for(set $@i,0;$@i<$@PoringSlotsTemp;set $@i,$@i+1){ movenpc "PoringSlotsPoint",$PoringSlotsX[$@PoringSlotsPoint],$PoringSlotsY[$@PoringSlotsPoint]; set $@PoringSlotsPoint,$@PoringSlotsPoint+1; if($@PoringSlotsPoint>=28) set $@PoringSlotsPoint,0; set $@PoringSlotsSpeed,$@PoringSlotsSpeed+150; sleep $@PoringSlotsSpeed; } switch($@PoringSlotsPoint) { case 6:case 20: set $FSC_Win,0;break; case 1:case 2:case 5:case 7:case 9:case 12:case 13:case 15:case 17:case 19:case 21:case 24:case 27: set $FSC_Win,1;break; case 4:case 10:case 14:case 18:case 23:case 26: set $FSC_Win,2;break; case 3:case 11:case 16:case 22: set $FSC_Win,3;break; case 8:case 0: set $FSC_Win,4;break; case 25: set $FSC_Win,5;break; } specialeffect 577; if($FSC_Win==0) { npctalk "Ups.. se detuvo en un Ghostring"; sleep 1000; npctalk "Todos Pierden... Muahaha!!!"; } if($FSC_Win==1) { npctalk "La ruleta se detuvo en Poring, Aquel que aposto al poring ha ganado del doble de la inversion!"; sleep 1000; npctalk "Quien haya ganado, retire su premio!"; } if($FSC_Win==2) { npctalk "La ruleta se detuvo en Drops, Aquel que aposto al Drops, ganaria el Triple de la Inversion"; sleep 1000; npctalk "Quien haya ganado, retire su premio!"; } if($FSC_Win==3) { npctalk "La ruleta se detuvo en Poporing"; sleep 1000; npctalk "Gana x 5 tu inversion"; sleep 1000; npctalk "Retiren su premio si han ganado!"; } if($FSC_Win==4) { npctalk "La ruleta se detuvo en el exquisito Angeling.. multiplicando la inversion x9"; sleep 1000; npctalk "El feliz ganador puede retirar su botin!"; } if($FSC_Win==5) { npctalk "Oh por Dios, La ruleta se detuvo en el el Arch Angeling..."; sleep 1000; npctalk "Quien haya apostado al Arch Angeling habra multiplicado » 17 Veces lo que invirtio!!";} donpcevent "PoringSlotsChoose#01::OnResetRoom"; donpcevent "PoringSlotsChoose#02::OnResetRoom"; donpcevent "PoringSlotsChoose#03::OnResetRoom"; donpcevent "PoringSlotsChoose#04::OnResetRoom"; donpcevent "PoringSlotsChoose#05::OnResetRoom"; donpcevent "PoringSlotsChoose#0"+$FSC_Win+"::OnEffect"; set $@PoringSlotsPlaying,0; set $@PoringSlotsRunning,0; end; } function script FuncPoringSlotsChoose { if($@PoringSlotsRunning==1){ mes "[ Poring Slots Play ]"; mes "- Hay un juego en proceso"; mes "- debes esperar que termine para volver a apostar."; close; end; } set .@FSC_Poring,getarg(0); set .@FSC_GetPoint,getarg(1); if(getd("FSC_Coin"+.@FSC_Poring)>0){ if(getd("PoringSlotsRound"+.@FSC_Poring)==$PoringSlotsRound-1&&.@FSC_Poring==$FSC_Win){ set .@FSC_Temp,getd("FSC_Coin"+.@FSC_Poring)*.@FSC_GetPoint; getitem $PSRe,.@FSC_Temp; specialeffect2 18; setd "FSC_Coin"+.@FSC_Poring,0; mes "[ Poring Slots Play ]"; mes "- Ganaste la bolsa de ^00AA55"+getitemname($PSRe)+"^000000"; mes "- Premio [ ^AA3366"+.@FSC_Temp+"^000000 ]"; close; } } mes "[ Poring Slots Play ]"; mes "Deseas apostar ^00AA55"+getitemname($PSItem)+"^000000?"; mes "- Ganaras ^0000FF"+getitemname($PSRe)+" * "+.@FSC_GetPoint+"^000000 "; if(getd("FSC_Coin"+.@FSC_Poring)!=0&&getd("PoringSlotsRound"+.@FSC_Poring)==$PoringSlotsRound){ mes "- La bolsa actual es [ ^AA3333"+getd("FSC_Coin"+.@FSC_Poring)+"^000000 ]"; mes "- Habla conmigo despues de girar y te entregare tu premio."; close; } mes "^FF0000Consejos:^000000"; mes "El stack maximo es de ^FF000030,000 Coins^000000"; mes "Conserva monedas para pagar el lanzamiento."; next; input .@FSC_Input; mes "[ Poring Slots Play ]"; mes "- Haz ingresado [ ^2236BB"+.@FSC_Input+"^000000 ] unidades."; next; if(select("- Confirmar","- Cambie de idea")==2) close; if(countitem($PSItem)<.@FSC_Input){ mes "[ Poring Slots Play ]"; mes "No tienes suficientes [ ^2236BB"+getitemname($PSItem)+"^000000 ] para la cantidad que elegiste."; close; return; } if(.@FSC_Input==0){ mes "[ Poring Slots Play ]"; mes "Debes apostar como minimo ^0000FF1^000000 moneda.."; close; return; } delitem $PSItem,.@FSC_Input; setd "FSC_Coin"+.@FSC_Poring,.@FSC_Input; delwaitingroom "PoringSlotsChoose#0"+.@FSC_Poring; setd "$FSC_Coin"+.@FSC_Poring,getd("$FSC_Coin"+.@FSC_Poring)+.@FSC_Input; setd "$FSC_Player"+.@FSC_Poring,getd("$FSC_Player"+.@FSC_Poring)+1; waitingroom "Bets ["+getd("$FSC_Player"+.@FSC_Poring)+"] Inv ["+getd("$FSC_Coin"+.@FSC_Poring)+"]",0; setd "PoringSlotsRound"+.@FSC_Poring,$PoringSlotsRound; mes "[ Poring Slots Play ]"; mes "Tu apuesta ha sido registrada, todavia puedes apostar a otros porings o lanzar la ruleta."; mes "Buena suerte."; close; return; } prontera,149,290,3 script PoringSlotsChoose#01 1002,{ callfunc("FuncPoringSlotsChoose",1,2); end; OnEffect: for(set $@FSC_i,1;$@FSC_i<15;set $@FSC_i,$@FSC_i+1){ specialeffect 377; sleep 800; } end; OnResetRoom: delwaitingroom "PoringSlotsChoose#01"; set $FSC_Coin1,0; set $FSC_Player1,0; waitingroom"Bets [0] $ [0]",0; end; OnInit: waitingroom"Bets [0] $ [0]",0; end; } prontera,146,288,3 script PoringSlotsChoose#02 1113,{ callfunc("FuncPoringSlotsChoose",2,3); end; OnEffect: for(set $@FSC_i,1;$@FSC_i<15;set $@FSC_i,$@FSC_i+1){ specialeffect 377; sleep 800; } end; OnResetRoom: delwaitingroom "PoringSlotsChoose#02"; set $FSC_Coin2,0; set $FSC_Player2,0; waitingroom"Bets [0] $ [0]",0; end; OnInit: waitingroom"Bets [0] $ [0]",0; end; } prontera,162,290,3 script PoringSlotsChoose#03 1031,{ callfunc("FuncPoringSlotsChoose",3,5); end; OnEffect: for(set $@FSC_i,1;$@FSC_i<15;set $@FSC_i,$@FSC_i+1){ specialeffect 377; sleep 800; } end; OnResetRoom: delwaitingroom "PoringSlotsChoose#03"; set $FSC_Coin3,0; set $FSC_Player3,0; waitingroom"Bets [0] $ [0]",0; end; OnInit: waitingroom"Bets [0] $ [0]",0; end; } prontera,165,288,3 script PoringSlotsChoose#04 1096,{ callfunc("FuncPoringSlotsChoose",4,9); end; OnEffect: for(set $@FSC_i,1;$@FSC_i<15;set $@FSC_i,$@FSC_i+1){ specialeffect 377; sleep 800; } end; OnResetRoom: delwaitingroom "PoringSlotsChoose#04"; set $FSC_Coin4,0; set $FSC_Player4,0; waitingroom"Bets [0] $ [0]",0; end; OnInit: waitingroom"Bets [0] $ [0]",0; end; } prontera,155,294,4 script PoringSlotsChoose#05 1388 ,{ callfunc("FuncPoringSlotsChoose",5,17); end; OnEffect: for(set $@FSC_i,1;$@FSC_i<15;set $@FSC_i,$@FSC_i+1){ specialeffect 377; sleep 800; } end; OnResetRoom: delwaitingroom "PoringSlotsChoose#05"; set $FSC_Coin5,0; set $FSC_Player5,0; waitingroom"Bets [0] $ [0]",0; end; OnInit: waitingroom"Bets [0] $ [0]",0; end; }
-
Hey, guys!
Could someone with better knowledge help me solve this problem?
The following happens... the event starts normally, everything goes perfectly until it's time to really get going...
Even though the event has started, I can't cross the starting line.
The emulator does not show any errors.I'm working on an old project.
eAthena..
Many people here have already given me ideas for using current and updated emulators.
I have a lot of modifications in the sourcer and I wouldn't know how to update them and I don't think I would even know where I applied all these mods HAHA if anyone can help me I would really appreciate it.// - NPC Corrida Maluca // - Corrigida por: Thor ( Renato Guedes ) 100% sem Bugs //------------------------------------------------------- prontera,159,151,3 script Crazy Race 715,{ set @npc$,"[^008000Crazy Race^000000]"; mes @npc$; mes "Hi "+strcharinfo(0)+"!"; mes "Welcome to the Crazy Race event portal."; mes "What do you want?"; switch(select("- Join the event","- Info","Exit")) { next; case 1: if (!$CMisopen) callsub mesclose, "Sorry, Crazy Race hasn't started yet!"; else if (countitem(12016) > 0) callsub mesclose, "You cannot enter Wind Potion!"; else if (countitem(662) > 0) callsub mesclose, "You cannot sign in with Official Badge!"; else if (countitem(12028) > 0) callsub mesclose, "You cannot enter Thunderbox!"; else if (checkriding()) callsub mesclose, "You cannot sign in with PecoPeco!"; else if (CheckCart()) callsub mesclose, "You cannot sign in with Cart!"; mes @npc$; mes "Good luck!"; for(set @i,0; @i<=225; set @i,@i+1){sc_end @i;} set $Campeao,0; warp "turbo_n_1",54,364; close; case 2: mes @npc$; mes "The event will require you very quickly and boldly."; next; mes @npc$; mes "The Crazy Race occurs every day every 4 hours."; next; mes @npc$; mes "After the start you will need to go through various obstacles and traps on 9 race tracks."; next; mes @npc$; mes "If you can reach 1st, 2nd or 3rd place, you will receive exclusive prizes according to your position."; close; case 3: mes @npc$; mes "Ok, see you next time!"; close; } mesclose: mes getarg(0); close; OnClock1220: set $CMisopen, 1; announce "[Crazy Race]: The race is about to start, you only have 5 minutes!",bc_yellow|bc_all; end; OnClock1225: mapannounce "turbo_n_1","3..",bc_yellow|bc_all; sleep 1000; mapannounce "turbo_n_1","2..",bc_yellow|bc_all; sleep 1000; mapannounce "turbo_n_1","1..",bc_yellow|bc_all; sleep 1000; set $CMisopen, 0; announce "[Crazy Race]: The race has started!",bc_yellow|bc_all; end; } turbo_n_1,63,350,5 script Checagem -1,1,30,{ OnInit: atcommand "@skilloff"; end; OnClock1050: set $Check, 0; end; OnClock1055: set $Check, 1; end; OnTouch: if($Check == 0){ mes "[Crazy race]"; mes "==================================="; mes "burned the start!"; mes "==================================="; sleep2 1200; warp "turbo_n_1", 54, 364; end; } } turbo_n_1,370,57,0 script Checagem2 -1,0,30,{ end; OnTouch: if($Campeao == 0) { announce "|Corrida Maluca| "+strcharinfo(0)+" Acaba de vencer a Corrida Maluca",0; set $Campeao,1; set @Ganhou,1; warp "turbo_n_1",383,161; } else if($Campeao == 1) { announce "|Corrida Maluca| "+strcharinfo(0)+" Ficou com o segundo lugar na Corrida Maluca!",0; set $Campeao,2; set @Ganhou,2; warp "turbo_n_1",383,161; } else if($Campeao == 2) { announce "|Corrida Maluca| "+strcharinfo(0)+" Ficou com o terceiro lugar na Corrida Maluca!",0; set $Campeao,3; set @Ganhou,3; warp "turbo_n_1",383,161; } else { warp "prontera",150,171; } end; } turbo_n_1,384,168,5 script Premiador 866,{ mes "[Premiador]"; if(@Ganhou == 1) { mes "Parabéns pelo primeiro lugar!"; mes "Aqui está seu prêmio!"; getitem $Prize1,1; set @Ganhou,0; } else if(@Ganhou == 2) { mes "Parabéns pelo segundo lugar!"; mes "Aqui está seu item!"; getitem $Prize2,2; } else if(@Ganhou == 3) { mes "Parabéns pelo terceiro lugar!"; mes "Aqui está seu item!"; getitem $Prize3,2; set @Ganhou,0; } else { mes "O que está fazendo aqui?"; } next; close2; warp "prontera",150,171; end; } turbo_n_1,56,376,5 script Maluquinho 715,{ mes "Você quer voltar para Prontera?"; next; if(select("Sim:Não")==1) { mes "Ok, boa viagem"; close2; warp "prontera", 155, 177; end; } mes "Ok, volte quando quiser voltar para a cidade!"; close; } //Portais turbo_n_1,169,364,0 script Corrida1 45,1,1,{ set .@wrpuser,rand(1,4); if (.@wrpuser == 1) warp "turbo_n_1",210,368; else if (.@wrpuser == 2) warp "turbo_n_1",211,355; else if (.@wapuser == 3) warp "turbo_n_1",247,386; else warp "turbo_n_1",251,353; end; } turbo_n_1,233,367,0 warp Corrida2 1,1,turbo_n_1,316,365 turbo_n_1,385,366,0 warp Corrida3 1,1,turbo_n_1,11,267 turbo_n_1,114,191,0 warp Corrida4 1,1,turbo_n_1,251,200 turbo_n_1,217,212,0 warp Corrida5 1,1,turbo_n_1,268,275 turbo_n_1,389,275,0 warp Corrida6 1,1,turbo_n_1,4,91 turbo_n_1,96,19,0 warp Corrida7 1,1,turbo_n_1,176,10 turbo_n_1,223,65,0 warp Corrida8 1,1,turbo_n_1,306,46 //Mapflags turbo_n_1 mapflag nosave turbo_n_1 mapflag nomemo turbo_n_1 mapflag nopenalty turbo_n_1 mapflag nobranch turbo_n_1 mapflag nowarp turbo_n_1 mapflag nowarpto turbo_n_1 mapflag noteleport turbo_n_1 mapflag noicewall turbo_n_1 mapflag noreturn turbo_n_1 mapflag noskill // Armadilhas turbo_n_1,118,377,0 script trap_a#n_1-1::TurboLogRace -1,44,1,{ end; OnTouch: set .@dropuser,rand(1,3); if (.@dropuser == 1) warp "turbo_n_1",72,372; else if (.@dropuser == 2) warp "turbo_n_1",72,365; else warp "turbo_n_1",72,357; end; } turbo_n_1,77,375,0 duplicate(TurboLogRace) trap_a#n_1-14 -1,3,1 turbo_n_1,82,375,0 duplicate(TurboLogRace) trap_a#n_1-15 -1,1,1 turbo_n_1,82,372,0 duplicate(TurboLogRace) trap_a#n_1-16 -1,0,2 turbo_n_1,83,372,0 duplicate(TurboLogRace) trap_a#n_1-17 -1,0,2 turbo_n_1,97,374,0 duplicate(TurboLogRace) trap_a#n_1-18 -1,1,2 turbo_n_1,98,374,0 duplicate(TurboLogRace) trap_a#n_1-19 -1,1,2 turbo_n_1,122,372,0 duplicate(TurboLogRace) trap_a#n_1-20 -1,2,4 turbo_n_1,125,374,0 duplicate(TurboLogRace) trap_a#n_1-21 -1,0,4 turbo_n_1,132,374,0 duplicate(TurboLogRace) trap_a#n_1-22 -1,7,2 turbo_n_1,156,374,0 duplicate(TurboLogRace) trap_a#n_1-23 -1,6,2 turbo_n_1,163,375,0 duplicate(TurboLogRace) trap_a#n_1-24 -1,0,3 turbo_n_1,164,377,0 duplicate(TurboLogRace) trap_a#n_1-25 -1,1,1 // second line turbo_n_1,76,369,0 duplicate(TurboLogRace) trap_b#n_1-23 -1,2,2 turbo_n_1,79,369,0 duplicate(TurboLogRace) trap_b#n_1-24 -1,0,2 turbo_n_1,77,366,0 duplicate(TurboLogRace) trap_b#n_1-25 -1,3,0 turbo_n_1,85,366,0 duplicate(TurboLogRace) trap_b#n_1-26 -1,5,1 turbo_n_1,87,363,0 duplicate(TurboLogRace) trap_b#n_1-27 -1,2,1 turbo_n_1,88,368,0 duplicate(TurboLogRace) trap_b#n_1-28 -1,2,5 turbo_n_1,92,370,0 duplicate(TurboLogRace) trap_b#n_1-29 -1,1,3 turbo_n_1,98,368,0 duplicate(TurboLogRace) trap_b#n_1-30 -1,4,1 turbo_n_1,109,371,0 duplicate(TurboLogRace) trap_b#n_1-31 -1,7,2 turbo_n_1,110,368,0 duplicate(TurboLogRace) trap_b#n_1-32 -1,7,0 turbo_n_1,113,366,0 duplicate(TurboLogRace) trap_b#n_1-33 -1,3,2 turbo_n_1,117,368,0 duplicate(TurboLogRace) trap_b#n_1-34 -1,0,5 turbo_n_1,123,364,0 duplicate(TurboLogRace) trap_b#n_1-35 -1,6,1 turbo_n_1,136,368,0 duplicate(TurboLogRace) trap_b#n_1-36 -1,8,1 turbo_n_1,136,366,0 duplicate(TurboLogRace) trap_b#n_1-37 -1,8,0 turbo_n_1,144,370,0 duplicate(TurboLogRace) trap_b#n_1-38 -1,2,3 turbo_n_1,147,370,0 duplicate(TurboLogRace) trap_b#n_1-39 -1,0,3 turbo_n_1,155,369,0 duplicate(TurboLogRace) trap_b#n_1-40 -1,7,0 turbo_n_1,155,368,0 duplicate(TurboLogRace) trap_b#n_1-41 -1,7,0 turbo_n_1,151,367,0 duplicate(TurboLogRace) trap_b#n_1-42 -1,3,0 turbo_n_1,153,366,0 duplicate(TurboLogRace) trap_b#n_1-43 -1,1,0 turbo_n_1,155,367,0 duplicate(TurboLogRace) trap_b#n_1-44 -1,0,1 //third line turbo_n_1,78,362,0 duplicate(TurboLogRace) trap_c#n_1-29 -1,4,1 turbo_n_1,78,359,0 duplicate(TurboLogRace) trap_c#n_1-30 -1,4,1 turbo_n_1,83,362,0 duplicate(TurboLogRace) trap_c#n_1-31 -1,0,1 turbo_n_1,88,359,0 duplicate(TurboLogRace) trap_c#n_1-32 -1,5,1 turbo_n_1,89,357,0 duplicate(TurboLogRace) trap_c#n_1-33 -1,1,1 turbo_n_1,92,390,0 duplicate(TurboLogRace) trap_c#n_1-34 -1,1,1 turbo_n_1,92,357,0 duplicate(TurboLogRace) trap_c#n_1-35 -1,1,1 turbo_n_1,98,364,0 duplicate(TurboLogRace) trap_c#n_1-36 -1,6,1 turbo_n_1,98,362,0 duplicate(TurboLogRace) trap_c#n_1-37 -1,6,0 turbo_n_1,106,364,0 duplicate(TurboLogRace) trap_c#n_1-38 -1,2,2 turbo_n_1,107,360,0 duplicate(TurboLogRace) trap_c#n_1-39 -1,1,2 turbo_n_1,109,360,0 duplicate(TurboLogRace) trap_c#n_1-40 -1,0,2 turbo_n_1,112,361,0 duplicate(TurboLogRace) trap_c#n_1-41 -1,3,1 turbo_n_1,116,359,0 duplicate(TurboLogRace) trap_c#n_1-42 -1,0,2 turbo_n_1,117,359,0 duplicate(TurboLogRace) trap_c#n_1-43 -1,0,2 turbo_n_1,116,356,0 duplicate(TurboLogRace) trap_c#n_1-44 -1,0,2 turbo_n_1,117,356,0 duplicate(TurboLogRace) trap_c#n_1-45 -1,0,2 turbo_n_1,129,360,0 duplicate(TurboLogRace) trap_c#n_1-46 -1,12,1 turbo_n_1,129,358,0 duplicate(TurboLogRace) trap_c#n_1-47 -1,12,0 turbo_n_1,132,357,0 duplicate(TurboLogRace) trap_c#n_1-48 -1,2,1 turbo_n_1,137,357,0 duplicate(TurboLogRace) trap_c#n_1-49 -1,2,1 turbo_n_1,147,363,0 duplicate(TurboLogRace) trap_c#n_1-50 -1,16,1 turbo_n_1,149,365,0 duplicate(TurboLogRace) trap_c#n_1-51 -1,1,0 turbo_n_1,158,362,0 duplicate(TurboLogRace) trap_c#n_1-52 -1,1,4 turbo_n_1,154,360,0 duplicate(TurboLogRace) trap_c#n_1-53 -1,2,2 turbo_n_1,161,360,0 duplicate(TurboLogRace) trap_c#n_1-54 -1,1,2 turbo_n_1,161,365,0 duplicate(TurboLogRace) trap_c#n_1-55 -1,1,0 turbo_n_1,160,366,0 duplicate(TurboLogRace) trap_c#n_1-56 -1 //fourth line turbo_n_1,79,353,0 duplicate(TurboLogRace) trap_d#n_1-16 -1,5,2 turbo_n_1,85,354,0 duplicate(TurboLogRace) trap_d#n_1-17 -1,0,1 turbo_n_1,99,353,0 duplicate(TurboLogRace) trap_d#n_1-18 -1,14,0 turbo_n_1,99,352,0 duplicate(TurboLogRace) trap_d#n_1-19 -1,14,0 turbo_n_1,99,356,0 duplicate(TurboLogRace) trap_d#n_1-20 -1,3,3 turbo_n_1,103,356,0 duplicate(TurboLogRace) trap_d#n_1-21 -1,0,3 turbo_n_1,108,354,0 duplicate(TurboLogRace) trap_d#n_1-22 -1,5,1 turbo_n_1,112,356,0 duplicate(TurboLogRace) trap_d#n_1-23 -1,0,1 turbo_n_1,113,356,0 duplicate(TurboLogRace) trap_d#n_1-24 -1,0,1 turbo_n_1,123,353,0 duplicate(TurboLogRace) trap_d#n_1-25 -1,3,2 turbo_n_1,127,353,0 duplicate(TurboLogRace) trap_d#n_1-26 -1,0,2 turbo_n_1,145,352,0 duplicate(TurboLogRace) trap_d#n_1-27 -1,17,1 turbo_n_1,152,354,0 duplicate(TurboLogRace) trap_d#n_1-28 -1,10,1 turbo_n_1,145,357,0 duplicate(TurboLogRace) trap_d#n_1-29 -1,1,2 turbo_n_1,148,357,0 duplicate(TurboLogRace) trap_d#n_1-30 -1,1,2
-
Guys, I got the 2007, here it is. in case anyone needs it
-
is in this search lol
-
27 minutes ago, Yukaiii said:
Does anyone have this rare map to share?
I looked everywhere and couldn't find it...Thank you in advance!
I have these maps.. but the 2007rwc is difficult
-
Does anyone have this rare map to share?
I looked everywhere and couldn't find it...Thank you in advance!
-
1 hour ago, Mice said:
Try this
if ( getarraysize(.@liga$) == 0 || .@liga$[0] == "") {
the npc is showing this error
[Error]: npc_click: npc_id != 0
it does not display any additional errors in the console.
everything appears on the map correctly.and it is not counting the pvp rank
Quote// -------------- PVP RATING (SQL ONLY)! ----------------- //
// ---- fez Kubix./*
tabelas:CREATE TABLE `pk_rating` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`char_id` varchar(30) NOT NULL,
`kill_count` int(11) NOT NULL,
`die_count` int(11) NOT NULL,
`score` int(11) NOT NULL,
`league` varchar(30) NOT NULL,
PRIMARY KEY (`id`)
);*/
- script PvP_FunctionS -1,{
OnPCKillEvent:
getmapxy .@charmap$,.@x,.@y,0;
if(strcharinfo(3) == "prontera") end;
for(set .@i,0; .@i <=getarraysize($Rating_Location$); set .@i,.@i+1){
if(.@charmap$ == $Rating_Location$[.@i]){
callfunc "Announcing"; // Anúncios metragens e sons.
callfunc "PKGetRating"; // A função de emitir uma classificação.
end;
}
}
end;OnMKReset: set @MultiKIll, 0;
end;
}
- script PvP_FunctionSS -1,{
OnPCDieEvent:
if(strcharinfo(3) == "prontera") end;
if((killerrid == getcharid(0)) || (killerrid < 150000)) end;
// Verificando no mapa.
getmapxy .@charmap$,.@x,.@y,0;
for(set .@i,0; .@i <=getarraysize($Rating_Location$); set .@i,.@i+1){
if(.@charmap$ == $Rating_Location$[.@i]){
if((killerrid == getcharid(0)) || (killerrid < 150000)) end;
sleep2 500;
deltimer "PvP_FunctionS::OnMKReset";
if(@MultiKill > 0)set @MultiKill, 0;
if(@KillingSpree > 0)set @KillingSpree, 0;
if(@PKKills >0)set @PKKills, 0;
callfunc "PKTakeRating"; // Classificação Minusuem.
end;
}
}
end;
}- script PvP_LogoutEvent -1,{
OnPCLogoutEvent:
if(strcharinfo(3) == "prontera") end;
getmapxy .@charmap$,.@x,.@y,0;
if ( getarraysize(.@liga$) == 0 || .@liga$[0] == "") {
if(.@charmap$ == $Rating_Location$[.@i]){
if(@MultiKill > 0)set @MultiKill, 0;
if(@KillingSpree > 0)set @KillingSpree, 0;
if(@PKKills >0)set @PKKills, 0;
deltimer "PvP_FunctionS::OnMKReset";
end;
}
}
end;
}function script PKGetRating {
set PKRatingF, 0; // Classificações são adicionados à base.
set @PKKills, @PKKills + 1; // Matança.
set PKRatingF, PKRatingF + 2 * (rand(2,3) + @PCKills);
set MPKAcc, MPKAcc + 2 * (rand(2,3) + @PCKills); // a avaliação principal
set PCKills, PCKills + 1; // contador de Kills
callfunc "PKLeagues";
dispbottom "[PvP Ranking]: Classificação [ +"+PKRatingF+" ].";
query_sql ("SELECT `char_id` FROM `pk_rating` WHERE `char_id` = '"+strcharinfo(0)+"' ", .@existe$);
if(.@existe$ != ""){
query_sql "UPDATE `pk_rating` SET `kill_count` = '"+PCKills+"', `score` = '"+MPKAcc+"' WHERE `char_id` = '"+strcharinfo(0)+"'";
}else{
query_sql "INSERT INTO `pk_rating` (char_id,kill_count,score,league) VALUES ('"+strcharinfo(0)+"','"+PCKills+"','"+MPKAcc+"','Bronze')";
}
end;
}function script PKTakeRating {
set PKRatingF, 0; // Classificações são adicionados à base.
set @PKDies, @PKDies + 1; // Uma série de mortes
set PKRatingF, PKRatingF - 2 * (rand(2,3) + @PCDies);
set MPKAcc, MPKAcc - 2 * (rand(2,3) + @PCDies); // A avaliação principal.
set PCDies, PCDies + 1; // Mortes balcão.
if( MPKAcc < 0 ) { set MPKAcc,0; }
callfunc "PKLeagues";
dispbottom "[PvP Ranking]: Classificação [ "+PKRatingF+" ].";
query_sql("SELECT `char_id` FROM `pk_rating` WHERE `char_id` = '"+strcharinfo(0)+"' ", .@existe$);
if(.@existe$ != ""){
query_sql "UPDATE `pk_rating` SET `die_count` = '"+PCDies+"', `score` = '"+MPKAcc+"' WHERE `char_id` = '"+strcharinfo(0)+"'";
}else{
query_sql "INSERT INTO `pk_rating` (char_id,die_count,score,league) VALUES ('"+strcharinfo(0)+"','"+PCDies+"','"+MPKAcc+"','Bronze')";
}
end;
}
// PK Top
prontera,139,180,5 script PvP Ranking 857,{
/*
mes " ";
cutin "unranked",4;
next;
mes " ";
cutin "bronze",4;
next;
mes " ";
cutin "prata",4;
next;
mes " ";
cutin "ouro",4;
next;
mes " ";
cutin "platina",4;
next;
mes " ";
cutin "diamante",4;
next;
mes " ";
cutin "mestre",4;
next;
mes " ";
cutin "desafiante",4;
next;
*/
mes "[PvP Ranking]";
mes "Mostra os Players com uma classificação maior que 0.";
mes "Sua nota pessoal: " + MPKAcc;
query_sql("SELECT `league` FROM `pk_rating` WHERE `char_id` = '"+strcharinfo(0)+"' ", .@liga$);
if ( .@liga$ == "" ) {
cutin "unranked",4; mes "Sua Liga: Unranked";
} else {
mes "Sua Liga: "+.@liga$;
for(set @i,0; @i < getarraysize($LeagueName$); set @i,@i+1 ){
if($LeagueName$[@i] != "") {
if(MPKAcc >= $MinRating[@i] && MPKAcc <= $MaxRating[@i]) cutin $CutinName$[@i], 4;
}
}
}
query_sql("SELECT `league` FROM `pk_rating` WHERE `char_id` = '"+strcharinfo(0)+"' ", .@liga$);
if ( .@liga$ == "Bronze" ) { cutin "bronze",4; } else if ( .@liga$ == "Desafiante" ) { cutin "desafiante",4; }
next;
if(select("> TOP PvP:> Sair") == 2) {
close2;
cutin "", 255;
end;
}
query_sql "SELECT `char_id`,`kill_count`,`die_count`,`score`,`league` FROM `pk_rating` ORDER BY `score` DESC LIMIT 10", .@cname$, .@kcount, .@dcount, .@rscore, .@leaguel$;
mes "Nome / Kill / Death / Ratio / Liga";
for(set .i, 0; .i < 10; set .i, .i + 1) {
if(.@cname$[.i] != "" && .@rscore[.i] > 0) {
mes "" + (.i+1) + ".^FF0000" + .@cname$[.i] + "^000000/" + .@kcount[.i] + "/" + .@dcount[.i] + "/^6699DD" + .@rscore[.i] + "^000000/^0000FF" + .@leaguel$[.i] + "^000000.";
} else {
mes (.i+1)+".Ninguém";
}
}
close2;
cutin "", 255;
end;
OnInit:
// === Settings
set $FirstBlood, 0;
set $Sound, 1;
set $Announce, 1;
setarray $KS_Ann$[0],"IS ON A KILLING SPREE!!!","IS ON A RAMPAGE!!!","IS UNSTOPPABLE!!!","IS DOMINATING!!!","IS G-G-G-GODLIKE!!!","IS LEGENDARY!!!";
setarray $MK_Ann$[0],"HAS SCORED A DOUBLE KILL!!!","HAS SCORED A TRIPLE KILL!!!","HAS SCORED A QUADRA KILL!!!","HAS SCORED A PENTA KILL!!!!";
setarray $Rating_Location$[0],"guild_vs1","guild_vs3","2009rwc_01","2009rwc_02"; // Adicione a sua localização aqui.
setarray $LeagueName$[0], "Bronze","Prata","Ouro","Platina","Mestre","Diamante","Desafiante";
setarray $MinRating[0], 0, 1000, 2000, 3000, 4000, 5000, 6000;
setarray $MaxRating[0], 999, 1999, 2999, 3999, 4999, 5999, 100000;
setarray $CutinName$[0], "bronze","prata","ouro","platina","diamante","mestre","desafiante";
// === end of settingswhile(1) {
query_sql "SELECT `char_id`,`score` FROM `pk_rating` ORDER BY `score` DESC LIMIT 1", .@char_id$, .@score;
if(.@char_id$ == "" || .@score <= 0) waitingroom "[ PvP Ranking ]", 0;
else waitingroom "[Top PvP]: " + .@char_id$ + " ["+.@score+"] ", 0;
sleep 60000;
delwaitingroom;
}
}function script Announcing {
if(!$FirstBlood){
set $FirstBlood,1;
if($Announce) announce strcharinfo(0) + " HAS DRAW A FIRST BLOOD!",bc_map|bc_red;
if($Sound){
soundeffectall "firstblood.wav",strcharinfo(3);
}
}
set @KillingSpree, @KillingSpree +1;
set @MultiKill, @MultiKill +1;
deltimer "PvP_FunctionS::OnMKReset";
addtimer 10000, "PvP_FunctionS::OnMKReset";
if($Announce){
switch(@KillingSpree){
case 0: case 1: case 2: break;
case 3: mapannounce strcharinfo(3),strcharinfo(0)+" " +$KS_Ann$[@KillingSpree -3],bc_all; break;
case 4: mapannounce strcharinfo(3),strcharinfo(0)+" " +$KS_Ann$[@KillingSpree -3],bc_all; break;
case 5: mapannounce strcharinfo(3),strcharinfo(0)+" " +$KS_Ann$[@KillingSpree -3],bc_all; break;
case 6: mapannounce strcharinfo(3),strcharinfo(0)+" " +$KS_Ann$[@KillingSpree -3],bc_all; break;
case 7: mapannounce strcharinfo(3),strcharinfo(0)+" " +$KS_Ann$[@KillingSpree -3],bc_all; break;
}
}
if(@KillingSpree == 1){
if($Sound) soundeffectall "firstblood.wav",strcharinfo(3);
}
if(@KillingSpree >= 3 && @KillingSpree <= 7){
if($Sound) soundeffectall "killingspree"+@KillingSpree+".wav", 0, strcharinfo(3);
}
if($Announce){
switch(@MultiKill){
case 0: case 1: break;
case 2: mapannounce strcharinfo(3),strcharinfo(0)+" " +$MK_Ann$[@MultiKill -2],bc_all; break;
case 3: mapannounce strcharinfo(3),strcharinfo(0)+" " +$MK_Ann$[@MultiKill -2],bc_all; break;
case 4: mapannounce strcharinfo(3),strcharinfo(0)+" " +$MK_Ann$[@MultiKill -2],bc_all; break;
case 5: mapannounce strcharinfo(3),strcharinfo(0)+" " +$MK_Ann$[@MultiKill -2],bc_all; break;
}
}
sleep2 1500;
if(@MultiKill >= 2 && @MultiKill <= 5) {
if($Sound) soundeffectall "multikill"+@MultiKill+".wav", 0, strcharinfo(3);
}if(@KillingSpree < 3){
if($Announce) mapannounce strcharinfo(3),strcharinfo(0)+" HAS SLAIN A "+rid2name(killedrid),bc_all;
}
if($Sound){
soundeffectall "slain.wav",0,strcharinfo(3);
}if(@KillingSpree >= 7){
if($Announce) mapannounce strcharinfo(3),strcharinfo(0)+" IS LEGENDARY!!!",bc_all;
if($Sound){
soundeffectall "legendary.wav",0,strcharinfo(3);
}
}if(@MultiKill > 5) set @MultiKill, 0;
return;
}// a Liga das
function script PKLeagues {
query_sql "SELECT `league` FROM `pk_rating` WHERE `char_id` = '"+strcharinfo(0)+"'", .@league$;
if ( getarraysize(.@liga$) == 0 || .@liga$[0] == "") {
if($LeagueName$[@i] != "") {
if(MPKAcc >= $MinRating[@i] && MPKAcc <= $MaxRating[@i] && .@league$ != $LeagueName$[@i]){
if(.@league$ == "Desafiante") return;
query_sql "UPDATE `pk_rating` SET `league` = '"+$LeagueName$[@i]+"' WHERE `char_id` = '"+strcharinfo(0)+"'";
dispbottom "[PvP Info] : Sua nova divisão : " + $LeagueName$[@i] + ".";
cutin $CutinName$[@i], 4;
sleep2 3000;
cutin "", 255;
}
}
}
return;
} -
Good guys, how are you?
Could someone help me with an excerpt from this script?
Quotequery_sql("SELECT `league` FROM `pk_rating` WHERE `char_id` = '"+strcharinfo(0)+"' ", .@liga$);
if ( .@liga$ == "" ) {
cutin "unranked",4; mes "Sua Liga: Unranked";
} else {
mes "Sua Liga: "+.@liga$;
for(@i = 0; @i < getarraysize($LeagueName$); @i ++){
if($LeagueName$[@i] != "") {
if(MPKAcc >= $MinRating[@i] && MPKAcc <= $MaxRating[@i]) cutin $CutinName$[@i], 4;
}Quotefunction script PKLeagues {
query_sql "SELECT `league` FROM `pk_rating` WHERE `char_id` = '"+strcharinfo(0)+"'", .@league$;
for(@i = 0; @i < getarraysize($LeagueName$); @i ++){
if($LeagueName$[@i] != "") {
if(MPKAcc >= $MinRating[@i] && MPKAcc <= $MaxRating[@i] && .@league$ != $LeagueName$[@i]){
if(.@league$ == "Desafiante") return;I think it would be something like this... " for(set .@i,0; @i < getarraysize($LeagueName$); @i ++){ " but the error jumps forward @i ++){ !
The emulator I'm using is eAthena... if anyone still remembers it and can help me, I'd be very grateful!
Quote -
Too bad I can't download anything. HAHAHA
-
9 hours ago, SpOOn said:
Não, é local
é rapaz.. então não sei oque pode ser.
-
10 hours ago, SpOOn said:
Already checked it and it's correct. Still got the problem
Is your server hosted?
I had a similar problem... but not with monsters, the skill had two hits,
examples: occult impact, holy light etc..
I used a host with hosting in the United States.
I switched to a host with hosting in my country and this stopped. -
Guys, would this be a request or support HAHA
Does anyone have or know how to make this mod compatible with eAthena?Quotedb/castle_db.txt | 1 +
src/map/battle.c | 7 +++++++
src/map/battle.h | 1 +
3 files changed, 9 insertions(+)diff --git a/db/castle_db.txt b/db/castle_db.txt
index 5b2fd60..6cdf111 100644
--- a/db/castle_db.txt
+++ b/db/castle_db.txt
@@ -43,3 +43,4 @@
31,arug_cas03,Horn,Manager#arug_cas03 // kRO : Horn
32,arug_cas04,Gefn,Manager#arug_cas04 // kRO : Gefn
33,arug_cas05,Bandis,Manager#arug_cas05 // kRO : Bandis
+100,guild_vs1,King of Emperium Hill,koe
\ No newline at end of file
diff --git a/src/map/battle.c b/src/map/battle.c
index 7859f95..9120b33 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7001,6 +7001,13 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
if( (s_bl = battle_get_master(src)) == NULL )
s_bl = src;
+ if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {
+ struct map_session_data *sd = BL_CAST( BL_PC, s_bl );
+ if ( ( ( (TBL_MOB*)target )->mob_id == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
+ ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) )
+ return 0;
+ }
+
if ( s_bl->type == BL_PC ) {
switch( t_bl->type ) {
case BL_MOB: // Source => PC, Target => MOB
diff --git a/src/map/battle.h b/src/map/battle.h
index 5cdaebb..d7c14b5 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -7,6 +7,7 @@
#include "../common/mmo.h"
#include "../config/core.h"
#include "map.h" //ELE_MAX
+#include "mapreg.h"
/// State of a single attack attempt; used in flee/def penalty calculations when mobbed
typedef enum damage_lv {
I even tried some modifications here, but I don't have good knowledge of src code.
shows this error in the emulator.
Quotebattle.c:3584:30: error: ‘TBL_MOB’ has no member named ‘mob_id’
if ( ( ( (TBL_MOB*)target )->mob_id == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "pvp_y_1-5" ) ) &&Anyone who can help, thank you in advance
Pet able to use mob avail ?
in Source Requests
Posted
responding to this topic after a long time.. maybe it will be useful for someone.