Jump to content

mybitch

Members
  • Content Count

    291
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by mybitch


  1. Requesting a PVP Warper Script that will..

    1. Warp player to guild_vs3 /w full heal
    2. No potions are allowed to be used in the map
    3. If players leave out the map without dying their HP will return back to normal before they go in.
      E.G. Player with 50 HP go to the pvp room and received full heal - because he just want to receive the full heal he will logout  and relog back in game. HP must go back to 50 - Is this possible?
    4. Mmmm could it be possible for the map to be no pots map?

    thanks! that's all!


  2. For usable items you can use a map zone restriction: just disable it on the "All" zone and enable it on the Battleground zone.

     

    For items used by skills, that's a bit more complicated and maybe you need a source mod.

     

    Why you don't check out this source mod? May be useful for what you want: http://herc.ws/board/topic/425-bg-consume-mapflag-battlegrounds-items-that-can-only-be-used-in-bg/

     

    Is there a way not to edit src files? cause its hard to update hercules when there's modification :(


  3. I would like to request a script that uses KVM Points and badges that's given by the battlegrounds. I don't want to use the current script which gives glorious items or sets. 

     

    Is it possible to request a script that can buy items using the said points and badges above.. 

     

    E.G.

     

    For KVM Points - 1 NPC

    Badges - 1 NPC

     

    Thanks!


  4. Working on this. Are drop rates variable too? Which ones?

     

    P.S.: Remember to test on your home server!

     

    P.P.S.: Would be really nice to have that script command on the community since that one's quite popular.

     

    no only base and job rates.. hehe.


  5. Problem isn't in the pcblockmove script command. In fact, I'd leave it.

     

    Problem is caused by using close; when no message window is present. This way of using close is deficient; and has been deprecated and unsupported recently. Try a script with that correction:

     

    //===== eAthena Script =======================================//= Guarantee Refine Ticket//===== By: ==================================================//= Euphy / GM Takumirai//===== Current Version: =====================================//= 1.1a//===== Description: =========================================//= Uses [Guarantee Refine Ticket] to refine weapons/armor.//============================================================ function	script	GuaranteeRefine	{	 set .@CleanEquip,1;	// Only refine +0 equipment? (1:yes / 0:no)	 if (!getarg(1)) {		message strcharinfo(0)," ~~ Guarantee Refine Ticket +"+getarg(0)+" ~~ ";		for(set .@i,1; .@i<=10; set .@i,.@i+1) {			if (getequipisequiped(.@i) && !getiteminfo(getequipid(.@i),13)) set .@menu$, .@menugetequipname(.@i);			set .@menu$, .@menu":"; }		set .@s, select(.@menu$); }	else set .@s, getarg(1);	if (!getequipisequiped(.@s)) {		dispbottom "Nothing is equipped!"; end; }	if (!getequipisenableref(.@s)) {		dispbottom getequipname(.@s)+" cannot be refined."; end; }	if (getequiprefinerycnt(.@s) >= 10 || (.@CleanEquip && getequiprefinerycnt(.@s))) {		dispbottom "+"+getequiprefinerycnt(.@s)+" "+getequipname(.@s)+" cannot be refined any further."; end; }	if (getarg(1)) message strcharinfo(0)," ~~ Guarantee Refine Ticket +"+getarg(0)+" ~~ ";	if(select("^0055FFRefine +"+getequiprefinerycnt(.@s)+" "+getequipname(.@s)+":^777777Cancel^000000")==2) end;	//pcblockmove getcharid(3),1;	//specialeffect2 348;	//progressbar "",2;	if (!countitem(getarg(2))) {		dispbottom "Refine failed. Ticket not found."; end; }	for(set .@i,0; .@i<getarg(0); set .@i,.@i+1) {		if (getequiprefinerycnt(.@s) >= 10) end;		successrefitem .@s; }	delitem getarg(2),1;	//pcblockmove getcharid(3),0;    end;} /*Copy the following into dbitem_db2.txt:6228,Guarantee_Weapon_9Up,Guarantee Weapon 9Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",9,4,6228; },{},{}6229,Guarantee_Weapon_8Up,Guarantee Weapon 8Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",8,4,6229; },{},{}6230,Guarantee_Weapon_7Up,Guarantee Weapon 7Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",7,4,6230; },{},{}6231,Guarantee_Weapon_6Up,Guarantee Weapon 6Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",6,4,6231; },{},{}6232,Guarantee_Armor_9Up,Guarantee Armor 9Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",9,0,6232; },{},{}6233,Guarantee_Armor_8Up,Guarantee Armor 8Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",8,0,6233; },{},{}6234,Guarantee_Armor_7Up,Guarantee Armor 7Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",7,0,6234; },{},{}6235,Guarantee_Armor_6Up,Guarantee Armor 6Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",6,0,6235; },{},{}6238,Guarantee_Weapon_10Up,Guarantee Weapon 10Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",10,4,6238; },{},{}6239,Guarantee_Armor_10Up,Guarantee Armor 10Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",10,0,6239; },{},{}*/

    This should work. Sorry if I left over any close; just change them for end;

     

    Tell me if this works.

     

    Didn't work after changing every close to end still the character can't move after using it.


  6. Currently using this script made by Taku

     

    //===== eAthena Script =======================================//= Guarantee Refine Ticket//===== By: ==================================================//= Euphy / GM Takumirai//===== Current Version: =====================================//= 1.1a//===== Description: =========================================//= Uses [Guarantee Refine Ticket] to refine weapons/armor.//============================================================ function	script	GuaranteeRefine	{	 set .@CleanEquip,1;	// Only refine +0 equipment? (1:yes / 0:no)	 if (!getarg(1)) {		message strcharinfo(0)," ~~ Guarantee Refine Ticket +"+getarg(0)+" ~~ ";		for(set .@i,1; .@i<=10; set .@i,.@i+1) {			if (getequipisequiped(.@i) && !getiteminfo(getequipid(.@i),13)) set .@menu$, .@menu$+getequipname(.@i);			set .@menu$, .@menu$+":"; }		set .@s, select(.@menu$); }	else set .@s, getarg(1);	if (!getequipisequiped(.@s)) {		dispbottom "Nothing is equipped!"; close; }	if (!getequipisenableref(.@s)) {		dispbottom getequipname(.@s)+" cannot be refined."; close; }	if (getequiprefinerycnt(.@s) >= 10 || (.@CleanEquip && getequiprefinerycnt(.@s))) {		dispbottom "+"+getequiprefinerycnt(.@s)+" "+getequipname(.@s)+" cannot be refined any further."; close; }	if (getarg(1)) message strcharinfo(0)," ~~ Guarantee Refine Ticket +"+getarg(0)+" ~~ ";	if(select("^0055FFRefine +"+getequiprefinerycnt(.@s)+" "+getequipname(.@s)+":^777777Cancel^000000")==2) close;	//pcblockmove getcharid(3),1;	//specialeffect2 348;	//progressbar "",2;	if (!countitem(getarg(2))) {		dispbottom "Refine failed. Ticket not found."; close; }	for(set .@i,0; .@i<getarg(0); set .@i,.@i+1) {		if (getequiprefinerycnt(.@s) >= 10) break;		successrefitem .@s; }	delitem getarg(2),1;	//pcblockmove getcharid(3),0;	close;} /*Copy the following into dbitem_db2.txt:6228,Guarantee_Weapon_9Up,Guarantee Weapon 9Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",9,4,6228; },{},{}6229,Guarantee_Weapon_8Up,Guarantee Weapon 8Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",8,4,6229; },{},{}6230,Guarantee_Weapon_7Up,Guarantee Weapon 7Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",7,4,6230; },{},{}6231,Guarantee_Weapon_6Up,Guarantee Weapon 6Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",6,4,6231; },{},{}6232,Guarantee_Armor_9Up,Guarantee Armor 9Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",9,0,6232; },{},{}6233,Guarantee_Armor_8Up,Guarantee Armor 8Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",8,0,6233; },{},{}6234,Guarantee_Armor_7Up,Guarantee Armor 7Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",7,0,6234; },{},{}6235,Guarantee_Armor_6Up,Guarantee Armor 6Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",6,0,6235; },{},{}6238,Guarantee_Weapon_10Up,Guarantee Weapon 10Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",10,4,6238; },{},{}6239,Guarantee_Armor_10Up,Guarantee Armor 10Up,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "GuaranteeRefine",10,0,6239; },{},{}*/

     

    After using the script or using the item, player can't move. I removed the pcblockmove and still it happens.


  7. There's a click delay + the cast making a little imposible to change move that quick you want with the laniency setting, try to lower the laniency into the skill.conf of battle folder.. And lower the proper values in db/(pre-re or re)/skill_cooldown or cast.. I don't remember, try that ..

     

    What's the preferred value for the laniency?


  8. Why is that I can't spam DS when I start to normal attack a mob? But if I start to DS a mob it will continuously spam DS.

     

    E.G.

    Scenario 1: Normal Attack Mob -> Series of normals -> SPAM DS not possible needs to stop attacking first

     

    Scenario 2: Mob -> Spam DS -> Successful

     

    Why is it like that?


  9.  

    What did you do?

    i just change my status to what you gave me.. then no ONLINE OR OFFLINE text appears

     

    try this..

     

    <?php if (!defined('FLUX_ROOT')) exit; ?><h2><?php echo htmlspecialchars(Flux::message('ServerStatusHeading')) ?></h2><p><?php echo htmlspecialchars(Flux::message('ServerStatusInfo')) ?></p><?php foreach ($serverStatus as $privServerName => $gameServers): ?><h3>Server Status for <?php echo htmlspecialchars($privServerName) ?></h3><table id="server_status">	<tr>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusServerLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusLoginLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusCharLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusMapLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusOnlineLabel')) ?></td>	</tr>	<?php foreach ($gameServers as $serverName => $gameServer): ?>	<tr>		<th class="server"><?php echo htmlspecialchars($serverName) ?></th>		<td class="status"><font color="green">ONLINE</font></td>		<td class="status"><font color="green">ONLINE</font></td>		<td class="status"><font color="green">ONLINE</font></td>		<td class="status"><?php echo $gameServer['playersOnline'] ?></td>	</tr>	<?php endforeach ?></table><?php endforeach ?>

  10.  

    yes. the status.php is the same with default. It's the same with what I posted earlier.

    nope sir is does not change the offline thing

     

    this is my status from that default flux 

     

    <?phpif (!defined('FLUX_ROOT')) exit; $title = Flux::message('ServerStatusTitle');$cache = FLUX_DATA_DIR.'/tmp/ServerStatus.cache'; if (file_exists($cache) && (time() - filemtime($cache)) < (Flux::config('ServerStatusCache') * 60)) {	$serverStatus = unserialize(file_get_contents($cache));}else {	$serverStatus = array();	foreach (Flux::$loginAthenaGroupRegistry as $groupName => $loginAthenaGroup) {		if (!array_key_exists($groupName, $serverStatus)) {			$serverStatus[$groupName] = array();		} 		$loginServerUp = $loginAthenaGroup->loginServer->isUp(); 		foreach ($loginAthenaGroup->athenaServers as $athenaServer) {			$serverName = $athenaServer->serverName; 			$sql = "SELECT COUNT(char_id) AS players_online FROM {$athenaServer->charMapDatabase}.char WHERE online > 0";			$sth = $loginAthenaGroup->connection->getStatement($sql);			$sth->execute();			$res = $sth->fetch(); 			$serverStatus[$groupName][$serverName] = array(				'loginServerUp' => $loginServerUp,				 'charServerUp' => $athenaServer->charServer->isUp(),				  'mapServerUp' => $athenaServer->mapServer->isUp(),				'playersOnline' => intval($res ? $res->players_online : 0)			);		}	}		$fp = fopen($cache, 'w');	if (is_resource($fp)) {		fwrite($fp, serialize($serverStatus));		fclose($fp);	}}?>

     

    this is not the theme status.php rather the module/server/status.php..  I already told you that the file was located themes/server/status.php

×
×
  • Create New...

Important Information

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