Travian P-Alpha 2.03 (All bases support)

Status
Not open for further replies.
here's a guide on how to install mysqli ?


Note to everyone.. there is a mega change in sql table.. thus.. it shall now be called V3 =)

Karte is around 30% fix.. i am still working on fixing everything.. it seems to me...

I need to make the thing karte.php faster and sql friendlier.. so yea.. chaos =)
 
here's a guide on how to install mysqli ?


Note to everyone.. there is a mega change in sql table.. thus.. it shall now be called V3 =)

Karte is around 30% fix.. i am still working on fixing everything.. it seems to me...

I need to make the thing karte.php faster and sql friendlier.. so yea.. chaos =)

I need a .so mysqli because the webserver o.s. is linux :ott1:
 
<== this?

---------- Post added at 02:43 AM ---------- Previous post was at 02:29 AM ----------

okay i found the actual guide.. = ="

to install mysqli in linux u need to compile php from source..



There u will learn how to compile from source..

and to get the latest php.. go to php.net to download
 
<== this?

---------- Post added at 02:43 AM ---------- Previous post was at 02:29 AM ----------

okay i found the actual guide.. = ="

to install mysqli in linux u need to compile php from source..



There u will learn how to compile from source..

and to get the latest php.. go to php.net to download

I think i will wait the mysql version :blink:
 
eh heres a guide install WAMP;
then (if windows 7) right click icon and click props then click
compatibility then click run as admin

then open your main drive (or where ever you installed it normaly c:\)
right click on WAMP can click off read only.

then run wamp and click on the icon in the right side tray
move ya mouse over sql then click install service

then move over to php then php ext and make sure these are clicked
php_mysql
php_mysqli
php_pdo_mysql
php_pdo_sqli

SQLi SETUP!
 
oh yea.. i fixed karte.php 30% of it i suppose xD.. working on the other 70%.... its a bit messy with the world hitting 400 and going back to -400 again.. > <
 
i believe i do always update the sql whenever i change it..

Well for one thing i am sure... i am thinking of whether to have a dynamic world map different for each server or the same.. > > ideas anyone?
 
Code:
Parse error: parse error in C:\wamp\www\s1\include\constant.php on line 10
Code:
<?php
include("../include/news_setting.php");
//Server Stats Defination
define("SERVER_NAME", "Travian Clone Com1");
define("SPEED", 3); //1 (Normal), 3 (3x Speed)
define("USER_TIMEOUT", 10); //Time in Minutes
define("WORLD_MAX", 2); //To put it simply. Eg 5, Max x = +/-5 y = +/-5
 
//Server Preference Settings
define("EMAIL_AUTH", true); //Auth Email
define("GP_ENABLE", false); //Graphic Pack Usage
 
//SQL Server Defination
define("SQL_SERVER", "localhost");
define("SQL_USER", "root");
define("SQL_PASS", "pass");
define("SQL_DB", "db");
define("TB_PREFIX", "s1_");
 
//User Access Defination
define("BANNED", 0);
define("ADMIN", 9);
define("MODERATOR", 8);
define("USER", 1);
?>

any ideas pleasE?
 
Last edited:
Fatal error: Call to undefined method mysqli_result::fetch_all() in C:\Program Files\VertrigoServ\www\2\s1\include\functions.php on line 59


How to Fix ?
 
eh nubs its still being worked on...ITS NOT 100% DONE YET!

@Schopencz seems you have doen something wrong with
define("EMAIL_AUTH", true); //Auth Email(put false insed?)
 
mailer doesnt work... > < i dont have it done yet.. i dun have a web host with smtp.. > <

and yea i am still working on karte.php.. sorry i was busy with my gf.. =)
I managed to get the entire -400 to 400 field down.. 640+k = ="

I am playing with the sql a bit.. it seems to me i need to do some magic work to it before it can work fully.. being able to scroll past -400 and land up at 400.. > <

---------- Post added at 02:03 PM ---------- Previous post was at 02:00 PM ----------

like different in which way?


like some on channel 1 -300,218 is oasis
channel 2 is field 3
channel 3 may be an oasis again..

So would you all like to see an installation script that randomise the field type?

Or would you all like an installation script that just runs a fix field entry..
 
@MAXTRAXv3: thanks :)

Ok, thanks, i downloaded you files from

Code:
Notice: Undefined index: 3 in C:\wamp\www\s1\login.php on line 12

It create user in database if i register, but i can't login, it only refresh.

Can you help me please? :)
 
Last edited:
Fatal error: Call to undefined method mysqli_result::fetch_all() in C:\Program Files\VertrigoServ\www\2\s1\include\functions.php on line 59


i can fix it.

You install php version > 5.3.x.

But

STEP Active.php After register Not Work.

Who Can Help us together? :thumbup1:

Thank You
 
Status
Not open for further replies.
Back