Jump to content

Slammer

Members
  • Posts

    167
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Slammer

  1. On 4/9/2021 at 11:34 AM, kalabasa said:

    same here care to share the fix?

     

    prontera,143,143,4	script	Emperium Breaker	4_M_ACROSS,{
    
    // What Map will be used
    set .Map$,"job3_arch01";
    // How many Top Breaker will be Recorded
    set .TopRank,10;
    // Message to Inform Players while inside the Room
    setarray .Instruction$[0],
    			"Please Listen here carefully.",
    			"This is Emperium Breaker Test Room , which is use to test your Breaking Time.",
    			"Prepare youself...and do your best to Break it...",
    			"Okay that's All i want to say , get Ready yourself and it will Start Soon.";
    			
    			
    while( 1 ){
    mes "This is Emperium Breaker test Room. ";
    mes "You are able to calculate your Emperium Breaking Speed in this Room.";
    next;
    switch( select( ( getmapusers( .Map$ ) )?"^FF0000NOT Available":"^0000FFAvailable^000000",
    				"Top ^FF0000"+.TopRank+"^000000 Breaker Ladder",
    				( getgmlevel() < 90 )?"":"^FF0000[GM]^000000 Reset Room",
    				( getgmlevel() < 90 )?"":"^FF0000[GM]^000000 Reset Ladder" )){
    Case 1:
    	if( getmapusers( .Map$ ) ){
    		mes "There is another player inside it now.";
    		next;
    		break;
    		}
    	warp .Map$,0,0;
    	killmonster .Map$,"All";
    //	removemapflag .Map$,mf_noskill;
    	donpcevent strnpcinfo(0)+"::OnReady";
    	end;
    Case 2:
    	mes "^ED1ADCLatest Record^000000 : "+LatestRecord/1000+"."+LatestRecord%1000+" Seconds.";
    	for( set [email protected],0; [email protected] < .TopRank; set [email protected],[email protected] + 1 ){
    		if( !$TopRankTime[[email protected]] ) break;
    		mes "^FF0000Top "+( [email protected] + 1 )+" : ^0000FF"+$TopName$[[email protected]]+" ";
    		mes "^FF0000Time Taken : ^ED1ADC[ "+$TopRankTime[[email protected]]/1000+"."+$TopRankTime[[email protected]]%1000+" Sec. ]^000000 ";
    	}
    	next;
    	break;
    
    Case 3:
    	mapannounce .Map$,"A GM has RESET the Breaker Test Room.",0,0x00FF00;
    	killmonster .Map$,"All";
    	sleep 3000;
    	mapwarp .map$,"prontera",0,0;
    	mes "Done Reset. and Player who are inside are warped out.";
    	next;
    	break;
    Case 4:	
    	switch( select( "^0000FFAll Player^000000:^FF0000One Player^000000" ) ){
    		Case 1:
    			deletearray $TopRankTime[0],getarraysize( $TopRankTime );
    			deletearray $TopName$[0],getarraysize( $TopName$ );
    			mes "RESETED WHOLE LADDER.";
    			break;
    		Case 2:
    			mes "Please input the ^FF0000EXACT NAME^000000 of player you want to delete.";
    			input .Name$;
    			for( set [email protected],0; [email protected] < .TopRank; set [email protected],[email protected] + 1 ){
    				if( .Name$ == $TopName$[[email protected]] ){
    					deletearray $TopName$[[email protected]],1;
    					deletearray $TopRankTime[[email protected]],1;
    					mes "Removed ^FF0000"+.Name$+"^000000 from the List.";
    				}
    			}
    		}
    	next;
    	break;
    	}
    }
    
    OnReady:
    sleep 3000;
    for( set [email protected],0; [email protected] < getarraysize( .Instruction$ ); set [email protected],[email protected] + 1 ){
    	mapannounce .Map$,.Instruction$[[email protected]],0,0x00FF00;
    	sleep 2500;
    	}
    for( set [email protected],5; [email protected] > 0; set [email protected],[email protected] - 1 ){
    	mapannounce .Map$,"Count Down : "[email protected]+" Seconds.",0,0x00FF00;
    	sleep 1000;
    	}
    //mapannounce .Map$,"Hit the Emperium Now and Skills Disabled.",0,0x00FF00;
    setmapflag .Map$,mf_noskill;
    monster .Map$,29,27,"Breaker Test",1288,1,strnpcinfo(0)+"::OnBreaked";
    set .Record,0;
    sleep 500;
    initnpctimer;
    end;
    
    OnTimer600000:
    if( !mobcount( .Map$,strnpcinfo(0)+"::OnBreaked" ) ) end;
    	mapannounce .Map$,"You spent too much time. i think you are AFK , so you are out.",0,0xED1ADC;
    	sleep 3000;
    	mapwarp .map$,"prontera",0,0;
    	stopnpctimer;
    end;
    
    OnBreaked:
    	set .Time,getnpctimer(0);
    	copyarray [email protected]$[0],$TopName$[0],getarraysize( $TopName$ );
    	copyarray [email protected][0],$TopRankTime[0],getarraysize( $TopRankTime[0] );
    	set LatestRecord,.Time;
    	for( set [email protected],0; [email protected] < .TopRank; set [email protected],[email protected] + 1 ){
    		if( .Time < $TopRankTime[[email protected]] || !$TopRankTime[[email protected]] ){
    				set $TopRankTime[[email protected]],.Time;
    				set $TopName$[[email protected]],strcharinfo(0);
    				copyarray $TopRankTime[[email protected] + 1],[email protected][0],getarraysize( [email protected] );
    				copyarray $TopName$[[email protected] + 1],[email protected]$[0],getarraysize( [email protected]$ );
    			announce "[ "+strcharinfo(0)+" ] Achieved Top "+( [email protected] + 1 )+" in Emperium Breaking with "+.Time/1000+"."+.Time%1000+" Seconds !!!",bc_all,0xED1ADC;
    			break;
    			}
    		}
    	stopnpctimer;
    	announce "Current Time Taken : "+.Time/1000+"."+.Time%1000+" Seconds. ",bc_self,0xED1ADC;
    //	removemapflag .Map$,mf_noskill;
    	sleep 5000;
    	mapwarp .map$,"prontera",0,0;
    	end;
    }
    	
    job3_arch01	mapflag	nocommand	50
    job3_arch01	mapflag	gvg	on
    job3_arch01	mapflag	gvg_castle
    job3_arch01	mapflag	monster_noteleport
    job3_arch01	mapflag	nosave	SavePoint

    im using this by Sir Emistry

    when i try to reset the room i got error

    [Error]: buildin_mes: fatal error ! player not attached!

    [debug]: Function: mes (1 parameter):

    [debug]: Data: String value="Done Reset. and player who are inside are warped out."

    [debug]: Source(NPC): Emperium Breaker at prontera (143,143)

    try this :

    emper.txt

  2. 45 minutes ago, alexander03 said:

    good day to all, any body can i ask help about my rathena server,. i have an server rathena in my old computer windows 8 and my rathena sever is working well,but now ill buy new acer predator and copy paste all files for my ragnarok offline server to it and run, but this is what pop up, i cannot connect loginserver exe. this what it says .plss any body help?
    i dont cahnge anything from my old computer ill just copy the all RO files and files that needed to run the server but its not work.

    188300.jpg

    188325.jpg

    you must compile login, char dan map server
    after that run runsever.bat

  3. 3 hours ago, Vandares said:

    Thank you for you reply

    i made an account and i added database into it

     

    1774775102_Screenshot2022-03-21054054.thumb.png.6d51abe084b3bd23fb4b9ad01218363d.png

     

    1480875325_Screenshot2022-03-21054027.png.0bf5c1389ac0877dcee68b1d37c24d52.png

     

    then what should i do ? is still have the same error tho, do i have to change anything in application.php ? or server.php ?

    user name : ragnarok
    host name : localhost not %

  4. 58 minutes ago, Vandares said:

    Hello Everyone, i spent days trying to solve this critical Error but i couldn't somehow, i am not sure where is the problem. 😞 

    note: i am not opening an offline server nor online, i just want to install fluxCP to play around with designs and programming

    2125076234_Screenshot2022-03-21002843.png.7b09baf7ab0be6128170b18f66ee6c3f.png

     

    the steps i did:

    1- i downloaded This https://github.com/rathena/rathena

    2- went to phpmyadmin and i created a data base called (ragnarok)

    3- i imported logs.sql and main.sql into my (ragnarok) database

    4- i am using Xampp and i have windows 10 and i have my FluxCP file into hdocs file (C:\Program Files\xampp\htdocs\FluxCP)

    note: i did not change anything in application.php and server.php (only the theme)

     

    this is Application.php i only have the theme name (FalconRO)

    208255942_appphp.png.df0c6c0c2371310594eb81529dae9293.png

     

    This is server.php i did not change anything such as username password or database becuase i am not sure if i have to change anything ??!!

     

    916984993_serphp.png.8bc5ed3adfd76805b5cedeb8688c741a.png

    i do not know what i am missing or i did not do, and i am still a beginner to all these so bare with me 🙄

     

    This is my phpmyadmin:

     

    871683539_Screenshot2022-03-21004710.thumb.png.7f836335c3ebda7232cc8e1928c4754d.png

     

    I really hope i can get rid if this problem 🥲 Thank you for reading and I appreciate your time

     

     

     

    have create server privileges/user account of ragnarok? if not create now.

    1.thumb.png.d1696388f9aa9676d31c2bb3cc959300.png

  5. 8 hours ago, Vandares1 said:

    I want to install fluxCP offline, i dont need a ragnarok server with it or anything, i just wanna play around with designs and coding.
    i am using Xampp now but i am not sure where to start and how to do it.

     

    can someone help me with some steps please, thank you so much 

    extract fluxcp
    C:\xampp\htdocs [if you  install xampp on C:\xampp]
    open on web browser 127.0.0.1/fluxcp
    input secretpassword on password
    at Install & Update
    choise Install or Update Everything
    if show notice press OK
    -Finis-

  6. 2 hours ago, funtwocrasher said:

    Is there any script out there that function like this? Global announce when player killed a monster and drops a card. Same like in ROZero.

     

    image.png.4405e1a0f60aafe753d461a46515b749.png

      - Id: 4001
        AegisName: Poring_Card
        Name: Poring Card
        Type: Card
        Buy: 20
        Weight: 10
        Locations:
          Armor: true
        Flags:
          BuyingStore: true
          DropEffect: CLIENT
        Script: |
          bonus bLuk,2;
          bonus bFlee2,1;
        add
        Flags:
          DropAnnounce: true

  7. 1 hour ago, mrfizi said:

    Hai semua,

    Saya ingin bertanya sudah adakah antara kalian yang sudah upgrade pc/laptop ke Windows11?

    Adakah Windows11 masih support untuk tools pembuatan server (ragnarok)?

    Terima kasih.

    untuk support atau tidak dicoba dahulu. install win 11 terpisah. jangan upgrade dari 10 ke 11.
    untuk VS 2015 masih bisa. hanya disarankan menggunakan yang 2019.
     

  8. 1 hour ago, Althezier said:

    I mean, that's exactly my idea. I wanted to set up a server that is pre-renewal, but still with new features like those you described. The thing is, I always get confused about why people, who wants to run a pre-renewal server, look for older clients. Is there any advantage?

    I personally don't know, but old clients are more friendly to use for old laptops/pc and classic looks
×
×
  • Create New...

Important Information

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