Jump to content

Recommended Posts

Posted

So what results you got? I should solve your crash issue

 

It works fine for me, but I run it only on win2k8 machines.

zconll tries to run it on win2k3 and gets errors he wrote.

I'm unfortunatelly unable to reproduce it :(

Posted (edited)

ERESSEA HELP ME HOW TO MAKE THE INPLEMENTACAO CODE IN SERVER WANT TO FOLLOW IN YOUR PROJECTS.

Hi, start with reading readme on bitbucket (you'll find link in the first post), then you basically need to download l2off gracia final euro pack, visual studio 2005, clone sources from bitbucket, build it, ...

 

When you're done with these steps (or have some questions), send me PM :)

Edited by eressea
Posted

I've just fixed instance restriction bug so now it should have all bugfixes from MXC 1.07. It's a pity I don't have the sources, it would have been much faster if I had them :)

 

Does anyone know about some other bug that needs fixing?

 

I know there are various bugs involving hide skill, but I'm not sure how to fix them (not technically, I mean I don't know the correct behaviour). What should my pet do if I use hide skill? Continue to follow me or not? What should other pet (attacking me) do when I use hide skill? Lose target and stop attacking, is it correct? :)

Posted

I've spent quite some time trying to understand that monstrosity. Can you explain whats goin on here?

void IncRef(const char *file, const int line)
	{
		reinterpret_cast<void(*)(T*, const char*, int, UINT32)>(
			(*reinterpret_cast<void***>(obj))[1])(obj, file, line, type);
	}

	void DecRef(const char *file, const int line)
	{
		reinterpret_cast<void(*)(T*, const char*, int, UINT32)>(
			(*reinterpret_cast<void***>(obj))[2])(obj, file, line, type);
	}

And by the way, operator * returns T&, not T*

Posted

I've spent quite some time trying to understand that monstrosity. Can you explain whats goin on here?

void IncRef(const char *file, const int line)
	{
		reinterpret_cast<void(*)(T*, const char*, int, UINT32)>(
			(*reinterpret_cast<void***>(obj))[1])(obj, file, line, type);
	}

	void DecRef(const char *file, const int line)
	{
		reinterpret_cast<void(*)(T*, const char*, int, UINT32)>(
			(*reinterpret_cast<void***>(obj))[2])(obj, file, line, type);
	}

And by the way, operator * returns T&, not T*

 

Hi, it's just a call to the second and third virtual function on given object (the first one being destructor)

 

Operator * can return whatever you want :) And as I'm working with pointers almost everywhere (it's not my choice, I have to use what's already in l2server.exe), I really don't need it to return reference as I would have to dereference it anyway.

Posted

Of course, you can make operator plus with logic of minus :)

I've been suspecting the virtual function table but the template thingy made me worry a bit, because what stops you from using it with lets say int? :) disaster!

Posted

What should my pet do if I use hide skill? Continue to follow me or not? What should other pet (attacking me) do when I use hide skill? Lose target and stop attacking, is it correct? :)

Interesting question. You can summono a pet and use gm hide and see what happens, most likely the same should be with hide skill :D

 

But well, since you are invis, pet should not follow you. I believe.Second question, yup - lose target + stop attack.

Posted

Of course, you can make operator plus with logic of minus :)

I've been suspecting the virtual function table but the template thingy made me worry a bit, because what stops you from using it with lets say int? :) disaster!

Dude you're never gonna win this argument of "proper" code especially on here... what stops you from using it with an int? not being an idiot that's what, you're acting like this is some in-production project for a corporation with a large development team... dude it's an extender for l2 with 1 dev working on it and some people throwing info around, chill with the "proper code" stuff lol

Posted (edited)

Interesting question. You can summono a pet and use gm hide and see what happens, most likely the same should be with hide skill :D

 

But well, since you are invis, pet should not follow you. I believe.Second question, yup - lose target + stop attack.

 

On GM hide your pet loses title but still follows.

On hide skill your pet hides too. So I think there's no bug in this part.

 

On hide skill enemy pet still follows and attacks you - this needs getting fixed.

Edited by eressea

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Yes he have account in MXC but didn't came here and didn't post nothing to protect his reputation, and MXC administration doing nothing about scammers seems old scammers accounts was unblocked too.
    • Thank you, Can I have the password ?
    • I'd love to get involved, add me on discord: ilikebeer.
    • Forever Lineage Interlude mid-rate built for people with one hour a night Chronicle: Interlude XP/SP: 25x  |  Drop: 10x  |  Adena: 12x  |  Spoil: 15x Enchant: Safe +3  |  Max +21 Fresh start: 11 September 2026 - server is live now Website: https://l2forever.eu Discord: https://discord.gg/96rdukHvbs Why this server exists I have wanted my own Lineage 2 server since I was a teenager. I tried, failed, came back, failed again. Fifteen years later I am a developer with a full-time job, a family, and maybe an hour before bed. Every server I tried as an adult made that hour feel wasted - log in, kill a few mobs, no real progress, log out annoyed. So I built the server I actually wanted to play. Everything below is designed around one question: can you log in, make real progress, and log out on your own terms in one session? What is different Rebirth and Talent Tree - hit level 80, reset to level 1, keep your gear and skill enchants, earn talent points. Build a different character every rebirth. Bounty Hunter - daily hunt tasks with rank progression, Bounty Coins, and rare bounties. One bounty fits one session. Companions - a summonable tank, healer, or damage ally for any class. First one costs three bounties. Solo play without a solo class. Auto-farm - your character farms on its own for 2 hours a day at full XP and half loot. Solo, monsters only. The only automation allowed. Alchemy - brew stronger HP/MP potions from monster drops, no recipe needed. Custom Gludin start zone - buffs, passive mobs, and the NPCs you need, through your first 20 levels. Shorter class quests - 1st, 2nd, 3rd class, Subclass and Noblesse, all through one NPC. Champions - 5% spawn above level 40, 3x HP, 8x XP, 4-5x loot. Worth stopping for. Scheme buffer, shop up to C-grade, teleporter - B-grade and above come from crafting, drops, and quests. Seasons - each season brings Talent Tree changes. Your master account, titles, and cosmetics carry over. The rules I hold myself to Solo is the default, not a punishment. No clan required, no raid schedule, no guilt when you log off. Paid tiers add convenience and time, not power - the free baseline is the full game. No surprise wipes: if another fresh start ever happens, it is announced at least a month ahead. One developer, no shady admin, and I play on it myself. This is the server I needed fifteen years ago. Come see what I made. https://l2forever.eu  
    • 🚀 September Restock Live! Upgrade your personal Gmail to 5TB + Gemini Pro 12-18 Months instantly. 100% private and automated delivery!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..