csm2all.0 0 Posted February 2, 2022 Report Share Posted February 2, 2022 Dear all, would like to understand if it is possible to combine sources? I'm relatively new and just doing a small-scale attempt to set up a beefier RS3 private server for local play based on other RS3 sources already released. Link to comment Share on other sites More sharing options...
populate-eagle 0 Posted February 2, 2022 Report Share Posted February 2, 2022 can you explain what you mean by combine? you can take code from one and stick it in another with a bit of work yes Link to comment Share on other sites More sharing options...
Reeses 0 Posted March 5, 2022 Report Share Posted March 5, 2022 No unless you transfer all the code over and fix it if needed. Link to comment Share on other sites More sharing options...
subliminal_society 0 Posted April 25, 2022 Report Share Posted April 25, 2022 This is called "merging", and there is not a specific set of instructions that would effectively apply to every instance of merging you would need to do... The best advice that I can personally give to you is to first learn the programming language & how to effectively think like the computer & write algorithms for the computer to follow. You can learn a programming language- the different data types, syntactic sugars, the different functions, how to use events & delegates, etc.. But until you learn how to apply those tools towards an actual product that accomplishes something, you will not understand how to "program" Think of it in terms like learning a language... You can learn the words "dog", "park," and "frisbee" Learning how to write an algorithm with those words would be to create the sentence "I took my dog to the park to let him play with his frisbee" You have to learn how to structure & finagle your way to a working set of programmatic instructions to get the end result that you want. Take up small projects & complete them, etc.. Link to comment Share on other sites More sharing options...
inuyasha123 2 Posted January 19, 2023 Report Share Posted January 19, 2023 (edited) On 4/24/2022 at 10:51 PM, subliminal_society said: This is called "merging", and there is not a specific set of instructions that would effectively apply to every instance of merging you would need to do... The best advice that I can personally give to you is to first learn the programming language & how to effectively think like the computer & write algorithms for the computer to follow. You can learn a programming language- the different data types, syntactic sugars, the different functions, how to use events & delegates, etc.. But until you learn how to apply those tools towards an actual product that accomplishes something, you will not understand how to "program" Think of it in terms like learning a language... You can learn the words "dog", "park," and "frisbee" Learning how to write an algorithm with those words would be to create the sentence "I took my dog to the park to let him play with his frisbee" You have to learn how to structure & finagle your way to a working set of programmatic instructions to get the end result that you want. Take up small projects & complete them, etc.. i would like to know if there is a app or way to learn programming like from k -12 ? if you know what i mean for the languages such as java key example . i would like to find a way of using java like im learning to read for the first time as a kid thus getting the most basics through the advanced. example grasshopper on android phones teaches basics to build in visual basic language. Edited January 19, 2023 by inuyasha123 added extra and didnt want to spam. Link to comment Share on other sites More sharing options...
SorrowHarvest 0 Posted February 19, 2023 Report Share Posted February 19, 2023 You will have to find the triggers that call specific methods or functions and add the code to the trigger. The best bet is not to merge source code instead add onto it. Like: [CODE] @Override public void forceClose() { player.getHintIconsManager().removeUnsavedHintIcon(); player.getMusicsManager().reset(); if (Settings.HOSTED) FriendsChat.requestJoin(player, Utils.formatPlayerNameForDisplay("help")); String ip = player.getSession() != null ? player.getSession().getIP() : null; if (ip != null && !ips.contains(ip)) { ips.add(ip); /* * The Player will only be allow 3 Accounts Per IP. * The Player's Main Account will start out with Selective Requirement Levels * Concerning the action of worship and devotion to Zamorak. */ player.getSkills().addXp(Skills.ATTACK, 1210421); // Level 75 for ZGS player.getSkills().addXp(Skills.DEFENCE, 1210421); // Level 75 for Warpiest player.getSkills().addXp(Skills.PRAYER, 4470); // Level 20 player.getSkills().addXp(Skills.MAGIC, 273742); // Level 60 player.getSkills().addXp(Skills.RUNECRAFTING, 1475581); // Level 77 /* * This Server is basis of Zamorakian Worship, other Devotion will be implemented. * Upon God Wars, creating a Spell or Curse that Target Other NPC to AGGRO other Target NPC. * * Devotion will be a form as currency as well. Loyality Points will be rewarded every 10 minutes. */ player.getInventory().addItem(new Item(2417, 3)); // Zamorak Staff x 3 player.getInventory().addItem(new Item(3842, 3)); // Zamorak Book of Chaos x3 player.getInventory().addItem(new Item(10461, 3)); // Zamorok Robe Top x 3 player.getInventory().addItem(new Item(10469, 3)); // Zamorak Robe Legs x 3 /* * Player starts out with 10k coins and 1k Blood Money 1 pair of dice */ /* * Main Account will have Adult Zamorak Hawk * Subjucations will only have chicks. * 12506 - Zamorak chick * 12507 - Zamorak bird * 12508 - Zamorak hawk * * 13453 - Zamorak godsword * 11708 - Zamorak hilt */ player.getInventory().addItem(new Item(12508, 1)); // Zamorak hawk player.getInventory().addItem(new Item(13453, 1)); // Zamorak godsword /* * 32703 - Blood amulet of fury * 32704 - Blood amulet of fury * 32705 - Blood amulet of fury (empty) = Blood Money Pendant * 36735 - Soul gem = Gem used to Charge Blood Money Pendant * 36836 - Soul-in-a-box = Drops from Demons */ player.getInventory().addItem(new Item(32705, 1)); // Blood Money Pendant player.getInventory().addItem(new Item(36735, 1)); // Soul gem player.getInventory().addItem(new Item(36836, 3)); // 3 x Souls in a Box /* * In order to exchange Blood Money or even collect it, you must have a charged Blood Amulet * The amount of charges decrease upon every transaction concerning blood money. * IF you had 100% of 666 Charges, you can only Trade, Exchange, Collect, or even Use Blood Money 666 times. * To recharge amulets you have to collect the souls of your sacrifices, killing, and offerings to Zamorak. * To recharge amulets you have to use Soul Gem on Chaos Altar in Wilderness with a total Limted Kill Count. * The Kill Count is concerned based on a selection of creatures. * You can accelerate kill counts in God Wars Dungeon or Slaying Demons. * K'ril Tsutsaroth requirement 1 Kill per full Charge of Soul Gem * Tormented demon requirement 3 Kills per full Charge of Soul Gem * Abyssal Demon requirement 6 Kills per full Charge of Soul Gem * Black Demon requirement 13 Kills per full Charge of Soul Gem * Greater Demon requirement 36 kills per full Charge of Soul Gem * Lesser Demons requirement 66 kills per full Charge of Soul Gem * Imp requirement 666 kills per full Charge of Soul Gem */ player.getInventory().addItem(new Item(3848, 1)); // Lighthouse Key player.getInventory().addItem(new Item(995, 10000)); // Common Coin x 10k } else player.getPackets().sendGameMessage( "You may only have 1 Main Account per player.<br>You are only allow 3 accounts per player!<br>Please respect the Rules."); player.getDialogueManager().startDialogue( "SimpleNPCMessage", 23009, "You have Entered the Abyssal Dimensional Space of SerraHist, where the demons sleeps.<br>You dare venture into the Darkness!!<br>All are welcome!!"); player.getInventory().addItem(new Item(3849, 1)); // Rusty Casket /* * Rusty Caskets will contain Treasure Hunter Keys or a Random Rare Reward. * Lighthouse Key + Rust Casket = TRIGGER_OPEN + ITEM:=(Treasure Hunter Key) */ player.getInventory().addItem(new Item(28775, 1)); // Warpriest of Zamorak gauntlets v3 player.getInventory().addItem(new Item(28778, 1)); // Warpriest of Zamorak boots v3 player.getInventory().addItem(new Item(28781, 1)); // Warpriest of Zamorak cuirass v3 player.getInventory().addItem(new Item(28784, 1)); // Warpriest of Zamorak greaves v3 player.getInventory().addItem(new Item(28787, 1)); // Warpriest of Zamorak helm v3 player.getInventory().addItem(new Item(28790, 1)); // Warpriest of Zamorak cape v3 player.getInventory().addItem(new Item(12506, 1)); // Zamorak chick player.getInventory().addItem(new Item(11708, 1)); // Zamorak hilt } ------------------------------------------- /* * Quest Item Creating */ /* ZHAZA CODE */ case 2417: // Zammy Staff // Zammy Brew & Zammy Staff & 666 Blood Runes (o) if (player.getInventory().containsItem(2450, 1) && player.getInventory().containsItem(2417, 1) && player.getInventory().containsItem(17383, 666)) { if (!player.getInventory().hasFreeSlots()) { player.getPackets().sendGameMessage("Not enough space in your inventory."); return; } if (!player.getInventory().containsItem(17385, 6)) { player.getPackets().sendGameMessage("You do not bear the significant amount of Blessed Blood Runes<br>You need a total of 6 Blessed Blood Runes"); return; } if (!player.getInventory().containsItem(2450, 1)) { player.getPackets().sendGameMessage("The thirst of power is not great enough!!<br> I need a Zamorakian Brew"); return; } player.setNextAnimation(new Animation(811)); player.getInventory().deleteItem(17385, 665); player.getInventory().deleteItem(2450, 1); player.getSkills().addXp(Skills.RUNECRAFTING, 362420); //Runecraft player.getInventory().addItem(17454, 3); // 3 x RoseBlood player.getInventory().addItem(28251, 1); // 1 x Unfermented Zammy Wine } else { player.getPackets().sendGameMessage("You have not shown enough devotion to Zamorak!<br>Now DIE!!!"); //player.getVarsManager().sendVarBit(2032, currentTarget.getEffectsManager().hasActiveEffect(EffectType.POISON); } break; //------------- END ------------ [/CODE] This was edited using "KEYWORDS" that were pre-programmed into the source code. If you have conflicting KEYWORDS that are called there would be crash. Link to comment Share on other sites More sharing options...
SorrowHarvest 0 Posted February 19, 2023 Report Share Posted February 19, 2023 What you really want to figure out is editing CACHE files, that is where all the model data is held. Updates to the CACHE holds varibles such as item, model, icon, stats, etc. You want to find a solid foundation of a revision and stick with that... You looking to combine content from one version to another. You want to learn about how to edit the CACHE. Link to comment Share on other sites More sharing options...
lacoyotera13 3 Posted March 15, 2023 Report Share Posted March 15, 2023 thanks for the info Link to comment Share on other sites More sharing options...
Dark vador 0 Posted May 21, 2023 Report Share Posted May 21, 2023 ok what is this? Link to comment Share on other sites More sharing options...
andyr99 0 Posted May 24, 2023 Report Share Posted May 24, 2023 . Link to comment Share on other sites More sharing options...
jam3zross 1 Posted July 10, 2023 Report Share Posted July 10, 2023 Would be complicated but is possible, yes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now