[Request] Pack Meteors By Right Clicking

04/01/2021 12:09 Relic#16
Quote:
Originally Posted by turk55 View Post
Or just skip the whole check and you can use it with dbs and mettears too :)
Changing the "cmp eax, 109A02" to "cmp eax, 3E8" handles dbs and met tears as well. The other 3 Ids (1100003, 1100006, 1100009) being checked are Sash items, no clue what that's for lol.
04/01/2021 17:02 CipherXS#17
Quote:
Originally Posted by Soulfly25 View Post
Hello Guys,

Are there any settings to touch to get the meteors auto pack when you right-click on its inventory and then it will be changed to meteorscroll?
Contact me in private i will give you !
04/01/2021 17:35 Santa#18
Quote:
Originally Posted by CipherXS View Post
Contact me in private i will give you !
The solution was already given
04/01/2021 18:05 turk55#19
Quote:
Originally Posted by Relic View Post
Changing the "cmp eax, 109A02" to "cmp eax, 3E8" handles dbs and met tears as well. The other 3 Ids (1100003, 1100006, 1100009) being checked are Sash items, no clue what that's for lol.
Sashes are basically additional inventory spaces. You give up 1 inventory slot for 3, 6 or 9 spaces. On the later versions, this is basically built into the inventory where you can buy a slot for CPs. You can get like an additional 3x your inventory size on those.

It's most likely logic to open up the window.
04/01/2021 18:50 Santa#20
Quote:
Originally Posted by turk55 View Post
Sashes are basically additional inventory spaces. You give up 1 inventory slot for 3, 6 or 9 spaces. On the later versions, this is basically built into the inventory where you can buy a slot for CPs. You can get like an additional 3x your inventory size on those.

It's most likely logic to open up the window.
So does that mean on the later versions you just have like grayed out inventory slots?
04/01/2021 19:39 turk55#21
Quote:
Originally Posted by Santa View Post
So does that mean on the later versions you just have like grayed out inventory slots?
In your inventory sash, yes. I drew this with my amazing paint skills:
[Only registered and activated users can see links. Click Here To Register...]
Inventory sash opens up when you click on the sash button in the inventory. Each slot can be bought with CPs and you have a few pages.

The "classic" version is [Only registered and activated users can see links. Click Here To Register...]
04/02/2021 16:29 Soulfly25#22
Quote:
Originally Posted by marcbacor6666 View Post
add a checker to it.. i cant really comeup with the write words..

just an example..

check if your inventory have an example 30 meteors..
if it does, create a code that if you click 1 of the meteor and you have a total of 30+ meteor in ur inventory. the 30 meteor will be pack.. and a new item in itemtype.dat for the 30 meteorpack and also to ur source. add an icon on it also in client.

You did not get the point, But thanks for that, @[Only registered and activated users can see links. Click Here To Register...] has the solution, that script will not work unless you modified the conquer.exe or something like changing the packets to use the item instead of getting the client message since the meteor is not a usable item that's why the client message is showing.

Quote:
Originally Posted by Relic View Post
Looks like the client checks for ID ranges that cover DragonBall (1088000), Meteor(1088001) and MeteorTear(1088002) when right clicking and displays a "Failed to use this item." system message. You'll need to patch the client to remove this check (unless there's an easier way)

[Only registered and activated users can see links. Click Here To Register...]

This roughly translates to:

HTML Code:
var metId = 1088001;

if (metId >= 1087999 && (metId < 1088003 || metId == 1100003 || metId == 1100006 || metId == 1100009) {
 // Show "STR_CANNOT_USE_ITEM"
}
So if you change the metId < 108003 to metId < 1000 it'll allow the server to process mets/dbs/met tears.
Thank you very much mate, This is what I am looking for. I really appreciate you're time helping.