[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
GreenCubes • Просмотр темы - GreenCubes API
Страница 4 из 6

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 19:56
astappev

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 19:57
AkiraSun

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 20:07
benseeley
Ну... Можно просто карту регионов.

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 21:37
astappev

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 21:38
benseeley

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 21:58
astappev
Ну так, есть же.
1. Заходишь на http://gctrade.ru.
2. Нажимаешь войти, разрешаешь доступ.
3. Открываешь Карта->Карта регионов пользователя. Или так http://gctrade.ru/maps/user.

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 22:00
benseeley

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 22:12
astappev
мг... это не серьезно. Слишком много непонятных объектов не имеющих смысла.
Куда разумней было бы сделать возможность получать список регионов внутри служебного региона. Аналог хелперской команды. Да вот только есть причины по которым эта команда доступна только для хелперов.

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 22:23
benseeley

Re: GreenCubes API

СообщениеДобавлено: 02 авг 2014, 22:39
astappev
Удобно, но мой вариант практичнее и более реалистичный. А выделить весь ЦМ никто не запрещает, мне когда то так делала Сатанюга, когда еще хелпером была.

Re: GreenCubes API

СообщениеДобавлено: 03 авг 2014, 01:43
BloodyAvenger
Определённо нельзя выводить никакой инфы типо количсетво зелени\монет и списка регионов всем остальным без разрешения пользователя.

Re: GreenCubes API

СообщениеДобавлено: 03 авг 2014, 02:26
Kernel
Товарищи!

Мы при разработке API отталкиваемся от простой мысли, о том, что нельзя выдавать то, что пользователь не может получить в игре. То есть, например, /user/regions — это прямой эквивалент команде /region list, которая выводит только для текущего пользователя, и вряд ли вы найдёте способ получить все регионы в этом мире (кроме использования хелперов).

Так что, даже не беспокойтесь.

Re: GreenCubes API

СообщениеДобавлено: 03 авг 2014, 03:25
Mopaxac

Re: GreenCubes API

СообщениеДобавлено: 03 авг 2014, 04:19
BloodyAvenger

Re: GreenCubes API

СообщениеДобавлено: 03 авг 2014, 10:36
astappev

Re: GreenCubes API

СообщениеДобавлено: 15 авг 2014, 16:51
astappev
Тут такое дело...

Недавно я начал запоминать пользователей на GCTrade и им не нужно каждый раз авторизовываться когда они заходят, и в связи с этим получается что они не авторизованы на api.greencubes.org. И выходит что у всех только 500 запросов.
Нужно что то делать... И да, если выйти я даже войти не могу так как получаю ошибку что запросы исчерпано.

Предлагаю: учитывать запросы на авторизацию отдельно от остальных (во первых так даже безопасней, потому что сейчас получается что ты предоставляешь 500 попыток авторизации в час и даже без капчи), так что бы исчерпав лимит на запросы я мог все равно авторизоваться.
Или предлагаю вообще убрать лимит на запросы регионов, юзеров но создать небольшой лимит на авторизацию (например 5 не успешных в час, а не 500 как сейчас). Что бы никто не мог воспользоваться API для подбора пароля.

Re: GreenCubes API

СообщениеДобавлено: 03 сен 2014, 16:42
kostyans
https://api.greencubes.org/main/items

Обе тыквы Джека (не светящаяся и светящаяся) имеют иконку светящейся.

Re: GreenCubes API

СообщениеДобавлено: 28 сен 2014, 20:19
Rena4ka
Доступ к lastseen в https://greencubes.org/api.php будет прекращен в ближайшее время. Если чьи-то приложения ещё не перешли на API от Kernel — самое время это сделать!

Re: GreenCubes API

СообщениеДобавлено: 28 сен 2014, 20:38
Grand_Paiter
А с чем это связано?

Re: GreenCubes API

СообщениеДобавлено: 28 сен 2014, 20:46
Rena4ka
С "а какой смысл?"

Re: GreenCubes API

СообщениеДобавлено: 28 сен 2014, 20:50
BloodyAvenger

Re: GreenCubes API

СообщениеДобавлено: 28 сен 2014, 20:52
Kernel
Нет смысла держать данный скрипт, если у нас уже давно есть более богатое по функционалу API.

Re: GreenCubes API

СообщениеДобавлено: 28 сен 2014, 21:14
Rena4ka
Не то чтобы он кому-то мешал, но не за чем плодить сущности. Вдруг мы решим что-то изменить, скрипт перестанет работать и мы про него забудем или забьём, а его кто-то использует... Будет маленький конфуз.

Re: GreenCubes API

СообщениеДобавлено: 29 сен 2014, 13:47
astappev

Re: GreenCubes API

СообщениеДобавлено: 02 окт 2014, 13:34
Kernel
По поводу Apocalyptic API. Оно рискует в будущем быть удалено. Когда-нибудь мы всё таки удалим базы Apocalyptic сервера, но не можем сказать точно удалим ли вообще и когда.

Просто есть риск такого события :)

Re: GreenCubes API

СообщениеДобавлено: 02 окт 2014, 15:42
astappev
Предупредишь, а пока пускай ностальгируют.

Re: GreenCubes API

СообщениеДобавлено: 02 окт 2014, 16:38
Kernel
Конечно, я просто информирую о том, что у нас есть такие мысли. Мы обязательно расскажем подробности ближе к делу.

Re: GreenCubes API

СообщениеДобавлено: 02 окт 2014, 22:09
Rena4ka
Если я всё правильно настроила, http://srv1.greencubes.org и http://greenusercontent.net теперь имеют CORS заголовок "*".

Re: GreenCubes API

СообщениеДобавлено: 23 окт 2014, 23:22
SergAntik

Re: GreenCubes API

СообщениеДобавлено: 24 окт 2014, 08:36
Rena4ka