Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Can I add javascript extension this bot ? #7

Open
tgg4ever opened this issue Mar 5, 2019 · 3 comments
Open

Can I add javascript extension this bot ? #7

tgg4ever opened this issue Mar 5, 2019 · 3 comments

Comments

@tgg4ever
Copy link

tgg4ever commented Mar 5, 2019

Hello josdemmers thank you for your work.
I dont understand programming but I fix the bot login and main page from the working other bots.
Im so sorry for my english.

But I need to GRC extension on this bot.
https://www.grcrt.net/en_GB/module/installgrcrt

Can you give me a code sample How can I add this browser extension and I add this bot .
Thankk you for ur reply already

@josdemmers
Copy link
Owner

Hi, support was never added for extensions/scripts. So that is not possible with this bot.

GRC is however added in the following bot:
https://github.com/BrandonWill/GrepolisBot

Maybe you can use that as an example to get it working.

@tgg4ever
Copy link
Author

tgg4ever commented Mar 29, 2019

Hi, support was never added for extensions/scripts. So that is not possible with this bot.

GRC is however added in the following bot:
https://github.com/BrandonWill/GrepolisBot

Maybe you can use that as an example to get it working.

Hi Thank you for your reply
I have a question for you. I'm trying to figure out where you got that code. I couldn't find it anywhere.
Can you teach me Where can I get this
modelclassname and commandsmenububble
in Controller.cs
l_Search = "{\"model_class_name\":\"CommandsMenuBubble\""; l_Index = p_Response.IndexOf(l_Search, 0); l_Search = "\"incoming_attacks_total\":";

I trying to fix your bot everything is working fine but I cant understand & finds these codes anywhere
I checking

I think I looking wrong method
55218249-925d7c80-5212-11e9-9cc3-f88268b34c83

@josdemmers
Copy link
Owner

My guess is that most server requests/responses are changed by now. It is no longer possible to find all the information in the same places as I did.

Read for example this comment:
#3 (comment)

I think the best way to find all the data you want is by playing the game, and monitor all the data that is send by the server. Write down all the useful request and make a list where you can find all the specific data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants