Jump to content

Celestial_Bloodlust

Members
  • Posts

    12
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Celestial_Bloodlust

  1. Hello maxcheaters. Got a question: Is it possible to make items like Blue Eva or Golden Dragon etc etc to be dropped at all players in the party, if its random, for example if 3 members in the party and the blue eva are 3 then everyone will get from 1 and not someone will get all the 3? Thx in advance!
  2. here you are https://www.l2jbrasil.com/index.php?/topic/120930-source-l2-pride-ct-23-gracia-final/
  3. Hello, im searching for partners to open a server, for more info pm me
  4. Hello im searchinhg to buy a logo for my game, for more info pm me
  5. Dear Maxcheaters, I offer my services in l2j development for any chronicle: For more info pm me here Creation of new mods Fixes for server/mods A Java Updater (just code with a simple ui) A VB.NET Updater (you can request the ui you want) I can also build maps, but currently cant import them to l2 For more info pm me
  6. Note sure where to share it, so im sharing it here. About the code: Its a byte buffer (it can be used for networking, server-client packet reader/sender) using System; using System.Collections.Generic; using System.Text; namespace Server { class Buffer : IDisposable { #region "MAIN" List<byte> _bufferlist; byte[] _readbuffer; int _readpos; bool _buffupdate = false; public Buffer() { _bufferlist = new List<byte>(); _readpos = 0; } public int GetReadPos() { return _readpos; } public byte[] ToArray() { return _bufferlist.ToArray(); } public int Count() { return _bufferlist.Count; } public int Lenght() { return Count() - _readpos; } public void Clear() { _bufferlist.Clear(); _readpos = 0; } #endregion #region"WRITE DATA" public void WriteBytes(byte[] input) { _bufferlist.AddRange(input); _buffupdate = true; } public void WriteByte(byte input) { _bufferlist.Add(input); _buffupdate = true; } public void WriteInteger(int input) { _bufferlist.AddRange(BitConverter.GetBytes(input)); _buffupdate = true; } public void WriteFloat(float input) { _bufferlist.AddRange(BitConverter.GetBytes(input)); _buffupdate = true; } public void WriteString(string input) { _bufferlist.AddRange(BitConverter.GetBytes(input.Length)); _bufferlist.AddRange(Encoding.ASCII.GetBytes(input)); _buffupdate = true; } public static byte[] Decrypt(byte[] data) { byte[] _data = data; // _data = Crypto.DecryptData(data, data.Length); // _data = Crypto.CryptBody(data, data.Length); return _data; } #endregion #region"READ DATA" public int ReadInteger(bool peek = true) { if(_bufferlist.Count > _readpos) { if(_buffupdate) { _readbuffer = _bufferlist.ToArray(); _buffupdate = false; } int value = BitConverter.ToInt32(_readbuffer, _readpos); if (peek & _bufferlist.Count > _readpos) { _readpos += 4; } return value; } else { throw new Exception("Buffer is past his Limit"); } } public float ReadFloat(bool peek = true) { if (_bufferlist.Count > _readpos) { if (_buffupdate) { _readbuffer = _bufferlist.ToArray(); _buffupdate = false; } float value = BitConverter.ToSingle(_readbuffer, _readpos); if (peek & _bufferlist.Count > _readpos) { _readpos += 4; } return value; } else { throw new Exception("Buffer is past his Limit"); } } public byte ReadByte(bool peek = true) { if (_bufferlist.Count > _readpos) { if (_buffupdate) { _readbuffer = _bufferlist.ToArray(); _buffupdate = false; } byte value = _readbuffer[_readpos]; if (peek & _bufferlist.Count > _readpos) { _readpos += 1; } return value; } else { throw new Exception("Buffer is past his Limit"); } } public byte[] ReadBytes(int lenght, bool peek = true) { if (_buffupdate) { _readbuffer = _bufferlist.ToArray(); _buffupdate = false; } byte[] value = _bufferlist.GetRange(_readpos, lenght).ToArray(); if (peek & _bufferlist.Count > _readpos) { _readpos += lenght; } return value; } public string ReadString(bool peek = true) { int length = ReadInteger(true); if (_buffupdate) { _readbuffer = _bufferlist.ToArray(); _buffupdate = false; } string value = Encoding.ASCII.GetString(_readbuffer, _readpos, length); if (peek & _bufferlist.Count > _readpos) { _readpos += length; } return value; } public static byte[] Encrypt(byte[] data) { byte[] _data = data; // _data = Crypto.EncryptData(_data, _data.Length, 5); return _data; } #endregion #region"IDisposable" private bool disposedValue = false; protected virtual void Dispose(bool disposing) { if(!disposedValue) { if(disposing) { _bufferlist.Clear(); } _readpos = 0; } disposedValue = true; } public void Dispose() { Dispose(true); GC.SuppressFinalize(this); } #endregion } }
  7. Hello everyone! The question isnot about l2, but about java and didnt know where to post this. So im making a game with LWJGL but for a reason when i load a thread after loading the loaders,shaders etc the game freezes. I use thread for networking, when removed the threads the networking was ok, but ofc it stopped to w8 for a message and so on. The game source: www.mediafire.com/file/2ff82c2995yc3dq/src.rar And one more qustion Would this code work to take the xyz from a string? else if (message.startsWith("\\move:")) { float x, y, z; int clientID = Integer.parseInt(message.substring(6)); int countX = 0; int num = 7; while (num != 0) { num /= 10; ++countX; } x = Float.parseFloat(message.substring(6 + countX)); int countY = 7 + countX; int num1 = countY; while (num1 != 0) { num1 /= 10; countY ++; } y = Float.parseFloat(message.substring(countY)); int countZ = countX; int num2 = countZ; while (num2 != 0) { num2 /= 10; countZ++; } z = Float.parseFloat(message.substring(countZ)); player.increasePosition(x, y, z); return true; } else if (message.startsWith("\\cp:")) { Utils.alert("get xyz", "get xyz"); float x, y, z; x = Float.parseFloat(message.substring(4)); int countY = 4; int num1 = countY; while (num1 != 0) { num1 /= 10; countY ++; } y = Float.parseFloat(message.substring(countY)); int countZ = countY; int num2 = countZ; while (num2 != 0) { num2 /= 10; countZ ++; } z = Float.parseFloat(message.substring(countZ)); return true; } Thx in advance
  8. Celestial Bloodlust is an upcoming 3D MMORPG. We've used Kevin's tutorials for networking and Unity (C#, may use some other scripting languages too). Links Discord Channel: https://discordapp.com/channels/402539348500807702/402541550434779136 Website: http://celestialbloodlust.eu/ Game Setting The game will happen after a war of gods. The planer (name) will be the main planet, where before everything was peaceful, except some underworld monsters which were being kept in the underworld, but after the end of the war the planet has gotten corrupted. Races turned into each other, leading at a war, while they were forming three new kingdoms, but also these monsters broke free. Some races also got disappeared (humans). Races & Classes Gorons - People made of Rock - Classes: Strongarm (Tank) Greyguard (Fighter - Strength) Rocken (Mage - Rock & Earth Elements) Characteristics: Lower Speed, High HP and Strength and Low Mana, High Dmg, Low Stamina, High HP regen Shared Abilities: Strengthen (Increase armor self-buff), Stalagmites (AOE stun, around them) Hives - People that look like bees - Classes: Light Sentinel (Archer) Scout (Fighter - Agility) Beesop (Mage - Air and Bug Elements); Characteristics: Will be able to fly, high speed and Agility, Low HP and Mana Shared Abilities: Sting (Poising attack), Invisibility buff Zoras - People that look like fish - Classes: Ocean (Mage - Water Element) Prophet (Support and Healer) Caller (Summoner - Mostly with fish) Characteristics: Will swim faster with no HP loss, will be invisible and with high speed underwater when not in fight, fish won't attack them, Higher HP regen in water, Lower speed when not underwater Shared Abilities: Tsunami (Water attack), Mana Steal (Will steal mana from a target) Planeswalkers - Elemental Beings Wisp (Assassin - Critical Damage) Entity (Mage - 2 Chosen Elements) Being (Summoner of the 4 Elements) Characteristics: Able to gain experience 1.5x faster than all other races. However, Elements that give them disadvantage deals x4 damage towards them and they suffer stat reduction from normal classes Shared Abilities: Able to change Elements at any given time. Have the ability to turn to dust which cannot be targeted and reform with the elements present Dryads - People made of trees - Classes: Nature Sentinel (Archer) Treewalker (Summoner) Nature Singer (Mage - Nature & Earth Element) Characteristics: Low HP and Very High Mana, WHen they will be in a forest will have high HP and Mana regen Shared Abilities: Mass Root (Will root everyone around), Nature Veil (Will become invisible, but won't be able to attack or use any skill) Aragonians - People that look like dragons - Classes: Slayer (Fighter - Agility) Blazer (Mage - Fire Element) Dark Sentinel (Archer) Characteristics: Will have burnt (not usable wings), When inside fire will have ultra HP regen Shared Abilities: Eruption (Will deal a huge amount of damage to self and players around), Fly (Will be able to teleport to traveled locations) Game Gods Evil Gods: God of Death (Legor) - Will have many hands holding weapons with each hand, 1 head, black colour, red (shinigamy) eyes, closed mouth, wings made from bones, black cape with a hood. Goddess of Rot (Bistel) - A black mask will hide her face, grey colour, skeleton, will hold a scepter and a book. God of Fire (Firon) - Will be like a humanoid dragon, will hold 2 axes and will have burnt wings. Good Gods: Goddess of Sun (Solstres) - Will shine, angel wings, golden colour, white cape, will hold 2 shining daggers, white (Kaguya's) eyes. God of Nature (Plantor) - Hi will look like a tree and will hold an eye. God of Ice (Gondor) - Will look like the picture. The info will be updated soon with fotos and more!
  9. Hello everyone, im new to this forum. Im here to introduce to everyone an upcoming 3D MMORPG
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock