NNexBot User Guide
Getting started

Introduction

NexBot is a Silkroad Online bot that runs with the game window or without it (clientless). This guide explains every page of the program, one page at a time.

The NexBot window on the Server page
The NexBot window: the menu on the left, the page in the middle, the status bar at the bottom.

The window

  • Menu (left). Every feature has its own page. Click a name to open it.
  • Page (middle). Most pages have three panels: a list on the left, settings in the middle and actions or results on the right.
  • Status bar (bottom). Shows the bot state (Idle, Running…), the mode (client or clientless), the proxy, the character and the server version.
  • State light (top right). Shows at a glance whether the bot is idle or running.

Settings are saved by themselves

Everything you change is saved right away to settings.json next to NexBot.exe. There is no Save button. Copy this file to move your settings to another PC or another NexBot folder.

The password is stored encrypted with your Windows account. A settings.json copied to another PC keeps every setting, but you have to type the password again there.

What each page does

Getting started

Quick start

From a fresh download to a character in the game in five steps.

  1. Choose the Silkroad client folderOpen Server, click Browse and select the folder that contains sro_client.exe and Media.pk2.
  2. Read the server configClick Read server config. NexBot reads the version, locale, gateway port and divisions from Media.pk2 and fills Division and Gateway.
  3. Build the database (once per client)Click Build database. NexBot reads items, skills, monsters, teleports and map names from the client into Database.sqlite3. When it is done, Database shows ready and the date. Build it again only after the client is updated.
  4. Fill in Auto LoginType the username and password, then pick the Server and Character. Leave Log in automatically and Select the character automatically on.
  5. StartClick Start client to play with the game window, or Start clientless to run without it. The status bar changes from Idle, and the character appears on the Server, Character and Map pages.
Server page
Server page after Read server config and Build database.

Tip: start with the game window first. Once the character is in the game, click Go clientless. The window closes and the character stays online, using far less CPU and memory.

Getting started

Server

Connect NexBot to your Silkroad client and server, log in and start or stop the bot.

Server page
The Server page.

Client & Server

SettingWhat it does
Silkroad client folderThe game folder (it has sro_client.exe and Media.pk2). Use Browse to choose it.
Read server configReads the version, locale, gateway port and divisions from Media.pk2. This also runs by itself every time NexBot opens.
Build databaseBuilds Database.sqlite3 (items, skills, monsters, NPCs, teleports, map names). The Character, Inventory, Map, Stall and Alchemy pages need it.
Division / GatewayThe division and gateway server to connect to. Most private servers have one of each.
Server (info)Version, Locale, Gateway port, Database (ready + build date) and Proxy (the local port the game connects to while the bot runs).

Auto Login

SettingWhat it does
Username / PasswordYour game account. The password is saved encrypted.
ServerThe shard (game server) name. The list fills after the first login, or you can type the name.
CharacterThe character to select. You can type the name too.
CaptchaOnly for servers that ask for an image code at login.
Log in automaticallySends the username and password by itself.
Select the character automaticallyPicks the character above after login.
Stay online (clientless) when the client closesIf you close the game window, the character stays in the game, controlled by NexBot.

Bot

ButtonWhat it does
Start clientOpens sro_client through the NexBot loader. NexBot sits between the game and the server, so it can see and send game packets.
Start clientlessLogs in without the game window. Lowest CPU and memory use.
Go clientlessCloses the game window and keeps the character online.
StopDisconnects and stops everything.
Show the game windowHides or shows the game window while it runs (it keeps running when hidden).

Below the three panels, Activity shows the most important log lines across the whole width. HP, MP, EXP, gold and position are on the Map page and the Character page.

World

Map

A live world map with your character, monsters, players and NPCs. It also sets the training area.

Map page
The Map page: the world map on the left, your character and the nearby list on the right.

Using the map

ActionResult
Left-clickThe character walks to that spot.
DragLook around (the map stops following the character).
Mouse wheel / − +Zoom out or in.
Center on meFollow the character again.
Right-clickOpens the map menu (below).

Colored dots mark players, monsters, uniques, NPCs, teleports, your pet or horse and party members. Use the map with the game window or clientless: it reads the minimap pictures from the client folder.

Right-click menu

  • Walk here: walk to the clicked spot.
  • Center on me: follow the character.
  • Set training area here: puts a circle training area at the clicked spot, with the radius from Area radius.
  • Use the polygon as training area: uses the recorded polygon instead of the circle.
  • Clear the training area.

Training area: circle or polygon

The training area is where the character will fight. A circle is a center and a radius (5 to 1000). A polygon follows any shape, such as one side of a river or the area between two walls.

  1. Record polygonClick Record polygon.
  2. Click the cornersClick the corners on the map clockwise, one by one.
  3. Stop recordingClick Stop recording. A polygon needs at least 3 corners. Clear removes it, and the circle is used again.

The hunting bot (Attack page) attacks the monsters inside the training area.

Character and Nearby

The Character card shows HP, MP and EXP bars plus session statistics. Nearby lists everything around you with its distance. Double-click a line to walk to it.

World

Script

Record a route once, then let NexBot walk it again. Teleports and return scrolls are recorded too.

Script page
The Script page: the recorder, the script lines and the route on the map.

Recording a route

  1. Press ● RecordThen walk in the game, or click the map to walk.
  2. Walk the routeA point is added every N units walked (set A point every) and wherever the character stops. Teleporters and return scrolls you use become lines too.
  3. Add waits+ Wait 3 s adds a pause, for example in front of an NPC.
  4. Press ■ Stop, then Save…Scripts are plain text files. Open… loads one, and Clear starts over.

Walking a script

Press ▶ Start walking. NexBot starts at the script point nearest the character (or at line 1) and uses the teleports and return scrolls on the way. Turn on Loop at the end to start over when the script ends.

Script lines

