Jump to content
  • 0

[Help]Split


Question

Posted

Hi, all! well i know this kind of 'REQUEST' such a noob but, i'm bit confuse on how to make it 'SPLIT' instead of merging an 'ITEM'

since i'm away for RO almost 2 Years not Playin. and i wanted to develope it again.

Please referr the 'TWO' images. if yes, please let me know how can i edit it 'Server Side' or 'Client Side'.

Image 1:

ngxtt.png

Image 2:

246tdzr.png

The 2ND image is i just split it using 'PHOTOSHOP'.

Best Regards,

Mindless :)

3 answers to this question

Recommended Posts

  • 0
Posted

I think something like this (not tested):

getitem2 <itemid>, <amount>, 1, 0, 0, 255, 0, <group id> & 0xffff, <group id> >> 16;

Example:

	// Apple Group 1
getitem2 512, 5, 1, 0, 0, 255, 0, 1 & 0xffff, 1 >> 16;
getitem2 512, 3, 1, 0, 0, 255, 0, 1 & 0xffff, 1 >> 16;
// should give you (5+3) apple for the group 1

// Apple Group 2
getitem2 512, 4, 1, 0, 0, 255, 0, 2 & 0xffff, 2 >> 16;
getitem2 512, 2, 1, 0, 0, 255, 0, 2 & 0xffff, 2 >> 16;
// should give you (4+2) apple for the group 2

// Apple Group 3
getitem2 512, 1, 1, 0, 0, 255, 0, 3 & 0xffff, 3 >> 16;
getitem2 512, 9, 1, 0, 0, 255, 0, 3 & 0xffff, 3 >> 16;
// should give you (1+9) apple for the group 3

// etc.

There is no clean solution for doing what you want (I think).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...