Jump to content

Wars can be declared while snorlax is up


Ayayay
 Share

Recommended Posts

But that doesn't solve anything? 60 seconds later a ton of people would be back competing for the second slot. 60 seconds after that a bunch of people would be competing for the third slot - and maybe two of them would declare at the same instant and both get slots. 

 

I've only seen 4 defensive war slots happen twice ever. It's just crazy unlikely luck. It could still happen even with annoying delays and timers. It's not a problem unless people find methods of exploiting it in my opinion.

The extra slot happens, in practice, when people load the declare war page while a nation is in beige and then declare war exactly when the hour changes. If you apply a rate limit, then the people who got blocked out will have to click through all the buttons again, which some people will necessarily do faster than others. And if Sheepy chooses an arbitrary (or even random) delay that's not a round number, then people won't be able to watch the clock to time things perfectly any more, so the issue won't come up.

RollSheepy.png

Link to comment
Share on other sites

If you can regularly duplicate this issue, I'll set a random sleep timer on the war dec page that would solve this. But I don't think what you're suggesting is feasible.

Not feasible? More like trivially easy. And exploitable.

Edited by Roll Sheepy
  • Upvote 3
RollSheepy.png

Link to comment
Share on other sites

  • Wiki Mod

Why stop at 4? Why not do 50 just to really make the point?

  • Upvote 1

 

 

23:38 Skable that's why we don't want Rose involved, so we can take the m all for ourselves

23:39 [] but Mensa is the cute girl at the school dance and she's only dancing with us right now to get our friend jealous

23:39 [] If Rose comes in and gives Mensa what she wants, she'll just toss us aside and forget we ever existed

23:39 zombie_lanae yeah I do hope we can keep having them all to ourselves

23:40 zombie_lanae I know it's selfish but I want all their love

 

 

6:55 PM <+Isolatar> Praise Dio

Pubstomper|BNC [20:01:55] Rose wouldn't plan a hit on Mensa because it would be &#33;@#&#036;ing stupid

Link to comment
Share on other sites

Why stop at 4? Why not do 50 just to really make the point?

It's technically feasible, but finding that many people who are all in the same range, sober (Jess <_<) and don't have their clocks 2 minutes fast (Wilhelm <_<) and then managing them all would be, in the words of my wife, a &#33;@#&#036;ing nightmare. It was annoying enough trying to do with just 6-8 people.

  • Upvote 3
RollSheepy.png

Link to comment
Share on other sites

It's technically feasible, but finding that many people who are all in the same range, sober (Jess <_<) and don't have their clocks 2 minutes fast (Wilhelm <_<) and then managing them all would be, in the words of my wife, a !@#$ nightmare. It was annoying enough trying to do with just 6-8 people.

 

I mean, we could try it if you wanted us to :P

Link to comment
Share on other sites

  • Wiki Mod

It's technically feasible, but finding that many people who are all in the same range, sober (Jess <_<) and don't have their clocks 2 minutes fast (Wilhelm <_<) and then managing them all would be, in the words of my wife, a !@#$ nightmare. It was annoying enough trying to do with just 6-8 people.

In other words you need Mensa. ;)

 

Anyways it occours to me that if this works with getting extra defensive slots, does it work with getting extra offensive slots?

 

 

23:38 Skable that's why we don't want Rose involved, so we can take the m all for ourselves

23:39 [] but Mensa is the cute girl at the school dance and she's only dancing with us right now to get our friend jealous

23:39 [] If Rose comes in and gives Mensa what she wants, she'll just toss us aside and forget we ever existed

23:39 zombie_lanae yeah I do hope we can keep having them all to ourselves

23:40 zombie_lanae I know it's selfish but I want all their love

 

 

6:55 PM <+Isolatar> Praise Dio

Pubstomper|BNC [20:01:55] Rose wouldn't plan a hit on Mensa because it would be &#33;@#&#036;ing stupid

Link to comment
Share on other sites

6-8 people online and in range at once to get one extra warslot 50% of the time using scripts doesn't seem that trivial. And it happens so incredibly rarely in normal circumstances that anybody who does it a couple times will be reported as a cheater, so it doesn't seem that exploitable. I still don't think it's worth having to attempt every contested war declaration 3 different times because of an annoying rate limiter or something like that. 

Link to comment
Share on other sites

In other words you need Mensa. ;)

 

Anyways it occours to me that if this works with getting extra defensive slots, does it work with getting extra offensive slots?

No, because the game prevents you from executing an action on a page if you've loaded any other pages after it (in a new window/tab). You'd have to declare the wars sequentially, which means the game would have plenty of time to process wars.

 

6-8 people online and in range at once to get one extra warslot 50% of the time using scripts doesn't seem that trivial. And it happens so incredibly rarely in normal circumstances that anybody who does it a couple times will be reported as a cheater, so it doesn't seem that exploitable. I still don't think it's worth having to attempt every contested war declaration 3 different times because of an annoying rate limiter or something like that. 

6-8 people isn't all that many compared to the activity levels that most alliances see during war time (especially during blitzes, which is when this would be widely used). And it's only rare at the moment because the technique has yet to be widely known. Our success rate was low because it was the first time we tried it. (Also some people were drunk, Jess <_<.) Once people were familiar with the technique we did a much better job. And the nature of the script is so trivial that it can be reduced a single action in addition to the regular war declaration process. And the solution to this problem is simply adding a random delay to each request. Which you wouldn't even notice, because 95% of the time it takes a page to load is because of connection speed, not waiting for scripts to execute on a server.

RollSheepy.png

Link to comment
Share on other sites

Seems like an easier solution would be to have the wars recalculated when attacks are actually launched. 4 people could still declare on a single person, but the first one to actually try to attack gets their war slot dropped.

Orbis Wars   |   CSI: UPN   |   B I G O O F   |   PW Expert Has Nerve To Tell You How To Run Your Own Goddamn Alliance | Occupy Wall Street | Sheepy Sings

TheNG - My favorite part is when Steve suggests DEIC might have done something remotely successful, then gets massively shit on for proposing such a stupid idea.

On 1/4/2016 at 6:37 PM, Sheepy said:
Sheepy said:

I'm retarded, you win

Link to comment
Share on other sites

Seems like an easier solution would be to have the wars recalculated when attacks are actually launched. 4 people could still declare on a single person, but the first one to actually try to attack gets their war slot dropped.

Not really. That would require a fair bit of active development to create and test the new behavior, while introducing a random delay is just one line of code that can be added without having to change anything else.

RollSheepy.png

Link to comment
Share on other sites

I don't know how is Sheepy code, but if it's making a select to get wars counts with one SQL query, and inserting with another SQL query, you can do with one single SQL query, reducing the odds of happening.

 

INSERT INTO wars (column1, column2)
SELECT 'Value 1', 'Value 2'
FROM wars
WHERE (SELECT COUNT(*) FROM wars WHERE nation_id = xxx) < 4;
 

Another way of reducing the odds is making a transaction rollback.

 

1) Start transaction

2) insert war

3) count wars

4) if there is 4 wars, rollback transaction

 

Or both things. It's just a example, I never did myself that, maybe useful for Sheepy.

Edited by Koso
Link to comment
Share on other sites

I don't know how is Sheepy code, but if it's making a select to get wars counts with one SQL query, and inserting with another SQL query, you can do with one single SQL query, reducing the odds of happening.

Refactoring code to speed it up might solve the issue, but we can't say how much without knowing what it looks like already. And Sheepy's a lazy dev who probably won't want to do that. :P

RollSheepy.png

Link to comment
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and the Guidelines of the game and community.