Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #007538

  • 0 - None Assigned

  • Invalid

Issue Confirmations

  • Yes (0)No (2)
Photo

Buffs issue and sit issue

Posted by simplynice on 17 July 2013 - 05:03 AM

prontera,161,189,6 script Premium Buffer 72,{

if(getgroupid() == 0){
message strcharinfo(0),"You're not allowed to use my service..";
close;
}


switch ( basejob ) {
  case Job_Alchemist: set .@spirit, 445; break;
  case Job_Monk: set .@spirit, 447; break;
  case Job_Star_Gladiator:  set .@spirit, 448; break;
  case Job_Sage: set .@spirit, 449; break;
  case Job_Crusader: set .@spirit, 450; break;
  case Job_SuperNovice:   set .@spirit, 451; break;
  case Job_Knight: set .@spirit, 452; break;
  case Job_Wizard: set .@spirit, 453; break;
  case Job_Priest: set .@spirit, 454; break;
  case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
  case Job_Rogue: set .@spirit, 456; break;
  case Job_Assassin: set .@spirit, 457; break;
  case Job_Blacksmith:   set .@spirit, 458; break;
  case Job_Hunter: set .@spirit, 460; break;
  case Job_Soul_Linker:   set .@spirit, 461; break;
  default:
   if ( upper == 1 && baselevel < 70 )
set .@spirit, 494;
}
if ( .@spirit ) {
sc_start4 SC_SOULLINK, 900000, 5, .@spirit,0,0;
skilleffect .@spirit, 5;
}

sc_start SC_SECRAMENT,900000,5;
sc_start SC_IMPOSITIO,900000,5;
sc_start SC_INC_AGI,900000,10;
sc_start SC_BLESSING,900000,10;

end;
}


This script works perfectly but using this npc while sitting will get you stand up but still your status is still sitting and you can't move. Insert, /sit, /stand does not work. To bring your status back you'll need to use @refresh and that's annoying for me.

But i can use this code to get rid of that thing:


	if(issit(""+strcharinfo(0)+"") == 1){
		stand(""+strcharinfo(0)+"");
	}


it is happen when you receive the soul link buffs from the npc. it make you stand.

Edited by bgamez23, 17 July 2013 - 08:05 AM.


-	script	item_soullink	-1,{
OnSoulLink:
	if ( .@spirit = .spirit[BaseJob] );
	else if ( Upper & 1 && BaseLevel < 70 )
		.@spirit = 494;
	else
		end;
	stand();
	sc_start4 SC_SOULLINK, -1, 1, .@spirit,0,0;
	skilleffect .@spirit, 1;
	end;
OnInit:
	bindatcmd "link", strnpcinfo(0)+"::OnSoulLink";
	.spirit[Job_Alchemist] = 445;
	.spirit[Job_Monk] = 447;
	.spirit[Job_Star_Gladiator] = 448;
	.spirit[Job_Sage] = 449;
	.spirit[Job_Crusader] = 450;
	.spirit[Job_SuperNovice] = 451;
	.spirit[Job_Knight] = 452;
	.spirit[Job_Wizard] = 453;
	.spirit[Job_Priest] = 454;
	.spirit[Job_Bard] = .spirit[Job_Dancer] = 455;
	.spirit[Job_Rogue] = 456;
	.spirit[Job_Assassin] = 457;
	.spirit[Job_Blacksmith] = 458;
	.spirit[Job_Hunter] = 460;
	.spirit[Job_Soul_Linker] = 461;
	end;
}
use the *stand script command before sc_start next time

changed status to: Invalid

i think the issue on this post is the player should not stand right after he receive the buffs of soul link. @

AnnieRuru the one that you made is you make the character stand right after you receive a soul link buffs.



yeah but I also never release the script :P that's why
I only made them inside script request