Jump to content

Legend

Members
  • Content Count

    375
  • Joined

  • Days Won

    5

Posts posted by Legend


  1. did you mean i need also to compile/build the mapcache? same with map_server, login_server and char_server? I already did that

    As I've had observed from your screenshot, you changed the default prontera to xmas themed pront., .gat tiles were not updated, so therefore you must update your map_cache.dat and can also be achieved through using weemapcache, you can follow this one: http://herc.ws/board/topic/5748-izlude-map-issue/#entry37016

     

    instead of izlude (on the guide), change the prontera map.


  2.  

     

    Requesting script to disable equip costume if the player have donate headgears. Thank you!

     

    Please do elaborate and supply more information about your request, thanks.

     

    If you equipped donate items like item id 2280 you cannot equip any item id of costume items. Because I want to view the original sprite.

     

     

     

    How about this?

    Full Script Linkhttp://upaste.me/9ba637711820fb425

     

    Instructions:

    1)  Load this script:

    // =============================
    /* Disable costume equip: http://herc.ws/board/topic/13925-disable-costume-equip/
    	----------------------------
    	by: Legend
    	compatible w/: Hercules
    	----------------------------
    	Description:
    	* Allows you to disable wearing of costume items
    	  while donate items were equipped.
    	----------------------------
    	comments:
    	* Please report to me if bugs were found:
    	  Contact: http://herc.ws/board/user/5387-legend/
    */
    // =============================
    -	script	Request#7	FAKE_NPC,{
    OnInit:
    	// Add all your donate item id here
    	setarray .c[0],2220,2280; // 2220 = hat || 2201 = sunglass || 2280 = sakkat
    	end;
    	
    OnCheckItem:
    	for (.@i = 0; .@i < getarraysize(.c); ++.@i){
    		if (isequipped(.c[.@i])){
    			++.@citem;
    		}
    	}
    	if (.@citem){
    		if (getequipisequiped(EQI_COSTUME_HEAD_TOP)) unequip EQI_COSTUME_HEAD_TOP;
    		if (getequipisequiped(EQI_COSTUME_HEAD_MID)) unequip EQI_COSTUME_HEAD_MID;
    		if (getequipisequiped(EQI_COSTUME_HEAD_LOW)) unequip EQI_COSTUME_HEAD_LOW;
    		if (getequipisequiped(EQI_COSTUME_GARMENT)) unequip EQI_COSTUME_GARMENT;
    		message strcharinfo(0), "You are not allowed to wear costume item while wearing donate equipment.";
    	}
    	end;
    }
    

    2) Insert this script to ALL of your costume items on itemdb.

     IF you miss this one, it won't work.

    	Script: <"
    		doevent "Request#7::OnCheckItem";
    	">
    

     

    It seems I can't found any way to simplify things, so i wrote this way.

    Please report if bugs were found.

    And please don't forget to modify ".c[0]" array, add all your donate items in there.


  3. Hi guys can anyone help me in woe? Cause if the player tries to attack the emperium in woe time the players cant hit the emperium its always missed. The stats of the player is max and the hit is high. Even the admin if there hitting the emperium in woe its always missed. I tried to summon the normal emperium and admin and player can hit the emperium. This issue is only during woe time. Please help me with this guys.

     

    Be sure, you have:

     

    1) Guild

    2) Guild Skill -> Level 1 Approval

    Ref: http://ratemyserver.net/index.php?page=skill_db&jid=10000


  4. Hello sir @Dastgir!
    Thank you for pointing that out sir, I thought of the same thing when I was still writing the script. I used that (.var) since I wanted to use "callsub" func to return when things on "input" fails, but then I realized that it might fall errors on future if I pursue (.var) than (.@var).  :D

     

    @topic:

    So I tried to modify the script again:

    Same Link: http://upaste.me/f07e369360379b8b8

     

    Changes were written on the upper note.

     

    Please do report if bugs were found,

    Thank you!  ^_^


  5. pano or anong script yung sa broadcaster na hindi sya pwede gamitn pag woe?

     

     

     

    Insert this to your broadcaster script:

    if (agitcheck()) || (agitcheck2()){
    	mes "You cannot use this during WoE time.";
    	close;
    }
    

  6. Hello! 

     

    Can I request a script where an NPC will only talk to you if you have Item A equipped and then he gives 3 choices (Item X, Y, Z) then you select which item you want then he will give the item to you oh and It has to be account-bound(The NPC not the item). Is this possible?

     

     

    I couldn't think of a better dynamic menu, I hope I did it right.

    You can use this if you want,

    Report any error/bug you found.

     

    Link: http://upaste.me/ebad36985dce584b0

     

    Change the config according to your liking, just please follow the side notes: http://upaste.me/ebad36985dce584b0#LC60


  7. Hello Hercules,

     

    Sometimes guild leaders get banned, and their guild is forever frozen.

    I'm looking for a script that would allow Game Masters to safely transfer guild master to another player in the guild without the guild master needing to be online

     

    If there are already some out there, please link!

     

    Thanks!

     

     

    You can use this if you want,

    Just please report if you found any bugs :)

     

    Link: http://upaste.me/f07e369360379b8b8

     

    Read the description noted on the paste.


  8. I tried to modify the script but I haven't tried these changes:

     

    prontera,155,181,5	script	Sample	757,{
    mes "I am Party Match Manager.";
    mes "Party Leader may create a PVP Match here.";
    next;
    switch( select( ( .Created )?"Join Game[ ^FF0000"+.No+"vs"+.No+"^000000 ]":"Create Game",
    				( ( getgmlevel() >= .GMLevel || getcharid(0) == getpartyleader( getcharid(1),2 ) ) && .Created )?"^FF0000Remove Game^000000":"" )){
    
    Case 1:
    	switch( .Created ){
    		Case 0:
    			getpartymember getcharid(1),1;
    			if( getcharid(0) != getpartyleader( getcharid(1),2 ) || !getcharid(1) ){
    				mes "Sorry, but only a ^FF0000Party Leader^000000 can register a game here.";
    			}else{
    				mes "How many Players for each Party Team ?";
    				mes "Min = 1    Max = "+$@partymembercount;
    				mes "Because you only have "+$@partymembercount+" member right now.";
    				next;
    				input .No,1,$@partymembercount;
    				announce "[ "+.No+"vs"+.No+" Party Match ] created by "+strcharinfo(0)+", you may register to join.",0;
    				set .Team[0],getcharid(1);
    				set .Created,1;
    			}
    			close;
    		Case 1:
    			if( !.Team[1] && getcharid(1) == .Team[0] ){
    				mes "Please wait for ^FF0000Team 2^000000 to Register.";
    			}else{
    				if( getcharid(0) != getpartyleader( getcharid(1),2 ) || !getcharid(1) ){
    					mes "Sorry, but only a ^FF0000Party Leader^000000 can register a game here.";
    					close;
    				}
    				getpartymember getcharid(1),1;
    				if( $@partymembercount < .No ){
    					mes "You didnt have enough of "+.No+" Member for the Game.";
    					mes "You only have "+$@partymembercount+" Member.";
    				}else{
    					mes "Confirm Registration ?";
    					if( select("Yes:No") == 1 ){
    						set .Team[1],getcharid(1);
    						set .Created,2;
    						setarray .Members[0],.No,.No;
    						if (getcharid(1) == .Team[0]) {
    							getpartymember .Team[0],1;
    							for( set .@i,0; .@i < .No; set .@i,.@i + 1 )
    								warpchar .Map$,150,150,$@partymembercid[.@i];
    						}
    						if (getcharid(1) == .Team[1]) {
    							getpartymember .Team[1],1;
    							for( set .@i,0; .@i < .No; set .@i,.@i + 1 )
    								warpchar .Map$,100,100,$@partymembercid[.@i];
    						}
    						end;
    					}
    				}
    			}
    			close;
    		Case 2:
    			mes "^FF0000The Game is in Progress.^000000";
    			mes "[ A "+.No+" vs "+.No+" Game ]";
    			mes "Team ^FF0000"+getpartyname( .Team[0] )+"^000000 vs Team ^FF0000"+getpartyname( .Team[1] )+"^000000 .";
    			close;
    		}
    		close;
    Case 2:
    		mes "Done, Match will be terminated right away.";
    		mapannounce .Map$,"Match has been Cancelled by a GM.",0;
    		close2;
    	OnReset:
    		deletearray .Team[0],getarraysize( .Team );
    		deletearray .Members[0],getarraysize( .Members );
    		if( .Winner ){
    			getpartymember .Winner,2;
    			for( set .@i,0; .@i < .No; set .@i,.@i + 1 ){
    				getitem 512,100,$@partymemberaid[.@i];
    				getitem 607,1,$@partymemberaid[.@i];
    			}
    		set .Winner,0;
    		}
    		sleep2 2000;
    		set .Created,0;
    		mapwarp .Map$,"prontera",155,181;
    		end;
    }
    close;
    		
    OnPCDieEvent:
    OnPCLogoutEvent:
    if( strcharinfo(3) == .Map$ && .Created ){
    	for( set .@i,0; .@i < 2; set .@i,.@i + 1 )	
    		if( getcharid(1) == .Team[.@i] )
    			set .Members[.@i],.Members[.@i] - 1;
    			
    	if( .Members[0] < 1 ) set .Winner,.Team[1];
    	else if( .Members[1] < 1 ) set .Winner,.Team[0];
    			
    	if( .Winner ){
    		mapannounce .Map$,"Team "+getpartyname( .Winner )+" Win the "+.No+"vs"+.No+" Game.",0;
    		donpcevent strnpcinfo(0)+"::OnReset";
    	}else{
    		warp "prontera",155,181;
    	}
    }
    end;
    				
    OnInit:
    set .GMLevel,80;
    set .Map$,"pvp_y_1-1";
    end;
    }
    


    Report if you found errors.


  9. Need help with VNC Viewer. i tried to restart my server then the 3 screens (Map, Login and Char servers) disappeared. I dont know what command to use to make them appear again. I says that my server has started but the 3 screens (Map, Login and Char servers) is not showing. Just a newbie here. Thanks in advance! :)

    Kindly check that cmd on your taskbar on the upper part of the desktop.

×
×
  • Create New...

Important Information

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