Jump to content

EmptyRaiden

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by EmptyRaiden

  1. Message box:
     

    Quote

     

    Lua Files\StateIcon\StateIconInfo.lub

    [String "buf"]:4082: table index is nil

     

    When I use the renewal files, I get no errors. But when I use the pre-renewal files I get this error + my game turns into "NO MSG" fiasta. I use these two translations: https://github.com/zackdreaver/ROenglishRE and https://github.com/zackdreaver/ROenglishPRE.

    Again, note that when I use the renewal version I don't get any errors nor my game is in korean with NO MSG all over the place. So the problem is related only to the PRE-renewal data.

    If you're wondering, I use 2015-11-04aRagexe. I have up-to-date full kro files.

  2. Hello,

     

    I'm new at scripting NPC's and I need some help on some basic stuff.

     

    This is my script of a basic monster invasion NPC:

    prontera,160,187,4	script	MI	100,{
    
    if(getgmlevel() < 50) { goto notgm; }
    		 else { goto gm; }
    
    gm:
    mes "[^FF0000MI^000000]";
    mes "Hello, GM, what can I do for you?";
    cloes;
    end;
    
    notgm:
    mes "[^FF0000MI^000000]";
    mes "Hello, I'm NPC of Monster Invasion event.";
    mes "You can excpet me starting the event on (s) and (s) at 8:00 PM";
    close;
    end;}
    

    tried to do this too:

    prontera,160,187,4	script	MI	100,{
    
    if(getgmlevel() < 50) { goto notgm; }
    		 else { mes "[^FF0000MI^000000]";
    			mes "Hello, I'm NPC of Monster Invasion event.";
    			mes "You can excpet me starting the event on (s) and (s) at 8:00 PM"; cloes;}
    
    gm:
    mes "[^FF0000MI^000000]";
    mes "Hello, GM, what do you want me to do?";
    cloes;
    end;
    }
    

    And yes, this isn't the full script 'cause I'm already stuck at this part. Well, the problem is when I ever click of the NPC, nothing happens at all when it supposed to do the script  (talking to you after knowing your gm level so it affects the way it behaves).

     

     

    Thanks.

  3. Hello,

     

    I've installed Narrator script successfully but I couldn't make it announce the messages to the whole server, not just the map.

     

    script:

    //  ________________________________________________________
    // /		 ____    	                            \
    // |		|  __|					    |
    // |		| |_ _  _  __ _ _ __  _  __ 		    |
    // |		|  _| || |/ _` | '_ \| |/ _ \		    |
    // |		| |__ \/ | (_| | | | | | (_) |		    |
    // |		|____|__/ \__,_|_| |_|_|\___/ 		    |
    // |                                                        |
    // |                   			                    |
    // |--------------------------------------------------------|
    // | Name of Script: Narrator PvP                           |
    // |--------------------------------------------------------|
    // | By: Evanio (SynGates)                                  |
    // |--------------------------------------------------------|
    // | Version 1.0		                            |
    // |--------------------------------------------------------|
    // | Description: Narrator PvP System, where the player has |
    // | more than one choice of narrators.			    |
    // |--------------------------------------------------------|
    // | Changelog:               	                            |
    // | 1.0 Script maked  (18/02/2014) [Evanio]                |
    // \________________________________________________________/
    // ----------------------------------------------------------
    quiz_02,353,368,5	script	Narrator PvP	999,{
    
    	Locutor:
    		mes "[Narrator PvP]";
    		mes "We have available four types of PvP narrators. Choose one of your own.";
    		next;
    		switch(select("UnrealTournament","Badass","Flamboyant","Pimp")) {
    
    			case 1: set @loc,0; soundeffect "locutor0.wav",0; goto Loc;
    			case 2: set @loc,1; soundeffect "locutor1.wav",0; goto Loc;
    			case 3: set @loc,2; soundeffect "locutor2.wav",0; goto Loc;
    			case 4: set @loc,3; soundeffect "locutor3.wav",0;
    				Loc:
    				mes "[Narrator PvP]";
    				mes "You want to select this narrator?";
    				next;
    				if(select("Yes","No")==2) { goto Locutor; }
    				set #ST,@loc;
    				mes "[Narrator PvP]";
    				mes "Narrator selected.";
    				close;
    	}
    }
    
    -	script	CtrlLoc	-1,{
    
    OnPcKillEvent:
    	getmapxy @map$,@x,@y,0;
    		for(set .@a,0;.@a<getarraysize($@MapName$);set .@a,.@a+1)
    			if($@MapName$[.@a]==@map$) {
    	set @Killer,getcharid(0);
    	set @Morto$,rid2name(killedrid);
    	set @Killed,getcharid(0,rid2name(killedrid));
    		if(@Killed==@Killer) end;;
    	set @WD2,@WD2+1;
    		if(#ST==0) { set @WD,@WD2; }
    		if(#ST==0 && @WD2>12) { set @WD,0; set @Tocar$,"";}
    			if(#ST==1) { set @WD,@WD2+12;} 
    			if(#ST==1 && @WD2>12) { set @WD,0; set @Tocar$,"";} 
    				if(#ST==2) { set @WD,@WD2+24; }
    				if(#ST==2 && @WD2>12) { set @WD,0; set @Tocar$,"";}
    					if(#ST==3) { set @WD,@WD2+36; }
    					if(#ST==3 && @WD2>12) { set @WD,0; set @Tocar$,"";}
    	if($@Sounds$[@WD]!="") { set @Tocar$,$@Sounds$[@WD]; }
    		mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map;
    			if($@Sounds$[@WD]!="") { soundeffectall $@Sounds$[@WD]+".wav",0; }
    				if(#ST==1) { soundeffectall $@SoundsE$[1]+".wav",0; }
    					if(#ST==3) { soundeffectall $@SoundsE$[3]+".wav",0; soundeffectall $@SoundsE$[4]+".wav",0; }
    	}
    			end;
    
    OnPcDieEvent:
    	getmapxy @map$,@x,@y,0;
    		for(set .@a,0;.@a<getarraysize($@MapName$);set .@a,.@a+1)
    			if($@MapName$[.@a]==@map$) {
    				set @WD2,0;
    				set @WD,0;
    	}
    end;
    
    OnInit:
    	deletearray $@Sounds$;
    	deletearray $@MapName$;
    // ---------------   Add here the pvp maps   ------------
    	setarray $@MapName$[1],"pvp_n_1-5","pvp_n_3-4";
    //-------------------------------------------------------
    	setarray $@Sounds$[1],"First Blood","Double Kill","Triple Kill","Killing Spree","Mega Kill","Ultra Kill","Monster Kill","Unstoppable","WhickedSick","GodLike","HolyShit","Rampage";
    	setarray $@Sounds$[13],"First of Many","Too Easy","No Chance","Who's next","Five kill stud","Not today dirtbag","Kiss my ass","Damn I'm good","Who's your daddy","Hell yeah","Unbelievable","Champion";
    	setarray $@Sounds$[25],"Cherry Popper","Fabulous","It's a three way","Rainbow Warrior","Homicidal","Big Bear","Macho","Savage","Domination","Superstar","Yey","Like OMG";
    	setarray $@Sounds$[37],"First Time","Double D's","The juice is loose","It's a four-gy","It's the 5-O","What's my name","Say my name","Mo money","One Bad Mother","Pimpin is easy","Bitch please","Big Pimpin";
    	setarray $@SoundsE$[1],"bullet","bullet_glass","bling","chainin";
    	end;
    }
    
  4. Hello,

     

    I have the new izlude map in my server and it works properly and everything EXCEPT I have the npc's and warps placed in wrong places. When I go to the swordsmen guild to change to a swordsman (SOMEHOW) cuz there's no even a warp to take me inside, I cannot even get out, it takes you under the water of izlude map.

     

    I tried to replace my grf files and use the old izlude map, the npcs and warps were in their right places BUT I can't move properly....!

     

    So, I do not know what to do anymore.

    Thanks.

  5. And yeah, that's exactly what I did. Same pattern, loading00 to the end!

    Like I told you I believe it's somehow connected to the langtype. Anyways, I have to test another langtype as you mentioned before.

     

     

    +

    I've solved the problem!

    It was just with the client I used, it wasn't me who diffed it so I did it myself and there you go, it worked properly!

     

    Thank you guys anyway.

  6. Hello,

    I've been trying to use custom loadingscreens for my client and I still fail even though I know I do it correctly.

    I put them inside the folder: data\texture\À¯ÀúÀÎÅÍÆäÀ̽º

    with the names loading00.jpg, loading01.jpg...etc and Clientinfo.xml has the same names of them. I made a grf file called loading.grf (for example) that has both loadingscreens and clientinfo.xml AND STILL NOTHING HAPPENES. I've tried everthing.

    I think that my problem somehow has something to do with changing langtype, because I use 19 which is uae and I cannot ever be sure of that "thought".

     

    Thanks in advance.

  7. https://rathena.org/wiki/Category:Installation

     

    and your error message, please dont directly copy the post from other forum.

    upload the picture here, or re-attach it here, never directly copy the content from other forum and paste here.

    Nobody able to see the picture.

     

    32bit / 64bit OS isnt an issues.

    I used to have both 32bit/64bit OS to run the emulators.

    Sorry for that, I thought it would re-upload the image if i put the URL of it. Anyways, I uploaded the image now.

  8. Hello,
    I've followed the guide (Link) step by step, no step skipped and after the last step where I launch loki and start playing, it shows me a weird error message (when loki tries to open the patched ragexe). So, the problem isn't with loki.

     

    The weirdest part is that I done this guide more than once successfully long time ago, but now it seems it's not working anymore.

     

    If you want to know what I did exactly and what I used, it's exactly a copy of what's in the link above.

     

    Thank you.

     

    + I was using 32bit when I did it successfully. Now I'm using 64b, maybe that's the problem?

     

    the image:

    post-34939-0-57180400-1443077569_thumb.jpg

×
×
  • Create New...