Jump to content

Recommended Posts

Posted

//admin - Brings up the admin menu.

//gmchat Sends a global message that only GMs can see. Ussage - //gmchat Type message here

//gm - Turns on or off your GM status.

//invul - Makes you invulnerable.

//delete - Used to remove a targetted Mob. Mob will not respawn.

//kill - Used to kill a targetted Mob. Mob will respawn.

//target Used to target a Mob or player. Ussage - //target kadar

//buy - Opens the GMShop.

//gmshop - Opens the GMShop.

//announce_menu - Opens the announce menu.

//list_announcements - Lists the current announcements.

//reload_announcements - Reloads the announcement list.

//announce_announcements - Posts all announcements in list.

//add_announcement Adds an announcement. Ussage - //add_announcement Your announcement here

//del_announcement Deletes an announcement. Ussage - //del_announcement Your announcement here

//announce Posts an announcement. Ussage - //announce Your announcement here

//itemcreate - Opens the item creation menu.

//create_item Creates an item. Ussage - //create_item item_id

//server_shutdown Starts the shutdown process. Ussage - //server_shutdown Number of seconds

//server_restart Starts the restart process. Ussage - //server_restart Number of seconds

//server_abort - Stops the server shutdown.

//show_spawns - Opens spawn menu.

//spawn Spawns a Mob on current target. Ussage - //spawn npc_id

//spawn_monster Spawns a Mob on current target. Ussage - //spawn_monster npc_id

//spawn_index Shows menu for monsters with respective level. Ussage - //spawn_index level

//show_skills - Lists targetted players skills.

//remove_skills - Removes the targetted players skills.

//skill_list - Opens skill menu.

//skill_index - Opens skill menu according to players stats.

//add_skill Adds a skill to a targetted player. Usage - //add_skill Skill_id level

//remove_skill Removes a skill from a targetted player. Ussage - //remove_skill Skill_id

//get_skills - Temporarily gives you the skills of a targetted player.

//reset_skills - Restores your skills from before the get_skills command.

//add_exp_sp_to_character - Opens the xp sp menu of the targetted player.

//add_exp_sp Adds xp sp to targetted player. Ussage - //add_exp_sp xp_number sp_number

//edit_character - Opens menu to edit targetted player.

//current_player - Opens character list.

//character_list - Opens list of online players.

//show_characters - Opens list of online players.

//find_character - Opens the find player menu.

//save_modifications - Saves the edits done to the targetted player.

//show_moves - Opens the teleport menu.

//show_moves_other - Opens the teleport menu named other.

//show_teleport - Opens the teleport menu.

//teleport_to_character Teleports you to the named player. Ussage - //teleport_to_character kadar

//teleportto Teleports you to the named player. Ussage - //teleport_to_character kadar

//teleto r

//teleto

//move_to Teleports you to coordinates given. Ussage - //move_to 11111 22222 3333

//teleport_character Teleports targetted player to coordinates given. Ussage - //move_to 11111 22222r 3333

//recall Summons a named player to you. Ussage - //recall kadar

//restore - Restores a broken player info.

//repair - Repairs a broken player info.

//changelvl Changes a targetted players access level. Ussage - //changelvl Access_level_number

//ride_wyvern - Command used to summon and ride a wyvern.

//unride_wyvern - Command to dismount and unsummon a wyvern.

//ban Used to kick and ban a named players account. Ussage - //ban kadar

//unban Used to unban a named players account. Ussage - //unban kadar

//kick Used to disconnect named player. Ussage - //kick kadar

//mons - Used to start the Monster Races.

//edit_npc Used to edit a NPCs stats. Ussage - //edit_npc npc_id

//save_npc - Saves the editted NPC info.

//recall_npc - Teleports targetted NPC to you.

//show_droplist Shows the named NPCs drop list. Ussage - //show_droplist npc_id

//edit_drop Edits the named NPCs droplist. Ussage - //edit_drop npc_id item_id [min max sweep chance]

//add_drop Adds a drop to the named NPCs droplist. Ussage - //add_drop npc_id item_id [min max sweep chance]

//del_drop Deletes a drop to the named NPCs droplist. Ussage - //del_drop npc_id item_id

//showShop - Shows a targetted vendors shoplist.

//showShopList - Shows a targetted vendors shoplist.

//addShopItem Adds an item to a vendors shop. Ussage - //addShopItem Shop_ID item_id Price

//delShopItem Deletes an item from a vendors shoplist. Ussage - //delShopItem Shop_ID item_id

//editShopItem Edits an item in a vendors shoplist. Ussage - //editShopItem Shop_ID item_id Price

//reload_quest - Reloads quest data.

//walk -

//explore -

//gonorth -

//gosouth -

//goeast -

//gowest -

//goup -

//godown -

 

 

See SIEGES . For the following siege commands

//setcastle -

//clean_up_siege -

//spawn_doors -

//move_defenders -

//startsiege -

//endsiege -

//list_siege_clans -

//add_defender -

//add_attacker -

//clear_siege_list -

//sgspawn

//siege - Castle names: gludio, giran, dion, oren

 

 

//box_access - with box targetted, shows access list

//box_access char1 char2 to add players to box Usage - //box_access kadar LadyPain

//box_access no char1 removes player from box access Ussage - //box_access LadyPain no kadar

//forth -

//bsh -

//jython -

//failed -

//fight_calculator -

//fight_calculator_show -

//fcs -

//play_sounds -

//nokarma - removes karma from target player

//setkarma value - sets karma of target player to value

//setew value sets enchantment of target player currently equipped weapon to value Usage - //setew 9999

//banchat mutes a player Usage - //banchat kadar

//unbanchat unmutes a player Usage - //unbanchat kadar

//polymorph character npc id

//polymorph item id to poly target into id

//polyself Used to polymorph yourself into a mob

//unpolyself Returns you to the normal state

//polymorph item Polymorphs an item

//invis to hide your character

//invisible to hide your character

Character will still show to the player who uses the command, however an "Invisible" Title indicates you are invisible.

//vis to unhide your character

//visible to unhide your character

//earthquake Creates an earthquake

//para_all - Paralyzes all players}}

//unpara_all - Unparalyze all players

//para - Paralyze Target

//unpara - Unparalyze Target

//bighead Gives target a big head

//shrinkhead Returns targets head to normal size

//test These //test commands are for the universe mapping feature (developmental)

//test uni flush

//test hash

//test uni

 

 

//res

//find_mammon lists the current location (if any) of the Mammon NPCs

//show_mammon Forces the randomly-spawned Mammons to become visible.

//hide_mammon Forces the randomly-spawned Mammons to become invisible.

//list_spawns Lists all the spawns for the specified NPC ID.

//admin_gmliston (To add Gm from gmlist)

//admin_gmlistoff (To remove GM from gmlist)

//admin_silence (To enable/disable private message mode)

/block name

/unblock name

/blocklist

/allblock

/allunblock

//spawn mob_name|mob_id [quantity] [respawn_time_secs] //spawn kaboo_orc

//heal heals yourself

//heal (with a character selected) - heals selected character

//heal - heals all characters within

//heal - heals character with the name . Does not have to be targeted.

//give_all_skills it will give your target all the skills he can learn at his level with his class

/friendlist

//openall opens all doors

//closeall closes all doors

//unspawnall remove all npcs from world

//respawnall reload npc data

