[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 633: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 527: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 696: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 247: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 696: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 696: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 696: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 696: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4777: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4780: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
Schnupptrupp • Thema anzeigen - Vorlage Laden und RunescapeKarte

Vorlage Laden und RunescapeKarte

Hier findet ihr Neuigkeiten rund um unseren Webauftritt
Benutzeravatar
Administrator
Beiträge: 510
Registriert: Sa 4. Sep 2010, 14:12
Wohnort: Nürnberg
Runescapename:
BeitragVerfasst: Di 8. Feb 2011, 15:02
Huhu zusammen,

ich möchte euch mitteilen das wir zwei Neuerungen im Wiki haben.

Zum ersten die mit welcher ihr das Bild eines Ladens auf Runescape nachstellen könnt.


Zum zweiten habt ihr jetzt die Möglichkeit in euren Artikeln direkt einen Ausschnitt der Runescapekarte anzuzeigen. hierfür habe ich den Tag <rskarte/> im Wiki hinzugefügt. Das schöne daran ist, hierfür wird unsere eigene Runescape Weltkarte verwendet und Änderungen welche an unserer Weltkarte gemacht werden sind sofort auf allen Artikeln welche diesen Tag zum anzeigen der Karte benutzen verfügbar. Der Tag verarbeitet folgende Parameter:

c1 = Angabe des Längengrades
c2 = Angabe des Breitengrades
xsize = Breite des Ausschnittes in Pixel (maximal 2000)
ysize = Höhe des Ausschnittes in Pixel (maximal 2000)
zoom = Zoomfaktor für den Ausschnitt (minimal 0.1 maximal 4)

Die Längen- bzw- Breitengrade werden angegeben mit (Stunden)(Anfangsbuchstabe der Himmelsrichtung)(Minuten)

z.B.

c1=9O55
c2=10N11

Das würde entsprechen 9 Grad 55 Minuten östlicher Lange und 10 Grad 11 Minuten nördlicher Breite

Der komplette Tag könnte dann z.B. so aussehen

<rskarte c1="10N11" c2="9O55" xsize="350" ysize="350" zoom="1.3"/>

und als Ergebnis würde folgendes angezeigt: :o :eeek:

Bild

Grüße,
Nove

Warum mit einem Sixpack zufrieden geben wenn man auch ein Fass haben kann :rofl:
Zitat
BeitragVerfasst: Mi 9. Feb 2011, 05:11
Die Bilder sind verdammt unscharf, aber sonst eine reife Leistung :eeek:
Zitat
BeitragVerfasst: Mi 9. Feb 2011, 19:45
Zitat
Benutzeravatar
Administrator
Beiträge: 510
Registriert: Sa 4. Sep 2010, 14:12
Wohnort: Nürnberg
Runescapename:
BeitragVerfasst: Do 10. Feb 2011, 14:03
Huhu PattyDalli97,

danke für dein Feedback.

Das mit der Unschärfe stimmt :( Leider liegt das daran das unsere Karte als jpeg gespeichert ist und schon eine gewisse Grundunschärfe hat. Aber du hattest recht, das sieht nicht wirklich gut aus.

Ich hab nun eine komplett neue Karte erstellt (nicht das JPEG von der Runescape Webseite welches eh uralt ist. Ich hab das Bild aus der Kartenübersicht die man im Spiel öffnen kann genommen.) Jetzt haben wir eine aktuelle Karte im .PNG Format in einer Auflösung von 5800x5200 Pixeln :eeek:

Die Variablen werden jetzt automatisch gefüllt wenn sie nicht angegeben sind.

Die Bilder werden jetzt gecached, was die erneute Ladezeit extrem senkt :pfeiff:

Bild

Das eigentliche Script ist

Grüße,
Nove

Warum mit einem Sixpack zufrieden geben wenn man auch ein Fass haben kann :rofl:
Zitat
BeitragVerfasst: Do 10. Feb 2011, 18:34
Huhu^^
Hast ja schon einiges verbessert.
Was jetzt vllt noch fehlt, ist dass z.b garnichts angegeben wird, nicht das Bild angezeigt wird, sondern das usage.
Musst einfach nur den Teil der scan paramenter ersetzten:
# scan parameters
$get = 0;
if(!isset($_GET['c1'])) {
$_GET['c1'] = '0O0';
$get++;
}
if(!isset($_GET['c2'])) {
$_GET['c2'] = '0N0';
$get++;
}
if(!isset($_GET['x'])) {
$_GET['x'] = '250';
$get++;
}
if(!isset($_GET['y'])) {
$_GET['y'] = '250';
$get++;
}
if(!isset($_GET['z'])) {
$_GET['z'] = '1';
$get++;
}
if($get==5) {
usage();
// exit() ist ja nicht nötig; steht ja im usage(); ist mir erst im nachhinein aufgefallen ;)
}
Zitat
Benutzeravatar
Administrator
Beiträge: 510
Registriert: Sa 4. Sep 2010, 14:12
Wohnort: Nürnberg
Runescapename:
BeitragVerfasst: Do 10. Feb 2011, 18:53
eingebaut.

version 0.0.3

Warum mit einem Sixpack zufrieden geben wenn man auch ein Fass haben kann :rofl:
Zitat
BeitragVerfasst: Do 10. Feb 2011, 21:19
Du bist wenigstes brav und steigst nicht bei jedem neuen Button auf eine neue Hauptversion (wie Google es macht ;) )

Patty
Zitat
Benutzeravatar
Wikiadministrator
Beiträge: 1818
Registriert: Mi 8. Sep 2010, 21:53

Runescapename:
BeitragVerfasst: Fr 11. Feb 2011, 02:07
Nove ist auch kein Sript - Kiddy
:rofl2:

Ps: gar nicht wird gar nicht zusammengeschrieben :pfeiff:

und deine Wortwahl ist anmaßend nebenbei bemerkt überaus arrogant. So kennen wir dich nicht Patty und so wirst du bei uns auch keinen Rosenstrauss gewinnen.
Zitat
BeitragVerfasst: Fr 11. Feb 2011, 15:12
1) Was hat jetzt ein Script - Kiddy mit diesem Thema zu tun?
2) Womit war ich arrogant? Ich habe Nove nur "gelobt", dass er nicht wie Google ist. Aber ich bin gerne bereit etwas neues bzg. Arrogant sein lernen^^

Patty
Zitat
Benutzeravatar
Administrator
Beiträge: 510
Registriert: Sa 4. Sep 2010, 14:12
Wohnort: Nürnberg
Runescapename:
BeitragVerfasst: Fr 11. Feb 2011, 15:49
version 0.0.4

Nachdem ich mich bei Wikipedia schlau gelesen hab, wird bei Geo Koordinaten der Breitengrad zuerst angegeben.
Desweiteren habe ich eine kleine Testseite gebaut in welcher man die Koordinaten eingeben kann.



Grüße,
Nove

Warum mit einem Sixpack zufrieden geben wenn man auch ein Fass haben kann :rofl:
Zitat
Nächste

Zurück zu Neues

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste