![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
yes, and voila, i exactly did that but didn't worked, maybe cause of errors, anyway
read orator of revelations post |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
Hami, Can we get the source?
I go agree with the 300 Certs. I guess I was wrong, I play retail, I will get you an up to date "What they sell, where you can port from" If you want. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Feb 2006
Posts: 207
|
tnx for share
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Oct 2005
Posts: 153
|
hami , as soon as i getr back from night club tonight ill see if can finish AI code for buffer and post here. I wana help to finish this, and ifinally get SOMETHINg really working for a change.
i repeat. salutes to you and your work. my respect. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jan 2006
Posts: 25
|
big thnx nice share!
[rus] о геодате можно только мечтать ![]() [/rus] |
|
|
|
|
#6 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
you are a great develepper... i miss u :wink:And hami... you are doing big shares... hopefully I could give u something in return, but I am even learning... I hope to be able to be of aid in the future... |
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2005
Posts: 50
|
Need help ? Im in. Dont have so much knowledge , but i have much patience
so count on me
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Nov 2005
Posts: 50
|
Anybady have NpcData for Dawn and Dusk ??
For this SSQ. |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jan 2006
Posts: 122
|
for priests? O_O is that so hard?
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Sep 2005
Posts: 220
|
Hami it`s a great share, thank you.
Can you share "the mod i posted when everyone on server got create_item 1 ? |
|
|
|
|
#11 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
|
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Sep 2005
Posts: 220
|
Thnx Fidow.
What about -Apache/PHP with mssql module activated Can you help me? [highlight=red:abe584a0f9];[/highlight:abe584a0f9]extension=php_mssql.dll This module? When i try to run script precache.php I see this Fatal error: Call to undefined function:mssql_connect () in X:\wwwroot\ssq\connectdb.php On line 15 What this? check user, pass - it-`s ok |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Feb 2006
Posts: 66
|
Yep. that one. Check, whether you have this module in extensions folder.
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
go to php webpage and download the last version... install all... install php as module... in httpd.conf, is very easy and yes... only edit php.ini and delete ; ... is commented line.. if u uncomment u have php working with MS SQL Server i didn't test it yet, but i think IIS with PHP module installed should work too (i have this installed now)... you only need PHP working, i have php in IIS server and all php pages works good... maybe later i test this share... now i trying to learn to use tool of humordwarf :wink: |
|
|
|
|
|
#15 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 220
|
Quote:
|
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Feb 2006
Posts: 66
|
I prefer to use DENWER package. Small and full-functional. Unforunately setup has russian interface.
would it be fault to post the link here? |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Jan 2006
Posts: 73
|
npc_ai={[dusk_priestes];{[fnHi] = [dusk_priest001.htm]}}
Cannot find AI class[dusk_priestes] Npc[dusk_priestes1] does`t have ai handler. cannot set the ai parameter[fn HI] i.t.d=( |
|
|
|
|
#18 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 220
|
Quote:
class for dusk_pr**** |
|
|
|
|
|
#19 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
npc_ai={[dusk_priest];{[fnHi] = [dusk_priest.htm] if u read AI.OBJ you see is dusk_priest and not priestes... and if you see HTML dir... dusk_priest001 dont exists... is dusk_priest |
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Jan 2006
Posts: 73
|
npc_ai={[dusk_priest];{[fnHi] = [dusk_priest.htm]
Ai.obj dusk_priestes Sps |
|
|
|
|
#21 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 220
|
Quote:
Somebody have a problem with this script? |
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Apr 2005
Posts: 599
|
Should we rename blue_stone - to number in a.obj
we have push_parameter blue_rune func_call 81 // func[OwnItemCount] Should be: push_parameter 5569 func_call 81 // func[OwnItemCount] I cant barter any name_rune. Npc write - You dont have ... |
|
|
|
|
#23 |
|
Архивный участник
Join Date: Sep 2005
Posts: 150
|
Code:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # SSQ System - V1.0 # ||
|| # ---------------------------------------------------------------- # ||
|| # L2 Coding : Hami # ||
|| # PHP/WEB Coding : Pole # ||
|| # Original Ideas/L2autoreboot : Drake # ||
|| #################################################################### ||
\*======================================================================*/
class IniFile
{
/**
* @desc table containing whole information.
* @type array
**/
protected $Content=array();
/**
* @desc true to show script evolution.
* @type boolean
**/
protected $Debug=false;
/**
* @return -
* @desc Show "Object created." if Debug=true.
**/
public function __construct()
{
$this->Debug("Object created.");
}
/**
* @return -
* @desc Show error if we call a non-existent method if Debug=true.
**/
public function __call($name,$arguments)
{
$this->Debug("The method '".$name."' doesn't exist.");
}
/**
* @return -
* @param string $name variable name.
* @desc Show error if we call a non-existent variable if Debug=true.
**/
public function _get($name)
{
$this->Debug("The variable '".$name."' doesn't exist.");
}
/**
* @return -
* @param string $name variable name.
* @param variant $value value to assign to the variable.
* @desc Show error if we assign a value to a non-existent variable if Debug=true.
**/
public function _set($name,$value)
{
$this->Debug("The variable '".$name."' doesn't exist.");
}
/**
* @return -
* @param string $string message to show.
* @desc show script evolution if Debug=true.
**/
protected function Debug($string)
{
if(true==$this->Debug)
echo "***".$string."
\n";
}
/**
* @return -
* @param string $filname file name which we export informations.
* @desc Export informations in a file.
**/
public function ExportToFile($filename)
{
ksort($this->Content);
if(false!=($file_handle=@fopen($filename,"w")))
{
$this->Debug("File '".$filename."' open.");
foreach($this->Content as $key=>$value)
{
fputs($file_handle,"[".$key."]\n");
ksort($this->Content[$key]);
foreach($this->Content[$key] as $key2=>$value)
fputs($file_handle,$key2."=".$value."\n");
fputs($file_handle,"\n");
}
$this->Debug("Informations loaded in '".$filename."'.");
$this->Debug("File '".$filename."' closed.");
fclose($file_handle);
}
else
$this->Debug("Can't open file'".$filename."'.");
}
/**
* @return array
* @desc Return all information in a table.
**/
public function GetAllContent()
{
return $this->Content;
}
/**
* @return string
* @param string $category category in which the information is.
* @param string $key The information name.
* @desc Return requested information.
**/
public function GetContent($category,$key)
{
return isset($this->Content[$category][$key])?$this->Content[$category][$key]:false;
}
/**
* @return -
* @param string $filname File name to import.
* @desc Import informations contained in a file.
**/
public function LoadFromFile($filename)
{
if(false!=($file_handle=@fopen($filename,"r")))
{
$this->Debug("File '".$filename."' open.");
while(false!=($line=fgets($file_handle)))
{
if(";"==substr($line,0,1))
continue;
if(true==ereg("\[(.+)\]",$line,$temp))
$category=$temp[1];
elseif(true==ereg("(.*)=([^;]*)",$line,$temp))
$this->Content[$category][trim($temp[1])]=trim($temp[2]);
}
$this->Debug("Informations loaded from '".$filename."'.");
$this->Debug("Fichier '".$filename."' fermé.");
fclose($file_handle);
}
else
$this->Debug("Can't open file '".$filename."'.");
}
/**
* @return -
* @desc Clear all informations.
**/
public function Reset()
{
$this->Content=array();
$this->Debug("Information have been cleared.");
}
/**
* @return -
* @param string $category category in which the information is.
* @param string $key The information name.
* @param string $value Value of the information
* @desc Save an information.
**/
public function SetContent($category,$key,$value)
{
$this->Content[$category][$key]=$value;
}
/**
* @return -
* @desc Show "Object deleted" if Debug=true.
**/
public function __destruct()
{
$this->Debug("Object deleted.");
}
}
?>
Heee, thanks Hami. Just when I'm back to school (Partiel en plus -_-) so I don't know if I'll have time to help but if someone have more info about things to do (like which debuff debuffer cast or what exactly festival of darkness is) just post it cause I don't really know how it works, and I can't help. Perhaps I won't be able to help even if I know ahah, but this will be usefull to those who don't know how it works. |
|
|
|
|
#24 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
push_parameter 5569 wont' work, 5569 isn't a parameter. It should be push_const 5569, or push_parameter parameter_name
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Sep 2005
Posts: 220
|
I hope this is correctly translated...[/quote]
Thnx, it`s really help |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|