Jump to content

Recommended Posts

Posted

I'm trying to make a script based on the one adlrebr made for mana pots... which it's something like this (I modified the timing)

 

------------------------------

Label(INICIO)

CharStatus(MP,<,50)

{

Label(MANA)

USEITEM(Mana Potion[iD=728])

DELAY(1000)

CharStatus(MP,<,70)

{

Call(MANA)

}

}

DELAY(1000)

Call(INICIO)

------------------------------

 

So, basicaly whenever your mp it's between 50 and 70% your char will use a mana pot. And this works perfectly for me.

But since you can only run one script at a time I was wondering if I could add the same code but changing the item ID and name to use the Greater CP Potion (the one you made as a noble) so it will check both mp and cp at the same time, using each item whenever one or the other (or both) get lower.

But I really don't know how this work, maybe if I add a conditional like charstatus CP < 50 after the mp conditional the script will wait for both conditions to take effect to use a pot... so can anyone give me a hand here?

(no, I don't have the Id for the cp pot either :P)

Posted

Walker scripts do not support checking CP, and this was said over a billion times

That is right. ^^

 

And i just don't understand why did you make something so hard?

there is an easy way:

 

Label(INICIO)

CharStatus(MP,<=,50)

{

USEITEM(Mana Potion[iD=728])

DELAY(1000)

}

Call(INICIO)

 

The red number is the percent of Mana that the potion will be used. you can change it for how much do you want.

I also added a new symbol (the blue one). That means the potion will be used if the Mana is Less then or Equal the % you choose.

Posted

Actually the script it's not mine, that's why I said it belonged to adlerbr in th first post.

 

I didn't know scripting couldn't check CP, thanks everyone!

 

(thread closed if a mod wants to)

Posted

use this script for Enhanced mana potion

if you play in other server trie to find what ID is for Enhanced mana potion and stick it in red label

 

 

 

 

//

// ENHANCED MANA SCRIPT (WORKS AT DRAGON-NETWORK SERVERS)

//

Label(INICIO)

CharStatus(MP,<,70) //>>> VERIFY IF MANA IS LOW THAN 60% THAN USE E-MANA   <<<//

{

Label(MANA)

USEITEM(Enhanced Mana Potion[ID=9264])

DELAY(20000) //>>> E-MANA POT DELAY (20000 = 20 SECONDS)    <<<//

CharStatus(MP,<,90) //>>> IF CHAR MP LOW THAN 90% USE E-MANA AGAIN  <<<//

{

Call(MANA)

}

}

DELAY(5000)

Call(INICIO)

 

Posted

Sorry noddle, that's to slow for my orc, the one i'm using with 1 sec of delay works great.

 

Now... I was thinking how to make my char drik cp pots when attacked by another player.

I found that Greater CP Potion id is 5592, so... could this conditions be scripted?

If player name's violet (I don't know how that's technically called) and HP <=99% then use the item.

The server I'm playing it's kinda fast, so when I'm training and someone attacks me; I get 2 or 3 hits and there goes all my CP and a little of my HP, so, in that time, I find him, attack him, get violet, and the CP pots start to get used.

Could the violet char status condition be scripted?

Posted

@pnikkosis violet means "flagged" ,and no it cant be made as a variable..but what i use is..use the syntax hp,=<,99

but only use it when your going to start pvp..cause else..it will spam the pots whenever your hp is less than 99%..or you can set the % for lower if you wish...

Posted

how come walker development team didn't make a variable for flagged or CP check in scripting?? it's that on purpose or they just don't know how? is there any other boting program that does it? maybe the OOG walker?

Posted

because walker is made for farming, not for pvp.

I'm sure it can be done but there is no sense in doing it. If you are botting (afk) then you will die anyway if attacked by another player. Simply not possible to out-pot to damage you receive.

Guest
This topic is now closed to further replies.



  • Posts

    • It has been a while since I updated this thread. I am currently actively working on a full-scale port of the shader library to ensure the fast and accurate transfer of all effects. I have decompiled the original game and created a tool that fully logs the entire *Lineage 2 Interlude* particle system. This allows me to extract the original formulas hardcoded into the game, resulting in a high-fidelity port. For instance, *Lineage 2* uses an `appRnd` system that generates unique randomization patterns for different skills, giving them distinct visual characteristics; there are countless formulas and technical nuances like this. Ultimately, I will derive all the key formulas and replicate the geometry with high precision. Twelve basic geometry formulas have already been ported. The effect was created in 10 minutes using a .uc file, HLSL formulas, and SpriteEmitter particle blending formulas.   https://prnt.sc/_3UDLQVX_Y-_
    • Good luck my friend! 😃
    • try this one instead. The one he shared affects every single NPC/player character in the game, the one I posted only affects player characters  https://drive.google.com/file/d/1UtccbD9e50x3WEnQBab2PTZnBHwpcGYM/view?usp=sharing or perhaps i misunderstood; if you could please post a full explanation of the problem you're having with the files, unfortunately i think whatever you're using to translate to english is a bit bad nevermind, i got what you mean, here's the fix   https://drive.google.com/file/d/1av7OHaGSdnVQtcBgb9MhtiIkxVXy3P2y/view?usp=sharing   CanIngnoreCollision=True CanBeIngnoredCollision=True  
    • <dailyReward days="28" autoOpen="true" minimumOnlineTimeSeconds="30" oneRewardPerIP="true" resetIfMissDay="true">   For now, I have these settings in the XML—this is the V1 version I created, though I plan to make further improvements over time. Of course, I’ll also add more protections—MAC, HWID, and perhaps others like account-based restrictions—to make it more secure. We can also implement non-tradable items to further enhance the system's security. I’ll keep posting updates and refining both the system and the interface. I might make a video tomorrow; if you look at the top, you'll see the "auto-open" feature can be toggled on or off, allowing users to rely solely on the `.daily` command. Cheers! Note: If I sell it in this state, I’ll provide support and roll out updates to users. I’m not forcing anyone to buy anything; I’d even provide the patch files so that anyone with the necessary skills can add features, modify it, or improve it further.
  • Topics

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