barolet / kovans-ogbot

Automatically exported from code.google.com/p/kovans-ogbot
0 stars 0 forks source link

Probleme launching 0.83 fr #290

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ENGLISH ONLY.
IF ANY OF THE INFO BELOW IS MISSING THE BUG REPORT WILL BE DELETED.
Thank you.

Bot version:3.1b
OGame server language:Fr
OGame server version: 0.83
Using admirals or commander (specify)?:
Operating System:Windows xp 32 bit

Description of the problem:

Good morning. I am a French player and I have a problem to make worked the bot.

When I throw program and that I speed it up it shows me it:

Critical error: Server language (fr) needs to updated follow instructions
in language/howtofix.fix

I have try how fair work program but I am very void in Englishman. can you
me pointed out how fair work program in detail I ask you.

Original issue reported on code.google.com by Angels...@hotmail.fr on 29 Jan 2009 at 6:38

GoogleCodeExporter commented 8 years ago
You need to find the translations for a couple new words.

The words are it the "language/howtofix.fix" file

please check this again in a day, I will have better instructions 

Original comment by King.Vash@gmail.com on 29 Jan 2009 at 6:50

GoogleCodeExporter commented 8 years ago

Original comment by King.Vash@gmail.com on 29 Jan 2009 at 6:51

GoogleCodeExporter commented 8 years ago
expeditionTechnology =Technologie Expéditions

I do not reach has translate the rest but i can wait 1 or tow day.

Thanks for explication.

I think i have understand.

Original comment by Angels...@hotmail.fr on 29 Jan 2009 at 7:10

GoogleCodeExporter commented 8 years ago

Original comment by King.Vash@gmail.com on 29 Jan 2009 at 10:11

GoogleCodeExporter commented 8 years ago
vous devez mettre à jour le fichier. ini

ajouter au fichier. ini

"old" par "False"

# Que l'on trouve dans la page d'aperçu:
# au bas de la page
fields =
#rang
rank =

# page de recherche
#expéditions
expeditionTechnology =

# Lors de l'attaque
aHostile =
itsMissionIs =

# Comme sur les flottes de la page
#expéditions
expeditions =

# trouvés sur la pag
#durée restante
durationRemaining =

Original comment by King.Vash@gmail.com on 30 Jan 2009 at 2:42

GoogleCodeExporter commented 8 years ago
I think this is good traduction:

itsMissionIs = elle a pour mission
aHostile = une flotte hostile
durationRemaining = temps restant
fields = domaines
Rank = classement

expeditionTechnology = technologie expeditions

But now i have new problème :

Traceback (most recent call last):
  File "src\OGBot.py", line 106, in run
  File "src\OGBot.py", line 139, in _connect
  File "src\WebAdapter.py", line 410, in updatePlayerData
  File "src\WebAdapter.py", line 787, in getStats
AttributeError: 'NoneType' object has no attribute 'group'

Original comment by Angels...@hotmail.fr on 30 Jan 2009 at 6:15

GoogleCodeExporter commented 8 years ago
you should do two things

re download the program 

if that does not work

if you could go to the "overview" page and open up the
source and find the line that lists points and rank

ex.
    <th>
    Points</th><th colspan=3>27.848 (Rank <a
href='index.php?page=statistics&session=123456789&start=1201'>1.222</a> of
8.042)</th></tr>      </table>

Original comment by brain...@gmail.com on 30 Jan 2009 at 3:05

GoogleCodeExporter commented 8 years ago
Good morning has you. To try the robot I registered ogame.org world 30 has 
version. 

When I throw Bot everything takes place well.

spying takes place well. But when I go in mode attack poster this so much 
believed:

22:12:43 01/31/09 Something unexpected occured, see log file. Stopping bot.

Traceback (most recent call last):
  File "src\OGBot.py", line 108, in run
  File "src\OGBot.py", line 223, in _start
  File "src\OGBot.py", line 303, in attackMode
IndexError: list index out of range

that are that I must make?

Original comment by Angels...@hotmail.fr on 31 Jan 2009 at 9:14

GoogleCodeExporter commented 8 years ago

Original comment by King.Vash@gmail.com on 2 Feb 2009 at 4:23

GoogleCodeExporter commented 8 years ago
this probable has to do with the recent server problems and attach ban.
if this happens again start a new issue.

Original comment by King.Vash@gmail.com on 2 Feb 2009 at 5:00

GoogleCodeExporter commented 8 years ago
a problem: the ligiciel function on version fr but he sees only the défence.

the fleet is not discerned in the report of spying which makes that the auto 
attack
do not work.

in planète database it marked Unknow fleet there float while there is not 
fleet.

what can i do?

Original comment by Angels...@hotmail.fr on 3 Feb 2009 at 4:18

GoogleCodeExporter commented 8 years ago
please go the the fleet page, open the source and copy the relevant pieces.

