You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

 
 
LinkBack Thread Tools
Old 12-17-2009   #101 (permalink)
The 12th Power Of 13th
 
MAXTRAXv3's Avatar
 
Rank: Alpha Member
Join Date: Jan 2007
Location: Australia, West
Posts: 2,095
Blog Entries: 1
Thanked 14 Times in 5 Posts

Re: Travian P-Alpha 2.03 (All bases support)

i hopes it works out :/
__________________
If im going to Burn in Hell, you shal Freeze in Heaven
MAXTRAXv3 is offline  

RaGEZONE sponsored advertisment:
Old 12-17-2009   #102 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

its already fixed.. just in case u missed the post

---------- Post added at 01:01 AM ---------- Previous post was at 01:00 AM ----------

in fact i even fixed a bug.. that when u relog.. and cancel the building u dont get ur resource back.. i fixed it too xD

---------- Post added at 01:51 AM ---------- Previous post was at 01:01 AM ----------

commited the changes.. have a look peeps =)

---------- Post added at 01:53 AM ---------- Previous post was at 01:51 AM ----------

please try them out and let me know if u encounter anything with the multi build > < or is the upgrading of resources bugged now.. i tested okay for the above 2 things though.. thanks..
__________________
akakori is offline  

Endorsement
Old 12-18-2009   #103 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

oops.. lol.. i kept clicking and accidentally closed the thread before i went to bed xD
__________________
akakori is offline  

Endorsement

Old 12-18-2009   #104 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Dec 2009
Posts: 7
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Oh gosh, you are using php and java script to build all of this? impressive, clever and browser friendly. Why not use C/C++ and made it like any other games out there?
xbravox is offline  
Old 12-18-2009   #105 (permalink)
Member
 
Rank: Hobbit
Join Date: Aug 2009
Posts: 28
Thanked 1 Time in 1 Post

Re: Travian P-Alpha 2.03 (All bases support)

ever heard of travian? it seems a browser based game to me lol
__________________
NibelungWokf is offline  
Old 12-18-2009   #106 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

yea its a web base game.. so yea php it is
__________________
akakori is offline  
Old 12-18-2009   #107 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Fatal error: Call to undefined function mysqli_connect() in /home/hosting/mythological/mythological.hi2.ro/s1/include/database.php on line 8

How can i resolve this?
TotalCS is offline  
Old 12-18-2009   #108 (permalink)
The Almighty Omega
 
Superfun's Avatar
 
Rank: Moderator
Join Date: Dec 2006
Location: The Netherlands
Posts: 6,811
Thanked 27 Times in 13 Posts

Re: Travian P-Alpha 2.03 (All bases support)

get mysql lite on your webhost
__________________
-
Superfun is offline  
Old 12-18-2009   #109 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Originally Posted by Superfun View Post
get mysql lite on your webhost
How?
It isn`t a way to transform mysqli in mysql?
TotalCS is offline  
Old 12-19-2009   #110 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Oct 2009
Posts: 2
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Fatal error: Call to undefined method mysqli_result::fetch_all() in C:\xampp\htdocs\travian\s1\include\functions.php on line 59 that is my error
voidan is offline  
Old 12-19-2009   #111 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Originally Posted by voidan View Post
Fatal error: Call to undefined method mysqli_result::fetch_all() in C:\xampp\htdocs\travian\s1\include\functions.php on line 59 that is my error
yr error is on
$q = "Select * from ".TB_PREFIX."WDATA where fieldtype = 3 and x > 0 and y < 0 and occupied = 0";

which means.. u didnt have any base that were type 3 = ="..

Do note type 3 is the default field type..

I might code a mysql version if i ever have the time.. but.. that would seriously come much much later
__________________
akakori is offline  
Old 12-19-2009   #112 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

latest updates... check svn..

I suppose i am done with multi village.. will now fix karte.php
__________________
akakori is offline  
Old 12-19-2009   #113 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Originally Posted by akakori View Post
latest updates... check svn..

I suppose i am done with multi village.. will now fix karte.php
And how can i install MySQLi on the host?
PHP extensions?
TotalCS is offline  
Old 12-19-2009   #114 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Oct 2009
Posts: 2
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

but can fix that error?
because i cant login in game
voidan is offline  
Old 12-19-2009   #115 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

@akakori: I think you should work at a MySQL version because many people use this type of database.And i need this script for a community
TotalCS is offline  
Old 12-19-2009   #116 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Originally Posted by TotalCS View Post
@akakori: I think you should work at a MySQL version because many people use this type of database.And i need this script for a community
I will but at a later time.. if u want u can always work on it yourself and release it if u want to share.. if u dont den.. its okay?.. if u want to release i can always commit..

BTW.. yes its php extensions.. seriously.. peeps start using mysqli.. its year 2009 already.. going 2010 to be exact.. > <
__________________
akakori is offline  
Old 12-19-2009   #117 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

But can i run mysql and mysqli at the same time? /:)
TotalCS is offline  
Old 12-19-2009   #118 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jun 2007
Posts: 7
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

how to install ?
jurenjer is offline  
Old 12-19-2009   #119 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

u can run both extension at the same time..
@jurenjer there isnt a install script/guide right now..

good news peeps.. i manage to fix the karte.php to a certain extend.. LOL
__________________
akakori is offline  
Old 12-19-2009   #120 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

I can`t find php_mysqli.so file
TotalCS is offline  
Old 12-19-2009   #121 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

here's a guide on how to install mysqli ?
http://www.daniweb.com/forums/thread41405.html#

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 =)
__________________
akakori is offline  
Old 12-19-2009   #122 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Originally Posted by akakori View Post
here's a guide on how to install mysqli ?
http://www.daniweb.com/forums/thread41405.html#

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
TotalCS is offline  
Old 12-19-2009   #123 (permalink)
akakori
 
Rank: Member +
Join Date: Apr 2008
Posts: 469
Thanked 59 Times in 24 Posts

Re: Travian P-Alpha 2.03 (All bases support)

http://www.phpclasses.org/browse/package/4837.html <== 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..

http://www.web-tech-india.com/articl...hp_apache/#php

There u will learn how to compile from source..

and to get the latest php.. go to php.net to download
__________________
akakori is offline  
Old 12-19-2009   #124 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Nov 2009
Posts: 8
Thanked 0 Times in 0 Posts

Re: Travian P-Alpha 2.03 (All bases support)

Originally Posted by akakori View Post
http://www.phpclasses.org/browse/package/4837.html <== 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..

http://www.web-tech-india.com/articl...hp_apache/#php

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
TotalCS is offline  
Old 12-20-2009   #125 (permalink)
The 12th Power Of 13th
 
MAXTRAXv3's Avatar
 
Rank: Alpha Member
Join Date: Jan 2007
Location: Australia, West
Posts: 2,095
Blog Entries: 1
Thanked 14 Times in 5 Posts

Re: Travian P-Alpha 2.03 (All bases support)

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!
__________________
If im going to Burn in Hell, you shal Freeze in Heaven
MAXTRAXv3 is offline  
 

Bookmarks

Thread Tools




Translated by Google
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Taiwanese Thai Turkish Ukrainian Vietnamese
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274