-
Posts
382 -
Joined
-
Last visited
-
Days Won
121
Content Type
Profiles
Forums
Calendar
Downloads
Gallery
Posts posted by Mantosh
-
-
20 minutes ago, Deviouz1 said:
Does IG even work anymore? i thought it was defunct?
It does
-
1
-
-
Didn't I say one thing at a time? lol. Having quite fun actually.
46 minutes ago, Deviouz1 said:i've seen some examples of setting up chat reception events, taking the message and using it to trigger functions.
That's what I (maybe we) call ChatControl or CC.
I wrote quite extensive such script for Adrenaline, but haven't found time converting it to JJ. What I found in the archive is a script I wrote to send out academy (and later clan) invites, so our clanmates could always get an invite (and some cash).
Here's a part of it which you could easily extend into your function calling and later on function call parsing as you've described.
DEFINE_GLOBAL STRING ChatCommandExampleName "ActualChatTextToTriggerAnAction" // This is the bind on event to call ChatCheck function; 25 is (as far as I remember) EVENT (Action) ID SET_EVENT "<&SCRIPTEVENT_CHAT&>" "<&SYSTEM_CURRENTFILE&>" ChatCheck 25 // Infinity loop so that script wouldn't quit WHILE ZERO == ZERO SLEEP 2000 WEND END_SCRIPT FUNCTION ChatCheck IF MESSAGETYPE == CHANNEL_PRIVATE //In your example use CLAN or ALLY here IF MESSAGE == ChatCommandExampleName DEFINE INT CharID 0 CHAR_GET_ID CharID "<&SENDERNAME&>" SLEEP 500 // Do something else; In our case it was sending an academy invite SLEEP 200 SAY_TEXT "<&CHANNEL_PRIVATE&>" "Welcome to 'Get A Life' Clan! Happy Leveling!" "<&SENDERNAME&>" ENDIF // Other message triggers <...> ENDIF RETURN VOID
By the way, I had a similar idea a few years ago. Ended up building a site to add things to the task queue
The hardest part was creating actual scripts to perform things IG. Stopped after 3 weeks. One day...
-
2 minutes ago, Deviouz1 said:
does that mean that as soon as the function completes that thread goes away and you would have to spin up another one?
Exactly
3 minutes ago, Deviouz1 said:but if thats the case, isnt that what a function does anyway? whats the point of threading it?
The point would be that multiple things could be ran separately from each other. If you'd do one loop that would go through all the check and call functions in one thread then bot would do only that one thing until it's done. If it's casting a spell it wouldn't check for potion usage (just an example).
Another thing to consider, you could pause threaded loops with global variables for cases like if the character is now in town, so a restock function will be called. While that is in progress we might want to stop auto potions, because it might interrupt purchasing (item usage closes trade dialog). Not a great example, but I hope it makes sense.11 minutes ago, Deviouz1 said:but i still dont understand how to reference each one of them.
Each parameter or each NPC?
Parameter:
NpcList.P.HP > 0
Each NPC:
NpcList.CLEAR <---- btw, this name was not changed GET_NPCS NpcList SLEEP 500 FOREACH P Npc NpcList NpcList.P.PARAMATER NEXTEACH
Note: NpcList wasn't cleared every loop. Maybe you've noticed by now.
11 minutes ago, Deviouz1 said:I dont think the looks dead one will be very useful for this particular piece
It would skip dead mobs that didn't fade-out yet.
-
Hey! Let's try to simplify things and work one thing at a time. I can't promise you much, but let's see what we can do
THREAD CheckEQ THREAD Get_Target THREAD Check_Dead THREAD Check_Buffs //-- ^ is this the main order in which things happen? and then the while keeps these looping? Please clarify.
Yes, these call functions into separate threads, so that they can run independently.
//--------------------------------------------------------------------------------------- FUNCTION CheckEQ <..> DO GET_INVENTORY INV_LIST SLEEP 500 FOREACH I Inventory INV_LIST IF INV_LIST.I.NAME == "#$<&WEAPON&>" IF INV_LIST.I.EQUIPPED == #i0 PRINT_TEXT " Equipping <&WEAPON&> ]" INJECT "<&USE_ME&>" ENDIF ENDIF NEXTEACH SLEEP 1000 LOOP 1 == 1 RETURN VOID
The DO - LOOP 1 == 1 is the part that is looping inside of a thread, so it's always checking the inventory. You can find DO - LOOP 1 == 1 in Get_Target function too.
//-- need to verify the CHAR_* vs a possible NPC_*. It's likely, but unsure DISTANCE dist NpcList.P.X NpcList.P.Y NpcList.P.Z CHAR_X CHAR_Y CHAR_Z
3 hours ago, Deviouz1 said:the Char_ vs Npc_ is a question, i have no idea how to know whether the info in the player has the same properties as the info in the npc.
The distance calculation is correct.
IF ( NpcList.P.ATTACKABLE == 1 ) && ( NpcList.P.LOOKS_DEAD == 0 )
I would change PVPFLAG to ATTACKABLE. I'm not sure if NPCs have LOOKS_DEAD but you can test it out.
-
1
-
-
56 minutes ago, Deviouz1 said:
Pretty self explanatory, but i can't bear to leave the body empty, so, a little backstory.
I've been playing this shit since the beginning. before the beginning actually. closed beta march 2004 IIRC. i didnt get into botting until much later. had a thing against botters actually. then i grew up. went to college, got a job and, well, the rest is history. I got hooked on L2net and used it for a long time. but its been foreeeeeever since then and i cant quite figure out how to do the things i want to do anymore. it used to be i would go to the forums at insane gamers and d00d, mpj123, and... hell i dont even remember the other names anymore, were always willing to explain things.
but now i cant find anyone who knows it. Looking in some sample scripts helps to some degree, but without having anyone to clarify anything, i'm struggling pretty bad. it's like trying to remember russian, when i wasnt very good at it in the first place, by using a list of russian words and a couple of russian newspaper articles.
here are the JingJing commands and such. no descriptions, no definitions, nothing. just the commands:
https://github.com/Xackery/l2net/wiki/L2net-Jingjing-Table-of-ContentsAnd i cant seem to make heads or tails of a lot of it.
Anyone know this apparently dead language?
Hey!
Glad to see another insane gamer around! Shame that the forum went away.
I came back to L2Net few years ago and I definitely feel your pain. I ended up reading shared scripts and later on dug into the source of L2Net. There you can check what those methods actually do. I built a few extensive scripts, mostly processing and building packets myself. But in the end, it was easier for me to just code a feature into the bot instead of trying to deal with low level scripting language.
What question do you have, maybe I'll be able to help you.
-
1
-
-
+ Added/Enabled
- Removed/Disabled
* Fixed/Edited
* Changed SoA rotation
* Updated Lucky Pigs drops and Golder Pig chances
* Increased Buff duration
All Master Accounts with characters logged last week received MA Premium until 11/8. You might need to do a full relog, because it was applied after the server started. -
Hey, try this L2Project v2.1.4
-
+ Added/Enabled
- Removed/Disabled
* Fixed/Edited+ Reenabled Party Quest Follow
* Golden Pig chance increased
* Lucky pig chance for rewards increased (depends on how many times it was fed)
* Lucky pig rewards table reworked
* Blood Alliance are now tradeable
* Minor typos on Community Board
Previously added:
+ Title Color change tokens for PC Bang Points at Adventure Guildsman and for Coins of Luck at Dimensional Merchant-
1
-
-
Hello fellow botters,
I am making it official, L2Toggle is going Off-Season. Due to real life changes team members behind Toggle had to step away throughout the last year or so and this time it's me. I no longer have enough time to properly support server, and I won't for at least few months or more.
What this means for Toggle? As promised, the server will not shutdown. But all development will be paused until sufficient help/services are found.
Where we are, where we stopped? With reports piling up it has become clear that we cannot keep up, so I started looking for help. After a lot back and worth we ended up partnering with l2-scripts and purchasing their H5 source and support subscription (for source and geodata), so it would provide continues flow of bug fixes. In order to use that source we need to move over Toggle features on to the new source (Master Account Premium, Party Leader Follow, Forward Loot and etc.). And that's where we are at. I will look for help when I can.
I believe this is a pause, waiting for a good opportunity to continue forward.
It was an honor to be a part of this journey with you and I hope our paths meet again.
-
5
-
1
-
-
Sorry to hear that. I sent you a PM.
Edit: Resolved -
Hello fellow botters!
We have launched a Public Test Server (PTS) to help the project grow. It is currently under Sieghardt's name. All data (characters/items) was duplicated from live server to have a nice starting point.
PTS will be updated with the latest stable updates or experimental changes without needing to schedule maintenance. Also, we will enable some of the features we had on Beta to skip farming.
I will occasionally post on #player-test-server channel on our discord with updates and help requests
So stay tuned!
-
3
-
-
-
Fixed Master Account registration not returning feedback and several title and layout fixes.
Thanks for reporting! -
Hey!
Not all adrenaline versions are able to craft as far as I know, but let's try and see.So, going by your screenshot first you have the "index" of the recipe you want to craft in the Dwarf Recipe Book. In the screenshot below, SSA would be under index 4.
Next field I would assume is "craft if mana > x %". Then "craft if weight < x%", and lastly the delay in between crafts. I would suggest and ask keeping the delay over 200-300ms, because you won't craft any faster.
I hope that helps.-
1
-
-
+ Added/Enabled
- Removed/Disabled
* Fixed/Edited
* Possible fix for territory ward bonus not working after changing clans.
* Rework of most demanding methods to help with lag spikes. Work continues...
* Minor tweaks to path finding. This should help characters follow around tight corners.
* Preparation for PTS server. -
The contest is now over
Congratulations to @Torak on winning 2x Adrenaline Bot 30-day keys with 200 CoL and conquering a well deserved 1st place! Check out his Master Craft guide if you haven't seen it yet!
-
1
-
-
+ Added/Enabled
- Removed/Disabled
* Fixed/Edited* Reduced Hard Freya's P.Atk, M.Atk, P.Def, and M.Def by ~10%.
* Chat ban rework.
+ Global chat filter with automatic chat bans for 5 minutes. Due to growing reports of disrespectful conduct on global and not following Rule 1.2 we have decided that automated solution would be best as a long term solution. -
No. But there's a limit on how many characters you can PvP with. Please read the rules for more details.
Happy Botting -
I got a few requests to extend the submission period and considering low submission count we've decided to extend submission period to August 31st. The winners announcement date stays the same - September 1st
-
Last day to submit your guides for the contest!
-
+ Added/Enabled
- Removed/Disabled
* Fixed/Edited* Fixed issue with Dragon Vortex not allowing to summon raids
* Increased the level difference between party members to receive experience 15 => 20
* Reduced intervals of saving data to database -
Hello, botters!
This time we bring you OOG goodies! I've been working on Master Account Portal (MAP) revamp for quite a while now. It will untie some knots to ease future development. During this period, our generous community member @Torak took upon himself to build something pretty impressive and what is now called the Master Craft.The Master Craft is a tool to take some pain away from planning and organizing crafting. @Torak promised to post a guide (Edit: Guide posted!) about the Master Craft for the Adrenaline Licence Contest, but meanwhile, you can check it yourselves
Please note, the Master Craft feature will be available to Premium Master Accounts only sometime in the future.
Updates to layout, performance, responsiveness, and a major clean-up - that's nice, but ... boring! So to add some spice it up a bit, we added Characters overview and inventory list. Are you away from your computer and would like to check how's your party doing? These two features might be just what you need.This was just a taste of what we have planned
How about a Master Account Inventory? Character Map? Drop database???
Stay tuned
-
1
-
1
-
-
Any quest like More Than Meets the Eye, Nobless Quests, Helbound entry, and so on.
How to farm and craft Low S grade; How to farm and craft Dynasty.
Writing simple scripts.
How does manor work? -
Casually hardcore?
Does anyone here have L2net JingJing scripting knowledge?
in General
Posted
l2.ini -> 127.0.0.1
L2.net -> IG ->
149.56.28.81
profit -> good