-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fight Club #169
Fight Club #169
Conversation
(ABORT)) | ||
(SET script_target target) | ||
(SCRIPT "{ | ||
if($@Duel_Queue_ID[($@Duel_MaxQueue)] > 0) goto L_Full; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No such label as L_Full
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes I know, already fixed this in local; I thought I already "git push" but it looks like I forgot
da10abf
to
8fb7991
Compare
ba2a3d6
to
114db2b
Compare
mes "$fightclub_name$: " + $fightclub_name$; | ||
mes "$fightclub_password$: " + $fightclub_password$; | ||
mes "$fightclub_bm_enabled: " + $fightclub_bm_enabled; | ||
mes "$Duel_Enabled: " + $Duel_Enabled; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wushin is there a way to combine all these variables by bitmasking ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this fightclub_bm_enabled and Duel_Enabled could. They could be single bits. they could also be $@
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to use $@ with it because we'd have to manually start the fight club after each reboot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use -|script|#FightClubConfig|-1,
{
OnInit:
set $@fightclub_bm_enabled, 1;
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes but if the fightclub is disabled, we don't want to re-disable it at each reboot either
Not sure why there are so many server side variables for this. Some of these variables can be $@ and die when the server does. |
|
7bc199f
to
b58d609
Compare
I was thinking, maybe contributor t-shirts or the dev/GM hat got you Box Seats at the fight? |
what is this? |
You know how the contributor t-shirt allows you to go behind the bar? Maybe we could make some swanky seating on one end of the ring that allows the similar condition. A Box Seat tends to be a bit better of a seat then general admission. |
wushin, if you map it yourself I won't oppose |
@mekolat smart answer. I notice you are already starting to understand the Open Source ways. |
just make a PR on my PR, I'll edit server data accordingly |
01448ee
to
e2805a1
Compare
@wushin it has been 7 days since the last bug have been found so I think it is now stable enough for release |
@mekolat ok, give me a chance to review it and we can start talking release. |
{ | ||
if(countitem(647)||countitem(725)||countitem(1178)||countitem(5131)||countitem(5132)||countitem(5133)||countitem(5134)||countitem(5135)||countitem(5136)||countitem(5137)||countitem(5138)||countitem(5139)||countitem(5140)||(getgmlevel()>=20)) goto L_Enter; | ||
end; | ||
L_Enter: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indenting.
4e67f32
to
eb86278
Compare
ea2425e
to
33e2d3c
Compare
if($@Duel_TimeLimit < 1) set $@Duel_TimeLimit, 120; // init the (temporary) TimeLimit global | ||
if($@Duel_QueueLimit < 1) set $@Duel_QueueLimit, 5; // init the (temporary) QueueLimit global | ||
if($@Duel_PlayerQueueLimit < 1) set $@Duel_PlayerQueueLimit, 2; // init the (temporary) PlayerQueueLimit global | ||
if($@fightclub_password$ == "") set $@fightclub_password$, "Banana"; // init the (temporary) fightclub_password global |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I was looking at this. Explain the purpose? I see where it sets the menu item but I'm not sure why you went through the effort?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to make every single option into a variable so that we can change them at any time without rebooting. For example, we could change the password depending on events (ie. change it to "Boo!" on Halloween) without rebooting.
includes:
goes with themanaworld/tmwa-client-data#169
@wushin Please do not merge this until october 28th