Guest
This topic is now closed to further replies.


  • Posts

    • Where I can buy a cheap domain .com? cheapest I found was on Godaddy for 12 euro and Hostinger for 10 euro.
    • Hello everyone, here's a simple and useful idea for any type of server.   This code applies a discount when a player makes a purchase inside a clan’s castle or clan hall, offering a benefit to clan members who own a castle or clan hall. Important: Merchant transactions must be handled through multisell, not buylist. The discount is directly applied within the multisell, so the price shown is already reduced.   "For example, if a scroll costs 1000 Adena and you set a 20% discount in the config, the final price when purchasing inside a castle or clan hall will be 800 Adena."   This code is developed on the public aCis 401 revision.   public static int CLAN_BASE_OWNERSHIP_MERCHANT_DISCOUNT; CLAN_BASE_OWNERSHIP_MERCHANT_DISCOUNT = clans.getProperty("ClanBaseOwnershipMechantDiscount", 20); # If clan owns a clan hall or castle, all members have a discount of X% at merchant transactions (multisell). # Discount applies only inside the base (castle or clan hall). ClanBaseOwnershipMechantDiscount = 20   /** diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MultisellData.java b/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MultisellData.java index 556e111..bbf8e69 100644 --- a/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MultisellData.java +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MultisellData.java @@ -101,7 +101,7 @@ do { // send list at least once even if size = 0 - player.sendPacket(new MultiSellList(list, index)); + player.sendPacket(new MultiSellList(list, index, player)); index += PAGE_SIZE; } while (index < list.getEntries().size()); diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/MultiSellChoose.java b/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/MultiSellChoose.java index 7c82c5b..1654abc 100644 --- a/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/MultiSellChoose.java +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/MultiSellChoose.java @@ -6,6 +6,7 @@ import net.sf.l2j.Config; import net.sf.l2j.gameserver.enums.FloodProtector; import net.sf.l2j.gameserver.enums.StatusType; +import net.sf.l2j.gameserver.enums.ZoneId; import net.sf.l2j.gameserver.enums.items.CrystalType; import net.sf.l2j.gameserver.model.Augmentation; import net.sf.l2j.gameserver.model.actor.Player; @@ -225,6 +226,20 @@ return; } + if (player.isInsideZone(ZoneId.CLAN_HALL) && player.getClan() != null && player.getClan().hasClanHall()) + { + e.setItemCount(e.getItemCount() * (100 - Config.CLAN_BASE_OWNERSHIP_MERCHANT_DISCOUNT) / 100); + if (e.getItemCount() == 0) + e.setItemCount(1); + } + + if (player.isInsideZone(ZoneId.CASTLE) && player.getClan() != null && player.getClan().hasCastle()) + { + e.setItemCount(e.getItemCount() * (100 - Config.CLAN_BASE_OWNERSHIP_MERCHANT_DISCOUNT) / 100); + if (e.getItemCount() == 0) + e.setItemCount(1); + } + if (Config.BLACKSMITH_USE_RECIPES || !e.getMaintainIngredient()) { // if it's a stackable item, just reduce the amount from the first (only) instance that is found in the inventory diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/network/serverpackets/MultiSellList.java b/aCis_gameserver/java/net/sf/l2j/gameserver/network/serverpackets/MultiSellList.java index 9269b06..c6102a0 100644 --- a/aCis_gameserver/java/net/sf/l2j/gameserver/network/serverpackets/MultiSellList.java +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/network/serverpackets/MultiSellList.java @@ -2,6 +2,9 @@ import static net.sf.l2j.gameserver.data.xml.MultisellData.PAGE_SIZE; +import net.sf.l2j.Config; +import net.sf.l2j.gameserver.enums.ZoneId; +import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.model.multisell.Entry; import net.sf.l2j.gameserver.model.multisell.Ingredient; import net.sf.l2j.gameserver.model.multisell.ListContainer; @@ -15,7 +18,9 @@ private boolean _finished; - public MultiSellList(ListContainer list, int index) + private Player _player; + + public MultiSellList(ListContainer list, int index, Player player) { _list = list; _index = index; @@ -28,6 +33,8 @@ } else _finished = true; + + _player = player; } @Override @@ -74,7 +81,14 @@ { writeH(ing.getItemId()); writeH(ing.getTemplate() != null ? ing.getTemplate().getType2() : 65535); - writeD(ing.getItemCount()); + + if (_player.isInsideZone(ZoneId.CLAN_HALL) && _player.getClan() != null && _player.getClan().hasClanHall()) + writeD((ing.getItemCount() * (100 - Config.CLAN_BASE_OWNERSHIP_MERCHANT_DISCOUNT) / 100) < 1 ? 1 : ing.getItemCount() * 80 / 100); + else if (_player.isInsideZone(ZoneId.CASTLE) && _player.getClan() != null && _player.getClan().hasCastle()) + writeD((ing.getItemCount() * (100 - Config.CLAN_BASE_OWNERSHIP_MERCHANT_DISCOUNT) / 100) < 1 ? 1 : ing.getItemCount() * 80 / 100); + else + writeD(ing.getItemCount()); + writeH(ing.getEnchantLevel()); writeD(0x00); // TODO: i.getAugmentId() writeD(0x00); // TODO: i.getManaLeft()  
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt
    • WTB EXP ETERNAL 10x new dm.
    • This project is based on the latest public aCis sources (revision 401) and supports a multi-client system (C4 & IL), making it suitable for custom usage but not for retail.   You can configure the SelectedClient option in server.properties and loginserver.properties to switch between C4 and IL.  Both clients are fully synchronized, including login, server selection, packets, and geodata.   Notable Features: - Completed the login and server selection phase for both clients. - Synchronized all packets to support both clients (including some specific features). - Reworked the datapack and SQL files (excluding HTML files) to work seamlessly with both clients. - Added geodata support for both clients. - Adapted nearly all AI, scripts, bosses, HTML, and MULTISELL files to match C4 functionality. - Reduced the maximum clan level from 8 to 5 (C4 feature). - Rewrote clan HTML to remove C5-C6 features.   Disabled the following C5 and C6 features: - Divine Inspiration (C6 feature). - Clan skills and clan reputation points (C5 feature). - Pledge class (C5 feature). - Hero skills (C5 feature). - Dueling system (C6 feature). - Augmentations (C6 feature). - Cursed weapons (C5-C6 feature).   General Improvements: - Performed a general HTML cleanup and optimized features based on the client version. - Added an option to display the remaining time of disabled skills. - Skill timestamps now update when using the skill list.   This flexibility allows you to create a unique progression system tailored to your needs. The price for the diff patch, which can be applied to aCis public sources, is €150. For inquiries, please contact me via PM or Discord (ID: @Luminous).
  • Topics

×
×
  • Create New...