PenUltima Online

It is currently Wed Aug 20, 2008 10:12 am

All times are UTC - 4 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ] 
Author Message
 Post subject: Fresh one (POL096 2005-12-08)
PostPosted: Wed Feb 22, 2006 7:11 pm 
Offline

Joined: Fri Feb 17, 2006 6:26 am
Posts: 12
Players can send "drop" packets on any npc or any other players and this will cause victim's backpack(vendor bacpack, npc's equiped items, death shrouds e.t.c.) to fall down under their feet.

They are using Gandalf(another alternative text-client) ,drop function to do this.

I check'ed it out,and it was NOT working on 095.

The question is - Can i somehow using some script features fix this trouble, or this is a core-only exploit?



offtopic.
Is there any way to allow players walk through other players/npc's on 096, as it was on 095 core.

All was fine, but whem i change my 095 core to latest 096 version, the players just refusing to walk through another players.



Thx for help.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 22, 2006 10:33 pm 
Offline

Joined: Sat Feb 04, 2006 9:49 pm
Posts: 732
Location: Chicago, IL USA
I think you have to search out the Pushthrough syshook in the core-changes... and I also think you have to send these to the client in logon/reconnect

(dug this out from the old forums)

SendPacket(who, "BF0006000801"); //Set Map to Trammel where this works...
SendPacket(who, "BC0101"); //Set Season to summer
SendPacket(who, "BF0006000801"); //Had to be sent again...
SendPacket(who, "220101"); // Resync client


I know I did something like this on 095 long ago and was testing it but I never implemented it into my shard (never got to it) and it got overwritten at some point. Just thought I'd list everything you needed so you can check it over again.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 4:24 am 
Online

Joined: Sat Feb 04, 2006 10:26 pm
Posts: 533
Re the 096 problem with walking through npcs, a workaround for this was to move the whole shard from Britannia to Britannia_alt.

This is because the client is stopping the walkthrough and bouncing you off other mobiles not POL. The client will do this in britannia realm, but not in the britannia_alt realm.

This was a suggestion in the old polforums and it seems to work well.

Only really one main change in your scripts - in uo.em make the line
const _DEFAULT_REALM := "britannia_alt";

Assuming you have savegame files in 096....
Use an editor that can 'replace in files' to change all instances of BRITANNIA to BRITANNIA_ALT in the data directory for all *.txt files.
Then repeat the 'replace in files' to change all instances of BRITANNIA_ALT_ALT to BRITANNIA_ALT.

All done. Works a treat.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 6:39 am 
Offline

Joined: Fri Feb 17, 2006 6:26 am
Posts: 12
Thanks a lot guys, it help's.



but what about a main problem?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 8:28 am 
Offline

Joined: Fri Feb 17, 2006 6:26 am
Posts: 12
OldnGrey wrote:
Re the 096 problem with walking through npcs, a workaround for this was to move the whole shard from Britannia to Britannia_alt.

This is because the client is stopping the walkthrough and bouncing you off other mobiles not POL. The client will do this in britannia realm, but not in the britannia_alt realm.

This was a suggestion in the old polforums and it seems to work well.

Only really one main change in your scripts - in uo.em make the line
const _DEFAULT_REALM := "britannia_alt";

Assuming you have savegame files in 096....
Use an editor that can 'replace in files' to change all instances of BRITANNIA to BRITANNIA_ALT in the data directory for all *.txt files.
Then repeat the 'replace in files' to change all instances of BRITANNIA_ALT_ALT to BRITANNIA_ALT.

All done. Works a treat.


Just one suggestion, if i change my uo.em, i need to recompile all of my scripts with new uo.em?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 12:04 pm 
Offline

Joined: Sat Feb 04, 2006 1:14 pm
Posts: 90
Location: Aman
yes you should


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 12:09 pm 
Offline

Joined: Fri Feb 17, 2006 6:26 am
Posts: 12
i've tried to add onunequip script to backpack's(with return 0;) but this don't help me much.

What type of containers is used by npc's as a vendorboxes and as a np's backpacks? i need to add a "onunequip" script to them.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 3:08 pm 
Offline

Joined: Tue Feb 21, 2006 9:08 pm
Posts: 30
One easy way to fix this is to download UOCH (Ultima Online Client Hacker) and use it to modify the pushtrough part of client so it doesn't check for stamina at all.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 1:15 am 
Offline
POL Developer
User avatar

Joined: Mon Feb 13, 2006 1:50 am
Posts: 830
Location: Indiana, USA
On the "Drop" packet bug, do you mean they send the NPC/Player/Ghost's serial as the item to drop, or what?

Please explain in detail the step by step for this bug (including what serials are sent for what, etc).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 06, 2006 11:30 am 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 12:08 pm
Posts: 305
Location: Myrtle Beach, South Carolina
Does adding an OnUnequip script returning 0 work?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 07, 2006 9:51 am 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 12:08 pm
Posts: 305
Location: Myrtle Beach, South Carolina
Drop - Wear Item [0x13]

Drop->Wear Item (10 bytes)
BYTE cmd
BYTE[4] itemid
BYTE layer (see layer list at top)
BYTE[4] playerID

Note: The layer byte should not be trusted.

http://gonzo.kiev.ua/guide/node39.html

Don't know if that'll help any.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ] 

All times are UTC - 4 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl