Jump to content

vampir

Legendary Member
  • Posts

    1,899
  • Credits

  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    0%

Everything posted by vampir

  1. Maybe guy who you have helped, will improve his skills and someday help you. Helping others is cool, in larger perspective it's always worth the effort :)
  2. I think you might be talking about HotSwap. You can see the differences in here: http://zeroturnaround.com/software/jrebel/features/
  3. I didn't test it on live server, but i think it wouldn't work well because: 1. Longer start up time as you said 2. Most likely lower performance would cause lags 3. Reloading larger classes would be felt by players in game For development, its great :)
  4. There is a very cool software that i use, it is called JRebel(http://zeroturnaround.com/software/jrebel/). What can it do? You can reload any piece of code, without need to restart the server. Let's say you created quite a large code, but simple error doesnt allow you to test it. Normally you would need to: 1. Fix the error 2. Compile fixes(3 seconds. If you are wondering how i compile my whole source code in 3 seconds, look below) 3. Close the Server(Lets say 2 seconds) 4. Create the Jars and paste them(3 seconds) 5. Start the server again(33 seconds) 6. Login(10 seconds) 7. Test So totally it takes 51 seconds from fixing to next testing With JRebel you need to: 1. Fix the error 2. Compile fixes(3 seconds) 3. Create the Jars and paste them(3 seconds) 4. Test With JRebel it takes 6 seconds. How long it takes to start the server with JRebel? JRebel: 83 seconds NO JRebel: 33 seconds So that's big disadventage. If you are working on the code that runs at start of the server, its worth to disable the JRebel(it's very easy to disable it). How applying the changes looks like? 1. Fix the error/make the improvement/add something new: 2. Compile changed classes 3. Build the Jars and paste them(I have got build file which automatically pastes my jars) When class is used by JVM, you will see the message that it was updated 4. Test How to install JRebel? 1. Get Trial(Don't worry about 2 weeks, it's very easy to crack or you can just buy it) - https://zeroturnaround.com/software/jrebel/download/ 2. Activate it on your pc - Intellij IDEA - https://zeroturnaround.com/software/jrebel/quickstart/intellij/#!/activation - Eclipse - https://zeroturnaround.com/software/jrebel/quickstart/eclipse/#!/activation 3. Download JRebel.jar - https://zeroturnaround.com/software/jrebel/download/thank-you/?file=jrebel-6.1.3-nosetup.zip 4. Paste JRebel.jar near StartGameServer.bat 5. Put -javaagent:jrebel.jar just after java in StartGameServer.bat 6. You need to create jrebel folder near StartGameServer.bat and - Add there jars that you want to be reloadable. I am adding just gameserver + scripts + commons - So you will need to have those 3 jars in 2 locations: your libs + jrebel folder - While launching the gameserver, remember that jars in jrebel must be exactly the same as your jars in libs, or JRebel will not work fine 7. You need to create jrebel.xml, add it into your configs file - Thats how my jrebel.xml looks like: http://pastebin.com/hNzjDE6R - You should edit jarset dir, to link to your jrebel folder 8. Launch the gameserver. You should see something like this How to compile my changes so fast? - I am compiling just classes that were modified lately, not the whole source - I have got Build file which copies created jar to my libs + jrebel folder So for the first time i click Build > Rebuild Project in Intellij IDEA(i don't know about eclipse). It takes a while but after that i can use Compile 'Player.java' or Make Project which compiles just changes files The Compile files are put to "C:\Users\Michal\IdeaProjects\L2Tales\out\production\L2Tales" My Build file: http://pastebin.com/MbkCBBVh
  5. I will teach you how to fix your java bugs, a lot more effectively. What you will need: https://www.jetbrains.com/idea/ First i will show what you will be able to do, and at the end how to set it up. 1. Setting Break Points: When JVM will reach the breakpoint, whole game will freeze(so just use it on your test server) and you will be able to see: - Stacktrace(it tells you the path that JVM passed to reach the Break Point) - Variable values(you can change however you like) - You can setup the Watches(if you have got access to the object, you can take look for its content) - You can run any code fragment you like 2. You can make Break Point stop, only when condition returns true 3. You can log messages to the IDE console without suspending the thread How to install it? 1. Click Run > Edit Configurations 2. Add new Remote(we are setting up gameserver that will run on our pc, it is called remote because it is not started by IDE) 3. Set the name, click Shared Memory + Attach mode(Listen can be useful sometimes, but its faster to run the server with Attach mode), set the port(i use ports from 5005-5015) 4. Edit your StartGameServer.bat. After java add "-agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=5007" 5. Run your server 6. In IDE click Run > Debug 'GameServer'
  6. I didnt watch the video(you should write in which moment those skills are used, its 26 mins...) but both of them are originally in skill-grp, you will not need to edit lineageeffect.u While checking all existing skills in h5 i saw them but i dont remember ids :/ I suggest you to get patch of that server and check if any skills were added, you can steal them like that.
  7. You need to send different nameColor in CharInfo packet. There are 2 places where you can inject the code: 1. In constructor of CharInfo. In my sources i have forPlayer parameter. 2. writeImpl() method in CharInfo.java. You can get info to who the packet is sent(getClient().getActiveChar()). The code itself should look something like this: if(player.getParty() != null && player.getParty().equals(forPlayer.getParty()) _nameColor = 0x666666; else _nameColor = player.getVisibleNameColor(); Take in mind you most likely have different sources than mine, so the exact code will not work but the way of doing this feature will be the same.
  8. Map of Abandoned Camp:
  9. LightFusion made new Effects(similar to Hero Aura) for me. Very skilled and trusted :)
  10. If you are talking about chat types like All, Trade, Battlefield, Hero then sure, it's easy to change them. Use XDat Editor
  11. You are looking for https://sites.google.com/site/l2clientmod/l2smr
  12. Server can handle a lot more packets than just 15k. Anarchy isn't part of our team. How do you know i am going to lie about the online or ddos other servers. You don't know me, i never opened my server before so how can you tell?
  13. Check it from inside, you will notice Polished Crystals :P
  14. We are finally ready with the features. We just need to polish everything, fix issues that will occur in the next days and we are ready for Grand Opening. Open Beta will last for at least a week. It's not going to be boring, we have prepared everything so even small amount of players can have a lot of fun. Share your suggestions and bug reports on the Forum or talk to us in Game. Beta Starts at: 20:00 GMT+1 Updater can be found on How to Connect Page
  15. Our In Game Forum. Also Trade Chat is replaced with Shoutbox(connected to Shoutbox in www.l2raze.com/forum. I am sure soon our forum will be filled with new topics and posts :)
  16. Thanks for sharing Jars with us :)
  17. You can. Just get L2_RadarMap.utx from different Chronicle.
  18. It's not in server files but in client. Check Npcgrp.dat
  19. Do you think i am working few months, spending a lot of money(advertisement, server machine, ddos protection) to get absolutely nothing? I am not a rich man, i am having a lot of fun from working on the server and i want it to be top pvp server for a long time. If you are willing to pay for those things, there will be no donations on the server. Max enchant can be gained not only from donation, but also from Polished Crystals.
  20. Max Enchant is +16. You can get it by having: Polished Crystals - Champions League, Survival, Olympiad Matches Donation Coins - Donation, Auction House
  21. Just because most of the things are given when player joined the game, it doesn't mean there is nothing to fight for
  22. L2Raze - H5 Instant PvP Server I would like to introduce You, something you have never seen before Unique Features, Massive PvP Battles, Stable Server for Years Custom Character Creation Instant 85 Level Free Elegia +12 Free Level 4 Attributes Skills Enchanted to +20 Free Boss Jewelry Unique Storyline Sheredyns are taking control over Aden Continent King with shattered army is hiding in Abandoned Camp Champions League Whole Server is taking part in the Great Battle Complete assigned Tasks & earn Champion Status Fight Types: Slay the Bosses King of the Hill Enter the Void Form the Barrier Provide Equipment Rift Get the Treasure Kill Epic Boss Residence Siege Quests during Matches: Kill Player Hunt specific Race Hunt specific Clan Hunt specific Class Hunt Monsters Hunt Members of the Party Killing Spree: Kill enemy players to get greater rewards Time limit for hunting down next player Epic Sieges Whole server taking part in the Sieges 2 Siegable Castles 3 Siegable Fortress Devastated Castle can be taken during 1 hour long Siege Bandit Stronghold for the Clan with most PvP kills Survival Enter second dimension and fight with invaders Stand alone or with Party and win Special Status Special Statuses Hero Status from Olympiad Competition Killer Status for most PvP Kills Champion Status for biggest Champion Score Stalker Status for Kills in Solo Survival Crusader Status for Kills in Party Survival www.l2raze.com Open Beta: 15th April Grand Opening: 1st May
×
×
  • Create New...