eRepublik Company Helper

By Froghut Last update Aug 16, 2010 — Installed 8,438 times.

Suggestions

in
Subscribe to Suggestions 30 posts, 5 voices



Roktaal Scriptwright
FirefoxWindows

First of all I would like to thank you Froghut for this amazing script. Secondly I would like to suggest few things that might be nice addition.
Since the eToolkit ProfIT! doesn't work anymore it would be nice if you could add the profit, total wages and raw consumption to your script. It will greatly help us with managing our companies.

 
Froghut Script's Author
FirefoxWindows

Ok, I will look into it =)

 
Froghut Script's Author
FirefoxWindows

Ok, version 1.8 up, look to the bottom of the employee page, you might have to refresh once to make it work =) Profits will come in a next Version =)

 
dumetrai User
FirefoxWindows

instaled new. nothing in workers page. refreshed. nothing.

 
Froghut Script's Author
FirefoxWindows

added more rerror reporting to new version. If no error pop up please start in debug mode and see if something shows there.

 
dumetrai User
FirefoxWindows

i have raw companies...

Error in eRepublik Company Helper! Please report the following:

e18: TypeError: data[country][rawmatdict[cd.industry]] is undefined
p9: TypeError: data[rawmatdict[cd.industry]] is undefined

 
Froghut Script's Author
FirefoxWindows

ok I uploaded new version, lets hope that works =)

 
dumetrai User
FirefoxWindows

now in one company:

Error in eRepublik Company Helper! Please report the following:

e19: TypeError: data[country][rawmatdict[cd.industry]] is undefined
p9: TypeError: data[rawmatdict[cd.industry]] is undefined

in another:
http://clip2net.com/page/m0/6596989

 
Froghut Script's Author
FirefoxWindows

what type of company is the one with the errors and the one from the screenshot?

 
dumetrai User
FirefoxWindows

error - grain q3
screenshot - iron q3

 
Froghut Script's Author
FirefoxWindows

ok, new version up, should fix problems with grain companies ;) also please go to the company page once before going to the employee page as the script needs to gather data there after updating to 1.8.x

 
dumetrai User
FirefoxWindows

no changes. refreshed few times and market data and exchanges rates.
in grain - error as before
in iron as was in screenshot

 
Froghut Script's Author
FirefoxWindows

could you turn on debug mode and post the debug output please?

 
dumetrai User
FirefoxWindows

in grain empl.page:

Debug Output:

Enhancing employee page...
Data: true; Industry: grain; Raw: undefined

 
Froghut Script's Author
FirefoxWindows

ok, please try the new version. Also please reply in the error reporting thread, that makes it easier for me... =)

 
dumetrai User
FirefoxWindows

ok

 
l0nestar1980 User
FirefoxWindows

q4 diamond company

Debug Output:
Enhancing employee page...

using version 1.8.3.5

 
Froghut Script's Author
FirefoxWindows

no errors though?
what does the script display? nothing, or NaN/NaN like in the screenshot from dumetrai?

 
l0nestar1980 User
FirefoxWindows

yes, like in the dumetrai's screenshots. no erros messages in the red window

 
Froghut Script's Author
FirefoxWindows

ok, version 1.8.3.6 should give more error/debug output. Please continue discussion in the error report thread, that makes it easier for me ;)

 
Bilkoff User
FirefoxWindows

Can you change "maxlength" to 7 in quantity and price?

 
Froghut Script's Author
FirefoxWindows

what do you mean maxlength? the length of numbers...? and quantity and price where?

 
Bilkoff User
FirefoxWindows

By default you can sell only up to 999 items due to maxlenght attribute. Also you only can put prices with 5 characters, I mean, you can't sell a house for 999.99 because it has 6 characters.
Hope this image will help http://img193.imageshack.us/img193/3662/maxleng...

 
Froghut Script's Author
FirefoxWindows

Ah ok I will change it, but with default disabled. Does it really work though? And I'm not sure if erepublik doesn't see that as cheating as they are very picky about that stuff...

 
Froghut Script's Author
FirefoxWindows

Ok, new version is up where you can enable it in a little settings popup =)