LineMeaning
MOVE,x,yWalk to a world position. Dungeons use MOVE,region,x,y,z.
WAIT,msWait this many milliseconds.
TELEPORT,npc,id,labelUse a gate, ferry or teleport NPC near the character.
RETURNUse a return scroll.
RIDE[,item] / DISMOUNTGet on the transport or a mount / get off.
BUY,npc,target,tab,slot,qty,times,talkBuy from an NPC into the TRANSPORT or the INVENTORY.
SELL,npc,target,qty,talkSell the transport's cargo or an item to an NPC.
VISIT,kindStop and do the town business (storage, repair, sell, buy) with the NPC standing here.
REPEATStart the script again from the top.

phBot scripts work as they are: walk,x,y,z is a point, DoStorage, DoBlacksmith, DoStable, DoGroceryTrader, DoHerbalist … are stops at those NPCs, and wait,ms waits. DoScript needs nothing: the training script set on the Town page is walked after the town script. Add a phBot town script on the Town page like any other.

MOVE,6435,1080
MOVE,6470,1102
TELEPORT,STORE_CH_GATE,2,Jangan → Donwhang
WAIT,3000
MOVE,3554,2070
RETURN
World

AutoTrade

Trade runs: wear the trader suit, ride the transport, buy at the specialty trader, walk to the next town and sell, again and again.

AutoTrade page
The AutoTrade page.

Transport and trader suit

  • Trade transport: transports that can carry trade goods. Click one to prefer it for RIDE,TRANSPORT. Click it again to use any transport you have.
  • Trader suit: trader flags and bags this character can wear. Click one to prefer it. Otherwise any trader suit in the bag is used.
  • Transport: buttons to Wear suit, Ride transport and Get off by hand, plus the list of what the transport carries.

Trade loops

Each loop is a script from the Script page that goes from one town to the next: ride the transport, buy at the specialty trader, walk, sell. For example: Jangan → Donwhang, then Donwhang → Hotan. Loops run in list order. Use Add…, Remove, Up and Down to arrange them.

Trade goods

Pick a trader to see its goods. Tick the goods to buy and set how many. How much a buy line buys sets the amount per BUY line.

Trade options

OptionWhat it does
Wear the trader suit before riding the transportPuts the suit on first, so goods count as job trade.
Repeat trade loopsStarts again at the first loop after the last one.
Use return scroll after the loops completeGoes back to town when finished.
Attack spawned thievesFights thieves that spawn on the road. A rider cannot attack, so this only works when you don't stay on the transport.

Press Start trade to begin and Stop to end.

Character

Character

Stats, details and pets, plus the skill window with automatic mastery and skill leveling.

Character page
The Character page (shown before login; it fills once the character is in the game).

Character, Details and Pets

