Jump to content

mrlongshen

Members
  • Content Count

    1126
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by mrlongshen

  1. Someone. What is this error ? What is this file ? Someone please share your file with me.
  2. @@Tokeiburu erm. I know, I have decrypt the grf, but all file got corrupted
  3. @@Tokeiburu ok thanks. Sir help me. I have separate my item.grf, I have secure it with your security. May I know why all my item.grf got corrupted?
  4. I have tested with 2014-04-16a and its works. @Tokeiburu. I have some question. How to update grf with encrypt grf ? Let me explain. I make a grf called, 24012015.grf (contains custom maps) I encrypt it with my password I update it to my web server Update my files using thor patcher Finish Its true the step I make ? Is my custom maps will encrypt same with other files ? I just need confirmation. Thanks you.
  5. //===== rAthena Script ======================================= //= Battleground: PVP //===== By: ================================================== //= AnnieRuru //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= A simple battleground script: //= Kill players from the other team. //===== Additional Comments: ================================= //= 1.0 First version, edited. [Euphy] //============================================================ - script bg_pvp#control -1,{ OnInit: .minplayer2start = 2; // minimum players to start (ex. if 3vs3, set to 3) .eventlasting = 20*60; // event duration before auto-reset (20 minutes * seconds) setarray .rewarditem[0], // rewards for the winning team: <item>,<amount>,... 501, 10; end; OnStart: if ( getwaitingroomstate( 0, .rednpcname$ ) < .minplayer2start || getwaitingroomstate( 0, .bluenpcname$ ) < .minplayer2start ) end; // create Battleground and teams .red = waitingroom2bg( "guild_vs3", 13,50, strnpcinfo(0)+"::OnRedQuit", strnpcinfo(0)+"::OnRedDead", .rednpcname$ ); copyarray .team1aid, $@arenamembers, $@arenamembersnum; .team1count = .minplayer2start; .blue = waitingroom2bg( "guild_vs3", 86,50, strnpcinfo(0)+"::OnBlueQuit", strnpcinfo(0)+"::OnBlueDead", .bluenpcname$ ); copyarray .team2aid, $@arenamembers, $@arenamembersnum; .team2count = .minplayer2start; delwaitingroom .rednpcname$; delwaitingroom .bluenpcname$; bg_warp .red, "guild_vs3", 13,50; bg_warp .blue, "guild_vs3", 86,50; .score[1] = .score[2] = .minplayer2start; bg_updatescore "guild_vs3", .score[1], .score[2]; // match duration sleep .eventlasting * 1000; // end match, destroy Battleground, reset NPCs if ( .score[1] > .score[2] ) { mapannounce "guild_vs3", "- Red Team is victorious! -", bc_map; callsub L_Reward, 1; } else if ( .score[1] < .score[2] ) { mapannounce "guild_vs3", "- Blue Team is victorious! -", bc_map; callsub L_Reward, 2; } else mapannounce "guild_vs3", "- The match has ended in a draw! -", bc_map; bg_warp .red, "prontera",152,178; bg_warp .blue, "prontera",154,178; bg_destroy .red; bg_destroy .blue; donpcevent .rednpcname$ +"::OnStart"; donpcevent .bluenpcname$ +"::OnStart"; end; L_Reward: for ( .@i = 0; .@i < getd(".team"+ getarg(0) +"count"); .@i++ ) getitem .rewarditem[0], .rewarditem[1], getd(".team"+ getarg(0) +"aid["+ .@i +"]" ); return; // "OnDeath" event OnRedDead: callsub L_Dead, 1; OnBlueDead: callsub L_Dead, 2; L_Dead: .score[ getarg(0) ]--; bg_updatescore "guild_vs3", .score[1], .score[2]; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; bg_leave; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); sleep2 1250; percentheal 100,100; end; // "OnQuit" event OnRedQuit: callsub L_Quit, 1; OnBlueQuit: callsub L_Quit, 2; L_Quit: .score[ getarg(0) ]--; bg_updatescore "guild_vs3", .score[1], .score[2]; percentheal 100, 100; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); end; } gonryun,153,107,5 script Red Team#bg_pvp 733,{ end; OnInit: sleep 1; set getvariableofnpc( .rednpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Red Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } gonryun,153,104,5 script Blue Team#bg_pvp 734,{ end; OnInit: sleep 1; set getvariableofnpc( .bluenpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Blue Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } guild_vs3 mapflag battleground 2 guild_vs3 mapflag nosave SavePoint guild_vs3 mapflag nowarp guild_vs3 mapflag nowarpto guild_vs3 mapflag noteleport guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewall Hi all, based on this script, can someone help me to add and edit: Announcement Player A has join the blue team and Player B has join the red team in battleground in the whole server. We need another 2 player to begin the battle. #The script will detect how much player need based on waiting room. Player A join blue team, Player B join red team, but when start auto shuffle to new team instead of same entered color ?
  6. NPC using constants, for me this is good ! Nothing different compare with the number. HAHA Always keep up to date haru !
  7. @@Samuel thanks alot. You help me fix the problem. +1 for you
  8. Hi all. I try to link a website in my server. But when clicking on it, only a tiny ro browser will appear. How to make it auto size to 1024x768 or any big size by default when clicking a link ? Below is the screenshot, i need to resize to see the link I click. Help Me. How to resize. Thank you.
  9. @@Litro auch.. cool. let me try 1st.
  10. @@Litro omg. I cant understand it. can u explain more. how can i add 10 case in there ? I have try this. I get an error. [Error]: script error in file '(DIRECT INPUT)' line 8 column 3 parse_line: need ';' 5: .@menu$ = "Loyal Reward:LoL Reward"; 6: else if (!#Loyal_Reward && #LoL_Reward) 7: .@menu$ = "Loyal Reward:" * 8: else if (#Loyal_Reward && !#LoL_Reward) ~~~~~~~~~~~~~~~~^ 9: .@menu$ = ":LoL Reward"; 10: else if (#Loyal_Reward && #LoL_Reward) { 11: mes "There is no more reward you can redeem."
  11. please help me masta
  12. mrlongshen

    Weather

    @@RodRich haha just simple, i req for auto weather changer. hehe
  13. Hello. I plan to give multi reward to my player that are based on char account. The event is : Loyal Reward LoL Reward I have make some simple script. The npc should give the reward. So after player redeem Loyal Reward, the reward choose will remove from the selection. And back to the second reward selection And last message will be, there is no more reward you can redeem. Below the script I make, can someone help me to fix the problem? eventreward.txt
  14. mrlongshen

    Weather

    no one is replying hehe
  15. @@AnnieRuru thanks a lot. This mes is funny ! hahaha mes "Can someone add after redeem, please redeem again at "+ .@time1$ +" on "+ .@time2$ +". I need the date and time."; Your are writing back mine hahahahahaha Its should be: Your next redeem will be available at + .@time1$ +" on "+ .@time2$ +". See you later. kikiki. trolling me. btw thanks mam !
  16. @@takari_L I want ! Currently lack of support. Your website down. I hope you restart back. Where you go man ? HAHA ! I love this cp you know ! Please make full tutorial back.
  17. prontera,150,150,4 script rewards 60,{ mes "Here's your daily reward!"; next; if (#nextrewardtime > gettimetick(2)) { mes "Sorry, it seems you've already got it!"; } else { mes "Take this!"; getitem 512, 1; // Apple #nextrewardtime = gettimetick(2) + 24*60*60; // delay by 1 day } close;} Can someone add after redeem, please redeem again at 9.00 pm on 14.12.2015. I need the date and time.
  18. why nothing happen in this script ? sc_start SC_INCHIT,1800000,30;
  19. @@AnnieRuru Sorry. My bad mistake. That item are itemcombo. Sorry.
  20. Hi there. May I know what is the latest svn problem ? I'm using the latest one. Before this I can use the item script, bonus bIntravision,0; After update to latest one. I cant use anymore. The script not working in the item. My player cant see hide player anymore. No error in console. May I know what happen ?
  21. @@Quazi Yeah done change to 10. hehe
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.