Raised This Month: $51 Target: $400
 12% 

Plugin Maprank2Time Fortsetzung


  
 
 
Thread Tools Display Modes
Author Message
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 02-04-2008 , 15:51   Plugin Maprank2Time Fortsetzung
#1

da der alte Thread (http://forums.alliedmods.net/showthread.php?t=62240) im Trash verschwunden ist,
und ich Anfragen wegen einer neuen Version erhalten habe, hier die aktuellste.

Beschreibung:

- Vote für die laufende Map (gut, ok, schlecht)
- timelimit der map wird an die voting ergebnisse angepasst
- Voraussetzung: mysql Server min version 4.1!

Einstellungen beschreib ich jetzt nicht weiter, ist im alten Thread das meiste nachzulesen.
Zum Web Teil:

- auf den Webspace hochladen
- in die /includes/dbinfo.inc.php deine sql daten eintragen
- maprank.php öffnen und oben deine serverip eintragen

so siehts dann aus: http://88.198.55.6/maprank/index.php

mein mappics-pack (ca. 1400): http://88.198.55.6/downloads/images.rar

aktuelle Plugin Version: 1.3
Attached Files
File Type: txt playermaprank.txt (754 Bytes, 238 views)
File Type: rar web.rar (37.1 KB, 216 views)
File Type: sma Get Plugin or Get Source (maprank2time.sma - 1096 views - 11.6 KB)
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.

Last edited by |PJ| Shorty; 02-15-2008 at 04:41. Reason: update web und plugin v1.3
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
Eismann1976
Senior Member
Join Date: Feb 2006
Old 02-04-2008 , 16:46   Re: Plugin Maprank2Time Fortsetzung
#2

Super, Danke !
__________________
Eismann1976 is offline
Send a message via ICQ to Eismann1976
[pc]Raba
Veteran Member
Join Date: Jan 2004
Location: Erfurt
Old 02-05-2008 , 02:22   Re: Plugin Maprank2Time Fortsetzung
#3

Komisch. Warum ist der im Trash?
Und danke
__________________
Wichtige Erkenntnis:
Murphys Gesetz ist nicht umkehrbar. Das Auto zu waschen, damit es regnet, funktioniert nicht.
[pc]Raba is offline
Send a message via ICQ to [pc]Raba
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 02-05-2008 , 02:28   Re: Plugin Maprank2Time Fortsetzung
#4

Quote:
Originally Posted by [pc]Raba View Post
Komisch. Warum ist der im Trash?
Und danke
wenn das der mod nicht weis
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 02-05-2008 , 03:18   Re: Plugin Maprank2Time Fortsetzung
#5

benutzt das plugin die SQL-Daten aus der sql.cfg?

und funzt das plugin auch mit mehreren servern gleichzeitig auf einer sql.cfg? oder muss man da 2 separate nehmen?

benutze amxbans in MySQL Datenbank "4", da müsste ich ja dann wenn es die sql.cfg benutzt in "4" auch noch den maprank vom einen server reinknalln und dann ohne amxbans auf "5" den zweiten server machen.

wenn du verstehst, was ich meine xD

Edit:
Vll noch ne änderung:
man könnte es doch eigentlich so scripten, dass ein map-bild angezeigt wird, wenn man auf der HP über den Mapnamen mit der maus fährt, oder?
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.

Last edited by SeToY; 02-05-2008 at 03:49.
SeToY is offline
Eismann1976
Senior Member
Join Date: Feb 2006
Old 02-05-2008 , 05:31   Re: Plugin Maprank2Time Fortsetzung
#6

Im Trash weil Angelina alle ihre Posts editiert hat. Alle Threads von ihr sind im Trash.
Deshalb hab ich de auch nicht gefunden Shorty.
__________________
Eismann1976 is offline
Send a message via ICQ to Eismann1976
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 02-05-2008 , 10:23   Re: Plugin Maprank2Time Fortsetzung
#7

@Setoy

nimmt die daten aus der sql config, ja.
funktioniert auch mit mehr servern, votings werden hald in einer db zusammengefasst.
bei mir läuft es auch mit amxbans zusammen, ist kein problem.
falls du verschiedene dbs benutzen willst, müsstest die zugangsdaten manuell ins plugin eintragen.

mapbild würde sicher auch funktionieren, müsste hald ins php eingebunden werden.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
[pc]Raba
Veteran Member
Join Date: Jan 2004
Location: Erfurt
Old 02-05-2008 , 14:00   Re: Plugin Maprank2Time Fortsetzung
#8

Ich habe hier Mappics für 790 Maps. Wenn du die dazu brauchst, sag bescheid.
__________________
Wichtige Erkenntnis:
Murphys Gesetz ist nicht umkehrbar. Das Auto zu waschen, damit es regnet, funktioniert nicht.
[pc]Raba is offline
Send a message via ICQ to [pc]Raba
ScHrAnZ DiNgEnS
Senior Member
Join Date: Sep 2007
Old 02-05-2008 , 16:57   Re: Plugin Maprank2Time Fortsetzung
#9

Ich fliege da morgen mal drüber, die Mappics dürften das geringste Problem sein. Hab jetzt auch noch nicht in die php Dateien geschaut ansonsten wüsste ich wohl wie mans es einnfügt.

Im Prinzip ist es ganz einfach:

Code:
$mappath = "/images/maps/halflife/cstrike/";
//Sagt wo die Mappics liegen
$map = imagecreatefromjpeg($mappath.$VariableFürDenMapnamen.".jpg");
//wählt die Map aus die angezeigt werden soll
Da die Mappics zu gross für die Tabelle sein dürften müssen wir sie noch verkleinern, da das mit Photoshop zu lange dauert machen wir das mit einem code:

Code:
imagecopyresampled($map, (160*.50), (120*.50), 160, 120);
In diesem Beispiel ist die Originalgrösse des Mappics 160x120, mit der Hilfe von "*.50" verkleinern wie die Anzeige auf 50%. Das Pic würde also in der Grösse 80x60 angezeigt.

LG,
Maze
ScHrAnZ DiNgEnS is offline
Send a message via ICQ to ScHrAnZ DiNgEnS Send a message via AIM to ScHrAnZ DiNgEnS
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 02-05-2008 , 17:06   Re: Plugin Maprank2Time Fortsetzung
#10

ich würd die pics nicht mit in die tabelle einbinden.
mehr als maus popup beim mouseover
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode