Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
MontuZ
Forum Regular
Posts: 338 Joined: Fri Feb 10, 2006 8:08 am
Post
by MontuZ » Thu Mar 09, 2006 6:29 pm
I checked out the changelog to see if anything on it was said about it. I've tried to self-spar in 096 and it didn't seem to work, but I just want to be 100% sure about it.
Beaud
Novice Poster
Posts: 41 Joined: Tue Feb 14, 2006 2:06 pm
Post
by Beaud » Thu Mar 09, 2006 10:14 pm
You can still, but you can denie it if you use if(attacker == defender)
MontuZ
Forum Regular
Posts: 338 Joined: Fri Feb 10, 2006 8:08 am
Post
by MontuZ » Fri Mar 10, 2006 5:33 am
What's the macro again? Target Next, Attack Last?
Beaud
Novice Poster
Posts: 41 Joined: Tue Feb 14, 2006 2:06 pm
Post
by Beaud » Fri Mar 10, 2006 11:06 am
Something like that yeah.
MontuZ
Forum Regular
Posts: 338 Joined: Fri Feb 10, 2006 8:08 am
Post
by MontuZ » Fri Mar 10, 2006 11:54 am
Wasn't working when I tried it...
Rince
New User
Posts: 12 Joined: Fri Feb 17, 2006 2:26 am
Post
by Rince » Wed Mar 15, 2006 4:42 am
Add something like this to your hitscript's or combat hook
Code: Select all
if(attacker.serial==defender.serial)
ApplyRawDamage(attacker,GetHp(attacker)+3);
Sendsysmessage(attacker, "Cheaters must Die");
return;
endif
MuadDib
Former Developer
Posts: 1091 Joined: Sun Feb 12, 2006 9:50 pm
Post
by MuadDib » Wed Mar 15, 2006 4:31 pm
Hrm.............
Even though this IS a simple fix, I do not understand why ANY shard would want to allow self sparring (personally). I will speak with MadMan and see if we can throw in a line of code to block this in the core itself (no clue why it was never done).
XtehseA
New User
Posts: 22 Joined: Thu Feb 23, 2006 8:33 pm
Post
by XtehseA » Wed Mar 15, 2006 6:42 pm
i know this is in the pol96 forums but can this work in pol95?
bit of a stupid question but im new to escript
MontuZ
Forum Regular
Posts: 338 Joined: Fri Feb 10, 2006 8:08 am
Post
by MontuZ » Wed Mar 15, 2006 6:49 pm
I agree with Maud. Don't know how you posted before me =/
Last edited by
MontuZ on Thu Mar 16, 2006 6:53 pm, edited 1 time in total.
CWO
POL Expert
Posts: 1160 Joined: Sat Feb 04, 2006 5:49 pm
Post
by CWO » Thu Mar 16, 2006 7:19 am
XtehseA wrote: i know this is in the pol96 forums but can this work in pol95?
bit of a stupid question but im new to escript
Use that code a few posts above inside your hitscripts. That code will kill the person if the attacker is also the defender (person attacking himself)
XtehseA
New User
Posts: 22 Joined: Thu Feb 23, 2006 8:33 pm
Post
by XtehseA » Thu Mar 16, 2006 6:14 pm
ok thanks alot for that.
MuadDib
Former Developer
Posts: 1091 Joined: Sun Feb 12, 2006 9:50 pm
Post
by MuadDib » Thu Mar 16, 2006 6:59 pm
Next beta release, this is fixed in the Attack Request Packet check.
MuadDib
Former Developer
Posts: 1091 Joined: Sun Feb 12, 2006 9:50 pm
Post
by MuadDib » Sat Mar 18, 2006 10:07 am
Fixed in 3-17 core release.