Go Back   OtLand > Resources > Tutorials > Programming & Scripting Tutorials

Reply
Old 26th May 2009, 14:11   #1 (permalink)
JoccE
Roll the dice twice
 
JoccE's Avatar
 
Join Date: Aug 2007
Location: Sweden
Posts: 1,079
Reputation: JoccE is just really niceJoccE is just really niceJoccE is just really niceJoccE is just really nice



Send a message via MSN to JoccE
Setup Gesior 0.2 and 0.3


I just made this tutorial for OTFans so why not post it here to :P
I wont be active too answer all the questions but if you need help PM me here or on OTFans.
Will ofc update it if i update on OTFans

As many of you know i just closed my old Gesior Tutorial because it was really outdated. So here comes my new one
As you all know there is 2 versions of TFS 0.2 and 0.3, you need different gesior AACs for each one of them.

TFS Mystic Sprite 0.2.2 Guide:
First you need to download the Gesior AAC that works with 0.2 which you can fine here:
Extract all the files to /xampp/htdocs


After that goto and it will look like this:


After that press on step one
Quote:
1. Set server path
There you should write something like this:
Quote:
C:\Documents and Settings\Administrator\Desktop\Mystic Spirit\
You should get a message like this:
Quote:
Check server configuration
File config.lua loaded from C:/Documents and Settings/Administrator/Desktop/Mystic Spirit/config.lua and looks like fine server config file. Now you can check database(mysql) connection: STEP 2 - check database connection
Follow the guide and press on Step 3. Add tables and columns to DB
And you should get a message like this:
Quote:
Add tables and columns to DB
Installer try to add new tables and columns to database.
Added columns to table accounts
Added columns to table guilds.
Added columns to table players
Added table z_news_big (news).
Added table z_news_tickers (tickers).
Added table z_spells (spells list).
Added table z_monsters (monsters list).
All tables and columns added to database.
Go to STEP 4 - Add samples
Now goto STEP 4 - Add samples.
If everything going as it should you will get this message:
Quote:
Add samples to DB:
News ticker sample is already in database. New sample is not needed.
News sample is already in database. New sample is not needed.
Character 'Rook Sample' already in database.
Character 'Sorcerer Sample' already in database.
Character 'Druid Sample' already in database.
Character 'Paladin Sample' already in database.
Character 'Knight Sample' already in database.
All samples added to database. Now you can go to STEP 5 - Set Admin Account
Now press on STEP 5 - Set Admin
Here you will need to choose a password for your page admin account.
REMEMBER TO CHOOSE A SECURE PASSWORD!

After that you need to press
6. Load Monsters from OTS
7. Load Spells from OTS

And all your monsters/spells will be loaded.

When you press load vocations. it will look something like this:


You need to add some things so it looks like this when you are done:


after that you only have one more thing left to config.
its the acc page config and here you will choose the config you want for your server. It look like this:


Now your aac page should work just fine if you followed all the steps.

TFS Crying Damson 0.3.4 Guide:
First you need to download the AAC page for 0.3. Heres a link to the latest one which also supports Multi-World system:
Extract all the files to /xampp/htdocs


After that goto and it will look like this:


After that press on step one
Quote:
1. Set server path
There you should write something like this:
Quote:
C:\Documents and Settings\Administrator\Desktop\cryingdamson4pl2-console\
when you press next you will most likely get this error:
Quote:
Warning: Error parsing C:/Documents and Settings/Administrator/Desktop/cryingdamson4pl2-console/config.lua on line 142 in C:\xampp\htdocs\install.php on line 150
File config.lua loaded from C:/Documents and Settings/Administrator/Desktop/cryingdamson4pl2-console/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.
To fix that you just goto you server folder open config.lua and remove this at line 142:
Quote:
-- NOTE: defaultPriority works only on Windows and niceLevel on *nix
-- coresUsed are seperated by comma cores ids used by server process,
-- default is -1, so it stays untouched (automaticaly assigned by OS).
and this at line 152~
Quote:
-- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
then at line 190~
Quote:
-- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
-- rateStaminaHits multiplies every hit done a creature, which are later
-- multiplied by player attack speed.
-- rateStaminaGain is multiplying every second of logged out time, eg:
-- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off.
-- rateStaminaThresholdGain is dividing in case the normal gain (that is
-- multiplied by rateStaminaGain, btw.) passed above threshold, eg:
-- 60 * 1000 / 3 = 20 / 4 = 5 seconds (3 * 4 = 12 minutes for 1 stamina minute).
-- staminaRatingLimit* is in minutes.
Then try again.
After that you should get this msg:
Quote:
Check server configuration
File config.lua loaded from C:/Documents and Settings/Administrator/Desktop/Mystic Spirit/config.lua and looks like fine server config file. Now you can check database(mysql) connection: STEP 2 - check database connection
Then you press on Step 2 - Check database connection.
if you don't get any errors just continue to step 3.

