Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 10:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Janvier this is for ask you

Discussion on Janvier this is for ask you within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 294
Received Thanks: 91
Arrow Janvier this is for ask you

Janvier i know you are a good php maker and i really search alot and didnt see any php of Siege Castle Owner .
If you can give me or post there the php thats nice and will leave a big thanks .
jaskile12 is offline  
Old 04/18/2014, 06:45   #2
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
Normaly i dont do this, but here you go

PHP Code:
<?php
// Author:             janvier123
// Copyright:        janvier123.be
// Date:            18 Apr 2014

// MSSQL Connection Settings
$server     '<YOUR_IP_HERE>';    
$user     '<YOUR_USER_HERE>';
$password     '<YOUR_PASSWORD_HEE>';

if (!
extension_loaded('mssql'))
{
    echo 
'<b style="color:#FF0000">Failed:</b> The php extention "php_mssql" is not loaded or setup!<br>Please enable "php_mssql".';
}
else
{
    
$connect mssql_pconnect($server$user$password);
    if (!
$connect)
    {
        echo 
'<b style="color:#FF0000">Failed:</b>' mssql_get_last_message().'';
    }
    else
    {    
        
$query mssql_query("SELECT guild_name FROM character.dbo.siege_info WHERE siege_tag = 'Y'") or die(mssql_get_last_message());
        
$array mssql_fetch_array($query) or die(mssql_get_last_message());
        echo 
'<b>Siege Owner:</b> '.$array['guild_name'].'';
    }
}
?>
janvier123 is offline  
Thanks
3 Users
Old 04/18/2014, 20:55   #3
 
elite*gold: 0
Join Date: Mar 2013
Posts: 294
Received Thanks: 91
Thanks

Do you can say me the other thing for see Guild owner of the siege winner and the next siege time ?
jaskile12 is offline  
Old 04/19/2014, 09:02   #4
 
joshyb123's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 333
Received Thanks: 124
Quote:
Originally Posted by jaskile12 View Post
Thanks

Do you can say me the other thing for see Guild owner of the siege winner and the next siege time ?
Read the script, look at the db info that its searching in.
And you should be able to figure out what pieces you need to add in to make it pull the rest of the info.

Use trial and error. There is no harm in trying something with any file so long as you make a backup....
joshyb123 is offline  
Reply


Similar Threads Similar Threads
Threats for hacks in the name of Janvier
02/10/2010 - Dekaron Private Server - 17 Replies
My personal server machine has been hacked. And then I recieve a post on my forums, about hwo they are going to hack my server because one of their friends was told that he can go away. "this is your first warning before we innitiate distruction of blackout. the reason we are going to start the taking down of blackout is that my friend ind3siszive was wrongly removed from the dev team, after he worked on A7, and gave noel lots of files, and ect, he was removed. ind3 told me he was told...
[requestion] egameol(Dear.janvier)
01/05/2010 - Dekaron Private Server - 2 Replies
Solution
janvier look here plz
12/25/2009 - Dekaron Private Server - 6 Replies
Hey i have a problem with my server After i run everything ...... i go in game. I select my test server . I TYPE ID AND PASSWORD ,it tells me "connecting" then "logging" then " DISCONNECT FROM SERVER" very fast.But it's not closing the server logging screen. It's weird that no id and password are working . NONE! random id and password and any kind of id's and pass' from my imagination are not working. What ip i need to put in CAST , LOG IN , DEKARON SERVER , ...
[Help]I cant find SQL 2000+SP4... and janvier`s sql has some error...
10/07/2009 - Dekaron Private Server - 9 Replies
can some1 give me SQL 2000+SP4 dl link plz? :O thanks for helping



All times are GMT +1. The time now is 10:10.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.