Annieruru emp BG

Helena

New member
Messages
238
Points
0
Emulator
rAthena
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 (:

 
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

 
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. >.<

 
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.  :)  

 
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

 
Last edited by a moderator:
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!

 
change this line 103

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

Code:
		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

 
Last edited by a moderator:
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.

 
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 ...

 
Last edited by a moderator:
Back
Top