Character shows the name, level, race, the active buffs as icons (skill buffs and scroll or item effects, with the time left on each icon; hover for the game's buff card: name and level, duration, effects such as Physical damage 20% Increase, and the remaining time), the HP / MP / EXP / skill EXP bars and the stats (strength, intellect, free stat points, berserk, attack, defense, hit and parry rates). Details shows gold, skill points, job, PvP cape, murders, guild, location, riding and account. Pets lists summoned pets and mounts with HP and hunger.

Skills

The middle panel looks like the in-game skill window. The up buttons learn the next skill level or raise a mastery. Hover a skill to see the next level's cost.

Auto leveling

Right-click a skill or a mastery, or use AUTO, to mark it for automatic leveling. NexBot then spends skill points by itself whenever there are enough.

SettingWhat it does
MasteryRaise the marked masteries automatically.
SkillsLearn the next level of the marked skills automatically. With nothing marked: the skills the character already has.
ALL SKILLS (on each mastery)Click the ALL SKILLS tag next to a mastery's name in the skill window to auto every skill of that mastery only, with no right-clicking one by one. Other masteries keep their own choice. Locked skills wait. Turns Skills on too.
GapKeep each mastery this many levels below the character level (0 = up to the character level).
Keep SPNever spend below this many skill points.

The line above the switches says what auto leveling learns now, or why it waits (for example Spear Lv. 40: Max (Lv. 40) or needs 12,000 SP). Waiting reasons are also written to the Log.

If the panel says “This game database has no skill window layout”, open Server and click Build database again.

Character

Attack NEW

The hunting bot, in tabs: attack skills, buffs, party buffs, resurrect, healing, luring and the attack log. It hunts in the enabled training area.

Attack page
The Attack tab: the skills of each monster type on the left, the options on the right. Start bot, Stop and Train here are over the tabs.

Start bot starts hunting. In town, the town loop runs first (shopping, storage) and then walks to the training area: on the training script, or on the map's routes when there is none. Stop stops it. Train here moves the enabled training area to where the character stands. The bot waits while a walking script, the trade route or the town loop moves the character.

Attack tab

  1. TypeChoose a Monster type: General, Champion, Giant, Party General, Party Champion, Party Giant, Unique, Titan, Strong, Elite or Event.
  2. SkillsDouble-click a learned skill (or select it and click Add). Type part of a name in Search to find it. The type's skills are cast in the list's order; Up / Down change it, a double-click removes one.
  3. ImbueChoose the Imbue for the type (Chinese). It is cast before the skill when it is not on.
OptionWhat it does
Cast skills in orderOne skill after the other (else always the first that is ready).
Kill steal monstersAlso attacks monsters other players fight (off: left alone 15 seconds after their last hit).
Don't attack monstersOnly buffs, heals, resurrects and lures (a support character).
Protect party membersMonsters attacking your party first (or one member, by name).
Attack lower monsters firstOf the monsters attacking you, the weakest type first.
Switch monster after X DOTAfter this many damage-over-time skills on a monster, the next monster is attacked (the DOTs keep working).
Use lower skills if a type has noneGiant → Champion → General, Party Giant → Party Champion → Party General → General, Unique → Titan → Giant.
Slower attack mode / LagtasticSlower: waits longer between skills, for laggy servers. Lagtastic: shorter waits and the common attack sent again sooner.
Auto select nearby uniques / titansWhile the bot is stopped, selects a unique or titan that comes near (you attack it yourself).
Use teleport skillsGhost Walk / Teleport to a monster that is far (the ground-cast packet is not confirmed on vSRO 1.188).
Attack rangeHow far from the character monsters are attacked.

Which monster: those attacking you, then those attacking your party, then the monster preferences, then the nearest; only inside the training area (attackers anywhere). With Collision detection (Training area), monsters behind walls are left out. A monster that takes no damage for 20 seconds, or refuses 4 attacks, is left alone for a minute. With no monster, the bot walks around inside the area (or to its middle, with Don't walk around) and picks up drops (Pick filter).

Buffs tab

Buffs tab
Learned buffs, the buffs to keep on and the emergency buffs.

A buff is cast when it is not on, it is ready and there is enough MP. Emergency buffs are cast when HP or MP is under the percentage, or more monsters attack than the number. Switch weapons for buffs puts on a fitting weapon from the bag for a buff that needs one, then the first weapon again. Use Devil's Spirit keeps the devil avatar's buff on: cast it once yourself in the game first, so the bot learns which skill your devil has (a skill the character does not have gets it disconnected, so the bot never guesses). Force Cure cures a bad status with your cure skill. Recast all buffs when one ends casts the whole list again. A refused buff is tried again after 30 seconds.

Party Buffs tab

Party Buffs tab

Choose a buff, then the players to keep it on (party members or names). The bot walks to a player in the Party buffing radius, casts the buff on them and, with Walk back, goes back to the middle of the area. Buff all nearby players buffs everyone near; Start / stop if a player is near buffs only while one of the listed names is near.

Resurrect tab

Resurrect tab

Dead players of the list (or all party members) in the Resurrect radius are resurrected after the delay, with your resurrect skill (a group resurrect when several are dead), up to the try limit each. Auto accept res answers yes when another player resurrects you (optionally only party members).

Healing tab

Healing tab

Add your heal skills. First yourself when your HP is under Heal self, then a group heal when the average HP of you and the living members is under Group heal, then the member with the lowest HP under Heal party member. Party HP comes from the game in 10% steps.

Lure tab

Lure tab

For parties: one character walks out (a random way, or along a script's points), casts the skill at the edge (Howling Shout ...) and walks back, with the delays at the edge and the center. Luring stops while too many party members are dead, too many party giants / champions or monsters are in the area, or party members are away. Turn on Don't attack monsters to only lure.

Attack Log tab

Every player who attacked or killed you this session (Job Cave, PKers), newest first, with the damage. Clear empties it. The bot's own targets, buffs, heals and resurrects are on the Log page as Attack: ....

Not in vSRO 1.188, shown greyed out: Mirror Reflect. The ground-cast packet (teleport skills) is not confirmed on this server: watch the log the first time.

Character

Training area NEW

A list of training areas, one enabled; which one to use at which level; collision, settings and the walk to the area.

Training area page
The Training Area tab: the list of areas (★ = enabled) with the buttons over it.
  1. AddStand where you want to train and click Add, or Get Position for the selected area (also: right-click the Map → Set training area here).
  2. EditChange the name, radius and pick radius in the list. Use Polygon uses the polygon drawn on the Map instead of the circle; Use Radius goes back to the circle.
  3. ScriptChange Script sets the walking script from town to this area (recorded on the Script page). With no script, the bot walks there on the map's routes.
  4. EnableDouble-click a row or click Enable: it becomes the area the bot hunts in and walks to. Walk walks there now, Stop stops.

The pick radius is how far from the character drops are picked up.

Conditions

Conditions tab

Pairs of a level and an area: at that level (or higher, until the next pair) the bot enables that area and goes there. Example: level 1 Jangan, level 40 Donwhang.

Collision

OptionWhat it does
Enable collision detectionMonsters and drops behind a wall (on the map data) are left out.
Navigate around obstaclesWalking inside the area goes around walls on the map's routes.
Navigate to item dropsWalking to a drop follows a route around walls.

These need the map data (Server page). The town and NPC teleport options are greyed out.

Settings

Settings tab
OptionWhat it does
Don't walk aroundWaits in the middle of the area when no monster is there.
Use a repair hammerWhen an equipped item's durability is under the percentage.
Reverse return scroll when you die / after returningAfter the town loop, teleports back to where you died, or to where the return scroll was used, instead of walking (packet not confirmed on vSRO 1.188).
Use monster summon scrollsWhen the area is empty; optionally only after the strong monsters are dead.
Use speed drugsKeeps a speed scroll on (optionally only while walking the script).

Script

OptionWhat it does
Skip town script entirelyAfter returning, goes straight to the training walk.
Return when can't continue scriptA training walk that fails sends the character back to town (Protection) to try again.
Script walk delayWaits this many ms at every point of the script.
Go back a coordinate if stuckStuck for this many seconds: walks back one point, then on.
Return if stuckStuck for this many seconds: returns to town.

Not in vSRO 1.188 or not built, shown greyed out: treasure boxes, easter egg NPCs, equip better items, flowers, berserk / Energy of Life potions, Pandora's Box, fellow pet, remount in caves, Statue of Justice and NPC teleports.

Character

Protection NEW

Keeps the character alive and safe: potions and pills, returning to town, reviving, stat points and disconnect rules.

Protection page
The Potions tab: potions and pills on the left, scrolls and stats on the right.

The page has four tabs: Potions (potions, pills, scrolls, stats), Return to town, Dead and pet (dead, pet return, misc) and Berserk and monsters.

Most rows are a switch and a number. The number is only used while the switch is on.

Potions and pills

SettingWhat it does
HP / MP potionDrinks a potion when HP or MP drops below the percent.
Vigor potion (HP / MP)Drinks a vigor potion (it heals both) below its own percent. Set it lower than the normal potion, for emergencies.
Universal pillCures a bad status: frozen, burnt, poisoned, shocked …
Abnormal state pillUsed for a bad status when no universal pill is in the bag.
Delay between two potionsThe shortest time between two potions of the same kind. When the server answers that a potion's cooldown is not over (error 0x185B, for example with mall potion bags), the bot waits 250 ms longer each time, up to 5 seconds more, by itself. A potion the server refuses for another reason is skipped for 60 seconds while other stacks of the kind are used.

Potions and pills work all the time the character is in the game, with the window or clientless. Potions are found by the game's own item type, so every size (small to XL) is used.

Stats

Add stat points automatically spends free stat points by itself. Each level's 3 points chooses the split: 3 STR, 2 STR · 1 INT, 1 STR · 2 INT, or 3 INT. +1 STR and +1 INT add one point by hand.

Return to town

Return to town tab
The Return to town tab: supplies and durability on the left, time and other reasons on the right.

When a checked reason becomes true, NexBot stops what it is doing and uses a return scroll: any return scroll in the bag, an instant one first (not the bandit den scroll). Without a return scroll it only stops and writes a warning in the log. The reasons are checked while the bot is busy (walking a script, trading or, later, hunting) and, with Also check when not botting (outside towns) on, whenever you are outside a town. You count as in town when a shop NPC is near; after leaving town the checks wait 10 seconds. The log shows Protection: return-to-town checks on / paused.

Check now lists every return option that is on, its value right now and whether it would send you back ([RETURN]). "Not attacked" and "Every N minutes" count only while the checks are on.

ReasonWhen
HP / MP potions left ≤This many potions or fewer are left.
Out of universal pills / vigors / speed scrolls / Energy of LifeNone are left.
Out of arrows / boltsThe weapon is a bow (arrows) or crossbow (bolts) and none are left, in the bag or equipped. Every attack counts one arrow down, like the game does.
Free inventory slots ≤The bag is (almost) full. Keep at least 2 free for drops.
Durability belowThe weapon, the shield or any armor piece is almost broken.
Change the weapon if brokenWears another weapon of the same kind from the bag instead of returning.
Minutes before the next hourFor events that start on the hour.
Every (minutes) / Every day atOn a timer, or once a day at a time (24-hour clock, e.g. 21:30).
Return and disconnect every (minutes)Goes back to town, then leaves the game.
Fewer players in the party thanThe party got too small.
Not attacked for (minutes)Nothing hit the character for a while (stuck, or the area is empty).
A unique spawns near youLeaves before the unique gets close.
The job transport dies / Pink statusJob safety.

With Town set up, the town loop then buys supplies and walks back to training.

Dead

Dead and pet tab
The Dead and pet tab: dead on the left, pet return and misc on the right.

Revive in town after (minutes) waits that long for someone to resurrect you, then revives in town. Right away when dead outside the training area skips the wait when you died outside the training area. Use a resurrection scroll instead revives where you died when a resurrection scroll is in the bag; if you are still dead 15 seconds later, you go to town.

Scrolls

Type parts of scroll names (for example speed, damage increase, damage absorption, HP+, hit, evasion) and press Add. Each scroll is used again when its buff is gone, while botting and / or while not botting. The first use teaches NexBot which buff the scroll gives.

Pet return

Go back to town when out of pet recovery kits, grass of life, HGP potions or pet abnormal state potions.

Misc

SettingWhat it does
Stop the bot after deaths >Stops scripts, trade and alchemy after more deaths than this in one session.
Disconnect if a GM spawnsLeaves the game when a game master appears near you.
Disconnect if a player attacks you while botting–
Disconnect on murder statusLeaves the game if the character becomes a murderer (red name).
Disconnect after (minutes in game)Leaves the game after this long.
Re-spawn the job transport if it diesSummons a new transport from the bag.
Stop if a thief player is in townStops the bot when a player in thief job mode is near you in town (auto trade).

Berserk and monster preferences

Berserk and monster preferences
The Berserk and monsters tab.

When the berserk gauge is full (5 / 5), NexBot turns berserk on:

OptionWhat it does
On these monster typesWhen you hit, or are hit by, a monster of one of the ticked types: General, Champion, Giant, Titan, Strong, Elite, Unique, Party. Tick as many as you want. A party monster counts as its type too (a party giant is a Giant), and Party means any party monster.
When more monsters attack thanWhen more monsters than the number hit you in the last 10 seconds.
While walking the scriptWhenever a walking script runs.

The log says why, for example berserk (fighting Mangyang (Giant)).

Monster preferences

A list of monster types and exact monsters, most wanted first. The higher one is in the list, the more the hunting bot prefers it.

  1. TypeChoose Type in Add a monster by, pick a type (General, Champion, Giant ...) and click Add.
  2. NameChoose Name, type part of a monster's name (Mangyang, Tiger, Chakji ...) and press Enter or Search. Right-click a result and choose Add to the preferences, or double-click it. This adds that exact monster, by its ID in the game data (e.g. MOB_CH_TIGER).
  3. OrderSelect an entry and use Up and Down, or right-click it to move it or remove it.

Switch monster based on position in the list: while attacking a monster, the hunting bot switches to a more preferred one that comes near (not when the one attacked is attacking you).

Character

Town NEW

The town loop: sell junk, repair, buy potions and scrolls up to your amounts, then walk back to training.

Town page
The Town page: the buy list, the town scripts and the options.

How the town loop works

  1. Arrive in townProtection uses a return scroll, or you use one yourself in the game (or revive in town). With Run the town loop after returning to town on, the loop starts after the teleport. Run now starts it by hand.
  2. Walk the town scriptNexBot picks the town script with a point near the character, so one script per town is enough. With no script near the character, the town loop does not move: record one for each town you use.
  3. Visit the shops on the wayEvery shop NPC within about 30 m of the route that has something to do is visited. NexBot sells first, then repairs (blacksmith / armor shop), then buys.
  4. Walk to trainingWhen the town script ends, the training script is walked, if one is set. Loop the training script keeps walking it.

Recording a town script

Use the Script page. Use a return scroll, then press ● Record and walk from where you appear, past the potion seller, the blacksmith and the grocery, to the town gate. Save it, for example as Jangan town.txt, and add it with Add…. Record the walk from the gate to your training spot as a second script and set it under Then walk to training.

You don't need BUY or SELL lines in the town script. Walking close to the NPCs is enough, and the town loop does the shopping from the buy list.

Buy list

Type part of an item name and press Search (or Enter). All lists everything any NPC sells, Mine shows your list, and Reset clears it. Tick On and type Keep: how many to have after buying. What is already in the bag counts, so with Keep 200 and 30 potions in the bag, 170 are bought.

Options

OptionWhat it does
Run the town loop after returning to townStarts the loop by itself after a return scroll or a revive in town, by Protection or by you in the game (not while a script or the trade route walks).
Repair at the blacksmith / armor shopRepairs every damaged item there.
Only repair the worn equipmentRepairs only what the character wears.
Sell excess potions, arrows and boltsSells what is over the buy list's amounts.
Stop if the inventory is full when buyingStops the loop and the bot when the bag is full.
Sell these itemsParts of names (e.g. BONE, TAIL) sold at the first shop on the way. A part matches at the start of a word: HAT matches "Carnival Hat" but not "Global chatting". Items on the buy list or the storage list are never sold by this list.
Drop these itemsParts of names dropped on the ground when the town loop starts (after the return scroll, before walking). Items on the buy list or the storage list are never dropped.
Put these items in storageParts of names put into the storage when the town script passes a Storage-keeper (within about 30 m of the route). They go onto a stack of the same item when they fit, otherwise into the first empty slot. Items on the buy list are never stored.
Character

Inventory

Equipment, avatar and bag, with icons and item details, and the exchange window, even when clientless.

Inventory page
The Inventory page.
  • Move: drag an item onto another slot, including equipment and avatar slots.
  • Use / wear: right-click or double-click to use potions and scrolls, wear equipment or take it off.
  • Details: point at an item and a card like the game's opens at the mouse: name, sort of item and level, the item's description (for example A bag of 1,000 potions that can heal 570 HP pts. each.), magic options, durability and quantity. With a database built with this version (Server, Build database) it also shows the game's How To Use and Restriction parts and values such as MP recovery[820], and items bought in the item mall appear in the bag right away.
  • 3D view: in game, the 3D view button under the equipment opens your character's 3D model from the game client. Drag to turn it, use the mouse wheel to zoom and double-click to reset. Your character stands and plays the game's own idle animation, wearing your armor and avatar, with your weapon in hand (in its stance) and your shield on the arm. It changes when you change equipment.
  • Animated slots: like in the game, the scroll of a pet that is summoned now glows on and off, and rare items (Seal of Star, Moon, Sun) have a light circling the slot.
  • Equipment cards: worn items, avatar items and equipment in the bag get the game's full card: sort of item, mounting part and degree (orange), the white stats with how well each one rolled (for example Phy. def. pwr. 2.2 (+0%), Durability 40/44 (+0%), attack, parry, block, reinforce, absorption), the magic options (blue), then required level, gender, race, Max No. of magic options and Able to use Advanced elixir. The stats need a database built with this version.
  • Character card: between the equipment slots you see your character's face portrait from the game in a gold frame, your name, level and race, and your main stats (attack, defense, hit rate, parry, STR / INT). The Character page shows the same portrait next to your name. Not in game, a crest is shown instead.
  • Split a stack: hold Shift while you drag a stack onto an empty slot (or onto the same item). A window asks how many to move (1, Half, All but 1, or type a number).
  • Global message: right-click a global chatting item, or click Global under the bag. Write the message (up to 100 characters) and press Send; one item is used.
  • Auto sort: stacks matching items and orders the bag. Stop cancels it.
  • Refresh: reads the inventory and equipment again at once and retries item pictures that did not load.

Exchange

The right panel is the game's exchange window. It works clientless too, and with the game open it shows the same exchange as the game's window.

  1. StartPick a player in Player nearby and click Exchange. When someone asks you, Accept and Refuse show instead (for 30 seconds), and the log says who asked.
  2. Put items and gold inDrag items from the bag onto Your items (the whole stack goes in; split it first for less). Or Alt + click a bag item: it goes into the next empty exchange slot. Items in the window get a gold frame in the bag. To take one out, Alt + click it, right-click it, or drag it back to the bag. Type the gold and click Set gold.
  3. See theirsTheir items shows what the other player puts in, with their gold. Point at an item for its full card: stats, blues and plus.
  4. Confirm, then ApproveConfirm locks your side. When both sides confirmed, the button becomes Approve. The exchange ends when both approve. Cancel closes it at any time.
OptionWhat it does
Auto accept exchange requestsAccepts other players' exchange requests by itself, a second after they come. It only accepts. Putting items in, Confirm and Approve stay with you.
Accept while bottingAlso accepts while the bot is busy: walking a script, the trade route or the town loop. Off: requests that come then wait for you.
Accept in town onlyAccepts only in a town (a shop NPC near). On by default.

A request that isn't accepted by itself shows Accept and Refuse, and the log says why it was left for you.

The log keeps every exchange packet (Exchange packet ...). If something looks wrong, copy those lines.

Character

Pet NEW

Your summoned pets, and an attack pet that is summoned, healed, fed and revived for you.

Pet page
The Pet page: summoned pets on the left, the attack pet options in the middle, the grab pet on the right.

Pets

The list shows every pet you have out: attack pet (level, HP and HGP bars, passive or not), grab pet (items it holds), horse and transport. Select one and click Unsummon to send it back into its scroll. Get off a mount before you unsummon it.

Preferred pets

Under the pets you see every attack pet in the game, the ones in your bag marked IN BAG (and DEAD when their scroll is dead). Click pets in the order you want them: the first becomes PET 1, the next PET 2, and so on. Click one again to take it off, or Clear order to start over.

When the attack pet has to be summoned, NexBot goes down the order: PET 1 is summoned if it is in the bag, or revived first if it is dead (when auto revive may). If PET 1 isn't in the bag, or is dead and can't be revived, it tries PET 2, and so on. With none of them in the bag, any attack pet in the bag is used.

Grab pet

The right column shows the grab pet's bag: every item it holds, with how full it is (for example 12 / 56). It is read when the pet is summoned and kept up to date while the pet picks items into its own bag. Under it, Picked up this session lists every item and every pile of gold picked up, newest first: the time, the item (with its kind, for example Gold Ring (European, Seal of Sun)), how many, and who picked it up (the character, the grab pet, or the grab pet into its own bag). Point at an item to see its card. What gets picked up is set on the Pick filter page.

Attack pet

OptionWhat it does
Use attack petTurns on everything below. Off: NexBot leaves the attack pet alone.
Recovery kit when HP below (%)Heals the pet with a pet recovery kit (the pet's HP potion). 0: never.
HGP potion when HGP below (%)Feeds the pet so it doesn't go hungry. 0: never.
Auto summon attack petSummons the pet from its scroll whenever it isn't out, also right after it was revived.
only in town / only at training areaSummons it only in a town (a shop NPC near), or only inside the training area set on the Map page.
Auto revive attack pet, TimesRevives a dead pet with a pet revive item, up to this many times a session (0: no limit).
only if HP potions are presentRevives only when there are recovery kits for the pet in the bag.
Return to town when the attack pet diesUses a return scroll so the town loop can buy revive items.
only if there aren't any revive itemsReturns only when no revive item is left; otherwise the pet is revived. On by default. When the pet can't be revived or summoned 3 times in a row (while you are attacked, for example), it returns anyway.
Don't attack monstersKeeps the pet passive.

Returning to town for the pet happens right away when the pet dies, whether a script runs or not (in town it does nothing). Protect the attack pet is not built yet. Fellow pets (SP recall) are not in vSRO 1.188. The log keeps the pet packets (Pet packet ...) in case something doesn't work on your server.

Character

Pick filter NEW

For every item in the game: pick it up, put it in the storage, sell it or drop it. Plus the gold you keep in the bag and in the storage.

Pick filter page
The Pick filter page: the items on the left, the options on the right.

Items

  1. Find the itemsChoose a group in the first box (weapons, Chinese armor, accessories, potions, alchemy stones, gold ...), then a degree and normal or rare (SoX) items. Or type part of a name and press Enter. The first choice, Items set in the filter, shows what you already set.
  2. Tick what to doEach item has Pick, Store, Sell and Drop. Point at an item to see its card.
  3. Set many at onceSelect several rows (Shift or Ctrl + click, Ctrl + A for all) and right-click: Pick, Store, Sell, Drop, Don't ..., or Clear. Clicking a column header turns that action on for every item shown (click again: off).

Gold has three drops (small, medium and large piles). Set Pick on all three to pick up gold. Clear empties the list (the filter stays), Update shows the group again, and Reset erases the whole filter after asking.

The town loop uses the filter along with the Town page's lists. Items marked Store go into the storage at the Storage-keeper, items marked Sell are sold at the first shop, and items marked Drop are dropped when the town loop starts. If an item is marked for more than one, it is stored before it is sold and sold before it is dropped. Items on the buy list are never sold, stored or dropped.

Options

OptionWhat it does
Pick up itemsTurns picking up on. The grab pet picks up whenever it is out. The character picks up only when no script, trade route or town loop is moving it, walking to each item by itself.
Pick items firstWhile hunting: pick up the drops before the next monster (monsters attacking you still come first). Off: drops are picked up when no monster is left to attack.
Use pick petThe grab pet picks up instead of the character.
Pick with character if pet is unsummoned or fullWithout a grab pet out, or with its bag full, the character picks up.
Pick other player's itemsAlso picks up items that belong to nobody: drops whose owner time ran out, or items players dropped.
Pick party itemsAlso picks up items that dropped for a party member.
Don't pick itemsPicks up nothing, whatever the filter says.
Only pick rare or blue itemsEquipment is picked up only when it is rare (SoX) or blue. Other items follow the filter.
Pick Arrows/Bolts, Up toPicks up arrows (Chinese) or bolts (European) until the bag has this many.
Allow selling of all item typesRare (SoX) items are sold too. Off: they are never sold.
Do not sell items with plus >=Keeps equipment with this plus or more. 0: off.
Only store rare or blue itemsEquipment is stored only when it is rare or blue. Otherwise it is sold, if marked to sell.
Only store items with specific blue attributesEquipment is stored only with one of the blue attributes in the list (parts of names: Str, Int, Durability ...).

Store gold

OptionWhat it does
Gold keep amountThe gold to keep in the bag.
Take gold from storageWith less than the keep amount, takes the rest out of the storage at the Storage-keeper.
Store gold in storage, Maximum amountPuts the gold over the keep amount into the storage, up to the maximum in the storage (0: no limit).

The grab pet picks up at any time; the character picks up when it is standing free, or between monsters while hunting. An item that isn't picked up after 3 tries is left alone. The guild storage and dismantling are not in this version.

Character

Alchemy NEW

Plus items with elixirs, lucky powder and stones, and add white (attribute) and blue (alchemic) stats, all from a queue.

Alchemy page
The Alchemy page: items on the left, settings in the middle, the queue on the right.

How it works

  1. Pick an itemThe Items panel shows the equipment in your bag as slots, like the Inventory page (rare items glow). Click one to choose it; point at it to see its full item card.
  2. Choose the tabPlus (elixirs), Attribute (white stones) or Alchemic (blue stones).
  3. Set the options and press AddThe Add buttons are under the items. Add all items queues every item at once. Each queue line keeps the settings it was added with.
  4. Press StartThe queue runs line by line. Cancel stops it, Clear empties it, and right-clicking a line deletes it.

Plus

SettingWhat it does
Stop at +The plus to reach. The line ends when the item gets there.
Success / Failure delay (ms)Pause after a success or a failure before the next elixir.
Move on after a plus failureGo to the next queued item after a failure instead of trying again.
Stop all alchemy if an item is destroyedStops the whole queue when an item breaks.

Use when the item is at this plus or higher

Each option is one row: a check box to turn it on, then at +N, the plus from which it is used. With the box checked and at +3, the option is used for every elixir once the item is +3 or more. at +0 means from the start.

OptionWhat it does
Lucky powderAdds lucky powder to each elixir for a higher success chance. The list on the right picks the powder degree: Auto uses the item's degree, and Deg 1–12 forces one degree (for servers with different powders).
Astral stoneAdds the astral option before plussing. It protects the plus when an elixir fails. The exact effect depends on the server, so read the stone's in-game description.
Steady stoneAdds the steady option (also protects the plus on failure, depending on the server).
Immortal stoneAdds the immortal option (the item is not destroyed on failure).
Lucky stoneAdds the lucky option.
Stop after attemptsStops an item after this many elixirs.
Item degree (stones)Auto reads the degree from the item name. Pick a degree if your server changed them.

A stone is only added when the item doesn't already have that option, so it is not wasted on every elixir.

Attribute (white stones)

Select an item and an attribute stone, then set Stop at white %. The line stops when the stat reaches that percent. Add all stones queues every matching stone for the item. White % is read for the weapon, armor, shield and accessory stats the bot knows. For other stones it stops after one success.

Alchemic (blue stones)

Select an item and a magic stone, then set Stop at blue value. This is the option's number (e.g. STR 5), not a percent. Add all blues queues every blue you have stones for.

Use alchemy catalyst adds a catalyst to each white or blue stone, so stones cannot fail.

Packet types (learned)

Servers can use different alchemy packet types. The line at the bottom of the queue (e.g. elixir 3 · stone 4 · attribute 5) shows what NexBot uses. Fuse one item yourself in the game client, and NexBot learns your server's values.

Social

Party

Accept and send party invites, follow chosen leaders and use party matching.

Party page
The Party page.

The Party panel shows the members like the game's party window: face portrait, name, level and guild, and red HP and blue MP bars. The master is marked with a gold star. Select a member and click Kick selected to remove them, or Leave party to leave.

Invites

SettingWhat it does
Accept party invitesAccepts invites from players on the Accept / Invite list (empty list: from anyone).
Invite other playersInvites the players on the list when they are nearby.
Party typeEXP and item sharing, and who may invite, for parties this character creates.
Leave if the master is not in the leader listLeaves parties led by anyone not on the Party leader list (empty: never leave).

Party matching

  • Auto form party matching (every 10 minutes): lists a party with your title and level range.
  • Accept players asking to join: uses the accept rules above.
  • Join by name (master) / Join by title (contains): joins matching parties by themselves.
  • View matching lists the open parties, and Join selected asks to join one.

The member list shows your party. Leave party and Kick selected work as in the game.

Social

Guild

Accept guild invites and invite players without a guild.

Guild page
The Guild page.
  • Accept all guild invites, or only from the names on the Accept / Invite list.
  • Auto invite players without a guild when they come near. The list limits it to those names.

Your guild is read when you log in: name and level, the number of members and how many are online, gathered GP, the master, and the notice. Members are listed with their face portrait, rank (the master has a gold star), level and online state. If a server sends the guild in another layout, the log says the member list was not understood: turn on Show debug messages on the Log page, log in, and send the Guild data line.

Social

Academy

Accept academy invites, invite players and use a whisper password.

Academy page
The Academy page.
  • Accept academy invites from anyone, or from the list.
  • Invite players to the academy who are on the list.
  • Password: players who whisper this word to you are invited.

Academy matching, graduation and the member list are not built yet. Their packets need a capture from your server.

Social

Players

Every player around you, the gear they wear, quick invites and tracing (following another player).

Players page
The Players page.

Players nearby

The list shows each player's face portrait from the game, name, guild, estimated level and distance. Select a player, then use Party invite, Guild invite, Union invite or Academy invite. Levels are estimated from the gear the player wears, so they are not exact.

Union invite asks another guild's master to join your union. Only a guild master can send it, and the other player must be the master of a guild that is in no union.

Equipment

The Equipment panel shows the selected player like your own character on the Inventory page. Their face portrait, name, estimated level and race sit in the middle. Their gear is in its slots around them: weapon, shield, head, shoulders, chest, gloves, pants, boots, earring, necklace, rings and job suit. Avatar switches to their avatar items. Under the portrait you see their guild, job, PK cape, state (normal, riding, stall, in combat) and distance. Point at an item for its card: sort, degree, requirements and description. Rare items glow.

The server sends only what a player wears and its plus. Their bag, stat rolls, blues and durability are never sent to other players, so no bot can show them. To see a player's items in full, exchange with them (Inventory page).

Trace

SettingWhat it does
Player to traceThe name to follow (or select one in the list).
Game traceUses the game's own trace command. When it's off, NexBot walks after the player itself.
Walk again when further than (m)How far the player may get before NexBot walks after them.

Use Start tracing and Stop tracing.

Attacking monsters and buffing while tracing are not built yet.

Selling

Stall NEW

Open a stall with saved prices, keep it filled and see what was sold.

Stall page
The Stall page: the open stall, the price list and the options.

Opening a stall

  1. Stand in a town, off the horseThe game only allows stalls there.
  2. Set pricesIn Prices, turn items On and type a Price / slot.
  3. Type a Title and NotePlayers see them on the stall.
  4. Open stallNexBot opens the stall and fills it with every priced item. Close stall closes it.

Prices: Inventory and Filter

  • Inventory lists your items, one row per kind, with how many you Have.
  • Filter lets you price any game item, even one not in the bag yet. Use it for things you farm.
  • Per slot: 0 puts the whole stack in one slot. A number splits stacks into slots of that size, for example selling elixirs 10 at a time.

In Items for sale, right-click a slot to change its price or remove it. Or type a price and use Change price / Remove.

Options

OptionWhat it does
Auto stallOpens the stall by itself when enough priced items are in the bag.
Stall when at least (items)How many slots must be fillable first (0 = whenever any item can be stalled).
Fill again when sold outWhen everything in the stall sold, it is filled again with the priced items left in the inventory (stacks are split again for "Per slot"). When none are left, or this is off, the stall closes by itself. This works for a stall you opened yourself too, not only with Auto stall.

Sold this session lists each sale: the item, how many, the price and the buyer.

Items refused (error 0x3C2A)? Your server uses a different stall layout. With the game window open, start a stall yourself and add one item. NexBot learns the layout from the game client and uses it from then on (the Log shows “Stall packet from the game client”).

Automation

Conditions NEW

“If … then …” rules: when all checks of a rule become true, its actions run in order.

Conditions page
The Conditions page: rules on the left, the If checks in the middle, the Then actions on the right.

Making a rule

  1. New ruleGive it a Name and switch Rule on.
  2. Add checks (If)Pick a check, fill in its value, press Add. The rule acts only when all checks are true.
  3. Add actions (Then)Pick an action and press Add. Actions run top to bottom, and Up reorders them.
  4. Repeat every0 = act once each time the checks become true. A number repeats the actions every N seconds while they stay true.

Rules run whenever the character is in the game: started, stopped, tracing or stalling.

Checks (If)

CheckValue
HP below / MP belowPercent
Free inventory slots belowNumber of slots
Fewer than N of an itemItem name (part) and count, e.g. fewer than 50 HP potions
Gold above / Gold belowGold
Level N or moreLevel
The character is dead–
Player near / Any player nearName (empty = any) and range in m (0 = any)
A GM is near–
Unique near / Any unique nearName and range
Whisper containing / Any whisperText
The stall sold out–
Not in a party–

Actions (Then)

ActionWhat it does
LogWrites a message to the log.
Play a sound / Play the alert soundPlays a .wav file, or the Windows alert sound.
Use a return scrollGoes back to town.
WhisperSends a private message.
WaitPauses before the next action.
Stop scripts, trade and alchemyStops whatever is running.
Close the stall–
Leave the party–
DisconnectStops the bot.

Examples

  • GM safety: If A GM is near → Then Play the alert sound, Stop scripts, trade and alchemy, Disconnect.
  • Low potions: If Fewer than 20 of “HP_POTION” → Then Use a return scroll.
  • Sold out: If The stall sold out → Then Whisper your main character “stall empty”.
Automation

Sound

Hear when something important happens, even while the game is hidden or clientless.

Sound page
The Sound page.

Turn on an event and press File… to choose a .wav file. With no file chosen, the Windows alert sound plays. The same event for the same player or monster rings at most once every 10 seconds. Mute all sounds silences everything.

EventWhen
GM spawnedA game master appears near you.
Unique spawnedAny unique notice, or a unique appears near you.
Titan spawnedA titan monster appears near you.
Unique in rangeA unique appears near you.
Specific uniqueA unique from your list appears (in-game notice). Names can be parts, e.g. Uruchi.
Player diedYour character dies.
Attacking another playerYour character hits another player.
AttackedAnother player hits your character.
Returning to townA return scroll is used.
Private messageSomeone whispers you.
Thief / Hunter nearbyA thief or hunter in job mode appears near you.
Rare item dropYou pick up a rare (Seal) item.
Transport diedYour job transport dies.
Reference

Log

Everything the bot did, with times.

Log page
The Log page.
ControlWhat it does
Clear logsEmpties the log (every kind of line) and the Activity box.
ShowNormal logs: what the bot does (no packets, no debug lines). Warnings and errors: only those. Packet logs: the packet lines in hex (S>C 0xB074 [0200] …). Debug logs: the technical lines. Everything: all of them. Switching shows the earlier lines of that kind again (the last 6000 are kept); debug lines are only kept while Debug logs or Everything is chosen. The choice is saved.
SearchOnly lines that contain the text (any case), for example Attack: or Protection:.
Save to fileSaves the lines shown now to a text file, with dates and WARN / ERROR / DEBUG marks, to send to the developer.

The Server page's Activity box shows only the normal lines and has its own Clear.

Reference

Item codes

Server names of common alchemy items, used in the Stall Filter, Conditions checks and the log. NN is the degree (01–12).

ItemCode
Weapon elixirITEM_ETC_ARCHEMY_REINFORCE_RECIPE_WEAPON_A (also _B and EVENT versions)
Armor / shield / accessory elixirITEM_ETC_ARCHEMY_REINFORCE_RECIPE_ARMOR_A, …_SHIELD_A, …_ACCESSARY_A
Lucky powderITEM_ETC_ARCHEMY_REINFORCE_PROB_UP_A_NN (e.g. degree 11: …_PROB_UP_A_11)
Lucky stoneITEM_ETC_ARCHEMY_MAGICSTONE_LUCK_NN
Steady stoneITEM_ETC_ARCHEMY_MAGICSTONE_SOLID_NN
Astral stoneITEM_ETC_ARCHEMY_MAGICSTONE_ASTRAL_NN
Immortal stoneITEM_ETC_ARCHEMY_MAGICSTONE_ATHANASIA_NN
Attribute (white) stonesITEM_ETC_ARCHEMY_ATTRSTONE_…_NN

An equipment item's degree is the first number in its code. For example, ITEM_CH_SWORD_11_A is degree 11.

Reference

Troubleshooting

Common problems and how to fix them.

The map is empty

Select the client folder on Server and click Read server config. The minimap pictures come from the client.

Items or skills show no names or icons

Click Build database on the Server page. Build it again after a client update.

The stall refuses items (error 0x3C2A)

Open a stall in the game client and add one item yourself. NexBot learns the layout (see Stall).

Lucky powder is not used

  • Make sure the Lucky powder box is checked and the item is at the at + value or higher.
  • The powder's degree must match: Auto uses the item's degree. If your server's powders have other degrees, pick the degree yourself.
  • The log warns “no lucky powder of degree N in the inventory” when it can't find one.

Alchemy does nothing / the server refuses

Fuse one item yourself in the game client, so NexBot learns your server's alchemy packet types (see Alchemy).

A new feature isn't in the window

NexBot must be closed while it is rebuilt. If it was open, you are still running the previous version.

NexBot User Guide · generated from the app's own screenshots.