Pagina de start a forumului SiLenT TeaM
Inregistrare • Cautare • FAQ • Membri • Grupuri • Autentificare
Cum Sa Faci Srv De WoW 2 [EnGlEzA]

 
Raspunde la subiect    Pagina de start a forumului SiLenT TeaM » Tutoriale Subiectul anterior
Subiectul urmator
Cum Sa Faci Srv De WoW 2 [EnGlEzA]
Autor Mesaj
PaLeOn
Administrator
Administrator


Data inscrierii: 21/Mai/2008
Mesaje: 70
Localitate: CaLaRiTeAsH

Mesaj Cum Sa Faci Srv De WoW 2 [EnGlEzA] Raspunde cu citat (quote)
Server pre-reqs

MySQL - http://dev.mysql.com/
Other SQL databases might work.
However the PHP code which uses the mysql_ functions (contained in
lib/wowdb.php) would need to be adapted.

PHP - http://www.php.net/
PHP version
4.3.0 or higher is recomended. Any version 4.0 or higher should
work


Server Setup
Download

web-X.Y.Z.tar.gz - http://sourceforge.net/project/showfile ...
_id=138513

SQL server setup

Create a database of the name
"wow".
Using the wow.sql file from the web tarball, create the char table in
the wow database.
Create a user (wow) with SELECT, INSERT, and UPDATE
privilages on the wow database

Web Setup

unpack the web tarball
into a directory on your webserver that can run PHP scripts.
copy
conf.php.sample to conf.php
Edit conf.php in a text editor like
WordPad
$db_user = "wow" - Change "wow" to match the username you created or
your wow profiler database.
$db_passwd = "xxxxx" - Change "xxxxx" to match
the password of the user you created for the wow profiler database.
$db_name
= "wow" - Change "wow" to match the name of the database you created for wow
profiler.
$db_host = "localhost" - In most cases you can leave this as
localhost. If your database resides on a different server than your wow profiler
directory, you will need to change localhost to match the address of your
database server.
$data_dir = "data" - The "data" direcotry is the directory
in which you unpacked the web tarball. You need to use the full path to this
directory. Examples:
-On Linux - "/usr/home/user/public_html/data"
-On
windows - "c:\inetpub\wwwroot\data"
$log_dir = "/logs" - Change "/logs" to
match the location of where you want wow profiler to store log files. You can
leave this as /logs if your log folder is in your data directory. You will need
to change the permissions on your log folder to be readable and writable by the
server.
$upload_dir = "/uploads" - Change "/uploads" to match the location of
where you want wow profiler to store uploaded profiles. You can leave this as
/uploads if your upload folder is in your data direcotry. You will need to
change the permissions on your uploads folder to be readable and writable by the
server.
$show_inventory = 1 - Leave this as 1 to show your characters
inventory. If you wish to not display inventories, then change this to
0.
$guild_name = "" - The name of your guild.
$guild_desc = "" - A
description of your guild.
# for Thottbot - The following twolines are used
to pull icons from Thottbot. By removing the # symbol, WoW Profiler will connect
to Thottbot for
icons.
#$img_url="http://i.thottbot.com/";
#$img_suffix="jpg";
The next
two lines are used if you want to store icons on your local
server.
$img_url="/img/" - Replace "/img/" with the url of your icons folder.
WoW Profiler will add /Interface/Icons/ to this url. Make sure your icons are in
the /Interface/Icons/ folder. Example:
http://www.yourserver.com/img - WoW Profiler will then get
icons from "http://www.yourserver.com/img/Interface/Icons/
$img_suffix="png"
- Replace "png" if your Interface Icons have a different extension like .jpg or
.gif
$stylesheet = "default.css" - If you want to lucrate your own custom
stylesheet, change default.css to match the name of your custom
stylesheet.
Test the php script. You should see a table with just Name, Race,
etc. headings.


Server Upgrade
Download

web-X.Y.Z.tar.gz -
http://sourceforge.net/project/showfile ...
_id=138513

SQL server upgrade

In the web/sql-upgrades directory
are sql files for upgrading your database. Find the files you need. (ex. If you
are upgrading from 0.2.0 to 0.4.0 you will need both 0.2.0-0.2.2.sql and
0.3.1-0.4.0.sql)
Apply the apropriate file in order to your database. (ex.
apply 0.2.0-0.2.2.sql first and 0.3.1-0.4.0.sql second)

web
upgrade

unpack the new web tarball into a new directory
copy your old
conf.php into this new directory
add any lines in the new conf.php.sample to
your conf.php which do not exist
once the new web module is working, replace
the old directory with the new one.


User
Setup
WoWLauncher

Each user should download the latest WOWLauncher: http://sourceforge.net/project/showfile ...
_id=138511
Start WOWLauncher.
Click on the Prefs... button
Enter in the
URL of update.cgi on the server (the default can be changed by re-compiling the
source) and click OK.
Click Browse and find the location of WoW.exe.
Cosmos.exe can be run here instead as long as it's in the the same directory as
WoW.exe. Running Cosmos.exe will have the side-effect of uploading you info
BEFORE wow is run instead of after (to be addressed in a later version)
Click
Launch to run WoW. This will automatically install the Character Profiler into
WoW.
When WoW exits, the character data will be uploaded to the update.cgi
script
22/05/2008 10:32 Vezi profilul utilizatorului Trimite mesaj privat
noganoga
Junior
Junior


Data inscrierii: 15/Iul/2012
Mesaje: 5
Localitate: Israel

Mesaj Raspunde cu citat (quote)
I want to ask ! will you obtain positive review for your post in future) Or only my grace tell you that your post is unbelievable !))
19/08/2012 17:09 Vezi profilul utilizatorului Trimite mesaj privat
tcapital
Junior
Junior


Data inscrierii: 25/Iul/2012
Mesaje: 5
Localitate: Great Britain

Mesaj Raspunde cu citat (quote)
Information is impressive! But I will say so in my view is slightly different, but what I will not tell you)))
02/09/2012 22:17 Vezi profilul utilizatorului Trimite mesaj privat
tcapital
Junior
Junior


Data inscrierii: 25/Iul/2012
Mesaje: 5
Localitate: Great Britain

Mesaj Raspunde cu citat (quote)
I am always happy to find something original on the internet and I can tell you that your information is really original.
04/09/2012 01:15 Vezi profilul utilizatorului Trimite mesaj privat
tcapital
Junior
Junior


Data inscrierii: 25/Iul/2012
Mesaje: 5
Localitate: Great Britain

Mesaj Raspunde cu citat (quote)
You are simply awesome
05/09/2012 04:31 Vezi profilul utilizatorului Trimite mesaj privat
Afiseaza mesajele pentru a le previzualiza:    
Raspunde la subiect    Pagina de start a forumului SiLenT TeaM » Tutoriale Ora este GMT + 3 ore
Pagina 1 din 1

 
Mergi direct la: 
Nu puteti crea un subiect nou in acest forum
Nu puteti raspunde in subiectele acestui forum
Nu puteti modifica mesajele proprii din acest forum
Nu puteti sterge mesajele proprii din acest forum
Nu puteti vota in chestionarele din acest forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro