Quote:
Originally Posted by marcbacor6666
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, @

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