Autor Beitrag
thebug
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: So 13.04.03 13:12 
Wie kann ich Variablen aus einer Textdatei die auf einem FTP Server liegt
in mein delphi program laden? :roll: :?:

Leon

_________________
Einsicht ist der beste Weg zur Besserung
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 13.04.03 14:49 
1. Textdatei runterladen
2. Textdatei einlesen (z.B. mit Memo) und Variablen heraussuchen

_________________
If accidentally read, induce vomitting.
thebug Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: So 13.04.03 15:28 
Nee, so mein ich dass nicht. ich will ein Spiel machen, wo die Highscore im Internet angezeigt wird.

Leon

_________________
Einsicht ist der beste Weg zur Besserung
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: So 13.04.03 16:35 
dann isses doch noch leichter ..
1) Datei runterlade
2) Auslesen
3) In die Highscoreform schreiben ...


MfG BungeeBug
Blackout
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 64



BeitragVerfasst: So 13.04.03 17:01 
4) Highscrores hochladen falls in den Top10

Ich würde das mit einer INI-Datei realisieren.
Aber Sie sollte Kodiert sein sonst könnte jmd. diese Bearbeiten

_________________
MfG Blackout
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 13.04.03 17:42 
thebug hat folgendes geschrieben:
Nee, so mein ich dass nicht. ich will ein Spiel machen, wo die Highscore im Internet angezeigt wird.


Das hat aber mit deinem ersten Post wenig zu tun.

_________________
If accidentally read, induce vomitting.
thebug Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: So 13.04.03 19:58 
Also, Ich habe ein spiel das sich die variablen aus einer auf einem Server liegenden Textdatei lädt. So das die Highscore ständig aktualisiert wird.
thanx

_________________
Einsicht ist der beste Weg zur Besserung
blackbirdXXX

ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1077
Erhaltene Danke: 1

Ubuntu Dapper

BeitragVerfasst: Mo 14.04.03 10:48 
Das musst du mit einer Datenbank machen da wenn du es so machst einige Probleme auftreten können:

1.) Sollten 2 User die Datei laden und speichern wird möglicherweise die Datei beschädigt.
2.) Die Datei ließe sich so ganz einfach ändern und dann ins Netz laden.
3.) So kann es nicht gehen da du so dein Passwort für den FTP verrätst!

Ich hoffe das hilft dir

_________________
Klein, schwarz und ärgert Techniker? Jumper!