Log In
Ice Weather Castform Don't have an account yet? Register now!
.

Forum Thread

GTS Bug

Forum-Index Bugs/Complaints Solved GTS Bug
FlamingBlaze
OFFLINE
Trainerlevel: 63

Forum Posts: 25
Posted: Sun, 02/07/2017 02:47 (6 Years ago)
The GTS isn't letting me create private or public trades at all. When I go to select the pokemon I am wanting to trade when I click add it pulls up so I can but when I click select it auto reloads and send me right back to the main page of the GTS.
FlamingBlaze
OFFLINE
Trainerlevel: 63

Forum Posts: 25
Posted: Sun, 02/07/2017 05:36 (6 Years ago)
Edit: I also can not offer on any trades either now. Item or pokemon trades.
I have done several tried with different pokemon as well and that doesn't seem to help either. It auto close the select box to add pokemon but doesn't add anything to the trades.
CatLady
OFFLINE
Trainerlevel: 99

Forum Posts: 8,329
Posted: Fri, 23/02/2018 20:17 (6 Years ago)
Are you still unable to set up trades?
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
FlamingBlaze
OFFLINE
Trainerlevel: 63

Forum Posts: 25
Posted: Fri, 23/02/2018 21:36 (6 Years ago)
It is still iffy.

When I go to press select on a Pokemon it will reload the page and send me back to the main gts page, even on just trying to offer on private trade or public trades. Sometimes it takes a dozen tries or more to be able to set up one trade or even to make an offer. I can't get a screen shot when it does the reload or I would be putting it in here.

It is an every time thing with trying to use the gts currently. So I've been rarely using it when I can avoid it which is hard to avoid using it much.
CatLady
OFFLINE
Trainerlevel: 99

Forum Posts: 8,329
Posted: Fri, 23/02/2018 21:37 (6 Years ago)
Have you tried recording your screen to be able to show it? [as a gif or something]
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
FlamingBlaze
OFFLINE
Trainerlevel: 63

Forum Posts: 25
Posted: Fri, 23/02/2018 21:53 (6 Years ago)
I have no way to record it to make even as a gif for it
CatLady
OFFLINE
Trainerlevel: 99

Forum Posts: 8,329
Posted: Fri, 23/02/2018 21:55 (6 Years ago)
Not even with a mobile?
That I'm afraid I'm all out of ideas to show proof [and be able to help better] :/
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
FlamingBlaze
OFFLINE
Trainerlevel: 63

Forum Posts: 25
Posted: Fri, 23/02/2018 21:59 (6 Years ago)
I have no idea how to record the screen on mobile. It's a mobile that is still really new for me.

I know a few others whom are having the same issue with the gts. I can see if may be they can get the shot for it?
ShadowedFury
OFFLINE
Trainerlevel: 59

Forum Posts: 88
Posted: Fri, 23/02/2018 22:00 (6 Years ago)
I have no way to record it either but it's always doing this to me as well. Every time I try to add a pokemon to a trade, either my own trade or offering on someone else's, it will reload.
~ShadowedFury~


credit goes to meowords for the artwork
CatLady
OFFLINE
Trainerlevel: 99

Forum Posts: 8,329
Posted: Fri, 23/02/2018 22:07 (6 Years ago)
If you open your Camera, usually you can switch to 'record'.
Then, try to set up a trade on your computer, while holding your recording phone in front of it.
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
FlamingBlaze
OFFLINE
Trainerlevel: 63

Forum Posts: 25
Posted: Fri, 23/02/2018 22:08 (6 Years ago)
Okay I will try that some how and get it posted if I can
CatLady
OFFLINE
Trainerlevel: 99

Forum Posts: 8,329
Posted: Sat, 24/02/2018 15:52 (6 Years ago)
I converted the video they made and shared with me, into a gif


If anyone can add any additional information that could help pinpoint the cause, please say so. I'm all out of ideas ^^'
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
SwampFall
OFFLINE
Trainerlevel: 59

Forum Posts: 604
Posted: Mon, 26/02/2018 04:54 (6 Years ago)
I'm confused since it looks like it's programmed like this behaviour was intentional. Maybe it's because it has changed a lot over the years.

So the button to add a pkmn to a trade actually does go to "http://pokeheroes.com/gts_new". In code this is kind of overwritten with the following:

window.setTimeout(function() {
    $("form#pkmn_select").submit(function(event) {
        addPkmnToTrade();
        event.preventDefault();
    });
}, 1000);


When you submit (press the button) the page will wait 1 second before doing so. If addPkmnToTrade(); takes longer than 1 second the page will reload, otherwise event.preventDefault(); will prevent this, which is the desired functionality.

So this bug is just there for people with slow internet.

Solve

File: /javascripts/pkmn_select_fixed/select_form.php

Current code: <input type="submit" value="Select" style="margin: 4px 0px">

Desired code: <button onclick="addPkmnToTrade();" style="margin: 4px 0px">Select</button>

Sidenote: The above will probably break functionality elsewhere since it's also used on other pages as well. I am not going to look for a general solution, I'm pretty sure you can handle it from here.
Why not hardcoded and just a fadein fadeout thing? it's not like it's used that often is it?
articuno13
OFFLINE
Trainerlevel: 72

Forum Posts: 703
Posted: Tue, 13/03/2018 01:21 (6 Years ago)
I have this issue with a kings rock i'm trying to put up for sale:

An error occured!
You don't have enough King's Rock (1 selected)!
Please go back and change your selection.

But I have 1 in my bag and all other evo items gave no issue when i was listing them
Cyndiwashere
OFFLINE
Trainerlevel: 41

Forum Posts: 164
Posted: Tue, 13/03/2018 03:17 (6 Years ago)
The apostrophe in Kong’s Rock messes with the coding. You have to give it to a Pokémon and write that it has Kong’s Rock.
Riako
OFFLINE
Trainerlevel: 69

Forum Posts: 2,604
Posted: Fri, 30/03/2018 08:09 (6 Years ago)
Fixed (the original bug in this thread). The problem was indeed caused by a slow internet connection - but it should now work for everyone.

articuno13: Please open a new Bug report when you encounter a bug that is different to the one that was originally described in the first post. :)
FlamingBlaze
OFFLINE
Trainerlevel: 63

Forum Posts: 25
Posted: Fri, 30/03/2018 15:08 (6 Years ago)
Alright. Thank you Riako.