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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...