Jump to content

Yoona

Members
  • Posts

    567
  • Joined

  • Last visited

Everything posted by Yoona

  1. Yoona

    King Of Hill

    actually, i already put the map in caslte_db.txt but the problem was, the owner of the Emperium still can Hit it. im using this script - script KoE -1,{ OnInit: disablenpc "The King#KoE"; disablenpc "Exit#KoE"; end; OnWhisperGlobal: if ( getgmlevel() < 99 ) end; else if ( compare ( @whispervar0$, "on" ) ) goto L_start; else if ( compare ( @whispervar0$, "off" ) ) goto L_end; else end; L_end: OnClock0115: announce "The King of Emperium Hill is over!", 0; set .koe_start, 0; enablenpc "Exit#KoE"; disablenpc "The King#KoE"; killmonsterall "guild_vs1"; end; L_start: OnClock0111: announce "The King of Emperium Hill has begun!", 0; set .koe_start, 1; enablenpc "The King#KoE"; disablenpc "Exit#KoE"; set $koegid, 0; donpcevent "::OnRevKoE"; maprespawnguildid "guild_vs1", $koegid, 6; monster "guild_vs1",49,49,"King Of Hell Emperium",1288,1,"KoE::OnEmpDead"; end; OnEmpDead: set $koegid, getcharid(2); announce "The current King of Emperium Hill is the [" + strcharinfo(2) + "] guild.", 0; donpcevent "::OnRevKoE"; maprespawnguildid "guild_vs1", $koegid, 6; sleep 500; if ( .koe_start ) monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead"; end; } //------------------------ prontera,156,165,0 warp The King#KoE 2,2,n_castle,102,102 //n_castle,183,181,0 warp The King#KoE2 2,2,guild_vs1,91,50 //n_castle,187,15,0 warp The King#KoE3 2,2,guild_vs1,49,7 //n_castle,18,13,0 warp The King#KoE4 2,2,guild_vs1,7,50 //------------------------ // KoE Entrance prontera,165,190,4 script The King Of Emperium#KoE 99,{ mes "[The King]"; if ( getcharid(2) == 0 ) { mes "You must have a guild to participate in the ^FF0000King of Emperium Hill Tournament^000000."; close; } mes "Hello."; mes "Would you like to participate in the ^FF0000King of Emperium Hill Tournament^000000?"; if ( select ( "Yes", "No" ) == 2 ) close; switch( rand(1,4) ){ case 1: warp "guild_vs1", 50, 88; end; case 2: warp "guild_vs1", 88, 50; end; case 3: warp "guild_vs1", 50, 11; end; case 4: warp "guild_vs1", 11, 50; end; } } // KoE Exit guild_vs1,49,56,5 script Exit#KoE 51,{ mes "[Exit]"; mes "See ya."; if ( getcharid(2) == $koegid && getguildmaster(getcharid(2)) == strcharinfo(0) ) getitem 22002, 1; // configure prize here next; warp "Save",0,0; close; } // Flags guild_vs1,49,38,4 script King of Emperium Hill#1::koe_flag 722,{ set .@gid, $koegid; if ( .@gid == 0 ) end; mes "[King of Emperium Hill]"; mes "The Current King of Emperium Hill is the ["+ getguildname(.@gid) +"] guild."; close; OnRevKoE: flagemblem $koegid; end; } guild_vs1,61,49,6 duplicate(koe_flag) King of Emperium Hill#2 722 guild_vs1,38,49,2 duplicate(koe_flag) King of Emperium Hill#3 722 guild_vs1,49,61,0 duplicate(koe_flag) King of Emperium Hill#4 722 guild_vs1 mapflag gvg guild_vs1 mapflag nobranch guild_vs1 mapflag nomemo guild_vs1 mapflag nopenalty guild_vs1 mapflag noreturn guild_vs1 mapflag nosave SavePoint guild_vs1 mapflag noteleport guild_vs1 mapflag nowarp guild_vs1 mapflag nowarpto
  2. Yoona

    King Of Hill

    How can i make this map " guild_vs1 " into a Guild Castle map?
  3. I tried to use this, why is it that it wont patch?
  4. this one, for example the player got dc but he joined the game that error pops out, OnPCLogoutEvent: if(.play){ setarray .disqualified$[.@l], strcharinfo(0); set .@l, .@l + 1; for(set .@i, 0; .@i < .maxplayer; set .@i, .@i + 1){ if(.playerlist$[.@i] == strcharinfo(0)){ deletearray .playerlist$[.@i], 1; set .pReg, .pReg - 1; announce "["+.pReg+"/"+.maxplayer+"] "+strcharinfo(0)+" has disqualified.",bc_all,0xFF0000; break; }
  5. I was testing it and the problem is when " Guild 1 " destroyed it " Guild 1 " can still hit the Emperium Here's the Script - script KoE -1,{ OnInit: disablenpc "The King#KoE"; disablenpc "Exit#KoE"; end; OnWhisperGlobal: if ( getgmlevel() < 99 ) end; else if ( compare ( @whispervar0$, "on" ) ) goto L_start; else if ( compare ( @whispervar0$, "off" ) ) goto L_end; else end; L_end: OnClock0115: announce "The King of Emperium Hill is over!", 0; set .koe_start, 0; enablenpc "Exit#KoE"; disablenpc "The King#KoE"; killmonsterall "guild_vs1"; end; L_start: OnClock0111: announce "The King of Emperium Hill has begun!", 0; set .koe_start, 1; enablenpc "The King#KoE"; disablenpc "Exit#KoE"; set $koegid, 0; donpcevent "::OnRevKoE"; maprespawnguildid "guild_vs1", $koegid, 6; monster "guild_vs1",49,49,"King Of Hell Emperium",1288,1,"KoE::OnEmpDead"; end; OnEmpDead: set $koegid, getcharid(2); announce "The current King of Emperium Hill is the [" + strcharinfo(2) + "] guild.", 0; donpcevent "::OnRevKoE"; maprespawnguildid "guild_vs1", $koegid, 6; sleep 500; if ( .koe_start ) monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead"; end; } //------------------------ prontera,156,165,0 warp The King#KoE 2,2,n_castle,102,102 //n_castle,183,181,0 warp The King#KoE2 2,2,guild_vs1,91,50 //n_castle,187,15,0 warp The King#KoE3 2,2,guild_vs1,49,7 //n_castle,18,13,0 warp The King#KoE4 2,2,guild_vs1,7,50 //------------------------ // KoE Entrance prontera,165,190,4 script The King Of Emperium#KoE 99,{ mes "[The King]"; if ( getcharid(2) == 0 ) { mes "You must have a guild to participate in the ^FF0000King of Emperium Hill Tournament^000000."; close; } mes "Hello."; mes "Would you like to participate in the ^FF0000King of Emperium Hill Tournament^000000?"; if ( select ( "Yes", "No" ) == 2 ) close; switch( rand(1,4) ){ case 1: warp "guild_vs1", 50, 88; end; case 2: warp "guild_vs1", 88, 50; end; case 3: warp "guild_vs1", 50, 11; end; case 4: warp "guild_vs1", 11, 50; end; } } // KoE Exit guild_vs1,49,56,5 script Exit#KoE 51,{ mes "[Exit]"; mes "See ya."; if ( getcharid(2) == $koegid && getguildmaster(getcharid(2)) == strcharinfo(0) ) getitem 22002, 1; // configure prize here next; warp "Save",0,0; close; } // Flags guild_vs1,49,38,4 script King of Emperium Hill#1::koe_flag 722,{ set .@gid, $koegid; if ( .@gid == 0 ) end; mes "[King of Emperium Hill]"; mes "The Current King of Emperium Hill is the ["+ getguildname(.@gid) +"] guild."; close; OnRevKoE: flagemblem $koegid; end; } guild_vs1,61,49,6 duplicate(koe_flag) King of Emperium Hill#2 722 guild_vs1,38,49,2 duplicate(koe_flag) King of Emperium Hill#3 722 guild_vs1,49,61,0 duplicate(koe_flag) King of Emperium Hill#4 722 guild_vs1 mapflag gvg guild_vs1 mapflag nobranch guild_vs1 mapflag nomemo guild_vs1 mapflag nopenalty guild_vs1 mapflag noreturn guild_vs1 mapflag nosave SavePoint guild_vs1 mapflag noteleport guild_vs1 mapflag nowarp guild_vs1 mapflag nowarpto @Bump! any help?
  6. Yoona

    WOE 1 Castle

    Guild Members and Guild Leaders will receive the same reward everytime the WOE ends.
  7. Yoona

    WOE 1 Castle

    i am . but i want a different one ...
  8. Yoona

    WOE 1 Castle

    War Of Emperium A War of Emperium that can be set on your desired Time and Day . Reward item for all Guild Members, and a different reward for Guild Leaders. Only 1 Castle " schg_cas01 " just like WOE v2 system .
  9. Change prontera,164,162,4 script Questing Warper 790,{ Into prontera.gat,164,162,4 script Questing Warper 790, or use my script , just edit it zhakastia,111,44,3 script Quest Warper 415,{ mes "[ Quest Warper]"; mes "How are you doing today?"; next; mes "[ Quest Warper]"; mes "Going to get some Quest?"; menu "Yes, I am",GoOn,"No, Not enough Credits",GoBack; GoOn: mes "I will warp you now"; emotion e_no1; warp "turbo_room", 100, 110; end; GoBack: mes "Then, later Okay?!"; end; OnInit: waitingroom "Quest / Vending Area",0; end; } turbo_room,96,106,5 script Exit Area 415,{ mes "[ Exit Warper]"; mes " Ohh, Youre done? "; next; mes "[ Exit Warper]"; mes "Sad, because your leaving"; menu "Yes, I want to exit",GoingOn,"Im, Staying",Stay; GoingOn: mes "[ Exit Warper]"; mes "Bye then"; emotion e_sob; next; mes "[ Exit Warper]"; mes "..."; warp "zhakastia", 97, 62; end; Stay: mes "[ Exit Warper]"; mes "Yehey, Let's party"; emotion e_heh; next; mes "[ Exit Warper]"; mes "My treat ! Let's go"; end; OnInit: waitingroom "Exit Warper",0; end; } // Quest Dupplicate prontera,162,173,3 duplicate(Quest Warper) Quest Warper#pront 415
  10. Can someone Fixed this ?
  11. go to this site spriterepository.com
  12. Use this Hourly Points, i dont know who made this script but credits to him/her. by the way it gives TCG card not cash. - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { dispbottom "The hourly points event stopped because you were vending / chatting. Please relog if you wish to start again."; stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 5) { dispbottom "The hourly points event stopped because you were idle for 5 minutes. Please relog if you wish to start again."; stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 60){ set @minute,0; getitem 7227,5; dispbottom "You received 5 "+getitemname( 22002 )+" by staying ingame for 1 hour"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 12 hours consecutive if(@consecutive_hour == 6) { set @consecutive_hour,0; getitem 7227,10; dispbottom "You received 10 "+getitemname( 22002 )+" by staying ingame for consecutive of 6 hour"; } stopnpctimer; initnpctimer; end; }
  13. You should check trunk/conf/char_athena.conf // Server Communication username and password. userid: YouRO passwd: mypassword trunk/conf/map_athena.conf // Server Communication username and password. userid: YouRO passwd: mypassword then open your main.sql go to login table, put YouRO the same as your user_id you put on char_athena and map_athena and same with the password then Apply.
  14. Thanks for the responce ! i got another problem with the NPC can you help me with it?
  15. You can check those item here spriterepository.com
  16. Change this <version>20</version> Into <version>26</version>
  17. @QQfoolsorellina Thanks for the reply, i will try it now..
  18. what you did is to trigger only the alootid command, not with a specific item on it..
  19. I just want to know how to add an automatic player command.. so it would be like this, First i will talk to the NPC " Gold Room NPC " Blah blah blah okay you can warp now. but before the warp the @alootid command will be trigger with a specific item... Here's my script : mes "[Treasurer]"; mes "Alright I will now send you to the Treasure Room, Take Care!."; next; set Zeny,Zeny-1000000; warp "ordeal_2-2",156,155; emotion 21;
  20. It would be more okay, if you provide a screen shot of the error of your player.
  21. I liked it when im the one who first comment to this Development News Thread Keep Running rAthena Good Luck & Wish you Luck ...
  22. I am trying to apply the patch of the Advance Vending system, but i encounter a lot of errors while compiling so i was hoping that someone can help me with this, by the way im using Revision 17689 Errors Sample: Sample 1. 1>..\src\map\clif.c(16187): error C2039: 'item_zeny' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\clif.c(16188): error C2039: 'item_zeny' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\clif.c(16191): error C2039: 'item_cash' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\clif.c(16192): error C2039: 'item_cash' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\clif.c(16197): error C2039: 'item_zeny' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\clif.c(16197): error C2039: 'item_cash' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' Sample 2. 1>..\src\map\vending.c(72): error C2039: 'extended_vending' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\vending.c(73): warning C4003: not enough actual parameters for macro 'msg_txt' 1>..\src\map\vending.c(73): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int' 1>..\src\map\vending.c(73): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1 1>..\src\map\vending.c(73): error C2059: syntax error : ')' 1>..\src\map\vending.c(139): error C2039: 'extended_vending' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\vending.c(140): error C2039: 'item_zeny' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\vending.c(152): error C2039: 'item_cash' : is not a member of 'Battle_Config' 1> c:\ragnarok\src\map\battle.h(111) : see declaration of 'Battle_Config' 1>..\src\map\vending.c(154): warning C4003: not enough actual parameters for macro 'msg_txt' 1>..\src\map\vending.c(154): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int' 1>..\src\map\vending.c(154): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1 1>..\src\map\vending.c(154): error C2059: syntax error : ')' 1>..\src\map\vending.c(165): warning C4003: not enough actual parameters for macro 'msg_txt' 1>..\src\map\vending.c(165): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int' 1>..\src\map\vending.c(165): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1 1>..\src\map\vending.c(165): error C2059: syntax error : ')' 1>..\src\map\vending.c(170): warning C4003: not enough actual parameters for macro 'msg_txt' 1>..\src\map\vending.c(170): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int' 1>..\src\map\vending.c(170): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1 1>..\src\map\vending.c(170): error C2059: syntax error : ')' 1>..\src\map\vending.c(176): warning C4003: not enough actual parameters for macro 'msg_txt' 1>..\src\map\vending.c(176): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int' 1>..\src\map\vending.c(176): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1 1>..\src\map\vending.c(176): error C2059: syntax error : ')' 1>..\src\map\skill.c(15830): warning C4003: not enough actual parameters for macro 'msg_txt' 1>..\src\map\skill.c(15830): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int' 1>..\src\map\skill.c(15830): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1 1>..\src\map\skill.c(15830): error C2059: syntax error : ')'
  23. I did was changing the bc_all; into bc_all, bc_blue; just that and then when i use @relaodscript the error came out.
×
×
  • Create New...