Closed GoogleCodeExporter closed 8 years ago
Go to Admin\Permission, and save ?
Please include more details.
Original comment by Alex10336@gmail.com
on 23 Jul 2010 at 3:43
If you can do this:
- Active debug mode in script (const debug=true;)
- and uncomment this:
http://code.google.com/p/eude/source/browse/branches/1.4.5/addons/grease/com.js#
25
This should shown the server response
Original comment by Alex10336@gmail.com
on 23 Jul 2010 at 4:22
ok for asteroids i get this
Page:
/planet/planet_info.php?planet_id=1069655&plantype=asteroid&hash=227680111833d36
79506e0d1c9b796a8
and for looting i get this
Page: /gamelog/gamelog_view.php?gamelog_id=48632467
and i get the same errors for empty planets too
Page:
/planet/planet_info.php?planet_id=94011&hash=829922eae8268ad7abcf2936c65612e1
Original comment by lifelong...@yahoo.co.uk
on 23 Jul 2010 at 4:37
Compatible avec chrome ?
* Système d'exploitation/navigateur * chrome
Nouveau ca :p
Original comment by XCharism...@gmail.com
on 23 Jul 2010 at 5:09
sorry thats my main browser but i use firefox for the script
Original comment by lifelong...@yahoo.co.uk
on 23 Jul 2010 at 5:24
server url ?
Original comment by Alex10336@gmail.com
on 23 Jul 2010 at 5:49
game server is http://eu2.looki.com/index.php
my site server is http://theneworderempire.site90.net
Original comment by lifelong...@yahoo.co.uk
on 23 Jul 2010 at 6:01
-> Admin\Configuration => Save ?
-> test account ?
Original comment by Alex10336@gmail.com
on 23 Jul 2010 at 6:14
test account made with password test
Original comment by lifelong...@yahoo.co.uk
on 23 Jul 2010 at 6:28
Something wrong with your translation.
On install, do not use full adress in server location. Sessions will not
stay correctly
Original comment by Alex10336@gmail.com
on 23 Jul 2010 at 6:44
Attachments:
ok yes your right i did put the full address in but i have sorted that now ty
and as for the translation this is it for the french game
$lng['ress10%'] = 'très peu';
$lng['ress20%'] = 'peu';
$lng['ress40%'] = 'normal';
$lng['ress50%'] = 'moyennement';
$lng['ress70%'] = 'beaucoup';
$lng['ress80%'] = 'considérablement';
$lng['ress90%'] = 'énormément';
and this is what i have put for the english game
$lng['ress10%'] = 'very few';
$lng['ress20%'] = 'Few';
$lng['ress40%'] = 'Normal';
$lng['ress50%'] = 'Medium';
$lng['ress70%'] = 'many';
$lng['ress80%'] = 'Quite many';
$lng['ress90%'] = 'Great many';
all the resources are right as it works when i have a probe at the planet but
not when there is not one there
Original comment by lifelong...@yahoo.co.uk
on 24 Jul 2010 at 7:32
value of: $lng['class_err_ress'] in file cartographie.lng.php
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 11:13
and $lng['ress**%'] should be in lowercase
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 11:14
$lng['class_err_ress'] = 'Format of the value of the resource %s
incorrect (%s), Authorised low, normal, much,[...],xx,xx%';
Original comment by lifelong...@yahoo.co.uk
on 24 Jul 2010 at 11:54
ok yep who would have thought that it had to be lower case as its upper case in
game so now empty planets and asteroids are being added ty
but i still get the problem with looting again would that be translation
Original comment by lifelong...@yahoo.co.uk
on 24 Jul 2010 at 12:04
ok i think i can see that there might be a problem with the french and english
game for looting program
Information
Title Robbed by Blackhawk1981!
Type Looting
Date 23.07.2010 01:19
Message
Sir!
Blackhawk1981 has left our planet Main. The occupation has ended.
He scavenged the following resources:
Titanium: 191
Copper: 52.969
Iron: 15.336
Aluminium: 162.343
Mercury: 130.099
Silicon: 196
Uranium: 120
Krypton: 233
Nitrogen: 34.429
Hydrogen: 85.436
in french its
*miral !
Notre planète AOB n'est plus sous l'occupation de Lesarde.
Il a volé les ressources suivantes :
Titane: 7.000
Aluminium: 14.000
Uranium: 4.000
Krypton: 8.000
Hydrogène: 17.000
the players name is last in the french game but in the english its first
Original comment by lifelong...@yahoo.co.uk
on 24 Jul 2010 at 2:08
$lng['defender_regex'] = '/Notre planète (.*) n\'est plus sous l\'occupation
de (.*)\./';
should be:
$lng['defender_regex'] = '/(.*) has left our planet (.*)\. The occupation has
ended.\./';
And,
-
http://code.google.com/p/eude/source/browse/branches/1.4.5/class/troops.class.ph
p#99
$sql = sprintf($sql, $info[1], $info[2]);
-
http://code.google.com/p/eude/source/browse/branches/1.4.5/class/troops.class.ph
p#110
sqlesc($mode), $idsys, $iddet, $idate, $idate-604800,
sqlesc($_SESSION['_login']), sqlesc($info[1]));
Finaly, it's need to be rethink this code...
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 2:35
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 2:36
This issue was updated by revision r563.
Can you test this update ?
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 2:57
will do
Original comment by lifelong...@yahoo.co.uk
on 24 Jul 2010 at 3:28
thanks,
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 3:39
ok i get this error with the debug
Debug...
undefined<font color=darkorange>ALERTE [2] Invalid argument supplied for
foreach() (Fichier class/troops.class.php:75)</font><br />
<eude>
<log><![CDATA[Battle found? (Flute)]]></log>
</eude>
Original comment by lifelong...@yahoo.co.uk
on 24 Jul 2010 at 3:55
Need your 'ownuniverse' filled. (/ownuniverse.php)
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 4:08
This issue was updated by revision r565.
return explicit error
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 4:11
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 4:48
Ok i have followed all the above instructions and can report that i do get a
battle log in the pillage section however it does not show any of the resources
plunderd i will keep tinkeing and let u know if i find out why could it be the
translation of the resources the english server give I.E Titane = Titanium just
a guess
curtis
Original comment by lee.leed...@gtempaccount.com
on 24 Jul 2010 at 6:16
[deleted comment]
A player has just attack me. And I found a mistake in mode 'defend'(r569)
I'll recheck mode 'attack' when my ship is done, and I has time to do this.
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 6:38
[deleted comment]
want me check for you just tell me what to do i have ships rdy
curtis
Original comment by lee.leed...@gtempaccount.com
on 24 Jul 2010 at 7:02
Be do looting on somebody, to check if logs were added correctly
Original comment by Alex10336@gmail.com
on 24 Jul 2010 at 7:06
Information
Title Leave planet
Type Looting
Date 24.07.2010 21:05
Message
Sir!
Our troops have left the planet CapRicA-Fa of KaRABeY01. The occupation has
ended.
300000 troops have returned to our transports, unfortunately there wasn't
enough room for 0 troops. These troops had to be left behind.
We have taken the following commodities:
Titanium: 2
Copper: 2
Iron: 50.000
Aluminium: 2
Mercury: 2
Silicon: 2
Uranium: 2
Krypton: 11.103
Nitrogen: 29.478
Hydrogen: 2
this is from the dubug
Page: /gamelog/gamelog_view.php?gamelog_id=48852479
and nothing in the log
Original comment by lee.leed...@gtempaccount.com
on 24 Jul 2010 at 7:16
want me to connect to the english test server and do a attack for u would that
be better.
curtis
Original comment by lee.leed...@gtempaccount.com
on 24 Jul 2010 at 7:22
ok i got this far to add the battle log you need to go to ground combat log and
click on the ground attack you have just done this then add'a the battle to the
looting log on the dataengine however when you then click on the looting log to
see what you took it does not add this indo the the looting page i dont think
it is reading the looting inforamtion and sending it to the dataengine
curtis
Original comment by lee.leed...@gtempaccount.com
on 24 Jul 2010 at 8:16
curtis i am still getting an error can you show me this setion of your coding
please
pillage.lng.php
$lng['defender_regex'] = '/(.*) has left our planet (.*)\. The occupation has
ended.\./';
$lng['defender_regex_planetid'] = 1;
$lng['defender_regex_userid'] = 2;
$lng['defender_ident'] = 'He scavenged the following resources:';
$lng['attacker_regex'] = '/Our troops have left the planet (.*) de (.*),
l\'occupation is over\./';
$lng['attacker_regex_planetid'] = 1;
$lng['attacker_regex_userid'] = 2;
$lng['attacker_ident'] = 'We have plundered the following resources :';
// class (messages)
$lng['battle_allreadyexists'] = 'Exists !';
$lng['battle_error_ownuniverse'] = 'Inadequate personal information';
$lng['battle_updated'] = 'Combat SHIFT';
$lng['battle_added'] = 'Added Combat';
$lng['log_allreadyexists'] = 'Log already added';
$lng['log_battlenofound'] = 'Battle found? (Flute)';
$lng['log_coordsnotfound'] = 'Coordinate the plunder found? (Flute)';
$lng['log_multiplecoords'] = 'Several coordinated the looting? (Omg)';
$lng['log_added'] = 'Looting added.';
Original comment by lifelong...@yahoo.co.uk
on 24 Jul 2010 at 10:27
Sure no problem this is what i have did you edit the above^^ files Alex has
already changed i dont think this part is the problem i dont think maybe if i
could see a looting attacker and defender log from the french server i might be
able to work a fix i stuck as i can only see the english version
Curtis
// class (detections)
$lng['defender_regex'] = 'has left our planet (.*) The occupation has ended
(.*)\./';
$lng['defender_regex_planetid'] = 1;
$lng['defender_regex_userid'] = 2;
$lng['defender_ident'] = 'He scavenged the following resources:';
$lng['attacker_regex'] = 'our troops have left the planet (.*) of (.*). The
occupation has ended\./';
$lng['attacker_regex_planetid'] = 1;
$lng['attacker_regex_userid'] = 2;
$lng['attacker_ident'] = 'We have taken the following commodities:';
// class (messages)
$lng['battle_allreadyexists'] = 'Battle Already Added !';
$lng['battle_error_ownuniverse'] = 'Personal Info Needs To Be Added';
$lng['battle_updated'] = 'Battle Updated';
$lng['battle_added'] = 'Battle Added';
$lng['log_allreadyexists'] = 'Log Already Added';
$lng['log_battlenofound'] = 'Battle Not Found ? (';
$lng['log_coordsnotfound'] = 'Coordinates Not Found ? ()';
$lng['log_multiplecoords'] = 'Multiple Logs Added';
$lng['log_added'] = 'Looting Added.';
Original comment by lee.leed...@gtempaccount.com
on 25 Jul 2010 at 9:07
Forgot to add this is what i did to get the battle in the looting on the data
engine
first
click on the sun of target planet
then click planet
raid
then goto blue button/ground battle click the battle to add it
that should enter the log into the engine
then you need to goto main log and click the looting to add the stuff you
looted however that part does not work not yet anyway ther might be a quicker
way to do it but that is what worked for me
let me know if it works
Original comment by lee.leed...@gtempaccount.com
on 25 Jul 2010 at 9:13
Ok dont know if this help's Alex but some info from the looting
Ground Battle Log:
Page:
/battle/battle_ground_report_info.php?area=ground_battle&battle_ground_report_id
=238603
Main Log Looting Report:
Page: /gamelog/gamelog_view.php?gamelog_id=48854805
Original comment by lee.leed...@gtempaccount.com
on 25 Jul 2010 at 11:29
ok i am getting this error now
XML error, disabling 'eude'...
Data Engine send:
Unknown column 'Player' in 'where clause'
File: class/dataengine.class.php (Line: 95)
Function: parse_backtrace
Args:
File: class/troops.class.php (Line: 62)
Function: sql
Args: SELECT * FROM SQL_PREFIX_troops_pillage WHERE Player='armageddon' AND
date=1280024760
File: xml/eude.php (Line: 125)
Function: AddPillage_log
Args: defender, 1280024760, Sir!
Doolsy has left our planet NewWales. The occupation has ended.
He scavenged the following resources:
Hydrogen: 4
Original comment by lifelong...@yahoo.co.uk
on 25 Jul 2010 at 9:03
Something wrong in your table SQL_PREFIX_troops_pillage
Original comment by Alex10336@gmail.com
on 26 Jul 2010 at 5:07
not sure about that side of it not been hit yet will get somebody to raid me
see what happens did you get the attack side to work my bug is it wont send the
list of resi to the dataengine dont know why tho still looking :)
curtis
Original comment by lee.leed...@gtempaccount.com
on 26 Jul 2010 at 7:13
[deleted comment]
ok i think i know what the problem might be with the looting log there in no
xml code in the script for it eude.511.user line 1770 all the rest have a xml
out put there is also no codeing in the xml file eude.php for the looting log
so there is nothing to read the log only thing i can find missing i may be
wrong. but to me the function gamelog_spooler dies in the script
if u remove the get xml from any of the other stuff e.g asteroids, wormholes
they also die in the script and give no errors
i think some of the code is missing
i am a noob tho so its just a guess
Curtis
Original comment by lee.leed...@gtempaccount.com
on 26 Jul 2010 at 11:51
it looks good i might be wrong
it is set out like this
CREATE TABLE IF NOT EXISTS `SQL_PREFIX_troops_pillage` (
`pid` int(11) NOT NULL auto_increment,
`mid` int(11) NOT NULL,
`Player` varchar(30) NOT NULL,
`ress0` int(11) NOT NULL,
`ress1` int(11) NOT NULL,
`ress2` int(11) NOT NULL,
`ress3` int(11) NOT NULL,
`ress4` int(11) NOT NULL,
`ress5` int(11) NOT NULL,
`ress6` int(11) NOT NULL,
`ress7` int(11) NOT NULL,
`ress8` int(11) NOT NULL,
`ress9` int(11) NOT NULL,
`date` int(11) NOT NULL,
PRIMARY KEY (`pid`),
KEY `mid` (`mid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Original comment by lifelong...@yahoo.co.uk
on 27 Jul 2010 at 7:36
@lee i see your thinking but eude.php is the medium all the code for this is in
troops.class and pillage.php think as the eude.php as the goto guy for the
script and the other coding
Original comment by lifelong...@yahoo.co.uk
on 27 Jul 2010 at 7:42
Yeah I found that but if u look at the 511. Greasemonky script look for the
looting log there is nothing to tell it to go to the XML file there is for all
the other stuff e.g asteroids wormhole planets sun but nothing for the looting
log if u delete the XML output for the wormholes it does nothing does not
collect them so to me that is the reason the looting log does not get collected
as the XML part is missing
Original comment by lee.leed...@gtempaccount.com
on 27 Jul 2010 at 8:56
Ok my update of the looting log i give in lol i have tried all sorts lol the
ground battles add to the pillage section fine but they dont add the resouces
cant find out why but i am new to this @life have you found a fix yet.
curtis
Original comment by lee.leed...@gtempaccount.com
on 27 Jul 2010 at 7:42
Please open new issue with your problem.
Original comment by Alex10336@gmail.com
on 27 Jul 2010 at 7:56
Original issue reported on code.google.com by
lifelong...@yahoo.co.uk
on 23 Jul 2010 at 2:38