There you will get this but it will stand added instead of can't add:
After that continue to Step 4 - Add samples.
THere you will see this: (but will stand added instead of already in databse)
Quote:
Add samples to DB:
News ticker sample is already in database. New sample is not needed.
News sample is already in database. New sample is not needed.
Character 'Rook Sample' already in database.
Character 'Sorcerer Sample' already in database.
Character 'Druid Sample' already in database.
Character 'Paladin Sample' already in database.
Character 'Knight Sample' already in database.
All samples added to database. Now you can go to STEP 5 - Set Admin Account
Now it's just one more step until the account page will work and that it. Set Admin account.
REMEMBER TO HAVE A SECURE PASSWORD.
now you account page should work just fine. Before you start using the page you can also press on load Spells/Monsters but you can ofc do that later if you want.


Error Messages:
0.2
No errors yet
0.3
If you get this error:
While making a character. You solve it like this:
Goto phpmyadmin then your database.
Press on the SQL button and run this code:
Other small things you may need to know:
How to change layout
Goto /xampp/htdocs/config and the config.php(0.3) or config.ini 0.2)
and change this $config['site']['layout'] = "tibiacom"; // layout name

Tutorial made by JoccE
Special thanks to Gesior for making the AAC
JoccE is online now   Reply With Quote
Old 26th May 2009, 14:56   #2 (permalink)
wladca
Senior Member
 
wladca's Avatar
 
Join Date: Dec 2008
Location: Poland,Grodzisk Mazowiecki
Posts: 309
Reputation: wladca will become famous soon enough



Send a message via ICQ to wladca Send a message via MSN to wladca Send a message via Skype™ to wladca
Good tutorial for noobish player
Rep+
__________________
2nd breath on OTS
Beware! New ots server is on working ^^
wladca is offline   Reply With Quote
Old 14th June 2009, 22:33   #3 (permalink)
bleyk
Junior Member
 
bleyk's Avatar
 
Join Date: Jun 2009
Posts: 5
Reputation: bleyk is on a distinguished road



can sby help me, i want to create my server with a page like tibia's one but when i write localhost/install on my browser it says :

Index of /
Name Last modified Size Description-------------------------------------------------------------------------------- before/ 20-Dec-2007 23:01 -
--------------------------------------------------------------------------------
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5 Server at localhost Port 80
bleyk is offline   Reply With Quote
Old 16th June 2009, 23:34   #4 (permalink)
Mirzo
Junior Member
 
Mirzo's Avatar
 
Join Date: Jun 2009
Location: Sweden
Posts: 10
Reputation: Mirzo is on a distinguished road



When i click on i get :

Error 404
localhost
06/16/09 23:32:23
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.5
Mirzo is offline   Reply With Quote
Old 6th July 2009, 10:38   #5 (permalink)
15419241
Junior Member
 
Join Date: Jun 2008
Posts: 11
Reputation: 15419241 is on a distinguished road



Excuse me but how can i eddit
the zone and level of starters ppl
becouse they start at lvl 1 in yalahar
15419241 is offline   Reply With Quote
Old 7th July 2009, 12:04   #6 (permalink)
Abay123
Member
 
Join Date: Jun 2008
Posts: 30
Reputation: Abay123 is on a distinguished road



Hello, Could some1 help me? I have done a web page but no1 cant go into it. Should i change ip somewhere or open any ports? please help!

Last edited by Abay123; 7th July 2009 at 12:29.
Abay123 is offline   Reply With Quote
Old 28th August 2009, 11:04   #7 (permalink)
jaku77
Member
 
Join Date: Feb 2009
Posts: 32
Reputation: jaku77 is on a distinguished road



same .
jaku77 is offline   Reply With Quote
Old 28th August 2009, 11:05   #8 (permalink)
jaku77
Member
 
Join Date: Feb 2009
Posts: 32
Reputation: jaku77 is on a distinguished road



same problem as Mirzo
jaku77 is offline   Reply With Quote
Old 1st September 2009, 17:39   #9 (permalink)
Fantoamenz
Junior Member
 
Join Date: Sep 2009
Posts: 1
Reputation: Fantoamenz is on a distinguished road



everything is fine but i got this at step 2

Check database connection
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.Database error - can't open SQLite database. Possible reasons:
C:/Documents and Settings/Administrador/Escritorio/Dovux By Jose v4/ - file isn't valid SQLite database.
C:/Documents and Settings/Administrador/Escritorio/Dovux By Jose v4/ - doesn't exist.
Fantoamenz is offline   Reply With Quote
Old 4th September 2009, 19:49   #10 (permalink)
jaku77
Member
 
Join Date: Feb 2009
Posts: 32
Reputation: jaku77 is on a distinguished road



I made everything like in here . my home page was created but the others canr go there -.- i have opnened all ports and stuff could some body help me ? whats wrong ?
jaku77 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 14:12.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO
Copyright ©2007 - 2010, OtLand.net.