24.11.2010, 22:20
Old pro
25.11.2010, 10:42
Ich möchte ja aber die alte Statue^^
25.11.2010, 17:40
"Guten Tag, ich hätte gerne Milch, die abgelaufen ist."
Nicht persönlich nehmen, aber so kommt es grad bei mir an.
Wieso will jemand die alte Grafik?
Was passiert denn, wenn du das Tool einfach mit der alten Grafik installierst?
Wenn du an den Grafiken und an der CSS-Datei nix geändert hast, müsstest du eigentlich nur diese Zeile ersetzen (sollte Zeile 16 sein):
Ort: /htdocs/admin/actions/statue_c.php
Durch diese ersetzen:
Danach Statue einmal deaktivieren und dann wieder aktivieren
LG
Molt
Nicht persönlich nehmen, aber so kommt es grad bei mir an.
Wieso will jemand die alte Grafik?
Was passiert denn, wenn du das Tool einfach mit der alten Grafik installierst?
Wenn du an den Grafiken und an der CSS-Datei nix geändert hast, müsstest du eigentlich nur diese Zeile ersetzen (sollte Zeile 16 sein):
Ort: /htdocs/admin/actions/statue_c.php
Code:
$cl_builds->set_graphicCoords("277,231,256,265,266,285,292,287,306,266");';
Code:
$cl_builds->set_graphicCoords("218, 199, 231, 221, 229, 257, 202, 257, 197, 209");';
LG
Molt
25.11.2010, 18:11
I suspect a syntax error, shouldn't the trailing '; be removed?
25.11.2010, 18:22
No, because it is a string (variable) that starts on a higher row and contains PHP code, as you can see, which is terminated with ; and then the string ends and there should be ';
LG
Molt
LG
Molt
25.11.2010, 21:55
Ah I see. Gee, big file, setup_statue.php: 1333 lines! :p
26.11.2010, 17:11
^^
Yes, it contains all statue files, the code to setup or delete it in English and German, so it's quite big
LG
Molt
Yes, it contains all statue files, the code to setup or delete it in English and German, so it's quite big
LG
Molt
02.12.2010, 11:54
also ich muss zugeben dieses tool war der grund mir 1.4 zu installieren^^
Nur eine Frage:
Wo kann man die Punkte ändern, weil momentan gibt die Statue nur 8 Punkte, bei ds sinds aber 24
Nur eine Frage:
Wo kann man die Punkte ändern, weil momentan gibt die Statue nur 8 Punkte, bei ds sinds aber 24
02.12.2010, 13:54
Geh mal in [dslan]/htdocs/include/configs/ in die buildings.php und suche diese Stelle:
Ändere dort
in
um, dann müsstest du 24 Punkte bekommen. Das ganze habe ich jetzt nicht getestet, müsste aber funktionieren.
Speichern nicht vergessen
edit: Am besten nach der änderung, in localhost/admin nen Reset machen!
mfg
Christian
PHP Code:
$cl_builds->add_build("Statue","statue");
$cl_builds->set_woodprice("220","1");
$cl_builds->set_stoneprice("220","1");
$cl_builds->set_ironprice("220","1");
$cl_builds->set_bhprice("10","1");
$cl_builds->set_time("600","1");
$cl_builds->set_points("8","1");
$cl_builds->set_needbuilds(array());
$cl_builds->set_maxstage("1");
$cl_builds->set_specials(array());
$cl_builds->set_description("An der Statue huldigen die Dorfbewohner deinem Paladin. Sollte dein Paladin einmal fallen, kannst du hier einen deiner Kämpfer zum neuen Paladin ernennen.");
$cl_builds->set_graphicCoords("277,231,256,265,266,285,292,287,306,266");
Ändere dort
PHP Code:
$cl_builds->set_points("8","1");
in
PHP Code:
$cl_builds->set_points("24","1");
Speichern nicht vergessen
edit: Am besten nach der änderung, in localhost/admin nen Reset machen!
mfg
Christian
02.12.2010, 15:26
ABER!
In /htdocs/admin/actions/statue_c.php musst du die Zeile mit den Punkten auch noch ändern!
Sonst ändert sich das beim nächsten Aktivieren wieder!
LG
Molt
In /htdocs/admin/actions/statue_c.php musst du die Zeile mit den Punkten auch noch ändern!
Sonst ändert sich das beim nächsten Aktivieren wieder!
LG
Molt
18.12.2010, 15:59
templates/game_overview_graphic.tpl could not be found.
das heisst?????
Was soll ich tun?
das heisst?????
Was soll ich tun?
18.12.2010, 16:01
"DSLan/htdocs/templates/game_overview_graphic.tpl"
Diese Datei existiert offenbar bei dir nicht.
Wo hast du denn den Fehler bekommen? (z.B. setup_statue.php)
LG
Molt
Diese Datei existiert offenbar bei dir nicht.
Wo hast du denn den Fehler bekommen? (z.B. setup_statue.php)
LG
Molt
18.12.2010, 16:06
18.12.2010, 16:11
Zeig mal die ganze Fehlermeldung pls.
LG
Molt
LG
Molt
18.12.2010, 16:14
statue.php installed
admin/actions/statue.php installed
admin/actions/statue_c.php installed
admin/extern_modules/statue.php installed
admin/templates/index_statue.tpl installed
templates/game_statue.tpl installed
templates/game_overview_graphic.tpl could not be found.
Warning: fopen(templates/game_overview_noGraphic.tpl) [function.fopen]: failed to open stream: No such file or directory in F:\Ds Lan\All in One v1.7\htdocs\setup_statue.php on line 960
templates/game_overview_noGraphic.tpl could not be found.
script.js edited
Install finished
Paladin & Statue Adminpanel
Start
admin/actions/statue.php installed
admin/actions/statue_c.php installed
admin/extern_modules/statue.php installed
admin/templates/index_statue.tpl installed
templates/game_statue.tpl installed
templates/game_overview_graphic.tpl could not be found.
Warning: fopen(templates/game_overview_noGraphic.tpl) [function.fopen]: failed to open stream: No such file or directory in F:\Ds Lan\All in One v1.7\htdocs\setup_statue.php on line 960
templates/game_overview_noGraphic.tpl could not be found.
script.js edited
Install finished
Paladin & Statue Adminpanel
Start
18.12.2010, 16:15
18.12.2010, 16:25
statue.php installed
admin/actions/statue.php installed
admin/actions/statue_c.php installed
admin/extern_modules/statue.php installed
admin/templates/index_statue.tpl installed
templates/game_statue.tpl installed
templates/game_overview_graphic.tpl could not be found.
Warning: fopen(templates/game_overview_noGraphic.tpl) [function.fopen]: failed to open stream: No such file or directory in F:\Ds Lan\All in One v1.7\htdocs\setup_statue.php on line 960
templates/game_overview_noGraphic.tpl could not be found.
script.js edited
Install finished
Paladin & Statue Adminpanel
Start
admin/actions/statue.php installed
admin/actions/statue_c.php installed
admin/extern_modules/statue.php installed
admin/templates/index_statue.tpl installed
templates/game_statue.tpl installed
templates/game_overview_graphic.tpl could not be found.
Warning: fopen(templates/game_overview_noGraphic.tpl) [function.fopen]: failed to open stream: No such file or directory in F:\Ds Lan\All in One v1.7\htdocs\setup_statue.php on line 960
templates/game_overview_noGraphic.tpl could not be found.
script.js edited
Install finished
Paladin & Statue Adminpanel
Start
18.12.2010, 18:05
bei mir ist es so, dass ich den Code nicht finde, weil ich die Seite nicht finde.
18.12.2010, 18:11
You're possibly using an old version. This tool works on 1.4 only.
18.12.2010, 18:16
hat sich schon erledigt