Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Development] [PHP-API / MYSQL DATABASE] WarZ / Infestation - BACK AGAIN

Status
Not open for further replies.
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

As I said in my first post:

"Demo v0.0.1 (ENCODED) <- If you remove the encoding and/or release it or rerelease it somewhere else:
Then I'm stop working on the API and don't release a poop on RZ."

@All:
You can thank poster13 :)
 
Junior Spellweaver
Joined
Dec 25, 2005
Messages
194
Reaction score
20
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

...nice...really nice...

Was really looking forward to the PHP and MySQL Version from the Backend. IIS and MSSQL are a pita right now -.-.
 
Junior Spellweaver
Joined
Dec 25, 2005
Messages
194
Reaction score
20
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

So....

Currently rewriting the API for the CE Release!

BTW:

see first post. I need testers.

I could help test. I have IIS, MSSQL and XAMPP + MySQL installed on my rig right now, as well as the new CE Src on my rig.
 
Junior Spellweaver
Joined
Oct 26, 2013
Messages
132
Reaction score
11
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

linux server is coming :-D
 
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

Finished working on the CE Release Version and started rewriting the API to an OOP styled Version :)

GigaToni - [Development] [PHP-API / MYSQL DATABASE] WarZ / Infestation - BACK AGAIN - RaGEZONE Forums


(Yep. I actually want to replace the old MySQL functions (mysql_connect, mysql_query etc.) and want to switch to MySQLi :)... But it's not the right time :))
 
Experienced Elementalist
Joined
Apr 27, 2013
Messages
297
Reaction score
124
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

Im not really into php and API and what not. Ive read the post. And still trying to figure out...What your doing really...

"cause in my opinion it's way faster AND it's a great way to create PORTABLE warZ servers without the IIS and MSSQL poop stuff."

So, your saying. It will be faster, Less struggle to get a server up? Or is that not the point.
 
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

With MSSQL 2008 you constantly have a service & server running (MSSQL). So you can't use it "on the fly". You need to download a 384 MB big Server and then install it which takes couple of minutes (~38 Minutes on my last test). After that you need to install an ASP.NET compatible server. For example IIS.
IIS is in my opinion a big pile of poop like MSSQL. It's not secure.
Not easy to setup and a pain in the butt to uninstall.

With MySQL you can have portable MySQL Servers. The only thing you need is one EXE file and 2 config files. And you're good to go.
PHP is in the most cases preinstalled with WAMP / XAMPP or another Apache Server stack. So no hassle to install, easy to configure and the best part:
Secure..

EDIT [
Biggest part:
Oh did I mentioned the potential of Linux servers? Why? Because MySQL and Apache2 with PHP can be installed and run under linux ;)
]

sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client && service apache2 restart
<-- Apache2 server with PHP and MySQL ;) -> DONE

No wine emulation for the API backend (MSSQL can't be run on wine :p.)

Also the response time of the pages:
MSSQL & ASP.NET: 768ms
MySQL & PHP: 268ms

So WAY faster..

Hope you understood this correctly ;)

EDIT:

For the regular things:

&


For MySQL & PHP API:
<-- It's all you need bro :). No install, only extraction and FINISHED :D

btw:
I'm planning on releasing my FULLY MySQL reworked server. So like this:

before:
GameServer -> ASP.NET API Page -> MSSQL -> ASP.NET Output
Client -> ASP.NET API Page -> MSSQL -> ASP.NET Output

PHP API:
GameServer -> PHP API Page -> PHP Output
Client -> PHP API Page -> PHP Output

reworked server:
GameServer -> MySQL
Client -> GameServer -> MySQL

No crappy web-page required.

EDIT # 2:
I've added a little bit of extra security which you can later disable by setting:
$_CONF['extendedSecurity'] = false;

Information about Extra security:

- Auto logout after 24 hours and not on a server
 
Last edited:
Newbie Spellweaver
Joined
Apr 9, 2013
Messages
84
Reaction score
1
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

GigaToni, this is some really nice work you've done!

I cannot wait till full release of this, it's so cool to see that you've picked up this project again <3
 
Junior Spellweaver
Joined
Dec 25, 2005
Messages
194
Reaction score
20
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

A complete removal of the ASP API? Wow...

Can't wait to see more progress on that and hopefully I then can run this on my Ubuntu 12.04 LTS Box at some point :)
 
Junior Spellweaver
Joined
Apr 22, 2009
Messages
166
Reaction score
31
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

OOP Styled? :D What? U understand what u doing? :D
Also some ur position is WRONG.
Like C->GS->MySQL --- it's poop way. Because u already stop controlling processes.
Also u get to hacker selfaccess to inject ur BD.
 
Junior Spellweaver
Joined
Apr 14, 2013
Messages
185
Reaction score
66
Re: [PHP-API / MYSQL DATABASE] WarZ / Infestation - Rewritten

OOP Styled? :D What? U understand what u doing? :D
Also some ur position is WRONG.
Like C->GS->MySQL --- it's poop way. Because u already stop controlling processes.
Also u get to hacker selfaccess to inject ur BD.
What you said doesn't make sense whatsoever, you might want to re-phrase that. Also, instead of dissing people's work, why don't you point out the flaws and give them tips?

@GigaToni, you might want to use MySQLi instead of MySQL since MySQL is deprecated in PHP 5.5.x :p
 
Last edited:
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
So:
<-- This api
<-- An admin tool for PHP & MySQL :) (Secured with mcrypt)
<-- My NOT UP TO DATE source from 2013.

HF :) -> Always remember: Share if you have good stuff :D!

MadScripter
I know :). This code is from the early 2013 when the WarZ code was originally released. It was quick 'n dirty. Thats the reason why I wanted to rewrite my whole code in a more class based code with MySQLi.

EDIT:
Btw:
I'm currently very busy with university and reallife poop (Ye? who knows this game right XD?). But I'm trying to keep working on this & a better version of an up to date WarZ.
 
Last edited:
Status
Not open for further replies.
Back
Top