Thread Rating:
  • 4 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] Statue & Paladin (Richtig!)
#41
wie ich gesagt habe
Keine Sigi sonst Stress
Reply
#42
Ich möchte ja aber die alte Statue^^
Reply
#43
"Guten Tag, ich hätte gerne Milch, die abgelaufen ist." Wink
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");';
Durch diese ersetzen:
Code:
$cl_builds->set_graphicCoords("218, 199, 231, 221, 229, 257, 202, 257, 197, 209");';
Danach Statue einmal deaktivieren und dann wieder aktivieren Wink

LG
Molt
Reply
#44
I suspect a syntax error, shouldn't the trailing '; be removed?
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
Reply
#45
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
Reply
#46
Ah I see. Gee, big file, setup_statue.php: 1333 lines! :p
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
Reply
#47
^^
Yes, it contains all statue files, the code to setup or delete it in English and German, so it's quite big Big Grin

LG
Molt
Reply
#48
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 Wink
Reply
#49
Geh mal in [dslan]/htdocs/include/configs/ in die buildings.php und suche diese Stelle:

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"); 
um, dann müsstest du 24 Punkte bekommen. Das ganze habe ich jetzt nicht getestet, müsste aber funktionieren.

Speichern nicht vergessen Wink

edit: Am besten nach der änderung, in localhost/admin nen Reset machen!

mfg
Christian
Wenn ich dir helfen konnte, bewerte mich doch bitte!

Manche Leute sagen, 20 Stunden am Tag Tetris zu summen wäre verrückt, ich frage mich nur wieso...


Reply
#50
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
Reply
#51
templates/game_overview_graphic.tpl could not be found.

das heisst?????


Was soll ich tun?
Reply
#52
"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
Reply
#53
bei


http://localhost/setup_statue.php?do=setup
Reply
#54
Zeig mal die ganze Fehlermeldung pls.

LG
Molt
Reply
#55
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
Reply
#56
Hä?

http://localhost/setup_statue.php?do=setup

=> Alles reinkopieren was da steht.

LG
Molt
Reply
#57
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
Reply
#58
bei mir ist es so, dass ich den Code nicht finde, weil ich die Seite nicht finde.
Reply
#59
You're possibly using an old version. This tool works on 1.4 only.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
Reply
#60
hat sich schon erledigt
Reply




Users browsing this thread: 1 Guest(s)