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!

[RELEASE] Tribalwars LAN OPENSOURCE 100%

Status
Not open for further replies.
Junior Spellweaver
Joined
Feb 27, 2012
Messages
188
Reaction score
19
Hey RageZone,

I found some nice files on a Polish forum, and wanted to release it here.
All the credits go to the creator / decrypter of the files!

I fixed some bugs in the files, and registration and playing is available :)

PHP:
CHMod the folders to 777, and run the /daemons/event.php (better run it as CronJob). 
Edit the includes/config.php files to your wishes.. and then you should be ready to play :-). 

- @ the moment i'm testing with my friends, if i find some errors, i will try to fix them ASAP, and post an update here :-)

1. Upload the SQL Files.
- SQL File -> Home is for the homepage (the user data will be saved here)
- Other SQL File is for the worlds. Every world you start you should upload this SQL file to a new database.
2. Edit the includes > config.php file to your DB info.
in the wereld1 folder and the root folder
3. Try to start everything.

- Didn't test it local, but on my webserver its working without any problems

BE SURE YOU CHMOD THE FOLDERS!

There is also a support system included :)





For now, have fun!

Mugaru.
 
Last edited:
very nice
Joined
Jul 5, 2013
Messages
518
Reaction score
80
Well, it tells us that the field Points does not have a default value, so you can maybe set the default value to '0'
It should fix that error.

Just try it :)

i did that to most fields
 
Junior Spellweaver
Joined
Feb 27, 2012
Messages
188
Reaction score
19
Then it should work.

You need PHP 5.3 or up to run the scripts.. oh, and be sure to run the /daemon/event.php ...
If its not working local, try it on a free host?
 
Junior Spellweaver
Joined
Nov 26, 2007
Messages
187
Reaction score
5
Fatal error: Call to undefined method SessionHandler::getSessionData() in E:\webroot\index.php on line 62
 
Newbie Spellweaver
Joined
Aug 26, 2011
Messages
37
Reaction score
24
Fatal error: Call to undefined method SessionHandler::getSessionData() in E:\webroot\index.php on line 62

Same problem, still figure it out but trying open localhost/tribal/register.php it's oke and the new user can appear at the database...
 
Junior Spellweaver
Joined
Feb 27, 2012
Messages
188
Reaction score
19
Same problem, still figure it out but trying open localhost/tribal/register.php it's oke and the new user can appear at the database...
Didn't have this error, but i uploaded it to my webserver xd..

Probably it has something to do with Smarty, your PHP Version or the 'webserver - software' you are using..



there is no such dslan_start.bat in the .rar and the guide from that html file is telling us to start that batch file which is not included in the release ._.

You don't even need it :)
Just upload it to your webserver, and it should work :D

 
Last edited:
Joined
Oct 16, 2008
Messages
2,639
Reaction score
945
Thats just weird.
Tried to comment that line?

I tried and it works but after the login I get this error

Fatal error: Call to undefined method SessionHandler::initSession() in C:\xampp\htdocs\tribos\lib\class\User.class.php on line 134

which is
$sessionHandler = $sessionHandler->initSession($user['id']);

I'll just try and comment every single errors and see what I can get xD

edit:

after commenting the line 33 from game.php
$session = $sessionHandler->getSessionData($_COOKIE['session']);

after I login I get the page

Session expired

Your session has expired. Please log in again at Homepage.

makes sense I guess since I commented the getSessionData line. well this is sad :c
 
Junior Spellweaver
Joined
Feb 27, 2012
Messages
188
Reaction score
19
Its a really weird error, because i can't simulate it xD..
Its something with the session handling... thats for sure. Maybe because of the $_COOKIE variable..?
 
Last edited:
Newbie Spellweaver
Joined
Dec 7, 2009
Messages
73
Reaction score
13
Did you tried to chmod it? Seems like one class can't get to another.
 
Junior Spellweaver
Joined
Jan 12, 2013
Messages
127
Reaction score
18
Mugaru - [RELEASE] Tribalwars LAN OPENSOURCE 100% - RaGEZONE Forums
Dude it wont upgrade to lvl 2 what's wrong??
 
Status
Not open for further replies.
Back
Top