-
Posts
595 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by Mr BrycE
-
im using eA i did use killmonster before but the stage game stops due to that so i reloadscript again then try it from the start and that time i did not use killmonster and after i finish it that error pops out in the server. but all is working well inside the game. just like i said it's working well... but that error is bugging me........... is there a way to remove that? because everytime i finish it it always shows up. PS: Can this Stage game Gave All the party members price including the party leader not Only on the MVP
-
guild_vs5,50,50,5 script Stage Game 437,{ // Monster ID / Amount Initiating ( Check db/Mob_db.txt || db/Mob_db2.txt ) setarray .Stage[0], 1925,20, // Stage 1 + Amount 1923,21, // Stage 2 + Amount 1949,12, // Stage 3 + Amount 1922,20, // Stage 4 + Amount 1924,24, // etc...... 2022,2, // 1917,1; // Final Stage ( Max. ~64 Rounds ) // Reward ID / Amount Initiating ( Check db/Item_db.txt || db/Item_db2.txt ) setarray .Reward[0], 673,300, // Reward 1 + Amount 6153,1000, // Reward 2 + Amount 677,10, // etc...... 6127,1; // Last Reward 1 ( Max. ~64 Items ) // MapFlags Initiating ( Check db/Cont.txt ) setarray .MapFlags[0],0,1,2,3,4,5,11,13,14,15,22,29,30,31,32,33,34,35,38,41,43,44,47,49; for( set .@mf,0; .@mf < getarraysize( .MapFlags ); set .@mf,.@mf + 1 ){ setmapflag strcharinfo(3),.MapFlags[.@mf]; } if( getmapmobs( strcharinfo(3) ) > 0 || .Level > 0){ dispbottom "Just Kill All the Monster to Win the Game..."; end; } set .Level,0; announce "[Level "+( (.Level/2)+1 )+"] : [ "+.Stage[.Level+1]+" x "+getmonsterinfo( .Stage[.Level],0)+" ]",bc_all,0x37FDFC; monster strcharinfo(3),0,0,"[slave] "+getmonsterinfo( .Stage[.Level],0)+"",.Stage[.Level],.Stage[.Level+1],strnpcinfo(0)+"::OnMobKill"; delwaitingroom; waitingroom "Left ["+mobcount( strcharinfo(3),strnpcinfo(0)+"::OnMobKill" )+"] Monster",0; end; OnMobKill: delwaitingroom; if( mobcount( strcharinfo(3),strnpcinfo(0)+"::OnMobKill" ) == 0 && .Level < ( getarraysize( .Stage ) - 5 ) ){ set .Level,.Level + 2; waitingroom "["+((( getarraysize( .Stage )/2 ) - .Level/2) - 1)+"] Rounds to Go.",0; for( set .@t,5; .@t > 0; set .@t,.@t - 1 ){ announce "[Level "+( (.Level/2)+1 )+"] in "+.@t+" Seconds",bc_map,0x4EEE94,0,35; sleep2 1000; } announce "[Level "+( (.Level/2)+1 )+"] : [ "+.Stage[.Level+1]+" x "+getmonsterinfo( .Stage[.Level],0)+" ]",bc_all,0x37FDFC; monster strcharinfo(3),0,0,"[slave] "+getmonsterinfo( .Stage[.Level],0)+"",.Stage[.Level],.Stage[.Level+1],strnpcinfo(0)+"::OnMobKill"; }else if( mobcount( strcharinfo(3),strnpcinfo(0)+"::OnMobKill" ) == 0 && .Level >= ( getarraysize( .Stage ) - 5 ) ){ set .Level,.Level + 2; announce "BOSS Stage",bc_map,0xFF0000,0,90; specialeffect 563; sleep2 2000; for( set .@t,5; .@t > 0; set .@t,.@t - 1 ){ specialeffect 563; announce "BOSS STAGE in "+.@t+" Seconds",bc_map,0xFF0000,0,60; sleep2 1000; } announce "[Level "+( (.Level/2)+1 )+"] : [ "+.Stage[.Level+1]+" x "+getmonsterinfo( .Stage[.Level],0)+" ]",bc_all,0x37FDFC; monster strcharinfo(3),0,0,"[bOSS] "+getmonsterinfo( .Stage[.Level],0)+"",.Stage[.Level],.Stage[.Level+1],strnpcinfo(0)+"::OnBossKill"; } delwaitingroom; waitingroom "Left ["+mobcount( strcharinfo(3),strnpcinfo(0)+"::On"+( ( .Level-2 ) > ( getarraysize( .Stage ) - 5 ) ? "BossKill":"MobKill") )+"] Monster",0; end; OnBossKill: delwaitingroom; if( mobcount( strcharinfo(3),strnpcinfo(0)+"::OnBossKill" ) > 0 ){ waitingroom "Left ["+mobcount( strcharinfo(3),strnpcinfo(0)+"::OnBossKill")+"] Monster",0; end; }else{ delwaitingroom; waitingroom "REWARD TIME",0; specialeffect 709; announce "Congratulation to Team [ "+getpartyname( getcharid(1) )+" ] who had just finished the Stage Game. ",0; getpartymember getcharid(1),1; getpartymember getcharid(1),2; set @Location$,strcharinfo(3); for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){ if ( isloggedin($@partymemberaid[.@i]) ){ attachrid $@partymemberaid[.@i]; if( strcharinfo(3) == @Location$ ){ unittalk getcharid(3),"Yeehaaa !! We Beat ALL the Monster !!!"; unitemote getcharid(3),e_heh; specialeffect2 709; for( set .@a,0; .@a < getarraysize( .Reward ); set .@a,.@a + 2 ){ getitem .Reward[.@a],.Reward[.@a+1], $@partymemberaid[.@i]; } dispbottom "Gained those items as Reward for Finishing Stage Game"; } } } sleep2 5000; mapwarp strcharinfo(3),"prontera",155,180; set .Level,0; delwaitingroom; } OnInit: waitingroom " Click Me",0; end; } prontera,146,188,5 script Stage Game#Register 794,{ while(1){ mes "Hello, i am ^FF0000Stage Game Manager^000000. How can i help you ?"; mes "^0000FFRegistration Status^000000 : "+( getmapusers(.Map$) > 0 ?"^FF0000OFF":"^00FF00ON")+"^000000"; mes "(^FF0000Only Leader can Register^000000)"; mes ""; mes "It is In ^FF0000BETA Test^000000."; next; switch(select("^00FF00Stage Game Information^000000", ( getmapusers(.Map$) > 0 || getcharid(0) != getpartyleader( getcharid(1),2 ) )?"":"^0000FFRegister for Stage Game^000000", ( getmapusers(.Map$) < 1 || getgmlevel() < 60 )?"":"^FF0000Reset Stage Game^000000")) { Case 1: mes "^FF0000Stage Game^000000 is a small game that have alot of monster to be kill from round to round."; mes "With every increase or round you manage to reach, the monster could be stronger than before."; next; mes "You could win up some ^0000FFUnique^000000 prize upon you finished the whole ^FF0000Stage Game^000000"; next; mes "In order to ^0000FFRegister^000000 for ^FF0000Stage Game^000000, all your party member must meet the ^0000FFRequirements^000000"; next; mes "[ ^00FF00Requirements^000000 ]"; mes "^0000FFBase Level^000000 : "+.Level+" Level"; mes "^0000FFZeny^000000 : "+.Zeny+" Zeny "; mes "^0000FFParty Members^000000 : "+.PartyMember+" Members"; mes "(^FF0000Level / Zeny only Applied on Leader ^000000 )"; next; break; Case 2: // if( getgmlevel() < 80 ){ // mes "Stage Game is under Debugging Development. Simple Game but Hard "; // close; // } getpartymember getcharid(1),1; getpartymember getcharid(1),2; set @Count,0; for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){ if ( isloggedin($@partymemberaid[.@i]) ){ set @Count,@Count+1; } } if( @Count < .PartyMember || BaseLevel < .Level || Zeny < .Zeny ){ mes "[ ^00FF00Requirements^000000 ]"; mes "^0000FFBase Level^000000 : "+.Level+" Level"; mes "^0000FFZeny^000000 : "+.Zeny+" Zeny "; mes "^0000FFParty Members^000000 : "+.PartyMember+" Members"; mes "(^FF0000Level / Zeny only Applied on Leader ^000000 )"; close; }else{ set Zeny, Zeny - .Zeny; mes "Your party will now be warped into the Destination to start the Game."; dispbottom "Click on the NPC inside to start the game."; delwaitingroom "Stage Game"; close2; announce "Team [ "+getpartyname( getcharid(1) )+"] has joined STAGE GAME.",0; warpparty .Map$,0,0,getcharid(1); killmonster .Map$,"All"; set getvariableofnpc(.Level,"Stage Game"),0; end; } Case 3: mes "The Game has been Reset."; killmonster .Map$,"All"; mapwarp .Map$,"prontera",155,180; announce "A GM has RESET the Stage Game, Sorry for the Incovenience.",0; set getvariableofnpc(.Level,"Stage Game"),0; delwaitingroom "Stage Game"; next; break; } } close; OnInit: OnWhisperGlobal: set .Level,254; set .Zeny,2000000000; set .PartyMember,5; set .Map$,"guild_vs5"; while( 1 ){ delwaitingroom; waitingroom ( getmapusers(.Map$) > 0 ? " NOT":" " )+" Available",0; sleep 1000; } end; } It was working well but.. when i view the server an error is coming up...its... Error: script_rid2sd: fatal error ! player not attached! Debug: Function strcharinfo (1 paramater); Data: number value =3 Source (NPC): Stage Game at guild_vs5 (50,50)
-
ohh i see..thanks sirr EDIT: thanks sir.
-
dicastes01,213,167,5 script Dewata Warper 112,{ if( paid ) { warp "dewata",232,53; announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all; end; } if( countitem(6048) >= 10 || countitem(7078) >= 5 || countitem(6153) >= 1000) { delitem 6048,10; delitem 7078,5; delitem 6153,1000; set paid, 1; warp "dewata",232,53; announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all; } else { warp "dicastes01",210,168; dispbottom "Entry to Dewata requires a 10pcs Unidentified Ore and 5pcs Wrath of Valkyrie and Thousand SET."; } end; } i want someone to modify it...because.. for example when a player has the 10pcs Und Ore 5pcs wrath of Valk then accidentally talk to the NPC, the NPC will eat the 10 and 5pcs because the 1000 SET are not in their inventory.. i want to modify the script into when, the player has an incomplete requirments it will not eat the other requirements.
-
Pano po paganahin yung macro ko? yung flag macro
Mr BrycE replied to Meister's topic in Tulong para sa Client
still the same.. i tried the revision 130 >.< -
how to reduce Perfect Dodge... i dont want to see a 100% PD hmm like 50-70% is ok but not 100% anyone know how?
-
Thanks Daegaladh lowered the view ID from 30,000 to 2000 ahahah..xD it worked.
-
Can anyone Help me With my Programming lesson :D
Mr BrycE replied to Kariton Revolution's topic in Off Topic
ohhh... this seems nice..someday i will find help here too ... -
Pano po paganahin yung macro ko? yung flag macro
Mr BrycE replied to Meister's topic in Tulong para sa Client
bump... -
yeah, but some of them really doesn't count...already tested/Saw it.... but still i will try this.. setmapflag "mapname",mf_pvp_nocalcrank;
-
(URGENT) Restoring item_db? Is it possible?
Mr BrycE replied to TemplarOfTheMist's question in Database Support
does it helps also in making weird thoughts about your own server? haha..im really out of ideas right now haha... @topic as far as i know...WINSCP saves the file if it got disconnected...( maybe it auto saves the txt file) err based from experience...xD ijust got my backup somewhere in my drives xD -
(URGENT) Restoring item_db? Is it possible?
Mr BrycE replied to TemplarOfTheMist's question in Database Support
I listen to this Song everytime something goes just terribly wrong: [media=] [/media]I got this Song from our Head of IT, he got it on a 24/7 Loop *laughs* Other than that, see as a warning. This time it wasnt THAT bad, could have been worst. Read this Topic and learn how to automatically Backup your System every X-Hours. http://rathena.org/b...ckup-for-linux/ what the ..... did i just watch o_O -
sorry late reply...ill try this...
-
bump for this one...
-
ill try this xD setmapflag "mapname",mf_pvp_nocalcrank; i need this one too, some of my players are botting, some bots doesnt count on the server.. i tried jailing a bot and in jail its a pvp map then the count should be 2/2 right? but only 1/1 the bot doesnt counts..
-
what i mean is, are they still compatible with that client...
-
and its still showing when Hiding/Chasewalk/cloak...LOL xD refreshing like warping back? @go 0? is there any script that removing the special effects on its unequip?
-
if im going to use 2010-06-16 will malaya monster still shows up? because i have malaya monster already in 2011-03-15
-
14.1: Mora, the laphine village [French]
Mr BrycE replied to Ronaldo07's topic in Game, Event, Quest Script Releases
wow...thanks. -
but the on eA some members fix it by OllyDBG... i just need to know how to use that program so i can test it myself xD
-
bump how to remove special effects when unequipping...
-
EDIT: awe, the name checker if it has the same name doesnt work >.< i thought its working because no errors shows up. i tested it and still ican make the same names.. i want to request more about this script xD but if your tired you can rest 1st whaha..im willing to wait... "the maximum change name required must be 4 Characters up.." that's the last one.. Thanks a lot sir Joseph
-
ill try it.. EDIT: Last one Joseph xD Can you add when the Characters name is too long... and typing a new name, and when there is already a same name with him/her he cant continue to change.. because i tried if it can create a same name character 1st acc name = SC* Jagore 2nd acc name =SC* Jagore same name diffrent acc xD
-
Woot, Thanks ALOT! its working for me now... EDIT: Joseph, can you add restrict adding special characters? like !@#$%^&*(){}[] like that?
-
i have a problem its always choosing tribe2 even i pick tribe 1