PDA

View Full Version : fight to the end


Willempie
07-12-2005, 04:49 PM
In certain fights (like PvP fights) you cannot use your special abilities, and you cannot run.

Would it be impossible/a stupid idea to add a "fight to the end" option for these fights? Especially for people who already have some DK's I can imagine that even fighting 10 rounds at a time can take quite some clicks. Personally, when I pvp I just want to get it over with, I cannot run anyway.

I've seen this kind of thing on the purple gemdust server, where you can use it also for your forest fights, but that might be a bit dangerous :twisted:

Nightwind
07-12-2005, 05:20 PM
sorry about that.

If you do take a look at the topics that come up for a search on "until end" and I do recomend it. You will see that there is a feature that would just let us set it active. As easilly as out 5 and 10 round autofights.

We did disable that, because the deaths caused by an accidental click are rather high.

But in the case of a limited interaction fight, master/pvp it brings up an intersting, and perhaps conciderable alternitive. Less page hits atleast.

I'll have to leave the 'is it possible' to those who code better then me, but I think it is slightly possible, that suc fights could be automated....

Willempie
07-12-2005, 05:28 PM
I know the feature exists (it's on gemdust like I mentioned) and I can clearly see the dangers. I checked the other thread (http://lotgd.net/forum/viewtopic.php?t=1135) where they briefly touched the 'limited' option (one poster mentioned it) after this thread was closed for a while :)

(oh and I did search for it, didn't find it there, I'm sorry)

Nightwind
07-12-2005, 05:50 PM
gemdust has it for all fights, and the tournament servrs have an assumption that you have a certain level of skill, central makes no such assumption. Thus it shepards you a little more.

but specific to master/pvp battles, if a codeing god can come up with it, then so be it. I'm sure the eventual reply is "when there is time"

unfortunatly i know of a few, very large, things higher on the list... and a derth of time to fill it, you know?

Willempie
07-12-2005, 06:26 PM
I looked at the code and found an easy way to do this. In fightnav.php on line 29 where it says
if (getsetting("autofightfull", 0)) {

change it to
if (getsetting("autofightfull", 0) || ! $allowflee) {

and it will show the Until End option for every fight where you are not allowed to flee (apparently).

Nightwind
07-12-2005, 06:33 PM
better to code it so that it's anoter alowable flag, like autofightfull, and that's a more complicated process.


sounds like you know your way arround the code, spend much time with dragonprime?

Willempie
07-12-2005, 06:35 PM
I just installed the code :)

but I am used to looking at php a lot, I might give the allowable flag thing a shot tomorrow 8)

Catscradler
07-12-2005, 08:27 PM
If you're going to venture into the realm of coding, I'd suggest going to our modder community, Dragonprime. (http://dragonprime.net)

You can get help, ideas, and you'll probably find many people more sympathetic to your idea.

JCP
07-12-2005, 09:14 PM
Actually, there is another option - allow more combat choices.

But that is a bit difficult to code.

We have toyed with the idea of adding normal/agressive/defensive options to fights, but that was a long time ago, and not quite a priority.

But until that gets added, the solution of including the fight until end option on only the fights where no fleeing is possible does seem like a fair compromise to the objections MightyE has with the "until end" function.

SaucyWench
07-13-2005, 12:26 AM
Incidentally, as hinted, Central has a high proportion of Newbie players, which is why we don't activate it for there (have a look at the List Warriors to see the total number of characters, and then check the number in the Heroes in the Hall of Fame, and you'll fast see the huge percentage of Farmies).

Gemdust is very much "caveat emptor" - if you don't know what you're doing, be prepared to trip and flail. :)

Headless
07-13-2005, 03:24 AM
Forgive me if I'm wrong about how the code works, I've never done PHP before, but wouldn't it be fairly simple to only have the 'Until End' option available in the same fights where there is no 'Run' option?

Willempie
07-13-2005, 03:32 AM
Incidentally, as hinted, Central has a high proportion of Newbie players, which is why we don't activate it for there (have a look at the List Warriors to see the total number of characters, and then check the number in the Heroes in the Hall of Fame, and you'll fast see the huge percentage of Farmies).

These are fights where you can not run anyway, if you engage in them you have no other option then to fight to the end

Forgive me if I'm wrong about how the code works, I've never done PHP before, but wouldn't it be fairly simple to only have the 'Until End' option available in the same fights where there is no 'Run' option?


that's exactly what my code does :)

SaucyWench
07-13-2005, 06:34 AM
Yes, it is very easy.

However, we do not code LoGD changes specifically for Central. We code for *all* servers and it has to be something that *all* servers can use (if they wish). For that reason, it would only be considered as a change to be incorporated if it is a switch that can be toggled on or off. That is also doable; I'm not sure which way Willempie did it, but I can tell you that's the only way Moonchilde would put it in ;)

Willempie
07-13-2005, 08:05 AM
ok;
I figured out how I would code it to be toggleable, but I think that's something I should take to dragonprime, right?

edit: this code is really nice and fun to edit, just wanted to add that :)
edit 2: posted it on dragonprime (http://dragonprime.net/index.php?board=20;action=display;threadid=2567)