some thing along the lines of 

    <th><a title="Speed: 14250">Large Cargo</a></th>
    <th>10<input type="hidden" name="maxship203" value="10"/></th>
<!--    <th>14250 -->
     <input type="hidden" name="consumption203" value="50"/>
     <input type="hidden" name="speed203" value="14250" /></th>
     <input type="hidden" name="capacity203" value="25000" /></th>
     <th><a href="javascript:maxShip('ship203');" >max</a> </th>

     <th><input name="ship203" size="10" value="0" alt="Large Cargo 10"/></th>
   </tr>
   <tr height="20">
    <th><a title="Speed: 0">Solar Satellite</a></th>
    <th>62<input type="hidden" name="maxship212" value="62"/></th>
<!--    <th>0 -->
     <input type="hidden" name="consumption212" value="0"/>
     <input type="hidden" name="speed212" value="0" /></th>

     <input type="hidden" name="capacity212" value="0" /></th>
     <th></th>
     <th></th>
   </tr>
   <tr height="20">
  <th colspan="2"><a href="javascript:noShips();" >no ships</a></th>
  <th colspan="2"><a href="javascript:maxShips();" >all ships</a></th>
   </tr>

Original comment by brain...@gmail.com on 4 Feb 2009 at 11:47

GoogleCodeExporter commented 8 years ago
The fleet page? 

Where is it?

In webadapter?

Original comment by Angels...@hotmail.fr on 5 Feb 2009 at 2:25

GoogleCodeExporter commented 8 years ago
I think that's what you want :
<td colspan="4" class="c">Nouvelle mission : choisissez les vaisseaux</td>
   </tr>
   <tr height="20">
  <th>Type de vaisseau</th>
  <th>Disponible</th>

<!--    <th>Gesch.</th> -->
    <th>-</th>
    <th style="color: lime; text-align: center;">0</th>
   </tr>
   <tr height="20">
    <th><a title="Vitesse: 24000">Petit transporteur</a></th>
    <th>20<input name="maxship202" value="20" type="hidden"></th>

<!--    <th>24000 -->
     <input name="consumption202" value="20" type="hidden">
     <input name="speed202" value="24000" type="hidden">
     <input name="capacity202" value="5000" type="hidden">
     <th><a href="javascript:maxShip('ship202');;ShowCapacity();">max</a> <a
onclick="document.getElementsByName('ship202')[0].value=17;ShowCapacity();"
href="#">(17)</a></th>
     <th><input onchange="ShowCapacity();" onkeyup="ShowCapacity();" name="ship202"
size="10" value="0" alt="Petit transporteur 20"></th>
   </tr>
   <tr height="20">

    <th><a title="Vitesse: 0">Satellite solaire</a></th>
    <th>41<input name="maxship212" value="41" type="hidden"></th>
<!--    <th>0 -->
     <input name="consumption212" value="0" type="hidden">
     <input name="speed212" value="0" type="hidden">
     <input name="capacity212" value="0" type="hidden">
     <th></th>
     <th></th>

   </tr>
   <tr height="20">
  <th colspan="2"><a href="javascript:noShips();;ShowCapacity();">Aucun vaisseau</a></th>
  <th colspan="2"><a href="javascript:maxShips();;ShowCapacity();">Tous les
vaisseaux</a></th>
   </tr>

   <tr height="20">
    <th colspan="4"><input value="Continuer" type="submit"></th>
   </tr>

<tr><th colspan="4">
</th></tr>

</tbody></table>
<br><br><br>

But I don't see why it can help you. The issue comes from the spy report I 
think,
because the bot doesn't recognize the fleets in them.
Tell me if you want the source code of a french spy report.
Also, I use Firefox with Foxgame, maybe the code could be different, I don't 
know.

Original comment by maxime.p...@yahoo.fr on 5 Feb 2009 at 9:51

GoogleCodeExporter commented 8 years ago
okay, that all looks good. 
do any spy reports show up?
do they include defense? fleet? research?

Original comment by King.Vash@gmail.com on 8 Feb 2009 at 8:38

GoogleCodeExporter commented 8 years ago
In frensh version The spy report include defense.
But not fleet.

Research i don't know.

Original comment by Angels...@hotmail.fr on 8 Feb 2009 at 1:58

GoogleCodeExporter commented 8 years ago
I have screen.
Research is detected by bot.
Defense to.
But unknow fleet -_-.

Original comment by Angels...@hotmail.fr on 8 Feb 2009 at 2:27

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
okay if you post the source of a spy report I will fix the problem

Original comment by King.Vash@gmail.com on 10 Feb 2009 at 12:36

GoogleCodeExporter commented 8 years ago
I exactly do not know how or to search.

or are that I must search exactly.

In webadapter?
ogbot?

Please help me ^^".

Original comment by Angels...@hotmail.fr on 10 Feb 2009 at 1:31

Attachments:

GoogleCodeExporter commented 8 years ago
       <td class="b"> </td><td colspan="3" class="b"><table width=400><tr><td class=c
colspan=4>Resources on Victory <a href=# onclick=showGalaxy(2,261,15);
>[2:261:15]</a> (Player 'Dragon')<br /> at 02-10 06:42:09</td></tr>
</div></font></TD></TR><tr><td>Metal:</td><td>127.743</td>
<td>Crystal:</td><td>57.371</td></tr>
<tr><td>Deuterium:</td><td>56.159</td>

<td>Energy:</td><td>12.431</td></tr>
</table>
<table width=400><tr><td class=c colspan=4>     </td></tr>
<TR><TD colspan=4><div onmouseover='return overlib("<font color=white>Activity
means that the scanned player has been active on that planet or another player 
had
fleet contact with the planet you scanned.</font>", STICKY, MOUSEOFF, DELAY,
750, CENTER, WIDTH, 100, OFFSETX, -130, OFFSETY, -10);' onmouseout='return
nd();'></TD></TR></table><table width=400><tr><td class=c colspan=4>Fleets     
</td></tr>
</tr>
<td>Small Cargo</td><td>120</td>
<td>Solar Satellite</td><td>484</td>
</table>
<table width=400><tr><td class=c colspan=4>Defense     </td></tr>

</tr>
<td>Rocket Launcher</td><td>195</td>
<td>Light Laser</td><td>500</td>
</tr>
<td>Heavy Laser</td><td>10</td>
<td>Gauss Cannon</td><td>5</td>
</tr>
<td>Plasma Turret</td><td>2</td>

<td>Small Shield Dome</td><td>1</td>
</tr>
<td>Large Shield Dome</td><td>1</td>
</table>
<center> Chance of counter-espionage:24%</center>

Original comment by King.Vash@gmail.com on 10 Feb 2009 at 5:57

GoogleCodeExporter commented 8 years ago
some thing like that.
espionage someone and post it

Original comment by King.Vash@gmail.com on 10 Feb 2009 at 5:58

GoogleCodeExporter commented 8 years ago
Forget about it. The issue comes from the fact that there are two translations 
of the
word Fleets in the french translation file. One is for the fleet menu and in 
french
it is Flottes, and the other is for the spy report but it's wrote as Flotte in
french. The bot only recognize the first translation that's why it can't see the
fleet in spy reports.
Is there any way to make your bot look after another word than fleets for the 
spy
reports ?

PS : This is the thing I'm talking about in the language file
# these 5 are found in the espionage reports:
resourcesOn = Matières premières sur
fleets = Flotte (without the S)
defense = Défense
buildings = Bâtiments
research = Recherche

...

# as found on the fleets page
fleets = Flottes (with the S)
expeditions = Expéditions 

Original comment by maxime.p...@yahoo.fr on 10 Feb 2009 at 12:36

GoogleCodeExporter commented 8 years ago
Ogame.fr have new log page.

And the problem is :

Traceback (most recent call last):
  File "src\OGBot.py", line 106, in run
  File "src\OGBot.py", line 137, in _connect
  File "src\WebAdapter.py", line 172, in __init__
  File "lib\ClientForm.py", line 1718, in get
  File "lib\ClientForm.py", line 1530, in disambiguate
ItemNotFoundError: id=None name=None label='60. Univers'

What can i do?

Original comment by Angels...@hotmail.fr on 13 Feb 2009 at 11:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Traceback (most recent call last):
  File "src\OGBot.py", line 106, in run
  File "src\OGBot.py", line 137, in _connect
  File "src\WebAdapter.py", line 160, in __init__
  File "src\WebAdapter.py", line 346, in generateRegexps

Original comment by pokerr...@gmail.com on 24 Feb 2009 at 12:51

GoogleCodeExporter commented 8 years ago
hello King.Vash can you help for french.ini
i work on it but i m noob:D
i can t start kovan's 

get to work it in FR thank you for helping us

Traceback (most recent call last):
  File "src\OGBot.py", line 106, in run
  File "src\OGBot.py", line 137, in _connect
  File "src\WebAdapter.py", line 160, in __init__
  File "src\WebAdapter.py", line 346, in generateRegexps

Original comment by pokerr...@gmail.com on 1 Mar 2009 at 11:29

GoogleCodeExporter commented 8 years ago
help mee tutorial ... for instal OGbot 

i am noobs ;s

Original comment by cex.ce...@gmail.com on 8 Feb 2010 at 4:27

GoogleCodeExporter commented 8 years ago
This program has not worked in a long time.

Original comment by brain...@gmail.com on 8 Feb 2010 at 7:09

GoogleCodeExporter commented 8 years ago

Original comment by kovansog...@gmail.com on 2 Apr 2010 at 9:47

GoogleCodeExporter commented 8 years ago

Original comment by kovansog...@gmail.com on 2 Apr 2010 at 9:57