Jump to content

Recommended Posts

Posted

Hey there, I'm currently working on adapting my web system to work on L2OFF as well as L2J, but since I do not own L2OFF server nor I had any previous experience with CacheD I would like to ask someone for little help. I need to test an alrgorithm that I've written which basically adds an item to characters inventory and I need a volunteer, please contact me on skype: d-engo, thanks.

Posted

an Algorhythm? what kinda mystical bullshit is that?

 

 

install SQL, open cached, test on port 2012 with the additem2 opcode and done.

If you follow formats and add a reference identifier string, it will work.

 

 

Use documentation for formats shared on Xel's thread.

Posted (edited)

Well I want to save the trouble of doing all that and simply test the code on someone's server which is already running.

 

And an algorithm is a set of instructions which are executed, not some sort of encryption or w/e you think I'm on about :)

 

I've got all of the code already prepared together with the packets.. I just need a live/test server which is already running.

Edited by TheEngo
Posted

Well I want to save the trouble of doing all that and simply test the code on someone's server which is already running.

 

And an algorithm is a set of instructions which are executed, not some sort of encryption or w/e you think I'm on about :)

 

I've got all of the code already prepared together with the packets.. I just need a live/test server which is already running.

Did you ever touched a l2off server? If you think that a l2j script will work on a l2off server forget it. Is other db structure other type of sql is completly total diferent.

Posted (edited)

There''s no need to test if you follow formats - and you also have a piss wrong definition of algorithm and what any weblanguage is - but your lack of knowledge aside.

 

It's packet based and works by simple script.

$server = 'ip-here';
$charid = charidhere;
$fp=fsockopen($server, "2012", $errno, $errstr, 5);
if (!$fp)
echo 'Error, cannot connect to server';

$buf = pack("c", 55); //55 = AddItem2Packet();
$buf .= pack("V", $charid); //char_id
$buf .= pack("V", 0); //warehouse
$buf .= pack("V", 575); //item_type
$buf .= pack("V", 1); //item_amount
$buf .= pack("V", 1); //enchant ?
$buf .= pack("V", 0); //??
$buf .= pack("V", 0); //??
$buf .= pack("V", 0); //??
$buf .= pack("V", 1); //??
$buf .= tounicode("admin"); // remember to add function
 
Edited by mcbigmac

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..