Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/26/20 in all areas

  1. Hey guys, how are you doing? I've seen some scripts similar, but nothing like this. This is my version of this event, 'Crack The Code'. Description: Video showing how the script works: Crack The Code V1.1 Some changes were made after this video. Features: I have one 'limited' version what I want to share with you guys. crack_the_code_v1.0_rathena.txt Limitations of this version: I'm accepting suggestions. (I'll not make changes in limited version) Sorry for my english and thank you for the attention. ? I hope you guys like. Special thanks to @Radian, for helping me with feedback and support me. ?
    1 point
  2. You need to install a lets encrypt certbot. You can search in google, for example: https://linuxhostsupport.com/blog/install-lets-encrypt-ssl-certificates-using-certbot/ You maybe will also need to force https in your cp for all requests made. To do it you will need to change your .htaccess to this #FORCE HTTPS RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !\.(js|ico|gif|jpg|png|css|pdf|swf|flv)$ index.php [QSA] Note that if you do this, you also will need to enable to use clean urls. Enable it in application.php 'UseCleanUrls' => true, // Set to true if you're running Apache and it supports mod_rewrite and .htaccess files.
    1 point
  3. @Gigo The presence of a supported "dinput.dll" in the game folder.
    1 point
  4. case 1: set .@purchase[0],@bought_nameid; copyarray .@purchase[1],getd(".item_"+@bought_nameid+@opt+"[0]"),getarraysize(getd(".item_"+@bought_nameid+@opt+"[0]")); if ( !.@purchase[1] ) { mes strcharinfo(0) + " Un error ocurrio."; close; } mes "Deseas comprar el item " + getitemname(.@purchase[1]) + " al precio de ^DF0101" + .@purchase[3] * @bought_quantity + " BG's jugados?^000000"; if ( select ( " - Sí : - Mejor no " ) == 2 ) close; if ( countitem( 32025 ) < .@purchase[3] * @bought_quantity ) { next; mes "No tienes la cantidad de bg's jugados"; mes "Actualmente tienes : " + countitem( 32025 ) + " BG's jugados"; } else { getitem @bought_nameid , .@purchase[2] * @bought_quantity; delitem 32025, .@purchase[3] * @bought_quantity; } close; //no-break;
    1 point
  5. @Sehrentos is it possible to make the reward system like this? with the amount on it? // Event reward ID's (One random array is selected) setarray .loots_0, 501,10 , 502,10 , 503,10 , 504,10 , 505,10 , 506,10 ;
    1 point
  6. You can use mine o: wel i didn't made it, so isn't mine, but i'm using it on my server and works, also has a leader to record breaking records and enables you to restart it, creditos to the author o:! turbo_room,106,105,5 script Emperium Breaker 1288,{ // What Map will be used set .Map$,"job3_arch01"; // How many Top Breaker will be Recorded set .TopRank,5; // Message to Inform Players while inside the Room setarray .Instruction$[0], "Necesitas guild para pegarle, crea una con el emperium que se te da si no tienes guild. Por favor pon atencion.", "Esta sala es para probar que tan rapido puedes romper un Emperium.", "Preparate para romperlo, aparecera en el centro de la sala", "Al entrar se te dieron Butterfly Wings, para que puedas regresar cuando acabes, eso es todo, preparate."; while( 1 ){ mes "Esta es la sala prueba de Romper el Emperium. "; mes "Puedes calcular que tan rapido rompes el Emperium en esta sala."; next; switch( select( ( getmapusers( .Map$ ) )?"^FF0000No disponible":"^0000FFDisponible^000000", "Top ^FF0000"+.TopRank+"^000000 Record", ( getgmlevel() < 90 )?"":"^FF0000[GM]^000000 Reset Room", ( getgmlevel() < 90 )?"":"^FF0000[GM]^000000 Reset Ladder" )){ Case 1: if( getmapusers( .Map$ ) ){ mes "Hay otro jugador, espera a que termine por favor."; next; break; } warp .Map$,0,0; getitem 714,1; // poring coin , editar segun tu preferencia. killmonster .Map$,"All"; // removemapflag .Map$,mf_noskill; donpcevent strnpcinfo(0)+"::OnReady"; end; Case 2: mes "^ED1ADCMejor Record^000000 : "+LatestRecord/1000+"."+LatestRecord%1000+" Seconds."; for( set .@i,0; .@i < .TopRank; set .@i,.@i + 1 ){ if( !$TopRankTime[.@i] ) break; mes "^FF0000Top "+( .@i + 1 )+" : ^0000FF"+$TopName$[.@i]+" "; mes "^FF0000Tiempo : ^ED1ADC[ "+$TopRankTime[.@i]/1000+"."+$TopRankTime[.@i]%1000+" Sec. ]^000000 "; } next; break; Case 3: mapannounce .Map$,"El GM reinicio los record del Emperium Breaker.",0,0x00FF00; killmonster .Map$,"All"; sleep2 3000; mapwarp .Map$,"izlude",103,142; mes "Listo, los jugadores que estaban adentro son enviados a fuera."; 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 .@i,0; .@i < .TopRank; set .@i,.@i + 1 ){ if( .Name$ == $TopName$[.@i] ){ deletearray $TopName$[.@i],1; deletearray $TopRankTime[.@i],1; mes "Removed ^FF0000"+.Name$+"^000000 from the List."; } } } next; break; } } OnReady: sleep2 3000; for( set .@i,0; .@i < getarraysize( .Instruction$ ); set .@i,.@i + 1 ){ mapannounce .Map$,.Instruction$[.@i],0,0x00FF00; sleep2 2500; } for( set .@i,5; .@i > 0; set .@i,.@i - 1 ){ mapannounce .Map$,"Cuenta regresiva : "+.@i+" segundos.",0,0x00FF00; sleep2 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; sleep2 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; sleep2 3000; mapwarp .Map$,"izlude",103,142; stopnpctimer; end; OnBreaked: set .Time,getnpctimer(0); copyarray .@tempName$[0],$TopName$[0],getarraysize( $TopName$ ); copyarray .@tempRecord[0],$TopRankTime[0],getarraysize( $TopRankTime[0] ); set LatestRecord,.Time; for( set .@i,0; .@i < .TopRank; set .@i,.@i + 1 ){ if( .Time < $TopRankTime[.@i] || !$TopRankTime[.@i] ){ set $TopRankTime[.@i],.Time; set $TopName$[.@i],strcharinfo(0); copyarray $TopRankTime[.@i + 1],.@tempRecord[0],getarraysize( .@tempRecord ); copyarray $TopName$[.@i + 1],.@tempName$[0],getarraysize( .@tempName$ ); announce "[ "+strcharinfo(0)+" ] Tomo el ranking "+( .@i + 1 )+" en la sala de Rompe Emperium con un record de "+.Time/1000+"."+.Time%1000+" segundos !!!",bc_all,0xED1ADC; break; } } stopnpctimer; announce "Tiempo tomado : "+.Time/1000+"."+.Time%1000+" Seconds. ",bc_self,0xED1ADC; // removemapflag .Map$,mf_noskill; sleep2 5000; mapwarp .Map$,"izlude",103,142; 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
    1 point
×
×
  • Create New...