Jump to content

BrOgBr

Members
  • Content Count

    34
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by BrOgBr


  1. Consegui fazer o que está no emulador atual funcionar, infelizmente não é como esse do github do JulioCF, mas funciona normal... Esse do @JulioCF é bem old times, do jeito que eu queria, mas pelo visto não é mais compatível com o emulador atual e não sei por onde começar a fazer ele funcionar, então melhor ficar com o que está funcionando mesmo.

    Pode fechar.

    Eu havia traduzido com a função substituir do notepad++ e não me liguei que ele acabou traduzindo onde não era pra traduzir, daí não dava erro algum, mas o script não funcionava adequadamente.


  2. Estou com um problema, o script 71-85.txt do Eden, do Hercules, parece estar incompleto. 

    Ele não possui os NPCs, Meidi, Jeanbai, Ancellia e etc...

    Ou seja acredito que ele deveria estar assim:

    https://github.com/JulioCF/Ragnarok-OldTimes/blob/master/emulador_oldtimes/Trunk/npc/re/quests/eden/71-85.txt

    Como no github do @JulioCF

    Mas ele está incompleto, com isso não aparecem os NPCs necessários para a quest.

    Tentei copiar o NPC acima, mas ele apresenta erros nos checkquest, não faço ideia de como fazer ele funcionar no herc, eu sei que agora utiliza o checkprogress, mas também não sei como trocar...

     

    To meio perdido, não sei se estou certo ou errado, se tem eles em outro diretório, por favor preciso muito deles e não consegui encontrar, fico no aguardo.

    O 71-85.txt do herc está assim:

    https://github.com/HerculesWS/Hercules/blob/master/npc/re/quests/eden/71-85.txt

    Não tem os NPCs necessários para prosseguir com a quest. :bawling:


  3. Now I tried so:

    -	script	Agit_Event	-1,{
    	end;
    
    OnClock0028:	//start time for Tues(2), Thurs(4)
    OnClock0030:	//end time for Tues(2), Thurs(4)
    
    OnAgitInit:
    	// starting time checks
    	if((gettime(4)==6) && (gettime(3)>=28 && gettime(3)<30)) {
    		if (!agitcheck()) {
    			agitstart;
    			callsub S_DisplayOwners;
    		}
    		end;
    	}
    
    	// end time checks
    	if ((gettime(4)==6) && (gettime(3)==30)) {
    		if (agitcheck()) {
    			agitend;
    			callsub S_DisplayOwners;
    		}
    		end;
    	}
    	end;

    Server time was 00:28.
    Without sucess.

    @AgitStart and @AgitEnd working perfectly.

    I did it in my script.guild.conf:
    I don't know if this might be the problem

    // - Al De Baran
    //npc: npc/gde/1ed/aldeg_cas01.txt
    //npc: npc/gde/1ed/aldeg_cas02.txt
    //npc: npc/gde/1ed/aldeg_cas03.txt
    //npc: npc/gde/1ed/aldeg_cas04.txt
    //npc: npc/gde/1ed/aldeg_cas05.txt
    // - Geffen
    //npc: npc/gde/1ed/gefg_cas01.txt
    //npc: npc/gde/1ed/gefg_cas02.txt
    //npc: npc/gde/1ed/gefg_cas03.txt
    //npc: npc/gde/1ed/gefg_cas04.txt
    //npc: npc/gde/1ed/gefg_cas05.txt
    // - Payon
    //npc: npc/gde/1ed/payg_cas01.txt
    //npc: npc/gde/1ed/payg_cas02.txt
    //npc: npc/gde/1ed/payg_cas03.txt
    //npc: npc/gde/1ed/payg_cas04.txt
    //npc: npc/gde/1ed/payg_cas05.txt
    // - Prontera
    npc: npc/gde/1ed/prtg_cas01.txt
    //npc: npc/gde/1ed/prtg_cas02.txt
    //npc: npc/gde/1ed/prtg_cas03.txt
    //npc: npc/gde/1ed/prtg_cas04.txt
    //npc: npc/gde/1ed/prtg_cas05.txt

     


  4. 26 minutes ago, meko said:

    you have a syntax error in your if statements: the condition(s) must be enclosed within parentheses.

     

    if (gettime(4) == 5) && (gettime(3) >= 1745)

    should be:

    if ((gettime(4) == 5) && (gettime(3) >= 1745))

     

    also, you should use constants instead of passing 3 or 4 to gettime()

    Hello meko, thank you for help.

    I tried so:

    -	script	Agit_Event	-1,{
    	end;
    
    OnClock0018:	//start time for Tues(2), Thurs(4)
    OnClock0025:	//end time for Tues(2), Thurs(4)
    
    OnAgitInit:
    	// starting time checks
    	if((gettime(4)==6) && (gettime(3)>=0018 && gettime(3)<0025)) {
    		if (!agitcheck()) {
    			agitstart;
    			callsub S_DisplayOwners;
    		}
    		end;
    	}
    
    	// end time checks
    	if ((gettime(4)==6) && (gettime(3)==0025)) {
    		if (agitcheck()) {
    			agitend;
    			callsub S_DisplayOwners;
    		}
    		end;
    	}
    	end;
    

    I didn't have a map-server error, but the WoE didn't start. :(


  5. Hello guys, someone can help, the WoE don't starts and I haven't idea why...
    It's the Oficial NPC, I just changed some things, the start time I put 1745 to start just for test, but it's not working.

    -	script	Agit_Event	-1,{
    	end;
    
    OnClock1745:	//start time for Tues(2), Thurs(4)
    OnClock1750:	//end time for Tues(2), Thurs(4)
    
    OnAgitInit:
    	// starting time checks
    	if(gettime(4)==5) && (gettime(3)>=1745) {
    		if (!agitcheck()) {
    			agitstart;
    			callsub S_DisplayOwners;
    		}
    		end;
    	}
    
    	// end time checks
    	if (gettime(4)==5) && (gettime(3)==1750) {
    		if (agitcheck()) {
    			agitend;
    			callsub S_DisplayOwners;
    		}
    		end;
    	}
    	end;
    
    S_DisplayOwners:
    //	setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05";
    //	setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05";
    //	setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05";
    	setarray .@maps$[15],"prtg_cas01";	//"prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
    	for (.@i = 0; .@i <= 19; ++.@i) {
    		if (getcastledata(.@maps$[.@i],1))
    			announce "O Castelo [" + getcastlename(.@maps$[.@i]) + "] está em posse do Clã [" + getguildname(getcastledata(.@maps$[.@i],1)) + "].",bc_all|bc_woe;
    		else
    			announce "O Castelo [" + getcastlename(.@maps$[.@i]) + "] está totalmente desocupado.",bc_all|bc_woe;
    	}
    	end;
    }

    Please help. :'(


  6. Hello guys someone can help me please?
    I tried many things but I can't do it alone, I need help :bawling:

    How can I put it just for Baby Classes 2-1 and lower / Base Level 80 or lower, join?

    Here the Oficial Script:

    //===== Hercules Script ======================================
    //= Novice's Guild Castles War of Emperium Usher NPC
    //===== By: ==================================================
    //= Lupus
    //===== Current Version: =====================================
    //= 1.7
    //===== Description: =========================================
    //=
    //===== Additional Comments: =================================
    //= Now you have access to 4 N Guild castles. They don't have
    //= dungeons. And 2nd Classes can't seize these Castles.
    //= These new castles need a new strategy. It would bring some
    //= fun and live to your game.
    //= NOTE: If your Guild Master is 2nd class, then he could
    //=       rule the Castles and gather Treasure Boxes after WoE
    //= 1.1 Now 2nd classes can't enter NC place at all
    //= 1.2 Restricted access of SG/SL. On warp clear some
    //=     unallowed buffs [Lupus]
    //= 1.3 Restricted TK,High classes >=90 BaseLevel,
    //=     updated list of unallowed buffs [Lupus]
    //= 1.4 Restricted it to 80 Base Level [Lupus]
    //= 1.5 According to official info: 1 Treasure Chest per Castle
    //= 1.6 Only 1st Class < 60 BaseLevel Players can participate
    //= 1.7 Guilds with Emergency Call or with 9+ skill points
    //=     can't take part in NWoE. [Lupus]
    //= TODO: The official entrance is in Izlude.
    //============================================================
    
    prontera,146,163,6	script	Novice Castles	4_F_NOVICE,{
    	mes "[Cita]";
    	if (!getcharid(2)) {
    		mes "^FF0000You have to enter a guild to be able to hit Emperium!^000000";
    	} else if (getgdskilllv(getcharid(2),10013) ||
    	         (getgdskilllv(getcharid(2),10000) +
    	          getgdskilllv(getcharid(2),10001) +
    	          getgdskilllv(getcharid(2),10002) +
    	          getgdskilllv(getcharid(2),10003) +
    	          getgdskilllv(getcharid(2),10004) +
    	          getgdskilllv(getcharid(2),10005) +
    	          getgdskilllv(getcharid(2),10006) +
    	          getgdskilllv(getcharid(2),10007) +
    	          getgdskilllv(getcharid(2),10008) +
    	          getgdskilllv(getcharid(2),10009) +
    	          getgdskilllv(getcharid(2),10010) +
    	          getgdskilllv(getcharid(2),10011) +
    	          getgdskilllv(getcharid(2),10012) +
    	          getgdskilllv(getcharid(2),10013) +
    	          getgdskilllv(getcharid(2),10014) > 9)
    	          ) {
    		mes "I see... your guild has Emergency Call mastered.";
    		mes "You cannot enter the Novice Castle area.";
    		emotion e_hmm;
    		emotion e_wah,1;
    	} else {
    		mes "I'm a new usher of Novice Castles.";
    		next;
    		mes "[Cita]";
    		if ((eaclass()&(EAJL_2|EAJL_UPPER)) || BaseLevel>=60) {
    			mes "I'm sorry, you can't enter the sacred Novice Castles place.";
    			emotion e_sry;
    		} else if (select("Warp me to Novice Castles","Cancel") == 1) {
    			// remove several unallowed buffs
    			sc_end SC_ASSUMPTIO;
    			sc_end SC_IMPOSITIO;
    			sc_end SC_SUFFRAGIUM;
    			sc_end SC_MAGNIFICAT;
    			sc_end SC_WEAPONPERFECT;
    			sc_end SC_GOSPEL;
    			sc_end SC_BASILICA;
    			sc_end SC_MAGICPOWER;
    			sc_end SC_MARIONETTE;
    			sc_end SC_MARIONETTE2;
    			sc_end SC_DEVOTION;
    			sc_end SC_SACRIFICE;
    			sc_end SC_OVERTHRUSTMAX;
    			sc_end SC_SOULLINK;
    			warp "n_castle",102,93+rand(14);
    		}
    	}
    	close;
    }
    
    n_castle,102,107,5	script	Cita	4_F_NOVICE,{
    	mes "[Cita]";
    	mes "Hello, "+ strcharinfo(0) +". Can I help you?";
    	next;
    	if (select("Warp me to Prontera!","Cancel") == 1) {
    		warp "prontera",155,177+rand(5);
    	} else {
    		mes "[Cita]";
    		mes "Ok.";
    	}
    	close;
    }

     

×
×
  • Create New...

Important Information

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