Jump to content
  • 0
Sign in to follow this  
Helena

Annieruru emp BG

Question

Hey everyone!

I am looking for some assistance! I came across this amazing script by @AnnieRuru and was hoping someone could offer me a hand (maybe, hopefully the script queen herself)?

What I want is make this a WoE/emperium version and - instead of a plant - give both parties an emperium to defend. When the emp is broken the team would lose and the other would win. Pretty much like the bg_emp script of rAthena. I tried to study that script but failed to accomplish desired result. :( 

The shuffle feature is great so hopefully it's possible to make it work! Thanks in advance (:

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

hercules<=>rathena battleground/instance/mob-controller script commands are totally different
I also have to admit hercules one are always on the harder side
... this is not funny matter .... just ... well ... see how the script grow in size comparative to rathena ones,
and you'll understand why until today I still haven't convert my arathi basin on rathena into hercules

http://upaste.me/f08349808ea0ba1b1

Share this post


Link to post
Share on other sites
  • 0
7 hours ago, AnnieRuru said:

hercules<=>rathena battleground/instance/mob-controller script commands are totally different
I also have to admit hercules one are always on the harder side
... this is not funny matter .... just ... well ... see how the script grow in size comparative to rathena ones,
and you'll understand why until today I still haven't convert my arathi basin on rathena into hercules

http://upaste.me/f08349808ea0ba1b1

Oh I'm sorry annie, I'm using rAthena. I should have clarified.. >.<

I'll try your script regardless and let you know how it goes, thanks so much! :) 

 

As I was afraid, unfortunately the NPC doesn't work with rAthena, @AnnieRuru. :( 

The other script i posted is just fine except if possible can there be emps instead of plants?
Again im very sorry for not being more specific in my first post. >.<

Share this post


Link to post
Share on other sites
  • 0

wait a moment ... you are using rathena but that bg script in github doesn't work for you ?
must have mean you are using very outdated emulator

https://github.com/rathena/rathena/commits/master/npc/custom/battleground/bg_emp.txt
check the history and use the initial version that Euphy posted 4 years ago ?

Share this post


Link to post
Share on other sites
  • 0
13 hours ago, AnnieRuru said:

wait a moment ... you are using rathena but that bg script in github doesn't work for you ?
must have mean you are using very outdated emulator

https://github.com/rathena/rathena/commits/master/npc/custom/battleground/bg_emp.txt
check the history and use the initial version that Euphy posted 4 years ago ?

Oh no that script works fine annie! My emulator is updated. I just liked the way of registration in the other version you posted a lot more, were it doesn't require chat rooms. I would love that version but with emperiums. :) 

Share this post


Link to post
Share on other sites
  • 0

http://upaste.me/c7b7498104f6c72df

you know ... this script do exactly the same thing as the previous one ...
now you can see the script just look totally different

EDIT: although I don't know you are also obsess with instanced battleground or not ... since both hercules and rathena also can do it

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0
On 5/20/2018 at 5:31 PM, AnnieRuru said:

http://upaste.me/c7b7498104f6c72df

you know ... this script do exactly the same thing as the previous one ...
now you can see the script just look totally different

EDIT: although I don't know you are also obsess with instanced battleground or not ... since both hercules and rathena also can do it

That script works fantastic! But can I make one more request miss Annie? Would it be possible to reward both winners and losers? Like 10 red pots for the winner, 5 red pots for the loser?

Thanks so much!

Share this post


Link to post
Share on other sites
  • 0

change this line 103

		bg_get_data 'winside, 1;
		for ( .@i = 0; .@i < $@arenamemberscount; ++.@i )
			getitem getvariableofnpc( .rewarditem[0], 'main$ ), getvariableofnpc( .rewarditem[1], 'main$ ), $@arenamembers[.@i];

into

		bg_get_data 'winside, 1;
		for ( .@i = 0; .@i < $@arenamemberscount; ++.@i )
			getitem 501, 10, $@arenamembers[.@i];
		bg_get_data ('winside == 'red)? 'blue:'red, 1;
		for ( .@i = 0; .@i < $@arenamemberscount; ++.@i )
			getitem 501, 5, $@arenamembers[.@i];

 

btw rathena seems going to get rid of CSV format and going for YAML format
https://github.com/rathena/rathena/pull/3163
so just take note of this when instancing doesn't work

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0

Hi miss @AnnieRuru thank you so much! 

So sorry to bother again but could I ask? Is there also a way to give the players a reward when the match is a draw? :) Thanks again for your amazing help.

Share this post


Link to post
Share on other sites
  • 0

I guess should just implement all the custom features that I know, since you keep requesting this and that
better to overdo it and then let you suggest which feature you want me to take out,
rather than keep asking for more features each time
... of course if you got some other features that you want to suggest, you can always post here

http://upaste.me/fa2349922cf42b53b

I wanted to add the rejoin system like I did on arathi basin or this bg_emp_0.6
but it seems rathena cannot retrieve the instance variable outside of the instance npc,
so unless you want to drop the instancing and use normal map ...
EDIT: suddenly I think its possible ... every time a variable is set, push back as npc variable ... hmm ...

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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